1st Order Linear D.E.

Similar documents
Example. Mathematics 255: Lecture 17. Example. Example (cont d) Consider the equation. d 2 y dt 2 + dy

Study guide - Math 220

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

HW2 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) October 14, Checklist: Section 2.6: 1, 3, 6, 8, 10, 15, [20, 22]

REVIEW NOTES FOR MATH 266

Second Order Linear Equations

Math 215/255: Elementary Differential Equations I Harish N Dixit, Department of Mathematics, UBC

1. Why don t we have to worry about absolute values in the general form for first order differential equations with constant coefficients?

Name: Solutions Final Exam

MA 266 Review Topics - Exam # 2 (updated)

Math 20D: Form B Final Exam Dec.11 (3:00pm-5:50pm), Show all of your work. No credit will be given for unsupported answers.

µ = e R p(t)dt where C is an arbitrary constant. In the presence of an initial value condition

Chapter 4: Higher Order Linear Equations

MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide

Problem Score Possible Points Total 150

Exam Basics. midterm. 1 There will be 9 questions. 2 The first 3 are on pre-midterm material. 3 The next 1 is a mix of old and new material.

Math 266, Midterm Exam 1

Exam II Review: Selected Solutions and Answers

Work sheet / Things to know. Chapter 3

Differential Equations Class Notes

Solutions to Math 53 Math 53 Practice Final

Math 312 Lecture 3 (revised) Solving First Order Differential Equations: Separable and Linear Equations

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

ENGIN 211, Engineering Math. Laplace Transforms

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.

MathQuest: Differential Equations

(f g)(t) = Example 4.5.1: Find f g the convolution of the functions f(t) = e t and g(t) = sin(t). Solution: The definition of convolution is,

Nonhomogeneous Equations and Variation of Parameters

VANDERBILT UNIVERSITY. MATH 2610 ORDINARY DIFFERENTIAL EQUATIONS Practice for test 1 solutions

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

Ordinary Differential Equation Theory

Lecture 16. Theory of Second Order Linear Homogeneous ODEs

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

Lab Notes: Differential Equations for Engineers. by Malcolm Roberts and Samantha Marion

Solutions to Homework 1, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y(x) = ce 2x + e x

Chapter 3: Second Order Equations

3.5 Undetermined Coefficients

Ex. 1. Find the general solution for each of the following differential equations:

First Order Differential Equations Lecture 3

Math 210 Differential Equations Mock Final Dec *************************************************************** 1. Initial Value Problems

Ch 6.2: Solution of Initial Value Problems

Math 20D Final Exam 8 December has eigenvalues 3, 3, 0 and find the eigenvectors associated with 3. ( 2) det

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1

A First Course in Elementary Differential Equations: Problems and Solutions. Marcel B. Finan Arkansas Tech University c All Rights Reserved

6. Linear Differential Equations of the Second Order

Math53: Ordinary Differential Equations Autumn 2004

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section:

Math 256: Applied Differential Equations: Final Review

Math 216 Second Midterm 19 March, 2018

2. First Order Linear Equations and Bernoulli s Differential Equation

Chapter 2 Notes, Kohler & Johnson 2e

MATH 307 Introduction to Differential Equations Autumn 2017 Midterm Exam Monday November

A: Brief Review of Ordinary Differential Equations

Homogeneous Equations with Constant Coefficients

MIDTERM 1 PRACTICE PROBLEM SOLUTIONS

Lecture 17: Nonhomogeneous equations. 1 Undetermined coefficients method to find a particular

Problem 1 (Equations with the dependent variable missing) By means of the substitutions. v = dy dt, dv

MAT 285: Introduction to Differential Equations. James V. Lambers

Solutions to the Review Questions

First Order ODEs, Part I

Sign the pledge. On my honor, I have neither given nor received unauthorized aid on this Exam : 11. a b c d e. 1. a b c d e. 2.

Honors Differential Equations

