Variation of parameters inhomogeneous DE help

Click For Summary
SUMMARY

The discussion focuses on solving the inhomogeneous second-order differential equation \(x^2y'' - 3xy' + 4y = x^4\). The particular solution \(y_p = \frac{1}{4}x^4\) was identified, while the homogeneous solution \(y_h\) was derived using the known independent solutions \(y_1 = x^2\) and \(y_2 = \log(x)x^2\). The characteristic equation \(r^2 - 4r + 4 = 0\) reveals a double root at \(r = 2\), leading to the general solution \(y(x) = Ax^2 + B\log(x)x^2 + \frac{1}{4}x^4\). The discussion clarifies that the quadratic formula is unnecessary due to the availability of the independent solutions.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with the method of variation of parameters
  • Knowledge of characteristic equations and their roots
  • Proficiency in logarithmic and exponential functions
NEXT STEPS
  • Study the method of variation of parameters in detail
  • Learn how to derive characteristic equations from differential equations
  • Explore the implications of double roots in homogeneous solutions
  • Investigate the application of change of variables in solving differential equations
USEFUL FOR

Mathematicians, engineering students, and anyone involved in solving differential equations, particularly those interested in advanced techniques like variation of parameters and characteristic equations.

xtipd
Messages
6
Reaction score
0
Ok here's my problem:
1. Solve the inhomogeneous second order de:
x^2y" - 3xy' + 4y =x^4


2. Worked: y(p) = 1/4*x^4

Given: y(1) = x^2
y(2) = log(x)*x^2


3. I just need help getting the roots of the given de so i can determine y(h) of this de. As i have already solved the particular solution y(p) and then the general solution
y(g) = y(h) + y(p)

Im thinking this has imaginary roots as i gave it a crack to get y(h) and the best i could think of was (r - 2/x) - 1/x = 0, which doesn't really lead me anywhere i think.

Do i have to use the quadratic formula to get the roots of this equation? and if so some pointers in the right direction would be much appreciated!

Thanks
 
Physics news on Phys.org
solve x^2y" - 3xy' + 4y=0 to get two solutions,y1(x) and y2(x), for the variations of parameters method.
 
Last edited:
xtipd said:
Ok here's my problem:
1. Solve the inhomogeneous second order de:
x^2y" - 3xy' + 4y =x^4


2. Worked: y(p) = 1/4*x^4

Given: y(1) = x^2
y(2) = log(x)*x^2


3. I just need help getting the roots of the given de so i can determine y(h) of this de. As i have already solved the particular solution y(p) and then the general solution
y(g) = y(h) + y(p)
? You are given that two independent solutions to the associated homogeneous equation are x^2 and log(x)x^2.

Im thinking this has imaginary roots as i gave it a crack to get y(h) and the best i could think of was (r - 2/x) - 1/x = 0, which doesn't really lead me anywhere i think.

Do i have to use the quadratic formula to get the roots of this equation? and if so some pointers in the right direction would be much appreciated!
You don't need to do that at all, you are given those solutions!
Of course, the general solution to the entire equation is y(x)= Ax^2+ Blog(x)x^2+ (1/4)x^4 but I suspect you got that yp by "undetermined coefficients" so have not followed the instructions to use "variation of parameters".

Thanks
Although, as I said, you do not need to solve the characteristic equation, no it does not have imaginary roots. You can convert a "Euler type" or "equipotential equation" to a "constant coefficients" equation with the change of variables t= log(x) or x= e^t.
dy/dx= dy/dt dt/dx= (1/x)dy/dt so d^2y/dx^2= d ((1/x)dy/dt)/dx= (1/x) d(dy/dt)/dx- 1/x^2 dy/dx= (1/x)^2 d^2y/dt^2- (1/x^2)dy/dt so x^2d^2y/dt^2- 3x dy/dx+ 4y= x^2(1/x^2)(d^2y/dt^2- dy/dt)- 3x (1/x)dy/dt+ 4y= d^2y/dt^2- 4 dy/dt+ 4y= 0. The characteristic equation for that constant coefficients equation, and so for the equipotential equation, is r^2- 4r+ 4= (r- 2)^2= 0 which has r= 2 as a double root. For a constant coefficients equation, that would mean the solution was y= Ae^(2t)+ Bte^(2t). Since t= log(x), e^(2t)= e^(2log(x))= e^(log(x^2))= x^2 and te^(2t)= log(x)x^2, as "given".
 
Last edited by a moderator:
HallsofIvy said:
? You are given that two independent solutions to the associated homogeneous equation are x^2 and log(x)x^2.


You don't need to do that at all, you are given those solutions!
Of course, the general solution to the entire equation is y(x)= Ax^2+ Blog(x)x^2+ (1/4)x^4 but I suspect you got that yp by "undetermined coefficients" so have not followed the instructions to use "variation of parameters".


Although, as I said, you do not need to solve the characteristic equation, no it does not have imaginary roots. You can convert a "Euler type" or "equipotential equation" to a "constant coefficients" equation with the change of variables t= log(x) or x= e^t.
dy/dx= dy/dt dt/dx= (1/x)dy/dt so d^2y/dx^2= d ((1/x)dy/dt)/dx= (1/x) d(dy/dt)/dx- 1/x^2 dy/dx= (1/x)^2 d^2y/dt^2- (1/x^2)dy/dt so x^2d^2y/dt^2- 3x dy/dx+ 4y= x^2(1/x^2)(d^2y/dt^2- dy/dt)- 3x (1/x)dy/dt+ 4y= d^2y/dt^2- 4 dy/dt+ 4y= 0. The characteristic equation for that constant coefficients equation, and so for the equipotential equation, is r^2- 4r+ 4= (r- 2)^2= 0 which has r= 2 as a double root. For a constant coefficients equation, that would mean the solution was y= Ae^(2t)+ Bte^(2t). Since t= log(x), e^(2t)= e^(2log(x))= e^(log(x^2))= x^2 and te^(2t)= log(x)x^2, as "given".

We were given the solution y(1) = x^2 was a solution, then had to prove y(2) = log(x)x^2 is also a solution.

Haha your spot on about me getting y(p) via constant coefficients, which i ended up realising just before and ajusted my solution. Seems so stupid now i look back at it.

I did end up using the change of variables with x= e^t and also got the root r(1)= r(2) = 2 so y= Ae^(2t)+ Bte^(2t) just like you mentioned, and went on to get the general solution.

All cleared up now, help was much appreciated!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K