0
$\begingroup$

What is the Implicit answer for this differential equation?

$\frac{dy}{dx} = y^{2}-4$

Help me i'm a newbie in differential equations.

  • 0
    Well, what have you tried? What is specifically messing you up?2017-02-03
  • 0
    well actually i got already the answer, but didn't explained correctly2017-02-03
  • 0
    i need to prove that this y+2/y-2 = +- ce^4x is the solution for the equation i posted before ( dydx=y2−4)2017-02-03
  • 0
    Just raise each side to the power of $e$.2017-02-03
  • 0
    @amWhy can you show me how ? i'm new on this.2017-02-03
  • 0
    I've done so in my answer: $$\ln\left(\frac{y-2}{y+2}\right) = 4x + C \iff e^{\large \ln\left(\frac{y-2}{y+2}\right)} = e^{\large 4x + C}$$ $$\iff \frac{y-2}{y+2} = e^{4x}\underbrace{e^C}_{C'}$$2017-02-03

2 Answers 2

4

Here is how you solve equations like yours. You are trying to solve $\frac{dy}{dx}=f(y)$. Rewrite it as $\frac{dy}{f(y)}=dx$, integrate on both sides $\int\frac{1}{f(y)}dy=\int dx=x+c$ and invert to get expression for $y(x)$. If you have conditions on the value of $y(x)$ as some particular $x$, like $x=0$, then you can determine $c$ as well.

Applying this to your example. You have $\int\frac{1}{y^2-4}dy=x+c$. The integral is $\frac{1}{4}\log{\left(\frac{2-y}{2+y}\right)}$ so that $\frac{2-y}{2+y}=\exp{(4x+4c)}$. From here solving for $y$ is straightforward.

3

$$\frac {dy}{dx} = y^2 -4 \iff \frac{dy}{y^2 - 4} = dx$$

Then integrate each side. You can easily use partial fractions on the left hand side.:

$$\int\frac{dy}{y^2-4} = \int\frac {dy}{(y-2)(y+2)} = \int\frac A{y-2} +\frac B{y+ 2}$$

$Ay + 2A + By-2B = 1\iff (A+B)y+ 2(A-B)= 1 \iff (A+B =0, \;2(A-B) = 1) \iff (A=-B \land -4B = 1).$

So $A=\frac 14, B=-\frac 14$.

That gives us $$\frac 12\int \frac 1{y-2} -\frac 1{y+2} dy = \int dx +c$$

$$\iff \frac 14 \ln\left(\frac{y-2}{y+2}\right) = x + C\tag 1$$


Given your last comment, we can continue as follows from $(1)$:

$$\ln\left(\frac{y-2}{y+2}\right) = 4x + C^*\tag 2$$

Raising each side as a power of $e$ gives us: $$\ln\left(\frac{y-2}{y+2}\right) = 4x + C \iff e^{\large \ln\left(\frac{y-2}{y+2}\right)} = e^{\large 4x + C}$$ $$\iff \frac{y-2}{y+2} = e^{4x}\underbrace{e^C}_{C'}$$

So $$\frac {y-2}{y+2}= C'e^{4x}\tag 3$$

  • 1
    Ye, indeed. Thanks @Ahmed2017-02-03