Solutions to the Review Questions

Problem Score Possible Points Total 150

First and Second Order Differential Equations Lecture 4

The Laplace Transform

Applied Differential Equation. October 22, 2012

MATH 308 Differential Equations

Fall 2001, AM33 Solution to hw7

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Solutions to Final Exam Sample Problems, Math 246, Spring 2011

Second Order Differential Equations Lecture 6

Math 216 Second Midterm 20 March, 2017

The Laplace Transform and the IVP (Sect. 6.2).

First Order Differential Equations

ORDINARY DIFFERENTIAL EQUATIONS

Third In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 3 December 2009 (1) [6] Given that 2 is an eigenvalue of the matrix

Formulation of Linear Constant Coefficient ODEs

Math 308 Exam I Practice Problems

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Department of Mathematics. MA 108 Ordinary Differential Equations

SOLUTIONS FOR HOMEWORK SECTION 6.4 AND 6.5

MATH 312 Section 2.4: Exact Differential Equations

Second In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 31 March 2011

The formulas for derivatives are particularly useful because they reduce ODEs to algebraic expressions. Consider the following ODE d 2 dx + p d

Applied Differential Equation. November 30, 2012

Review of Lecture 9 Existence and Uniqueness

Math 2142 Homework 5 Part 1 Solutions

MATH 307: Problem Set #3 Solutions

Second order linear equations

Name: Solutions Exam 3

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

Laplace Transforms Chapter 3

Second-Order Linear ODEs

MATH 251 Examination I July 1, 2013 FORM A. Name: Student Number: Section:

( ) f (k) = FT (R(x)) = R(k)

MATH 308 Differential Equations

Chapter DEs with Discontinuous Force Functions

Math 308 Exam II Practice Problems

M343 Homework 3 Enrique Areyan May 17, 2013

Transcription:

1st Order Linear D.E. y + p(t)y = g(t) y(t) = c 1 y 1 where y 1 is obtained from using the integrating factor method. Derivation: Define the integrating factor as: µ = e p(t) Observe that taking the derivative with respect to t yields: µ = d ( p(t))e p(t) = p(t)e p(t) = p(t)µ Distributing the integrating factor through the differential equation reveals an internal product rule on the left hand side of the equation. µ(y + p(t)y) = µg(t) µy + (µp(t))y = µy + µ y = µg(t) (yµ) = µg(t) Integrating the sides with respect to t and dividing by the integrating factor solves the differential equation (yµ) = µg(t) Solution Steps: yµ = y = 1 µ µg(t) µg(t) y + p(t)y = g(t) µ = e p(t) y = 1 µg(t) µ 1

Exact Equations M(x, y) + N(x, y) dy dx = 0 the method of exact equations can be used to solve for y(x) Testing Exactness: If the function is exact in its current state, then M y = N x and dµ dx = 0 otherwise an integrating factor µ 0 is required. This integrating factor can take two forms depending on assumption that it is purely a function of x or y: which yields Solution Method: dµ dx = M y N x µ = M y N x N M µ µm y = µn x µ(m(x, y) + N(x, y) dy ) = µm(x, y)dx + µn(x, y)dy = 0 dx Ψ(x, y) = (µm(x, y)dx + µn(x, y)dy) = 0dx = c Ψ(x, y) = µm(x, y)dx + µn(x, y)dy = c Removing Redundant Terms: The resulting solution equation Ψ must be such that, omitting constants C, Ψ(x, y) = µm(x, y)dx = µn(x, y)dy which allows for the reduction of redundant terms.

