Inhomogeneous second order ODE with non-constant coefficient

Click For Summary
SUMMARY

The discussion centers on solving the inhomogeneous second-order ordinary differential equation (ODE) of the form y'' + (2/x)y' = C*(e^y), where C is a constant. Participants concluded that there is no analytical solution available, as Mathematica could not identify any suitable elementary or special functions. Instead, an approximate solution is recommended, particularly by treating the right-hand side as a constant for integration purposes. The discussion also highlights the importance of the constant C's sign and suggests a substitution method for related ODEs.

PREREQUISITES
  • Understanding of second-order ordinary differential equations
  • Familiarity with non-constant coefficients in differential equations
  • Basic knowledge of Mathematica for computational assistance
  • Experience with substitution methods in solving ODEs
NEXT STEPS
  • Research approximate solutions for nonlinear ODEs
  • Learn about the method of substitution for solving differential equations
  • Explore the implications of varying constants in ODEs
  • Investigate the use of Mathematica for solving complex differential equations
USEFUL FOR

Mathematics students, physicists, and engineers dealing with complex differential equations, particularly those interested in nonlinear dynamics and approximation methods.

jmz34
Messages
26
Reaction score
0

Homework Statement



Solve ODE of form y''+(2/x)y'=C*(e^y) where C is a constant

Homework Equations





The Attempt at a Solution



I don't really see how to approach this one, so a point in the right direction would be great.

Thanks,
 
Physics news on Phys.org
Where did you get this problem from ? I'm almost sure there's no analytical solution (Mathematica couldn't find any combination of elementary/special functions which would satisfy the equation) to it, so an approximate solution would be the best you could ask for.
 
bigubau said:
Where did you get this problem from ? I'm almost sure there's no analytical solution (Mathematica couldn't find any combination of elementary/special functions which would satisfy the equation) to it, so an approximate solution would be the best you could ask for.

I was trying to solve del^2(Psi)=Ae^(Psi) in spherical polars, for the radial component.

Checking over my algebra I'm pretty sure it's correct.
 
Yes, it looks correct. However, my guess is that the nonlinearity in the RHS spoils the <neat> intregrability.
 
bigubau said:
Yes, it looks correct. However, my guess is that the nonlinearity in the RHS spoils the <neat> intregrability.

Thanks a lot for your help. The question does say that Psi varies over a length scale that is approximately the same as the region which I'm supposed to be analyzing. Does that somehow mean I can take the RHS as constant?
 
Not really, rather approximating it to y(x). That way you get an ODE which can be integrated in terms of elementary functions.

And the C needs to be specified, the sign of it is important. You may rescale it to +1 or -1, I'm sure.

As for how to solve the following 2 ode's

y&#039;&#039;+ \frac{2}{x}y&#039;\pm y = 0

use the substitution

y(x) = \frac{u(x)}{x}

You'll find 2 classes of solutions, depending on the sign of the rescaled constant.
 
Ofcourse. Thanks again.
 

Similar threads

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