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

Discussion Overview

The discussion revolves around finding the solution to the differential equation given by $\frac{dy}{dx}=\frac{1}{e^y-x}$. Participants explore various methods for solving this ordinary differential equation (ODE), including substitutions and integrating factors, while also comparing their approaches to a book's solution.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses uncertainty about the first step in solving the ODE and considers multiplying both sides by the denominator.
  • Another participant suggests a substitution $u=e^y$ leading to a linear equation in $x$, asking if the others can proceed from there.
  • A different approach is presented, reformulating the ODE and identifying an integrating factor, which leads to a quadratic equation in $e^y$.
  • Participants note that the solution can be expressed as $y(x)=\ln\left|x\pm\sqrt{x^2+c_2}\right|$, derived from the quadratic formula applied to the earlier equation.
  • Some participants compare their derived solutions to a book answer, which presents $x$ as a function of $y$, and discuss the implications of expressing the solution in terms of $y$ versus $x$.

Areas of Agreement / Disagreement

There is no consensus on a single method or solution, as participants present multiple approaches and interpretations of the problem. The discussion remains unresolved with competing views on the best way to express the solution.

Contextual Notes

Participants have not fully resolved the implications of their different approaches, and there are varying assumptions about the independence of variables in the context of the original equation.

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