Tank Mixture Problems Given a tank problem drawn below where x i (t) is the amount of substance mixed with water, V i is the volume of the tank, the solution is as follows: Flow Diagram.png General Differential Equation: For the tank system, a differential equation for each tank is written as the rate of mixture in minus the rate of mixture out. Note the concentrations (γ) and flow rate ( V ) of each stream leaving and entering the tank. d(x i ) = Σ(γ V ) in Σ(γ V ) out Note that fluid leaving a well stirred tank has concentration γ well stirred = x i(t) V i Solution Method: Summing all the concentrations and flow rates in and out of tank 1 and two yields the following system of equations: d(x 1 ) = γ in Vin + γ 1 V1 γ out,1 Vout,1 γ 1 V1 d(x ) = γ 1 V1 γ 1 V1 γ out, Vout, Replacing the concentration terms with their well-stirred terms: d(x 1 ) = γ in Vin + x V V1 x 1 Vout,1 x 1 V1 = γ in Vin + x V1 V x 1 ( V out,1 + ) d(x ) = x 1 V1 x V V1 x V Vout, = x 1 V1 x ( V out, + V ) Note: If the tank system has only one tank, only the first equation is required with = = 0 3

Tank Mixture Problems (Cont.) Elimination Method: Similar to how linear systems of equations were solved in College Algebra, adding and subtracting the differential equations here will be used to reduce the equation to a function of only one variable. First each eqation is set equal to 0: d(x 1 ) V1 = γ in Vin + x x 1 ( V out,1 + ) d(x 1) V1 γ in Vin x + x 1 ( V out,1 + ) = 0 V V d(x ) V1 = x 1 x ( V out, + ) d(x ) V1 x 1 + x ( V out, + ) = 0 V V Let D = d such that D[x i] = x i and factor out the x 1, x terms as follows: (D + ( V out,1 + V1 ))[x 1 ] γ in Vin x = 0 V (D + ( V out, + V1 ))[x ] x 1 = 0 V Multiplying equation one by and equation two by (D + ( V out,1 + )) allows us to cancel the x 1 terms through addition of the two equation and results in the differential equation: (D + ( V out,1 + ))(D + ( V out, + V ))[x ] (γ in Vin + x V1 V ) = 0 (D +( V out,1 + + V out, + V )D+ ( V out,1 + )( V out, + ) V )[x ] (γ in Vin +x V1 V ) = 0 d (x ) +( V out,1 + + V out, + ) d(x ) V +( ( V out,1 + )( V out, + ) V1 V )x = γ in Vin x can be solved by use of the following methods of solving second order non-homogeneous differential equations. Further, x 1 can be solved for by another elimination method or by substituting x, x back into the above differential equation 4

Homogeneous Equations d y + p(t)dy + q(t)y = 0 y(t) = c 1 y 1 + c y where y 1 and y are obtained by solving the characteristic equation of the differential equation. Characteristic Equation: If p(t) and q(t) are constants, assume a solution of y = e λt with first and second derivatives λe λt and λ e λt respectively. Plugging this into the differential equation yields: e λt (λ + p(t)λ + q(t)) = 0 which is solved through the quadratic formula to yield homogeneous solutions y 1 and y. λ 1, = p(t) ± p(t) 4q(t) y 1 = e λ 1t, y = e λ t Repeated Roots: If λ 1 = λ then the repeated homogeneous solution is multiplied by t such that y 1 = e λt, y = te λt Complex Roots: If p(t) 4q(t) < 0 such that the roots of the characteristic equation are complex, they take the form: λ 1, = p(t) 4q(t) p(t) ± i = η ± ωi y 1 = e (η+ωi)t, y = e (η ωi)t by the Euler identity e iα = cos(α) + isin(α) and rearranging of the variables, the solution becomes y 1 = e ηt cos(ωt), y = e ηt sin(ωt) 5

