Y''+xy'-y=0 differential equation

Click For Summary
SUMMARY

The differential equation y'' + xy' - y = 0 has a known solution y_1 = x. To find a second solution, the method of variation of parameters is employed, leading to the substitution A(x) for y. This results in a new differential equation A''x + (x^2 + 2)A' = 0. Further reduction of this equation using the substitution P = A' yields a separable differential equation, ultimately leading to the solution P = Ce^{-x^2/2}/x^2, verified using Mathematica.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with the method of variation of parameters
  • Proficiency in using Mathematica for solving differential equations
  • Knowledge of separable differential equations
NEXT STEPS
  • Study the method of variation of parameters in detail
  • Learn how to solve separable differential equations
  • Explore the use of Mathematica for differential equation solutions
  • Investigate the implications of integrating factors in differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators looking for effective teaching methods for solving such equations.

TheFerruccio
Messages
216
Reaction score
0

Homework Statement


Given y_1=x is a solution, solve the differential equation


Homework Equations



y''+xy'-y=0

The Attempt at a Solution



Since I am given y_1=x (is there a hotkey for adding TeX tags so I don't have to manually type these tags over and over? So tedious.) then I wish to vary a parameter A that y is multiplied by, A(x)...

y_2=Ax
y_2'=A'x+A
y_2''=A''x+2A'
Plugging into the original equation, I end up with

A''x+(x^2+2)A'=0

This is another differential equation, and I do not know where to go from here.
 
Physics news on Phys.org
You could reduce the order of your new DE with a simple substitution.
 
Code:
 Use ##tex here## instead of [itex] tags for inline and
$$tex here$$ instead of [tex] tags.
 
FeDeX_LaTeX said:
You could reduce the order of your new DE with a simple substitution.

Regarding the # # tags, I was using those for a while, but, a few posts ago, they completely stopped working for me. Maybe it was a script error in the browser. I've noticed that I have to refresh quite a few times to get the equations to show, no matter which browser or computer I'm using.

Anyway, I reduced the order of the equation, by substituting P = A', then I get a separable DE.

I get a solution of the form:##\text{Ce}^{-\frac{x^3}{3}-2 x}##

I do not think this is right. I simply replaced every instance of A' with P. I do not know how to integrate from this point, because I have a nasty integral that evades substitution methods. This just feels wrong.
 
(can't delete this)
 
TheFerruccio said:
Regarding the # tags, I was using those for a while, but, a few posts ago, they completely stopped working for me. Maybe it was a script error in the browser. I've noticed that I have to refresh quite a few times to get the equations to show, no matter which browser or computer I'm using.

Anyway, I reduced the order of the equation, by substituting P = A', then I get a separable DE.

I get a solution of the form:


##\text{Ce}^{-\frac{x^3}{3}-2 x}##

I do not think this is right. I simply replaced every instance of A' with P. I do not know how to integrate from this point, because I have a nasty integral that evades substitution methods. This just feels wrong.
Using Mathematica, I find the solution is ##P = Ce^{-x^2/2}/x^2##. Not sure that makes it any easier for you though.
 
vela said:
Using Mathematica, I find the solution is ##P = Ce^{-x^2/2}/x^2##. Not sure that makes it any easier for you though.

I've been using Mathematica, as well, which is why I figured that my answer was wrong.
 
TheFerruccio said:
I've been using Mathematica, as well, which is why I figured that my answer was wrong.

Where are you getting the ##\frac{x^3}{3}## term from?
 
  • #10
You seem to have forgotten the factor of ##x## multiplying ##P' = A''##.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
Replies
10
Views
2K
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
7
Views
2K