Q36E

Question

Variation of Parameters. Here is another procedure for solving linear equations that is particularly useful for higher-order linear equations. This method is called variation of parameters. It is based on the idea that just by knowing the form of the solution, we can substitute into the given equation and solve for any unknowns. Here we illustrate the method for first-order equations (see Sections 4.6 and 6.4 for the generalization to higher-order equations).

(a) Show that the general solution to (20)dydx+P(x)y=Q(x)   has the formy(x)=Cyh(x)+yp(x)where yh ( 0is a solution to equation (20) when  Q(x)=0 

C is a constant, andyp(x)=v(x)yh(x) for a suitable function v(x). [Hint: Show that we can take yh=μ-1(x) and then use equation (8).] We can in fact determine the unknown function   yhby solving a separable equation. Then direct substitution of vyh in the original equation will give a simple equation that can be solved for v.

Use this procedure to find the general solution to (21) dydx+3xy=x2 , x > 0 by completing the following steps:

(b) Find a nontrivial solution  yh to the separable equation (22) dydx+3xy=0  , x>0 .

(c) Assuming (21) has a solution of the formyp(x)=v(x)yh(x)  , substitute this into equation (21), and simplify to obtain  v'(x)=x2yh(x)

d) Now integrate to get vx  

(e) Verify that y(x)=Cyh(x)+v(x)yh(x)  is a general solution to (21).

 

Step-by-Step Solution

Verified
Answer
  1. Proved
  2.  yh=±k.x-3
  3.  dvdx=x6
  4.  v(x)=x66
  5. Proved
1Step 1(a): Show that the general solution to (20) dy dx + P ( x ) y = Q ( x ) has the form y ( x ) = C y h ( x ) + y p ( x )

Here  dydx+P(x)y=Q(x) and  yh=μ-1(x)

So the equation is 

 dyhdx=-μ(x)-2dμdx

For 

 dμdx=P(x)μ(x)dyhdx=-μ(x)-1P(x)dyhdx=-y(x)P(x)

Rearranging them  dyhdx+y(x)P(x)=0

The solution is

 width="275" style="max-width: none;" y(x)=1μ(x)μ(x)Q(x)dx+CCyh(x)+yp(x)=1μ(x)μ(x)Q(x)dx+Cyp(x)=v(x)yh(x)=v(x)μ(x)-1=1μ(x)μ(x)Q(x)dx+Cv(x)=μ(x)Q(x)dx

 

Therefore the general solution is  v(x)=μ(x)Q(x)dx

2Step 3(b): Find the nontrivial solution

Here  dydx+3xy=0

Rearranging them 

 -13ydy=dxxlny=lnx-3-C

Raising power e on both sides thenyh=±k.x-3

 (k is arbitrary constants)

Therefore the nontrivial solution is yh=±k.x-3.

3Step 3(c): Determine the value of v ' ( x )

Since   yp(x)=v(x)yh(x)and substituteyh=v(x)x-3   then

 dypdx+3xyp=x2v(x)dyhdx+yhdvdx+3xyh=x2v(x)dyhdx+3xyh+yhdvdx=x2

From part (b) v(x)dyhdx+3xyh=0 then

 yhdvdx=x2

Where  yh=x-3 then


dvdx=x6

 

Therefore the value is dvdx=x6 .

 

4Step 4(d): Find the value v(x)

Integrate the value 

     dvdx=x6v(x)=x66   

Therefore the value is v(x)=x66 .

5Step 5(e): Verify that y ( x ) = C y h ( x ) + v ( x ) y h ( x ) is a general solution to (21)

Since 


y(x)=Cyh(x)+v(x)yh(x)y(x)=Cx-3+x66


Calculate

 dydx+3xyCx-3+x66-3Cx-4+3xCx-3+12x2+12x2=x2

 Therefore, this verifies the result.