Separable Differential Equations

Slides:



Advertisements
Similar presentations
Solving Literal Equations
Advertisements

Differential Equations Separable Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Ch 2.1: Linear Equations; Method of Integrating Factors
1Chapter 2. 2 Example 3Chapter 2 4 EXAMPLE 5Chapter 2.
Solving Linear Inequalities A Linear Equation in One Variable is any equation that can be written in the form: A Linear Inequality in One Variable is any.
© 2007 by S - Squared, Inc. All Rights Reserved.
6.1 Antiderivatives and Slope Fields Objectives SWBAT: 1)construct antiderivatives using the fundamental theorem of calculus 2)solve initial value problems.
4.4 & 4.5 Notes Remember: Identity Matrices: If the product of two matrices equal the identity matrix then they are inverses.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
3-2 Solving Equations by Using Addition and Subtraction Objective: Students will be able to solve equations by using addition and subtraction.
Differential Equations Separable Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
4.1.1 – Solving Inequalities. All equations we have solved are considered problems of equality – Involves some kind of equal sign On the other hand, we.
Antiderivatives and Indefinite Integration. 1. Verify the statement by showing that the derivative of the right side equals the integrand of the left.
 Term- number or product of a number and a variable  Constant- term with no variable  Coefficient- number that multiplies to a variable  Like Terms-
Ch 2.1: Linear Equations; Method of Integrating Factors A linear first order ODE has the general form where f is linear in y. Examples include equations.
A radical equation is an equation that contains a radical. BACK.
Chapter 2 Linear Equations and Inequalities in One Variable.
§ 2.2 The Multiplication Property of Equality. Blitzer, Introductory Algebra, 5e – Slide #2 Section 2.2 Properties of Equality PropertyDefinition Addition.
> greater than or equal
DIFFERENTIAL EQUATIONS
SOLVING INEQUALITIES LESSON 6(2).
Laplace Transforms.
OBJECTIVE I will solve absolute-value equations using inverse operations.
Antiderivatives 5.1.
Solving Literal Equations
Solving Multi-Step Equations
We will be looking for a solution to the system of linear differential equations with constant coefficients.
Systems of Ordinary Differential Equations Case I: real eigenvalues of multiplicity 1 MAT 275.
Ch 2.1: Linear Equations; Method of Integrating Factors
Numerical Methods: Euler’s and Advanced Euler’s (Heun’s) Methods
Classification of Differential Equations
Mixture Problems MAT 275.
Laplace Transforms of Discontinuous Forcing Functions
Higher-Order Linear Homogeneous & Autonomic Differential Equations with Constant Coefficients MAT 275.
Solving Literal Equations
Impulse Forcing Functions
6-2 Solving Differential Equations
Example 2 4 m 8 m 5m 12 m x y.
Solving Equations with the Variable on Both Sides
Laplace Transforms: Special Cases Derivative Rule, Shift Rule, Gamma Function & f(ct) Rule MAT 275.
First Order Linear Equations
Solving Multi-Step Equations
Solving Literal Equations
Example 2 4 m 8 m 5m 12 m x y.
Objectives: Solve one-step equations using multiplication or division.
Solving Linear Equations in one Variable
Copyright © Cengage Learning. All rights reserved.
Solving Multi-Step Equations
Chapter 7: Matrices and Systems of Equations and Inequalities
Solving Literal Equations
Introduction Solving inequalities is similar to solving equations. To find the solution to an inequality, use methods similar to those used in solving.
Quadratic Equations and Functions
Solving Multiplication and Division Equations
Solving Multi-Step Equations
Solving Radical Equations
Solving Multi-Step Equations
Solving Absolute Value Equations
Section 10.4 Linear Equations
Solving Multi-Step Equations
Solving Absolute Value Equations
Solving Absolute Value Equations
Solving Absolute Value Equations
1.11 Use Inverse Matrices to Solve Linear Systems
Solving Absolute Value Equations
1. How do I Solve Linear Equations
1. Antiderivatives and Indefinite Integration
Solving Linear Systems of Equations - Inverse Matrix
Objectives: Solve one-step equations using multiplication or division.
Solving Absolute Value Equations
Presentation transcript:

