Finding the Solution to a Differential Equation with Reciprocal Relationship

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Reciprocal
Click For Summary
SUMMARY

The discussion focuses on solving the differential equation $\frac{dy}{dx}=\frac{1}{e^y-x}$. The initial substitution $u=e^y$ transforms the equation into a linear form, leading to the integrating factor $\mu(y)=e^y$. The solution is derived as $y(x)=\ln\left|x\pm\sqrt{x^2+c_2}\right|$, while the book's answer is given as $x=ce^{-y}+\frac{1}{2}e^y$, which is obtained by manipulating the integrated form of the equation.

PREREQUISITES
  • Understanding of first-order ordinary differential equations (ODEs)
  • Familiarity with substitution methods in solving ODEs
  • Knowledge of integrating factors in differential equations
  • Proficiency in applying the quadratic formula
NEXT STEPS
  • Study the method of integrating factors in depth
  • Learn about substitution techniques for solving ODEs
  • Explore the application of the quadratic formula in differential equations
  • Investigate the implications of expressing solutions in terms of different variables
USEFUL FOR

Mathematicians, engineering students, and anyone involved in solving differential equations will benefit from this discussion.

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. :)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K