Variation of parameters question

In summary, R1ckr()11 found a solution to the homework statement using the variation of parameters method. He found that y_1= x^3 and y_2= x^2 are the two independent solutions.
  • #1
JamesGoh
143
0

Homework Statement



Using the variation of parameters method, find the general solution of

[itex]x^{2}y" - 4xy' + 6y= x^{4}sin(x)[/itex]

Homework Equations



[itex]y_{P}=v_{1}(x)y_{1}(x) + v_{2}(x)y_{2}(x)[/itex]

[itex]v_{1}(x)'y_{1}(x) + v_{2}'(x)y_{2}(x)=0[/itex]

[itex]v_{1}(x)'y_{1}(x)' + v_{2}'(x)y_{2}(x)'=x^{4}sin(x)[/itex]

yp is the particular solution, v1,v2, y1 and y2 are nominal functions of x


The Attempt at a Solution



see pdfs below

The tutor's answer is [itex]y=Ax^{2}+Bx^{3}-x^{2}sin(x)[/itex]

Im not sure if I am using the method correctly, please feel free to point me in the right direction
 

Attachments

  • q36p1.pdf
    683.1 KB · Views: 277
  • q36p2.pdf
    529.3 KB · Views: 223
Physics news on Phys.org
  • #2
You have a lot of general equations with "[itex]y_1[/itex]" and "[itex]y_2[/itex]" but you don't say what functions they are! You understand, don't you, that [itex]y_1[/itex] and [itex]y_2[/itex] are the two independent solutions to the associated homogeneous equation? What are the solutions to [itex]x^2y''- 4xy'+ 6y= 0[/itex]? that should be your first step.
 
  • #3
HallsofIvy said:
What are the solutions to [itex]x^2y''- 4xy'+ 6y= 0[/itex]? that should be your first step.

Yes but which one comes first?
y1=x^3 and y2=X^2 or y1=x^2 and y2=X^3
 
  • #4
First you solve the homogeneous equation :

[itex]L[y] = x^2y'' - 4xy' + 6y = 0[/itex]

You should get a pair of solutions. These solutions will allow you to solve the non homogeneous system :

[itex]L[y] = x^2y'' - 4xy' + 6y = x^4sin(x)[/itex]

After this you can apply a nice little theorem involving the wronskian actually to finish the problem off i believe.
 
  • #5
Since this is over a month old, and R1ckr()11 sent me a pm about it:

You can solve the corresponding homogeneous equation by trying a solution of the form [itex]y= x^r[/itex]. [itex]y'= rx^{r-1}[/itex], and [itex]y''= r(r-1)x^{r- 2}[/itex] so that [itex]x^2y''- 4xy'+ 6y= r(r-1)x^r- 4rx^r+ 6x^r= (r^2- 5r+ 6)x^r= 0[/itex]. Solving that equation gives r= 3 and r= 2 so that [itex]y_1= x^3[/itex] and [itex]y_2= x^2[/itex] are independent solutions to the homogeneous equation.

Now look for a solution to the entire equation of the form [itex]y= u(x)x^2+ v(x)x^3[/itex]. Differentiating, [itex]y'= u'x^2+ 2ux+ v'x^3+ 3vx^2[/itex]. There are, in fact, an infinite number of solutions of that form so we "narrow the search" by requiring that [itex]u'x^2+ v'x^3= 0[/itex]. That leaves [itex]y'= 2ux+ 3vx^2[/itex].
Differentiating again, [itex]y''= 2u'x+ 2u+ 3v'x^2+ 6vx[/itex].

Putting those into the differential equation, [itex]x^2y''- 4xy'+ 6y= (2u'x^3+ 2x^2u+ 3v'x^4+ 6vx^3)- (8ux^2+ 12vx^4)+ (6ux^2+6vx^3)[/itex][itex]= 2u'x^3+ 3v'x^4= x^4sin(x)[/itex]. That means we have the two equations:
[itex][itex]u'x^2+ v'x^3= 0[/itex] and [itex]2u'x^3+ 3v'x^4= x^4sin(x)[/itex] that we can solve "algebraically" for u' and v'.

If we multiply the first equation by 2x and subtract it from the second, the u' terms cancel and we have [itex]v'x^4= x^4sin(x)[/itex]. That is the same as [itex]v'= sin(x)[/itex] so that [itex]v(x)= -cos(x)[/itex].

If we multiply the first equation by 3x and subtract it from the second, the v' terms cancel and we have [itex]-u'x^3= x^4sin(x)[/itex]. That is the same as [itex]u'= -xsin(x)[/itex]. Integrating by parts, [itex]u= xcos(x)- sin(x)[/itex].

That is,
[tex]y(x)= Cx^3+ Dx^2+ x^3 cos(x)- x^2sin(x)- x^3cos(x)= Cx^3+ Dx^2- x^2sin(x)[/tex].
 

FAQ: Variation of parameters question

1. What is the variation of parameters method?

The variation of parameters method is a technique used to find a particular solution to a non-homogeneous linear differential equation. It involves replacing the arbitrary constants in the general solution with functions of the independent variable.

2. When is the variation of parameters method used?

The variation of parameters method is used when the non-homogeneous term in a linear differential equation is a function that cannot be easily solved for by other methods such as the method of undetermined coefficients or the annihilator method.

3. How does the variation of parameters method work?

The variation of parameters method involves first finding the general solution to the corresponding homogeneous equation. The next step is to find two particular solutions to the non-homogeneous equation, and then use the variation of parameters formula to combine these solutions into a single particular solution.

4. Can the variation of parameters method be used for higher order differential equations?

Yes, the variation of parameters method can be used for higher order linear differential equations. However, the process becomes more complex as the order of the differential equation increases.

5. Are there any limitations to the variation of parameters method?

The variation of parameters method may not work for non-linear differential equations or for non-homogeneous terms that are not continuous. It also requires a certain level of algebraic manipulation and can be time-consuming for more complex equations.

Similar threads

Back
Top