Separable Differential Equations MAT 275

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu A separable differential equation is one that can be written so that the independent variable terms (along with its differential) are collected to one side of the equal sign, and the dependent variable terms (and its differential) to the other. Example: 𝑦 ′ =𝑥 𝑦 2 is separable. It is first written as 𝑑𝑦 𝑑𝑥 =𝑥 𝑦 2 , then “separated”: 𝑑𝑦 𝑦 2 =𝑥 𝑑𝑥. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu To solve a separable differential equation, integrate both sides and solve for y (if possible). For example, we had 𝑦 ′ =𝑥 𝑦 2 . This is separated as 𝑑𝑦 𝑦 2 =𝑥 𝑑𝑥. 𝑑𝑦 𝑦 2 = 𝑥 𝑑𝑥 Integrate both sides. − 1 𝑦 = 1 2 𝑥 2 +𝐶 Don’t forget the constant of integration. 1 𝑦 =𝐶− 1 2 𝑥 2 Negate. The C “absorbs” the negative. 𝑦= 1 𝐶− 1 2 𝑥 2 = 2 𝐶− 𝑥 2 Solve for y. Note that 2C is written as C. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Example: find the general solution of 𝑦 ′ =𝑥+𝑥𝑦. Write 𝑦′ as 𝑑𝑦 𝑑𝑥 : 𝑑𝑦 𝑑𝑥 =𝑥+𝑥𝑦 Factor: 𝑑𝑦 𝑑𝑥 =𝑥(1+𝑦) Separate: 𝑑𝑦 1+𝑦 =𝑥 𝑑𝑥 𝑦≠−1 Integrate: 𝑑𝑦 1+𝑦 = 𝑥 𝑑𝑥 → ln |1+𝑦| = 1 2 𝑥 2 +𝐶 Isolate y: 1+𝑦 = 𝑒 0.5 𝑥 2 +𝐶 → 1+𝑦 =𝐶 𝑒 0.5 𝑥 2 1+𝑦=±𝐶 𝑒 0.5 𝑥 2 =𝐶 𝑒 0.5 𝑥 2 (±𝐶=𝐶) Thus, 𝑦=𝐶 𝑒 0.5 𝑥 2 −1 is the general solution of 𝑦 ′ =𝑥+𝑥𝑦. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu The constant of integration C is just a generic constant at this point. It absorbs all constants that come near it, so to speak. For example, 𝑒 𝐶 =𝐶, −𝐶=𝐶, 2𝐶=𝐶, 1 𝐶 =𝐶, and so on. The C can be determined with an initial condition. For example, suppose we have 𝑦 ′ =𝑥+𝑥𝑦 with 𝑦 0 =3. The general solution is 𝑦= 𝐶 0.5 𝑥 2 −1. To find C, let x = 0 and y = 3: 3=𝐶 𝑒 0.5 0 2 −1 → 3=𝐶−1 → 𝐶=4. Thus, the particular solution is 𝑦=4 𝑒 0.5 𝑥 2 −1. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Example: the rate of change in the value of a stock is inversely-proportional to the square of the value of that stock. If the stock’s value was $20 at noon, and was $23 at 3 p.m., what is the stock’s value at 5 p.m.? 𝑉 ′ 𝑡 = 𝑘 [𝑉 𝑡 ] 2 → 𝑑𝑉 𝑑𝑡 = 𝑘 𝑉 2 𝑉 2 𝑑𝑉=𝑘 𝑑𝑡 → 𝑉 2 𝑑𝑉 = 𝑘 𝑑𝑡 1 3 𝑉 3 =𝑘𝑡+𝐶 (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

To find C, use (0,20), where t = 0 is noon: 20= 3 3𝑘(0)+𝐶 → 20 3 =𝐶 Example: the rate of change in the value of a stock is inversely-proportional to the square of the value of that stock. If the stock’s value was $20 at noon, and was $23 at 3 p.m., what is the stock’s value at 5 p.m.? 1 3 𝑉 3 =𝑘𝑡+𝐶 𝑉 3 =3𝑘𝑡+𝐶 𝑉 𝑡 = 3 3𝑘𝑡+𝐶 . To find C, use (0,20), where t = 0 is noon: 20= 3 3𝑘(0)+𝐶 → 20 3 =𝐶 Thus, we have 𝑉 𝑡 = 3 3𝑘𝑡+8000 . To find k, use (3,23): 23= 3 3𝑘(3)+8000 → 23 3 =9𝑘+8000 23 3 −8000=9𝑘 → 4167=9𝑘 → 𝑘= 4167 9 =463. The particular solution is 𝑉 𝑡 = 3 3(463)𝑡+8000 or 𝑉 𝑡 = 3 1389𝑡+8000 . At 5 p.m., the stock’s value is 𝑉 5 = 3 1389(5)+8000 ≈$24.63. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Integration Factors (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu There is a process by which most first-order linear differential equations can be solved. This uses an integration factor, denoted 𝜇(𝑥) (Greek letter “mu”). The differential equation must be in the form 𝑦 ′ +𝑓 𝑥 𝑦=𝑔 𝑥 . To find 𝜇 𝑥 , we perform the following process (next slide) (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Starting with 𝑦 ′ +𝑓 𝑥 𝑦=𝑔(𝑥), multiply both sides by 𝜇(𝑥): 𝜇(𝑥)𝑦 ′ +𝜇(𝑥)𝑓 𝑥 𝑦=𝜇(𝑥)𝑔(𝑥) The left side is a product-rule derivative of (𝜇 𝑥 𝑦): 𝜇 𝑥 𝑦 ′ =𝜇 𝑥 𝑦 ′ + 𝜇 ′ 𝑥 𝑦. Thus, we have 𝜇 𝑥 𝑦 ′ + 𝜇 ′ 𝑥 𝑦= 𝜇(𝑥)𝑦 ′ +𝜇(𝑥)𝑓 𝑥 𝑦. This forces 𝜇 ′ 𝑥 =𝜇 𝑥 𝑓(𝑥). (next slide) (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Now we find 𝜇(𝑥). From the last slide, we had 𝜇 ′ 𝑥 =𝜇 𝑥 𝑓(𝑥). This is a separable differential equation… so separate: 𝑑𝜇 𝜇 𝑥 =𝑓 𝑥 𝑑𝑥. Integrating both sides, we have 𝑑𝜇 𝜇 𝑥 = 𝑓 𝑥 𝑑𝑥 . (next slide) (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu After integration, we have ln 𝜇(𝑥) = 𝑓 𝑥 𝑑𝑥 +𝐶. Here, we only need one form of the antiderivative, so we let C = 0. Taking base-e on both sides, we now know 𝜇(𝑥): 𝜇 𝑥 = 𝑒 𝑓 𝑥 𝑑𝑥 . (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Good news… you don’t need to do all those steps each time. Just remember that if you have a differential equation of the form 𝑦 ′ +𝑓 𝑥 𝑦=𝑔(𝑥), then find 𝜇 𝑥 = 𝑒 ∫𝑓 𝑥 𝑑𝑥 . Let’s take a few seconds to relax and look at kittens: (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu So let’s go back to the start: we have a differential equation of the form 𝑦 ′ +𝑓 𝑥 𝑦=𝑔 𝑥 . We have found 𝜇(𝑥) and multiplied it to both sides: 𝜇(𝑥)𝑦 ′ +𝜇 𝑥 𝑓 𝑥 𝑦=𝜇 𝑥 𝑔 𝑥 . The left side is compressed as a product rule derivative: 𝜇 𝑥 𝑦 ′ =𝜇 𝑥 𝑔 𝑥 . (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Now integrate both sides. Here, we need the constant of integration: (𝜇 𝑥 𝑦)′ = 𝜇 𝑥 𝑔 𝑥 𝑑𝑥 +𝐶. Since (𝜇 𝑥 𝑦)′ =𝜇 𝑥 𝑦, we can now solve for y: 𝑦= 𝜇 𝑥 𝑔 𝑥 𝑑𝑥 +𝐶 𝜇 𝑥 . You may memorize this as a formula. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

Example: Find the general solution of 𝑦 ′ + 2 𝑥 𝑦=𝑥. (Note that 𝑓 𝑥 = 2 𝑥 and 𝑔 𝑥 =𝑥 and that 𝑥≠0) Solution: First, we find 𝜇 𝑥 : Now, use the formula 𝑦= 𝜇 𝑥 𝑔 𝑥 𝑑𝑥 +𝐶 𝜇 𝑥 : (next slide) (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

Now we use the formula 𝑦= 𝜇 𝑥 𝑔 𝑥 𝑑𝑥 +𝐶 𝜇 𝑥 : Solve 𝑦 ′ + 2 𝑥 𝑦=𝑥. From previous slide, we know that 𝜇 𝑥 = 𝑥 2 . Now we use the formula 𝑦= 𝜇 𝑥 𝑔 𝑥 𝑑𝑥 +𝐶 𝜇 𝑥 : 𝑦= 𝑥 2 𝑥 𝑑𝑥 +𝐶 𝑥 2 = ∫ 𝑥 3 𝑑𝑥+𝐶 𝑥 2 = 1 4 𝑥 4 +𝐶 𝑥 2 = 1 4 𝑥 2 +𝐶 𝑥 −2 . Thus, 𝑦= 1 4 𝑥 2 +𝐶 𝑥 −2 is the general solution of 𝑦 ′ + 2 𝑥 𝑦=𝑥. On the next slide, we’ll check to be sure. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Check that 𝑦= 1 4 𝑥 2 +𝐶 𝑥 −2 is the general solution of 𝑦 ′ + 2 𝑥 𝑦=𝑥. First, differentiate y: 𝑦 ′ = 1 2 𝑥−2𝐶 𝑥 −3 Now insert 𝑦 ′ and 𝑦 into the differential equation and simplify: 1 2 𝑥−2𝐶 𝑥 −3 + 2 𝑥 1 4 𝑥 2 +𝐶 𝑥 −2 =𝑥 1 2 𝑥−2𝐶 𝑥 −3 + 1 2 𝑥+2𝐶 𝑥 −3 =𝑥 1 2 𝑥+ 1 2 𝑥 + −2𝐶 𝑥 −3 +2𝐶 𝑥 −3 =𝑥 𝑥+0=𝑥. (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu

(c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu Example: Solve the IVP: 𝑦 ′ +2𝑥𝑦=3𝑥, 𝑦 0 =5. Solution: Find 𝜇(𝑥): Now find y using the formula 𝑦= 𝜇 𝑥 𝑔 𝑥 𝑑𝑥 +𝐶 𝜇 𝑥 : To find C, use y(0) = 5: 5= 3 2 +𝐶 𝑒 − 0 2 →𝐶= 7 2 . Thus, the particular solution is 𝑦= 3 2 + 7 2 𝑒 − 𝑥 2 . (c) ASU Math - Scott Surgent. Report errors to surgent@asu.edu