MHB Finding the Solution to a Differential Equation with Reciprocal Relationship

  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Reciprocal
karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\textsf{Find the solution of:}$
$\displaystyle\frac{dy}{dx}=\frac{1}{e^y-x}$
ok i kinda don't know what the first step is
was going to multiply both sides by the denominator but
 
Physics news on Phys.org
I would begin here with the substitution:

$$u=e^y\implies u'=uy'$$

And so the ODE becomes:

$$\frac{1}{u}u'=\frac{1}{u-x}$$

Or:

$$x'+\frac{1}{u}x=1$$

Now you have a linear equation in $x$...can you proceed?
 
We could also simply state:

$$\d{x}{y}=e^y-x$$

$$\d{x}{y}+x=e^y$$

Now, our integrating factor is:

$$\mu(y)=\exp\left(\int\,dy\right)=e^y$$

And we then obtain:

$$\frac{d}{dy}\left(e^yx\right)=e^{2y}$$

Integrate w.r.t $y$:

$$e^yx=\frac{1}{2}e^{2y}+c_1$$

Now, we have a quadratic in $e^y$ which cay be written in standard form as:

$$e^{2y}-2xe^{y}-c_2=0$$ ($c_2=-2c_1$)

Applying the quadratic formula, we get:

$$e^y=\frac{2x\pm\sqrt{4x^2+4c_2}}{2}=x\pm\sqrt{x^2+c_2}$$

And this implies:

$$y(x)=\ln\left|x\pm\sqrt{x^2+c_2}\right|$$
 
MarkFL said:
We could also simply state:
$$\d{x}{y}=e^y-x$$
$$\d{x}{y}+x=e^y$$
Now, our integrating factor is:
$$\mu(y)=\exp\left(\int\,dy\right)=e^y$$
And we then obtain:
$$\frac{d}{dy}\left(e^yx\right)=e^{2y}$$
Integrate w.r.t $y$:
$$e^yx=\frac{1}{2}e^{2y}+c_1$$
$\textsf{ok the book answer was}$
$$x=ce^{-y}+\frac{1}{2}e^y$$
$\textsf{which would be derived from}$
$$e^yx=\frac{1}{2}e^{2y}+c_1$$
$\textsf{by dividing thru by $e^y$}$
 
karush said:
$\textsf{ok the book answer was}$
$$x=ce^{-y}+\frac{1}{2}e^y$$
$\textsf{which would be derived from}$
$$e^yx=\frac{1}{2}e^{2y}+c_1$$
$\textsf{by dividing thru by $e^y$}$

That's fine giving $x$ as a function of $y$...I just chose to give $y$ as a function of $x$ since the original equation has $x$ as the independent variable. :)
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...

Similar threads

Replies
5
Views
2K
Replies
1
Views
1K
Replies
3
Views
2K
Replies
2
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
Replies
1
Views
1K
Replies
11
Views
4K
Back
Top