Integrating Factor: Solve x ln(x) dy/dx = xe^x

Click For Summary

Discussion Overview

The discussion revolves around solving the differential equation \( x \ln(x) \frac{dy}{dx} = xe^x \) using the method of integrating factors. Participants explore various approaches to rearranging the equation into standard form, computing the integrating factor, and addressing potential issues with trivial solutions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant reformulates the equation into standard form and questions if any trivial solutions are lost by dividing through by \( x \ln(x) \).
  • Another participant proposes a \( u \)-substitution to compute the integrating factor, suggesting \( u = \ln(x) \) and deriving the integrating factor as \( \mu(x) = \exp\left(\frac{1}{u} du\right) \).
  • There is a challenge regarding the correctness of a proposed integrating factor, with one participant suggesting an alternative substitution that leads to a different expression for the integrating factor.
  • Participants discuss the implications of the domain restrictions, noting that \( x \) must be greater than zero and cannot equal one, which may affect the general solution.
  • One participant claims to have derived the general solution as \( y(x) = \frac{e^x + C}{\ln(x)} \) and emphasizes the need to include the trivial solution \( y \equiv e \) that was initially overlooked.

Areas of Agreement / Disagreement

There is no consensus on the correctness of the integrating factor computations, as participants present different approaches and results. The discussion remains unresolved regarding the best method to compute the integrating factor and the implications of the trivial solution.

Contextual Notes

Participants note the importance of domain restrictions and the potential loss of trivial solutions during the process of solving the differential equation. The discussion highlights the complexity of integrating factors and the need for careful consideration of assumptions.

tiaborrego
Messages
4
Reaction score
0
How do you solve x ln(x) dy/dx = xe^x using the integrating factor?
So far, I have put it into standard form.
dy/dx + y/(xln(x))=xe^x/(x(ln(x))
 
Physics news on Phys.org
I've moved this thread here to "Differential Equations" as it's a better fit for the problem.

I am assuming the original equation is:

$$x\ln(x)\d{y}{x}+y=xe^x$$

So that we then may write:

$$\d{y}{x}+\frac{1}{x\ln(x)}y=\frac{e^x}{\ln(x)}$$

Have we lost any trivial solutions by dividing through by $x\ln(x)$?

We compute the integrating factor as follows:

$$\mu(x)=\exp\left(\int\frac{1}{x\ln(x)}\,dx\right)$$

Can you find a $u$-substitution that will aid in this computation?
 
Ok, so I think I found the u substitution. I think it is:
u= x* ln[x]
du = 1+ ln[x] dx
Therefore,
I(x)=e^ln[x*ln(x)] = x* ln[x]

Is this right?
 
No, what I would use is:

$$u=\ln(x)\,\therefore\,du=\frac{1}{x}\,dx$$

and so we have:

$$\mu(x)=\exp\left(\frac{1}{u}\,du\right)$$

Now it should be easy to proceed. :)
 
So, I tried the u substitution again, and this time I got:
(1/x)*e^{-1/x^2}
for I. Is this right?

My process:
u = ln(x)
du= 1/x dx
I= e^{1/u*du}
= e^{ln(u)*du}
=e^{ln[ln(x)]*1/x}
=(1/x)*e^{-1/x^2}
 
No, first let's observe that we must have $0<x$, from the original equation. When we divided through by $x\ln(x)$, we must note that we cannot have $x=0$ (already taken care of by the domain), and we cannot have $x=1$, so we are eliminating the trivial solution $y=e$. We may find we can include this back into the general solution.

Now, with that out of the way we note:

$$\mu(x)=\exp\left(\frac{1}{u}\,du\right)=e^{\ln(u)}=u=\ln(x)$$

Thus, our ODE becomes:

$$\ln(x)\d{y}{x}+\frac{1}{x}y=e^x$$

If we computed the integrating factor correctly, we should not find that the left side of the equation is:

$$\frac{d}{dx}\left(\mu(x)\cdot y\right)$$

Is this what we have?
 
Ok, so I think I get it now.
So I solved for I
I= e^{x}
and thus, the general solution is:
y(x)=e^x/ln[x] + c/ln[x]
 
tiaborrego said:
Ok, so I think I get it now.
So I solved for I
I= e^{x}
and thus, the general solution is:
y(x)=e^x/ln[x] + c/ln[x]

Yes, we have:

$$\frac{d}{dx}\left(\ln(x)y\right)=e^x$$

And when we integrate w.r.t. x, we obtain:

$$\ln(x)y=e^x+C$$

Hence:

$$y(x)=\frac{e^x+C}{\ln(x)}$$

But, we must also include the trivial solution $y\equiv e$ that was lost during the process. You should verify that this solution also satisfies the given ODE.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
779
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K