Nonhomogeneous Equations - Method of Undetermined Coefficients d y + p(t)dy + q(t)y = g(t) y(t) = c 1 y 1 + c y + y p where y 1 and y are obtained by solving the differential equation as a homogeneous equation and method of undetermined coefficients is utilized to obtain y p. For the method of undetermined coefficients, y p is defined based off of g(t) and the solutions to the homogeneous case. Choosing y p s Form from g(t): -If g(t) has a term t n, then y p should be assumed to contain a polynomial of degree n such that y p = (A n t n + A n 1 t n 1 +... +A 0 t 0 ) h(t) where h(t) is any other functions from this section. -If g(t) has a term sin(ωt) or cos(ωt), then y p should be assumed as y p = (A 0 cos(ωt) + A 1 sin(ωt) h(t) where h(t) is any other functions from this section. -If g(t) has a term e αt, then y p should be assumed as y p = A 0 e αt h(t) where h(t) is any other functions from this section. Choosing y p s Form from Homogeneous Solutions: -If the proposed solution created from the above g(t) rules has a term that matches the form of any solutions to the homogeneous equation, the anticipated solution should be multiplied by t. Solution of Coefficients: Take all required derivatives of the proposed solution and plug in to the differential equation: and solve for all constants in y p. y p + p(t)y p + q(t)y p = g(t) 6

Nonhomogeneous Equations - Variation of Parameters d y + p(t)dy + q(t)y = g(t) y(t) = c 1 y 1 + c y + y p where y 1 and y are obtained by solving the differential equation as a homogeneous equation and variation of parameters is utilized to obtain y p. Particular Solution: For variation of parameters, y p is defined: g(t)y y p = ν 1 y 1 + ν y, ν 1 = W, and ν g(t)y1 = W with W in this case being the Wronskian. Note that ν 1 includes a negative sign but ν does not. The Wronskian can be calculated by the following formula: [ ] y1 y W = det( y 1 y = y 1 y y y 1 Note that the Wronskian cannot be zero as used in the integration above. Reduction of Order: If y 1 (t) is not identically 0, then the homogeneous solutions to the differential equation are related by e p(t) y = y 1 y 1 7

Laplace Transforms Given the differential equation and initial conditions, d y + p(t)dy + q(t)y = g(t), y(0) = k 1, y (0) = k y(t) = c 1 y 1 + c y + y p where y 1, y, and y p are obtained by transforming the differential into the Laplace domain and returning the solution to the time domain. Properties of the Laplace Transform: -The Laplace Transform is a linear operator which means it can be distributed over terms being added or subtracted. I.e. L[A(t) + B(t)] = L[A(t)] + L[B(t)] -Scalar multiples of functions undergoing Laplace Tranforms are as follows: L[cA(t)] = cl[a(t)] Laplace Transform of y (n) (t): The Laplace Transform of any derivative of the solution function yields, L[y (n) (t)] = s n Y (s) s n 1 y(0) s n y (0)... y n 1 (0) which, for second order differential equations, means L[y(t)] = Y (s), L[y (t)] = sy (s) y(0), L[y (t)] = s Y (s) sy(0) y (0) Second Order D.E. Solution: (Assuming p(t) and q(t) are constants where p(t)=p and q(t)=q) Y (s) = L[g(t)] + (s + p)y(0) + y (0) s + ps + q y(t) = L 1 [Y (s)] = L 1 [ L[g(t)] + (s + p)y(0) + y (0) ] s + ps + q Laplace Transform Table: A table of common Laplace Transforms and their inverses is located in the textbook. 8

Laplace Transforms (Cont.) Unit Step Functions and Impulse Functions: Unit step functions and impulse functions are piece-wise inputs to a system modelled in a differential equation. They are defined: { 0 t < c u(t c) = u c = 1 c t δ(t c) = δ c = { 0 t c 1 t = c Properties of Laplace Transform Revisited: Given a Laplace Transform of a function multiplied by a unit step function or impulse function, the transform has the property: L[u c f(t c)] = e cs L[f(t)] = e cs [F (s)] L[kδ c ] = ke cs Note that an impulse does not have a function multiplied by it, but can have a magnitude Inverse Laplace Transform of Unit and Impulse Functions: L 1 [e cs f(s)] = u c L 1 [F (s)] = u c f(t c) 9