SlideShare a Scribd company logo
Ch 3.7: Variation of Parameters
Recall the nonhomogeneous equation
where p, q, g are continuous functions on an open interval I.
The associated homogeneous equation is
In this section we will learn the variation of parameters
method to solve the nonhomogeneous equation. As with the
method of undetermined coefficients, this procedure relies on
knowing solutions to homogeneous equation.
Variation of parameters is a general method, and requires no
detailed assumptions about solution form. However, certain
integrals need to be evaluated, and this can present difficulties.
)()()( tgytqytpy =+′+′′
0)()( =+′+′′ ytqytpy
Example: Variation of Parameters (1 of 6)
We seek a particular solution to the equation below.
We cannot use method of undetermined coefficients since
g(t) is a quotient of sint or cost, instead of a sum or product.
Recall that the solution to the homogeneous equation is
To find a particular solution to the nonhomogeneous
equation, we begin with the form
Then
or
tyy csc34 =+′′
tctctyC 2sin2cos)( 21 +=
ttuttuty 2sin)(2cos)()( 21 +=
ttuttuttuttuty 2cos)(22sin)(2sin)(22cos)()( 2211 +′+−′=′
ttuttuttuttuty 2sin)(2cos)(2cos)(22sin)(2)( 2121
′+′++−=′
Example: Derivatives, 2nd
Equation (2 of 6)
From the previous slide,
Note that we need two equations to solve for u1 and u2. The
first equation is the differential equation. To get a second
equation, we will require
Then
Next,
ttuttuttuttuty 2sin)(2cos)(2cos)(22sin)(2)( 2121
′+′++−=′
02sin)(2cos)( 21 =′+′ ttuttu
ttuttuty 2cos)(22sin)(2)( 21 +−=′
ttuttuttuttuty 2sin)(42cos)(22cos)(42sin)(2)( 2211 −′+−′−=′′
Example: Two Equations (3 of 6)
Recall that our differential equation is
Substituting y'' and y into this equation, we obtain
This equation simplifies to
Thus, to solve for u1 and u2, we have the two equations:
( ) tttuttu
ttuttuttuttu
csc32sin)(2cos)(4
2sin)(42cos)(22cos)(42sin)(2
21
2211
=++
−′+−′−
02sin)(2cos)(
csc32cos)(22sin)(2
21
21
=′+′
=′+′−
ttuttu
tttuttu
tttuttu csc32cos)(22sin)(2 21 =′+′−
tyy csc34 =+′′
Example: Solve for u1' (4 of 6)
To find u1 and u2 , we need to solve the equations
From second equation,
Substituting this into the first equation,
t
t
tutu
2sin
2cos
)()( 12
′−=′
( ) ( )
( ) ( )[ ]
ttu
t
tt
tttu
ttttuttu
tt
t
t
tuttu
cos3)(
sin
cossin2
32cos2sin)(2
2sincsc32cos)(22sin)(2
csc32cos
2sin
2cos
)(22sin)(2
1
22
1
2
1
2
1
11
−=′






=+′−
=′−′−
=





′−+′−
02sin)(2cos)(
csc32cos)(22sin)(2
21
21
=′+′
=′+′−
ttuttu
tttuttu
Example : Solve for u1 and u2 (5 of 6)
From the previous slide,
Then
Thus
tt
t
t
t
t
t
tt
t
t
t
t
ttu
sin3csc
2
3
sin2
sin2
sin2
1
3
sin2
sin21
3
cossin2
sin21
cos3
2sin
2cos
cos3)(
2
22
2
−=





−=





 −
=




 −
=



=′
222
111
cos3cotcscln
2
3
sin3csc
2
3
)()(
sin3cos3)()(
ctttdtttdttutu
cttdtdttutu
++−=





−=′=
+−=−=′=
∫∫
∫∫
t
t
tututtu
2sin
2cos
)()(,cos3)( 121
′−=′−=′
Example: General Solution (6 of 6)
Recall our equation and homogeneous solution yC:
Using the expressions for u1 and u2 on the previous slide, the
general solution to the differential equation is
[ ]
( )[ ]
tctctttt
tyttttttt
tyttttttt
tyttttttt
tyttuttuty
C
C
C
C
2sin2cos2sincotcscln
2
3
sin3
)(2sincotcscln
2
3
1cos2sincossin23
)(2sincotcscln
2
3
2cossin2sincos3
)(2sincos32sincotcscln
2
3
2cossin3
)(2sin)(2cos)()(
21
22
21
++−+=
+−+−−=
+−+−=
++−+−=
++=
tctctytyy C 2sin2cos)(,csc34 21 +==+′′
Summary
Suppose y1, y2 are fundamental solutions to the homogeneous
equation associated with the nonhomogeneous equation
above, where we note that the coefficient on y'' is 1.
To find u1 and u2, we need to solve the equations
Doing so, and using the Wronskian, we obtain
Thus
)()()()()(
0)()()()(
2211
2211
tgtytutytu
tytutytu
=′′+′′
=′+′
)()()()()(
)()()(
2211 tytutytuty
tgytqytpy
+=
=+′+′′
( ) ( ) )(,
)()(
)(,
)(,
)()(
)(
21
1
2
21
2
1
tyyW
tgty
tu
tyyW
tgty
tu =′−=′
( ) ( )∫∫ +=+−= 2
21
1
21
21
2
1
)(,
)()(
)(,
)(,
)()(
)( cdt
tyyW
tgty
tucdt
tyyW
tgty
tu
Theorem 3.7.1
Consider the equations
If the functions p, q and g are continuous on an open interval I,
and if y1 and y2 are fundamental solutions to Eq. (2), then a
particular solution of Eq. (1) is
and the general solution is
( ) ( )∫∫ +−= dt
tyyW
tgty
tydt
tyyW
tgty
tytY
)(,
)()(
)(
)(,
)()(
)()(
21
1
2
21
2
1
)()()()( 2211 tYtyctycty ++=
)2(0)()(
)1()()()(
=+′+′′
=+′+′′
ytqytpy
tgytqytpy
Theorem 3.7.1
Consider the equations
If the functions p, q and g are continuous on an open interval I,
and if y1 and y2 are fundamental solutions to Eq. (2), then a
particular solution of Eq. (1) is
and the general solution is
( ) ( )∫∫ +−= dt
tyyW
tgty
tydt
tyyW
tgty
tytY
)(,
)()(
)(
)(,
)()(
)()(
21
1
2
21
2
1
)()()()( 2211 tYtyctycty ++=
)2(0)()(
)1()()()(
=+′+′′
=+′+′′
ytqytpy
tgytqytpy

More Related Content

PPT
Ch03 6
PPT
Ch04 3
PPT
Differential Equations Lecture: Non-Homogeneous Linear Differential Equations
PPT
Ch03 1
PPT
Ch03 2
PPTX
Differential equations of first order
PPTX
Differential equation and Laplace transform
PPTX
Exact & non differential equation
Ch03 6
Ch04 3
Differential Equations Lecture: Non-Homogeneous Linear Differential Equations
Ch03 1
Ch03 2
Differential equations of first order
Differential equation and Laplace transform
Exact & non differential equation

What's hot (20)

PPTX
Automobile 3rd sem aem ppt.2016
PPTX
Differential equation and Laplace Transform
PPT
Ch08 1
PPT
Linear differential equation with constant coefficient
PPTX
formulation of first order linear and nonlinear 2nd order differential equation
PDF
Integrability and weak diffraction in a two-particle Bose-Hubbard model
PDF
differential equation Lecture#12
PDF
Ma2002 1.23 rm
PDF
First Order Differential Equations
PPT
6.3 presentation
PPT
Differential equations and its applications
PPTX
Linear differential equation
PPT
6.2 presentation
DOC
Shahjahan notes:Mathematicsinphysicstheorysampleproblematc
PDF
FUNCIONES DE GREEN
PPTX
Differential equations of first order
PPTX
First order ordinary differential equations and applications
PDF
19 2
PDF
6.7 airy
PPS
M1 unit ii-jntuworld
Automobile 3rd sem aem ppt.2016
Differential equation and Laplace Transform
Ch08 1
Linear differential equation with constant coefficient
formulation of first order linear and nonlinear 2nd order differential equation
Integrability and weak diffraction in a two-particle Bose-Hubbard model
differential equation Lecture#12
Ma2002 1.23 rm
First Order Differential Equations
6.3 presentation
Differential equations and its applications
Linear differential equation
6.2 presentation
Shahjahan notes:Mathematicsinphysicstheorysampleproblematc
FUNCIONES DE GREEN
Differential equations of first order
First order ordinary differential equations and applications
19 2
6.7 airy
M1 unit ii-jntuworld
Ad

Similar to Ch03 7 (20)

PPTX
Unit_3_Differential_Equations_PPT a final .pptx
PDF
3c3 nonhomgen lineqns-stuhuhuhuhuhh
PDF
Higher Differential Equation
PPTX
Network Analysis Introduction class.pptx
PDF
4th Semester Civil Engineering Question Papers June/july 2018
PDF
UNIT-III.pdf
PPTX
3.1 Ordinary Differential equation Higher Order
PPTX
Higher order ODE with applications
PPTX
Mathematical toolls of Physics.pptx jdjdj
PPTX
Second order homogeneous linear differential equations
PPSX
Methods of solving ODE
PDF
Engr 213 midterm 2b sol 2010
PDF
Engr 213 midterm 2a sol 2010
PPT
Btech admission in india
PDF
Sample question paper 2 with solution
PDF
Heat problems
PDF
The International Journal of Engineering and Science (The IJES)
PPTX
differentiol equation.pptx
PDF
Answers to Problems for Advanced Engineering Mathematics, 6th Edition – Denni...
PDF
Add math may june 2016 p1
Unit_3_Differential_Equations_PPT a final .pptx
3c3 nonhomgen lineqns-stuhuhuhuhuhh
Higher Differential Equation
Network Analysis Introduction class.pptx
4th Semester Civil Engineering Question Papers June/july 2018
UNIT-III.pdf
3.1 Ordinary Differential equation Higher Order
Higher order ODE with applications
Mathematical toolls of Physics.pptx jdjdj
Second order homogeneous linear differential equations
Methods of solving ODE
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2a sol 2010
Btech admission in india
Sample question paper 2 with solution
Heat problems
The International Journal of Engineering and Science (The IJES)
differentiol equation.pptx
Answers to Problems for Advanced Engineering Mathematics, 6th Edition – Denni...
Add math may june 2016 p1
Ad

More from Rendy Robert (20)

PPT
Ch08 3
PPT
Ch07 9
PPT
Ch07 8
PPT
Ch07 7
PPT
Ch07 6
PPT
Ch07 5
PPT
Ch07 4
PPT
Ch07 3
PPT
Ch07 2
PPT
Ch07 1
PPT
Ch06 6
PPT
Ch06 5
PPT
Ch06 4
PPT
Ch06 3
PPT
Ch06 2
PPT
Ch06 1
PPT
Ch05 8
PPT
Ch05 7
PPT
Ch05 6
PPT
Ch05 5
Ch08 3
Ch07 9
Ch07 8
Ch07 7
Ch07 6
Ch07 5
Ch07 4
Ch07 3
Ch07 2
Ch07 1
Ch06 6
Ch06 5
Ch06 4
Ch06 3
Ch06 2
Ch06 1
Ch05 8
Ch05 7
Ch05 6
Ch05 5

Ch03 7

  • 1. Ch 3.7: Variation of Parameters Recall the nonhomogeneous equation where p, q, g are continuous functions on an open interval I. The associated homogeneous equation is In this section we will learn the variation of parameters method to solve the nonhomogeneous equation. As with the method of undetermined coefficients, this procedure relies on knowing solutions to homogeneous equation. Variation of parameters is a general method, and requires no detailed assumptions about solution form. However, certain integrals need to be evaluated, and this can present difficulties. )()()( tgytqytpy =+′+′′ 0)()( =+′+′′ ytqytpy
  • 2. Example: Variation of Parameters (1 of 6) We seek a particular solution to the equation below. We cannot use method of undetermined coefficients since g(t) is a quotient of sint or cost, instead of a sum or product. Recall that the solution to the homogeneous equation is To find a particular solution to the nonhomogeneous equation, we begin with the form Then or tyy csc34 =+′′ tctctyC 2sin2cos)( 21 += ttuttuty 2sin)(2cos)()( 21 += ttuttuttuttuty 2cos)(22sin)(2sin)(22cos)()( 2211 +′+−′=′ ttuttuttuttuty 2sin)(2cos)(2cos)(22sin)(2)( 2121 ′+′++−=′
  • 3. Example: Derivatives, 2nd Equation (2 of 6) From the previous slide, Note that we need two equations to solve for u1 and u2. The first equation is the differential equation. To get a second equation, we will require Then Next, ttuttuttuttuty 2sin)(2cos)(2cos)(22sin)(2)( 2121 ′+′++−=′ 02sin)(2cos)( 21 =′+′ ttuttu ttuttuty 2cos)(22sin)(2)( 21 +−=′ ttuttuttuttuty 2sin)(42cos)(22cos)(42sin)(2)( 2211 −′+−′−=′′
  • 4. Example: Two Equations (3 of 6) Recall that our differential equation is Substituting y'' and y into this equation, we obtain This equation simplifies to Thus, to solve for u1 and u2, we have the two equations: ( ) tttuttu ttuttuttuttu csc32sin)(2cos)(4 2sin)(42cos)(22cos)(42sin)(2 21 2211 =++ −′+−′− 02sin)(2cos)( csc32cos)(22sin)(2 21 21 =′+′ =′+′− ttuttu tttuttu tttuttu csc32cos)(22sin)(2 21 =′+′− tyy csc34 =+′′
  • 5. Example: Solve for u1' (4 of 6) To find u1 and u2 , we need to solve the equations From second equation, Substituting this into the first equation, t t tutu 2sin 2cos )()( 12 ′−=′ ( ) ( ) ( ) ( )[ ] ttu t tt tttu ttttuttu tt t t tuttu cos3)( sin cossin2 32cos2sin)(2 2sincsc32cos)(22sin)(2 csc32cos 2sin 2cos )(22sin)(2 1 22 1 2 1 2 1 11 −=′       =+′− =′−′− =      ′−+′− 02sin)(2cos)( csc32cos)(22sin)(2 21 21 =′+′ =′+′− ttuttu tttuttu
  • 6. Example : Solve for u1 and u2 (5 of 6) From the previous slide, Then Thus tt t t t t t tt t t t t ttu sin3csc 2 3 sin2 sin2 sin2 1 3 sin2 sin21 3 cossin2 sin21 cos3 2sin 2cos cos3)( 2 22 2 −=      −=       − =      − =    =′ 222 111 cos3cotcscln 2 3 sin3csc 2 3 )()( sin3cos3)()( ctttdtttdttutu cttdtdttutu ++−=      −=′= +−=−=′= ∫∫ ∫∫ t t tututtu 2sin 2cos )()(,cos3)( 121 ′−=′−=′
  • 7. Example: General Solution (6 of 6) Recall our equation and homogeneous solution yC: Using the expressions for u1 and u2 on the previous slide, the general solution to the differential equation is [ ] ( )[ ] tctctttt tyttttttt tyttttttt tyttttttt tyttuttuty C C C C 2sin2cos2sincotcscln 2 3 sin3 )(2sincotcscln 2 3 1cos2sincossin23 )(2sincotcscln 2 3 2cossin2sincos3 )(2sincos32sincotcscln 2 3 2cossin3 )(2sin)(2cos)()( 21 22 21 ++−+= +−+−−= +−+−= ++−+−= ++= tctctytyy C 2sin2cos)(,csc34 21 +==+′′
  • 8. Summary Suppose y1, y2 are fundamental solutions to the homogeneous equation associated with the nonhomogeneous equation above, where we note that the coefficient on y'' is 1. To find u1 and u2, we need to solve the equations Doing so, and using the Wronskian, we obtain Thus )()()()()( 0)()()()( 2211 2211 tgtytutytu tytutytu =′′+′′ =′+′ )()()()()( )()()( 2211 tytutytuty tgytqytpy += =+′+′′ ( ) ( ) )(, )()( )(, )(, )()( )( 21 1 2 21 2 1 tyyW tgty tu tyyW tgty tu =′−=′ ( ) ( )∫∫ +=+−= 2 21 1 21 21 2 1 )(, )()( )(, )(, )()( )( cdt tyyW tgty tucdt tyyW tgty tu
  • 9. Theorem 3.7.1 Consider the equations If the functions p, q and g are continuous on an open interval I, and if y1 and y2 are fundamental solutions to Eq. (2), then a particular solution of Eq. (1) is and the general solution is ( ) ( )∫∫ +−= dt tyyW tgty tydt tyyW tgty tytY )(, )()( )( )(, )()( )()( 21 1 2 21 2 1 )()()()( 2211 tYtyctycty ++= )2(0)()( )1()()()( =+′+′′ =+′+′′ ytqytpy tgytqytpy
  • 10. Theorem 3.7.1 Consider the equations If the functions p, q and g are continuous on an open interval I, and if y1 and y2 are fundamental solutions to Eq. (2), then a particular solution of Eq. (1) is and the general solution is ( ) ( )∫∫ +−= dt tyyW tgty tydt tyyW tgty tytY )(, )()( )( )(, )()( )()( 21 1 2 21 2 1 )()()()( 2211 tYtyctycty ++= )2(0)()( )1()()()( =+′+′′ =+′+′′ ytqytpy tgytqytpy