Variation of Parameters

Slides:



Advertisements
Similar presentations
SECOND-ORDER DIFFERENTIAL EQUATIONS
Advertisements

Differential Equations MTH 242 Lecture # 11 Dr. Manshoor Ahmed.
Second-Order Differential
Ch 5.6: Series Solutions Near a Regular Singular Point, Part I
Ch 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients
Ch 5.5: Series Solutions Near a Regular Singular Point, Part I We now consider solving the general second order linear equation in the neighborhood of.
Ch 3.3: Linear Independence and the Wronskian
Sheng-Fang Huang. Introduction If r (x) = 0 (that is, r (x) = 0 for all x considered; read “r (x) is identically zero”), then (1) reduces to (2) y"
Additional Topics in Differential Equations
Nonhomogeneous Linear Differential Equations
Math 3120 Differential Equations with Boundary Value Problems
Copyright © Cengage Learning. All rights reserved. 17 Second-Order Differential Equations.
Differential Equations MTH 242 Lecture # 13 Dr. Manshoor Ahmed.
Mathe III Lecture 4 Mathe III Lecture 4 Mathe III Lecture 4 Mathe III Lecture 4.
Solving Quadratic Equations Quadratic Equations: Think of other examples?
Second-Order Differential
Math 3120 Differential Equations with Boundary Value Problems
Section 4.3 Polynomial Division; The Remainder and Factor Theorems Copyright ©2013, 2009, 2006, 2001 Pearson Education, Inc.
Differential Equations MTH 242 Lecture # 09 Dr. Manshoor Ahmed.
Chapter 9 Differential Equations 9.1 Modeling with Differential Equations *9.2 Direction Fields and Euler’s Method 9.3 Separable Equations *9.4 Exponential.
Ch 4.3: Nonhomogeneous Equations: Method of Undetermined Coefficients
Week 9 4. Method of variation of parameters
Chapter 1: Definitions, Families of Curves
3.2 Homogeneous Linear ODEs with Constant Coefficients
First-Order Differential Equations
Linear homogeneous ODEn with constant coefficients
Engineering Analysis I
A PART Ordinary Differential Equations (ODEs) Part A p1.
SECOND-ORDER DIFFERENTIAL EQUATIONS
Aim: What are the properties of a quadratic equation?
Chapter 2: Equations of Order One
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Chapter 4: Linear Differential Equations
Linear Differential Equations
MATH 374 Lecture 7 Linear Equations.
Ch 4.1: Higher Order Linear ODEs: General Theory
We will be looking for a solution to the system of linear differential equations with constant coefficients.
Class Notes 7: High Order Linear Differential Equation Homogeneous
Sec 5.3 – Undetermined Coefficients
FIRST ORDER DIFFERENTIAL EQUATIONS
Chapter 8: Linear Systems of Equations
GENERAL SOLUTION. OF HOMOGENOUS LINEAR DIFFERENTIAL EQUATIONS
Factorization by Cross-method
Chapter 5: Linear Equations with Constant Coefficients
Higher-Order Linear Homogeneous & Autonomic Differential Equations with Constant Coefficients MAT 275.
Polynomial Division; The Remainder Theorem and Factor Theorem
Chapter 7: Variation of Parameters
Ch 4.4: Variation of Parameters
Properties of Differential Operators
Auxiliary Equation with Repeated Roots
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
2.5 Euler—Cauchy Equations
Ch 4.2: Homogeneous Equations with Constant Coefficients
General Solution – Homogeneous and Non-Homogeneous Equations
Chapter 6: Non-homogeneous Equations: Undetermined Coefficients
MATH 374 Lecture 23 Complex Eigenvalues.
Systems of Linear Equations
Ch 3.7: Variation of Parameters
Non-Homogeneous Systems
Ch 4.1: Higher Order Linear ODEs: General Theory
Partial Fractions.
2.10 Solution by Variation of Parameters Section 2.10 p1.
Cauchy–Euler Equation
Solve the differential equation using the method of undetermined coefficients. y " + 4y = e 3x 1. {image}
Solve the differential equation using the method of undetermined coefficients. y " + 9y = e 2x {image}
Differential Equations
The Wronskian and Linear Independence
Algebraic Identities.
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Auxiliary Equation with Complex Roots; Hyperbolic Functions
Presentation transcript:

Variation of Parameters MATH 374 Lecture 20 Variation of Parameters

7.2: Variation of Parameters Given the equation: y’’ + p(x) y’ + q(x) y = R(x), (1) suppose that y1 and y2 are linearly independent solutions of the corresponding homogeneous equation: y’’ + p(x) y’ + q(x) y = 0, (2) on a<x<b.

Variation of Parameters – Second Order case Since we know linear combinations of y1 and y2 solve (2), maybe a solution of (1) can be put in the form: y = A(x)y1 + B(x)y2 (3) for some functions A(x) and B(x). Let’s assume such a solution exists and try to find A and B!

Variation of Parameters – Second Order case y’’ + p(x) y’ + q(x) y = R(x) (1) y = A(x)y1 + B(x)y2 (3) Variation of Parameters – Second Order case Differentiating (3), y’ = A’y1 + Ay1’ + B’y2 + By2’ (4) y’’ = A’’y1 + 2A’y1’+ Ay1’’ + B’’y2 + 2B’y2’ + By2’’. (5) Substituting (3), (4), and (5) into (1) yields (A’’y1 + 2A’y1’ + Ay1’’ + B’’y2 + 2B’y2’ + By2’’) + + p(x)(A’y1 + Ay1’ + B’y2 + By2’) + + q(x)(Ay1 + By2) = R(x)

Variation of Parameters – Second Order case y’’ + p(x) y’ + q(x) y = R(x) (1) y = A(x)y1 + B(x)y2 (3) Variation of Parameters – Second Order case Differentiating (3), y’ = A’y1 + Ay1’ + B’y2 + By2’ (4) y’’ = A’’y1 + 2A’y1’+ Ay1’’ + B’’y2 + 2B’y2’ + By2’’. (5) Substituting (3), (4), and (5) into (1) yields (A’’y1 + 2A’y1’ + Ay1’’ + B’’y2 + 2B’y2’ + By2’’) + + p(x)(A’y1 + Ay1’ + B’y2 + By2’) + + q(x)(Ay1 + By2) = R(x)

Variation of Parameters – Second Order case y’’ + p(x) y’ + q(x) y = R(x) (1) y’’ + p(x) y’ + q(x) y = 0, (2) Variation of Parameters – Second Order case (A’’y1 + 2A’y1’ + Ay1’’ + B’’y2 + 2B’y2’ + By2’’) + + p(x) (A’y1 + Ay1’ + B’y2 + By2’) + + (Ay1 + By2) = R(x) Rearranging, we get: (A’’y1+B’’y2) + 2(A’y1’+B’y2’) + A(y1’’+p(x)y1’+q(x)y1) + B(y2’’+p(x)y2’+q(x)y2) + p(x)(A’y1+B’y2) = R(x) = 0 since y1 solves (2) = 0 since y2 solves (2)

Variation of Parameters – Second Order case y’’ + p(x) y’ + q(x) y = R(x) (1) y = A(x)y1 + B(x)y2 (3) Variation of Parameters – Second Order case (A’’y1+B’’y2) + 2(A’y1’+B’y2’) + + p(x)(A’y1+B’y2) = R(x). Thus, (A’’y1+B’’y2) + 2(A’y1’+B’y2’) + p(x)(A’y1+B’y2) = R(x) (6) must hold. Note that if A and B are found to make (6) hold, then reversing the above argument shows that (3) solves (1). To find A and B, let’s try to find two equations that relate A and B.

Variation of Parameters – Second Order case y = A(x)y1 + B(x)y2 (3) (A’’y1+B’’y2) + 2(A’y1’+B’y2’) + p(x)(A’y1+B’y2) = R(x) (6) Variation of Parameters – Second Order case Notice that if A’y1 + B’y2 = 0, (7) then since (7) implies 0 = (A’y1 + B’y2)’ = A’’y1 + B’’y2 + A’y1’ + B’y2’ (8) it follows from (7) and (8) that for (6) to hold, we’d need: A’y1’ + B’y2’ = R(x). (9) Hence, if we can find A and B that solve system (7), (9), equation (6) will hold and (1) is solved by a solution of form (3)!!

Variation of Parameters – Second Order case A’y1 + B’y2 = 0, (7) A’y1’ + B’y2’ = R(x). (9) Variation of Parameters – Second Order case Now, a solution to system (7), (9) will exist, provided W(x) = y1y2’ – y1’y2  0. Since y1 and y2 are linearly independent on (a,b), W(x) is never zero on (a,b) (see HW problems 23 and 24 for proof).

Variation of Parameters – Second Order case A’y1 + B’y2 = 0, (7) A’y1’ + B’y2’ = R(x). (9) Variation of Parameters – Second Order case Solving system (7), (9) for A’ and B’ gives: A’ = - (y2 R(x))/W(x) B’ = (y1 R(x))/W(x), from which it follows that A(x) = -s (y2 R(x))/W(x) dx B(x) = s (y1 R(x))/W(x) dx. (10) Thus, the solution to (1) is y = A(x)y1 + B(x)y2 with A and B given by (10).

Variation of Parameters – nth Order case Note: For linear equations of order n, a similar technique will work – Look for a solution of the form y = A1(x)y1 + … + An(x)yn with y1, y2, … , yn linearly independent solutions of the corresponding homogeneous problem.

Example 1 Use Variation of Parameters to solve y’’ – y – 2y = e-x. (11) Solution: The auxiliary equation for y’’ – y’ – 2y = 0 is m2 – m – 2 = 0. ) (m-2)(m+1) = 0 ) roots are m = 2, -1. Thus, yc = c1e2x + c2e-x is the general solution to the homogeneous problem corresponding to (11).

A(x) = -s (y2 R(x))/W(x) dx B(x) = s (y1 R(x))/W(x) dx. (10) Example 1 (continued) Taking y1 = e2x and y2 = e-x, which are linearly independent solutions of the homogeneous problem corresponding to (11), (10) implies, with W(x) = y1y2’ – y1’y2,= (e2x)(-e-x) – (2e2x)(e-x) = -3ex, A(x) = - s (y2 R(x))/W(x) dx = - s (e-x e-x)/(-3ex) dx = - s (e-2x)/(-3ex) dx = s 1/3 e-3x dx = -1/9 e-3x + C1

Example 1 (continued) and B(x) = s (y1 R(x))/W(x) dx A(x) = -s (y2 R(x))/W(x) dx B(x) = s (y1 R(x))/W(x) dx. (10) Example 1 (continued) and B(x) = s (y1 R(x))/W(x) dx = s (e2x e-x)/(-3ex) dx = s ex/(-3ex) dx = s -1/3 dx = -1/3 x + C2 Therefore, the solution to (11) is: y = A(x)y1 + B(x)y2 = (-1/9e-3x + C1)e2x + (-1/3 x + C2)e-x = C1e2x + C2e-x -1/9e-x -1/3 x e-x (Re-solve (11) using the Method of Undetermined Coefficients!)