2
$\begingroup$

I am working on a differential equation $\frac{dy}{dx} = e^{\frac{x}{y}} + \frac{y}{x}$. My intuition is to perform a change of variable by letting $u(x) = \frac{y}{x}$

However, I am having trouble figuring out what $\frac{du}{dx}$ would be. How do I evaluate that?

Also, out of curiosity, what would $\frac{du}{dx}$ be if instead I substituted $u(x) = \frac{x}{y}$

New contributor
nobody_tbh is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
4
  • 4
    $\begingroup$ For $u(x)=y(x)/x$, there holds $y(x)=x\cdot u(x)$. Then $\frac{dy}{dx} = u + x\frac{du}{dx}$. $\endgroup$ Commented 22 hours ago
  • 1
    $\begingroup$ It's just the chain rule - remember, $y = y(x)$,so you'd be using the quotient rule either way. $\endgroup$ Commented 22 hours ago
  • $\begingroup$ Are you sure about the argument of the exponential? $\endgroup$ Commented 15 hours ago
  • 1
    $\begingroup$ Something wrong with the title here. $\endgroup$
    – Prem
    Commented 3 hours ago

4 Answers 4

3
$\begingroup$

Based on the proposed substitution, the proposed ODE becomes: \begin{align*} y' = \exp\left(\frac{x}{y}\right) + \frac{y}{x} & \Longleftrightarrow \left(\frac{x}{u}\right)' = \exp(u) + \frac{1}{u}\\\\ & \Longleftrightarrow \frac{u - xu'}{u^{2}} = \exp(u) + \frac{1}{u}\\\\ & \Longleftrightarrow u - xu' = u^{2}\exp(u) + u\\\\ & \Longleftrightarrow \frac{u'}{u^{2}\exp(u)} = -\frac{1}{x} \end{align*}

I am afraid there is no solution in terms of elementary functions.

$\endgroup$
1
  • $\begingroup$ Actually this is $u = x/y$, not $u=y/x$. $\endgroup$ Commented 18 hours ago
3
$\begingroup$

However, I am having trouble figuring out what $\tfrac{\mathrm du}{\mathrm dx}$ would be. How do I evaluate that?

Just apply the product rule (or quotient rule).

$\begin{align}u(x) &= \dfrac{y(x)}{x}\\u'(x) &= \dfrac{xy'(x)-y(x)}{x^2}\\&=\dfrac{x(\mathrm e^{x/y(x)}+y(x)/x)-y(x)}{x^2}\\\dfrac{\mathrm d u(x)}{\mathrm d x}&=\dfrac{\mathrm e^{1/u(x)}}{x}\end{align}$

Also, out of curiosity, what would $\tfrac{\mathrm du}{\mathrm dx}$ be if instead I substituted $u(x)=x/y$

Now that you know what to do, do that.

$\endgroup$
3
$\begingroup$

If you let first $$e^{\frac x y}=z \implies y=\frac{x}{\log (z)}$$ the equation becomes $$x\,z'+z^2\log(z)^2=0$$ Switch variables $$\frac x {x'}+z^2\log(z)^2=0\qquad \implies \qquad \frac {x'}{x}=-\frac 1 {z^2\log(z)^2}$$

$$\log(x)+C=-\int \frac {dz} {z^2\log(z)^2}$$ One integration by parts to get $$\log(x)+C=\text{Ei}(-\log (z))+\frac{1}{z \log(z)}$$ which is impossible to inverse.

$\endgroup$
2
$\begingroup$

You don't need $\frac{du}{dx}$ but $\frac{dy}{dx}$ to be substituted in the DE.

$$u:=\frac yx\to y=xu\to\frac{dy}{dx}=u+x\frac{du}{dx}.$$

The equation turns to

$$u+x\frac{du}{dx}=e^{1/u}+u$$

which is separable.

$$e^{-1/u}du=\frac{dx}{x}$$

and

$$\int e^{-1/u}du=\log(Cx).$$

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .