Week 9 4. Method of variation of parameters

Slides:



Advertisements
Similar presentations
Ch 3.6: Variation of Parameters
Advertisements

Chapter 2: Second-Order Differential Equations
Differential Equations MTH 242 Lecture # 11 Dr. Manshoor Ahmed.
A second order ordinary differential equation has the general form
Ch 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients
Ch 7.9: Nonhomogeneous Linear Systems
Ch 3.4: Repeated Roots; Reduction of Order
Ch 3.5: Repeated Roots; Reduction of Order
1Chapter 2. 2 Example 3Chapter 2 4 EXAMPLE 5Chapter 2.
Differential Equations Solving First-Order Linear DEs Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Boyce/DiPrima 9 th ed, Ch 3.1: 2 nd Order Linear Homogeneous Equations-Constant Coefficients Elementary Differential Equations and Boundary Value Problems,
1 Week 4 1. Fourier series: the definition and basics (continued) Fourier series can be written in a complex form. For 2π -periodic function, for example,
10.5 Basic Differentiation Properties. Instead of finding the limit of the different quotient to obtain the derivative of a function, we can use the rules.
Boyce/DiPrima 9th ed, Ch 3.4: Repeated Roots; Reduction of Order Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
Nonhomogeneous Linear Differential Equations
Math 3120 Differential Equations with Boundary Value Problems
Variation of Parameters Method for Non-Homogeneous Equations.
Copyright © Cengage Learning. All rights reserved. 17 Second-Order Differential Equations.
Differential Equations MTH 242 Lecture # 13 Dr. Manshoor Ahmed.
Variation of Parameters
Second-Order Differential
Solving Linear Systems by Substitution
Math 3120 Differential Equations with Boundary Value Problems
Math 3120 Differential Equations with Boundary Value Problems
Warm Up. Solving Differential Equations General and Particular solutions.
Chapter 2 Solvable Equations. Sec 2.1 – 1 st Order Linear Equations  First solvable class of equations  The equation must be able to be expressed in.
Ch 4.2: Homogeneous Equations with Constant Coefficients Consider the nth order linear homogeneous differential equation with constant, real coefficients:
Differential Equations Second-Order Linear DEs Variation of Parameters Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Differential Equations Solving First-Order Linear DEs Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
1 Week 3 First-order ordinary differential equations (ODE) 1.Basic definitions 2.Separable ODEs 3.ODEs reducible to separable form 4.Linear first-order.
Warm Up 1.Find the particular solution to the initial value problem 2.Find the general solution to the differential equation.
1 Week 11 Numerical methods for ODEs 1.The basics: finite differences, meshes 2.The Euler method.
Differential Equations
Linear homogeneous ODEn with constant coefficients
Linear Equations Constant Coefficients
Week 5 5. Partial derivatives
A PART Ordinary Differential Equations (ODEs) Part A p1.
SECOND-ORDER DIFFERENTIAL EQUATIONS
Basic Definitions and Terminology
Week 4 Complex numbers: analytic functions
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Advanced Engineering Mathematics 6th Edition, Concise Edition
Linear Differential Equations
Differential Equations
Week 4 4. Linear first-order ODEs
Differential Equations
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
FIRST ORDER DIFFERENTIAL EQUATIONS
A second order ordinary differential equation has the general form
Ch 2.1: Linear Equations; Method of Integrating Factors
Chapter 7: Variation of Parameters
Class Notes 8: High Order Linear Differential Equation Non Homogeneous
Class Notes 5: Second Order Differential Equation – Non Homogeneous
Ch 4.4: Variation of Parameters
Engineering Analysis I
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Differential Equations
Ch 4.2: Homogeneous Equations with Constant Coefficients
Boyce/DiPrima 9th ed, Ch 3.6: Variation of Parameters Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce.
Linear Algebra Lecture 3.
Ch 3.7: Variation of Parameters
Week 4 Complex numbers: analytic functions
2.10 Solution by Variation of Parameters Section 2.10 p1.
Differential Equations
Differential Equations
Notes for Analysis Et/Wi
RAYAT SHIKSHAN SANSTHA’S S.M.JOSHI COLLEGE HADAPSAR, PUNE
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Differential Equations
Presentation transcript:

Week 9 4. Method of variation of parameters Consider a 2nd-order linear non-homogeneous ODE, (1) If p and q are constants and r = eax, sin ωx, etc., (1) can be solved using the method of undetermined coefficients. The method of variation of parameters enables us to solve (1) for any p, q and r – but only if we know the general solution of the corresponding homogeneous equation, (2)

Assume that you do know two independent solutions of the homogeneous equation, y1,2 – hence, the general solution is Let’s seek the solution of the non-homogeneous equation (1) in the form (3) where u(x) are v(x) undetermined functions. To determine u are v, let’s substitute (3) into ODE (1) and try to satisfy it – but, to do so, we need y'(x) and y''(x), so...

Let’s calculate and require that (4) Hence, Next, calculate Substituting the expressions for y' and y'' into the original ODE (1), we obtain...

y" y' y = 0 = 0 Rearrange this equation in the form Recall that y1,2(x) satisfy the homogeneous equation – hence, the above equation reduces to (5) Let’s write equations (4) and (5) next to each other...

Since y1,2 are assumed to be known, these are algebraic equations for u' and v'. To solve these equations, express u' from the first equation, (6) and substitute into the second equation, which yields hence...

(7) hence, (8) Substituting (7) into (6), we find u' and then obtain (9) Summarising (3) and (8)-(9), we obtain...

u v where ۞ W is called the Wronskian. Comment: A summary of the MoVoP will be included at the back of the exam paper.

Example 1: Solve the following ODE: Hint: The soln: Step 1: Find y1,2, i.e. solve the corresponding homogeneous equation: hence, hence...

cot x Step 2: Calculate the Wronskian, Step 3: Calculate u and v:

hence, = 1 – sin2 x hence, hence, using the hint provided and your knowledge of the basics,

The answer: Warning: Don’t lose C1,2, otherwise you’ll find a particular solution instead of the general one.

yp yh Comment: Rearrange the answer for Example 1 in the form In terms of Theorem 8.2, the two terms in this expression are yp and yh.

5. Reduction of order In some cases, one can solve a 2nd-order ODE by reducing its order. ۞ In an ODE with the standard notation, x and y are called the independent and dependent variables, respectively. Example 2: ODEs with the dependent variable missing Solve the following ODE: (10) Soln: Look at equation (10)... anything catches your eye? Observe that the dependent variable y doesn’t appear in this ODE (only y' and y")...

In such cases, change the dependent variable y → z, where z is such that Then it follows that and equation (10) becomes This is a linear 1st-order ODE for z(x), the solution is To return to the original dependent variable, recall that z = y'...

hence, the answer is Example 3: ODEs with the independent variable missing Solve the following ODE: Soln: Observe that the independent variable x doesn’t appear in this ODE...

x y y z = y' Let’s change both variables : variable old new independent x y dependent y z = y' Warning: Since we are going to change x (i.e. the variable with respect to which we differentiate), it’s a good idea to rewrite the original ODE in the form (11)

We’ll also need an expression to substitute for y" – hence, consider z hence, hence, using the chain rule, z hence,

y" Now, equation (11) becomes hence, This is a linear 1st-order ODE for z(y), the solution is Now, go back to the original variables...

This is a separable ODE, the solution is Comment: In Examples 2 and 3, reduction of order resulted in linear ODEs. Generally, this isn’t necessarily the case.

Reduction of order (summary) (1) ODEs with y missing The change of variables: The derivatives: The inverse change: once you’ve found z = f(x), write

(2) ODEs with x missing The change of variables: The derivatives: The inverse change: once you’ve found z = f(y), write and solve by separation of variables.