Author Topic: Q1: TUT 0601  (Read 3808 times)

Victor Ivrii

  • Administrator
  • Elder Member
  • *****
  • Posts: 2607
  • Karma: 0
    • View Profile
    • Personal website of Victor Ivrii
Q1: TUT 0601
« on: September 28, 2018, 03:36:04 PM »
Find the general solution
\begin{equation*}
\frac{dy}{dx}= \frac{x + 3y}{x - y}.
\end{equation*}

Yiting Zhang

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 8
    • View Profile
Re: Q1: TUT 0601
« Reply #1 on: September 28, 2018, 06:30:48 PM »
\begin{gather*}
\frac{dy}{dx} = \frac{x + 3y}{x - y}\implies
\frac{dy}{dx} = \frac{x+3y}{x-y} = \frac{1+3(\frac{y}{x})}{1 - (\frac{y}{x})}
\end{gather*}
Let $v = \frac{y}{x}, y=xv$
\begin{gather*}\frac{dy}{dx} = v+x \frac{dv}{dx}\implies\\
x \frac{dv}{dx} = \frac{dy}{dx} -v = \frac{1+3v}{1-v} - v = \frac{(1+v)^2}{1-v}\implies\\
\frac{1-v}{(1+v)^2}dv = \frac{1}{x}dx\implies
\int \frac{1-v}{(1+v)^2}dv = \int \frac{1}{x}dx\implies\\
-\frac{2}{1+v} - \ln (1+v) + c = \ln x\implies\\
-\frac{2}{1+(\frac{y}{x})} - \ln (1+(\frac{y}{x})) + c = \ln x\implies\\
c-\frac{2x}{x+y} = \ln (x (1+\frac{y}{x})) \implies\\
c-\frac{2x}{x+y} = \ln (x+y)\implies\\
\frac{2x}{x+y} + \ln (x+y) = c\implies
x + y = Ce^{-\frac{2x}{x+y}}
\end{gather*}
I improved formatting. V.I.
« Last Edit: September 29, 2018, 02:51:47 PM by Victor Ivrii »

zeyang zhang

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Q1: TUT 0601
« Reply #2 on: September 29, 2018, 12:08:03 AM »
I think Start from here : $-\frac{2}{1+v} - \ln (1+v) + c = \ln x$
All thing inside ln() should be given absolute value.
Answer was like
$\frac{2x}{x+y} + \ln (|x+y|) = c$

$\frac{dy}{dx} = \frac{x + 3y}{x - y}$

$\frac{dy}{dx} = \frac{x+3y}{x-y} = \frac{1+3(\frac{y}{x})}{1 - (\frac{y}{x})}$

Let $v = \frac{y}{x}, y=xv$

$\frac{dy}{dx} = v+x \frac{dv}{dx}$

$x \frac{dv}{dx} = \frac{dy}{dx} -v = \frac{1+3v}{1-v} - v = \frac{(1+v)^2}{1-v}$

$\frac{1-v}{(1+v)^2}dv = \frac{1}{x}dx$

$\int \frac{1-v}{(1+v)^2}dv = \int \frac{1}{x}dx$

$-\frac{2}{1+v} - \ln (1+v) + c = \ln x$

$-\frac{2}{1+(\frac{y}{x})} - \ln (1+(\frac{y}{x})) + c = \ln x$

$c-\frac{2x}{x+y} = \ln (x (1+\frac{y}{x}))$

$c-\frac{2x}{x+y} = \ln (x+y)$

$\frac{2x}{x+y} + \ln (x+y) = c$

$x + y = Ce^{-\frac{2x}{x+y}}$

Victor Ivrii

  • Administrator
  • Elder Member
  • *****
  • Posts: 2607
  • Karma: 0
    • View Profile
    • Personal website of Victor Ivrii
Re: Q1: TUT 0601
« Reply #3 on: September 29, 2018, 02:56:16 PM »
Quote
All thing inside ln() should be given absolute value.
Actually since we get rid of logarithm, no need in the absolute value. In the final answer sign of $x+y$ it is included in sign of $C$.

And no excessive quotations, please