Differential Equations

Slides:



Advertisements
Similar presentations
First-Order Differential Equations
Advertisements

Differential Equations Verification Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Differential Equations Separable Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Math 3C Practice Final Problems Solutions Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Math 3C Practice Midterm #1 Solutions Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Math 3120 Differential Equations with Boundary Value Problems
Ordinary Differential Equations S.-Y. Leu Sept. 21,28, 2005.
Math 3C Euler’s Method Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
9. 1 Modeling with Differential Equations Spring 2010 Math 2644 Ayona Chatterjee.
CHAPTER Continuity Modeling with Differential Equations Models of Population Growth: One model for the growth of population is based on the assumption.
Differential Equations Solving First-Order Linear DEs Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
9 Differential Equations. 9.1 Modeling with Differential Equations.
Math 3120 Differential Equations with Boundary Value Problems
Math 3120 Differential Equations with Boundary Value Problems
DIFFERENTIAL EQUATIONS 9. Perhaps the most important of all the applications of calculus is to differential equations. DIFFERENTIAL EQUATIONS.
Differential Equations. Definition A differential equation is an equation involving derivatives of an unknown function and possibly the function itself.
Differential Equations 7. Modeling with Differential Equations 7.1.
Differential Equations Separable Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
DIFFERENTIAL EQUATIONS 10. DIFFERENTIAL EQUATIONS Unfortunately, it’s impossible to solve most differential equations in the sense of obtaining an explicit.
Ch 1.3: Classification of Differential Equations
Differential Equations
Differential Equations Chapter 1. A differential equation in x and y is an equation that involves x, y, and derivatives of y. A mathematical model often.
Slide 6- 1 What you’ll learn about Differential Equations Slope Fields Euler’s Method … and why Differential equations have been a prime motivation for.
Differential Equations Graphing Solutions Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
9.1 Solving Differential Equations Mon Jan 04 Do Now Find the original function if F’(x) = 3x + 1 and f(0) = 2.
Problem of the Day - Calculator Let f be the function given by f(x) = 2e4x. For what value of x is the slope of the line tangent to the graph of f at (x,
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.
Math 4B Systems of Differential Equations Matrix Solutions Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Warm Up 1.Find the particular solution to the initial value problem 2.Find the general solution to the differential equation.
Math 206 – Differential Equations Andy Rosen PLEASE SIGN IN.
Differential Equations
1.1 Basic Concepts. Modeling
Math 4B Practice Midterm Problems
Differential Equations
Systems of Differential Equations Phase Plane Analysis
Differential Equations
DIFFERENTIAL EQUATIONS
Differential Equations
Differential Equations
SLOPE FIELDS & EULER’S METHOD
SLOPE FIELDS & EULER’S METHOD
Differential Equations
Systems of Linear Equations
CHAPTER 3 NUMERICAL METHODS.
Differential Equations
Differential Equations
Prepared by Vince Zaccone
Calculus II (MAT 146) Dr. Day Wednesday, Oct 18, 2017
Least Squares Approximations
Ch 1.3: Classification of Differential Equations
Ch 1.3: Classification of Differential Equations
Systems of Differential Equations Phase Plane Analysis
Autonomous Differential Equations
Systems of Differential Equations Nonhomogeneous Systems
Engineering Analysis I
Quick Review 2012 Pearson Education, Inc..
Differential Equations
Least Squares Approximations
Differential Equations
We’ve plotted points on graphs before… • •
Specialist Mathematics
Differential Equations
Slope Fields This is the slope field for Equilibrium Solutions
Differential Equations
Introduction to Ordinary Differential Equations
Coordinate Systems Prepared by Vince Zaccone
Differential Equations
Chapter 1: First-Order Differential Equations
Presentation transcript:

Differential Equations Basic Concepts Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

What is a Differential Equation? Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

What is a Differential Equation? Short Answer: An equation involving derivatives. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

What is a Differential Equation? Short Answer: An equation involving derivatives. Slightly Longer Answer: When you encounter a dynamic system, where things are changing (especially as time progresses), a differential equation can help model the behavior. A couple of examples: Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

What is a Differential Equation? Short Answer: An equation involving derivatives. Slightly Longer Answer: When you encounter a dynamic system, where things are changing (especially as time progresses), a differential equation can help model the behavior. A couple of examples: Here p(t) is a population. It will turn out that the solution is an exponential function, and k is a constant related to the growth rate. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

What is a Differential Equation? Short Answer: An equation involving derivatives. Slightly Longer Answer: When you encounter a dynamic system, where things are changing (especially as time progresses), a differential equation can help model the behavior. A couple of examples: Here p(t) is a population. It will turn out that the solution is an exponential function, and k is a constant related to the growth rate. In this equation y(t) may represent the position of an object that hangs from a spring, driven by an oscillating force. Notice that this equation has a 2nd derivative in it. That makes it a 2nd-order ODE. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Here are a few terms we use to categorize differential equations: Ordinary (ODE) vs. Partial (PDE) Are there any partial derivatives in the DE? YES – it is Partial (a PDE) NO – it is Ordinary (an ODE) We will not solve PDEs in this course. They are generally much harder to solve than ODEs. You may see them later in Math 6B. Order The Order of a DE is the highest derivative that appears. Linear vs. Nonlinear An DE is linear when there are no nonlinear terms of the dependent variable in the equation. i.e. the equation has the form: 𝑎 0 𝑡 𝑦 𝑛 + 𝑎 1 𝑡 𝑦 𝑛−1 +⋯ 𝑎 𝑛−1 𝑡 𝑦 ′ + 𝑎 𝑛 (𝑡)𝑦=𝑔(𝑡) Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE 3) 𝜕 2 𝑢 𝜕 𝑥 2 + 𝜕 2 𝑢 𝜕 𝑦 2 =0 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE 3) 𝜕 2 𝑢 𝜕 𝑥 2 + 𝜕 2 𝑢 𝜕 𝑦 2 =0 2nd order, linear PDE Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE 3) 𝜕 2 𝑢 𝜕 𝑥 2 + 𝜕 2 𝑢 𝜕 𝑦 2 =0 2nd order, linear PDE 4) 𝑦 1+ 𝑑𝑦 𝑑𝑥 2 =𝐶, 𝐶 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE 3) 𝜕 2 𝑢 𝜕 𝑥 2 + 𝜕 2 𝑢 𝜕 𝑦 2 =0 2nd order, linear PDE 4) 𝑦 1+ 𝑑𝑦 𝑑𝑥 2 =𝐶, 𝐶 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 1st order, nonlinear ODE Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE 3) 𝜕 2 𝑢 𝜕 𝑥 2 + 𝜕 2 𝑢 𝜕 𝑦 2 =0 2nd order, linear PDE 4) 𝑦 1+ 𝑑𝑦 𝑑𝑥 2 =𝐶, 𝐶 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 1st order, nonlinear ODE 5) 5 𝑥 ′′ +2 𝑥 ′ +9𝑥=2cos⁡(3𝑡) Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE Classify the following DEs by order, linearity, and whether they are ordinary or partial DEs 1) 𝑦 ′′ −2𝑥 𝑦 ′ +2𝑝𝑦=0, 𝑝 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2nd order, linear ODE 2) 𝑦 ′ = 𝑦(2−3𝑥) 𝑥(1+3𝑦) 1st order, nonlinear ODE 3) 𝜕 2 𝑢 𝜕 𝑥 2 + 𝜕 2 𝑢 𝜕 𝑦 2 =0 2nd order, linear PDE 4) 𝑦 1+ 𝑑𝑦 𝑑𝑥 2 =𝐶, 𝐶 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 1st order, nonlinear ODE 5) 5 𝑥 ′′ +2 𝑥 ′ +9𝑥=2cos⁡(3𝑡) 2nd order, linear ODE Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s take a look at the population growth model. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s take a look at the population growth model. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s take a look at the population growth model. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: We will come across several ways to solve this equation. An explicit solution (a function p(t)) can be found via an educated guess, an integrating factor or a method we will call separation of variables. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s take a look at the population growth model. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: We will come across several ways to solve this equation. An explicit solution (a function p(t)) can be found via an educated guess, an integrating factor or a method we will call separation of variables. An approximate solution, which would give us an approximate population figure for any particular year, can be found via Euler’s method (or some more sophisticated numerical method). Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Suppose that the population of a country is initially 2 million people Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: First let’s draw a SLOPE FIELD for this ODE. This is a graph where at every point we can put an arrow indicating the SLOPE of the solution to the ODE. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

For example, at the point (t=0, p=0) we get dp/dt = 0. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: First let’s draw a SLOPE FIELD for this ODE. This is a graph where at every point we can put an arrow indicating the SLOPE of the solution to the ODE. We can accomplish this by simply plugging values into the equation and calculating values of the derivative dp/dt. For example, at the point (t=0, p=0) we get dp/dt = 0. At the point (t=0, p=100) we get dp/dt = 1. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

For example, at the point (t=0, p=0) we get dp/dt = 0. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: First let’s draw a SLOPE FIELD for this ODE. This is a graph where at every point we can put an arrow indicating the SLOPE of the solution to the ODE. We can accomplish this by simply plugging values into the equation and calculating values of the derivative dp/dt. For example, at the point (t=0, p=0) we get dp/dt = 0. At the point (t=0, p=100) we get dp/dt = 1. We can do this all day and get a nice picture, or we can be a bit more observant and notice that there is no ‘t’ in our equation. This means that our slopes will be independent of t; they only depend on the value of p. This shortens our work considerably. Of course we could also ask our computer to graph it for us… Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Here is the slope field, along with a few solution curves. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Here is the slope field, along with a few solution curves. This curve solves our IVP. This curve is the equilibrium solution p(t)=0. This curve goes through p(0)=-1. Mathematically it is a valid solution, but it does not make physical sense (the population is never negative!) Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

We can arrive at an explicit formula solution by separating variables: Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: We can arrive at an explicit formula solution by separating variables: Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

We can arrive at an explicit formula solution by separating variables: Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: We can arrive at an explicit formula solution by separating variables: Here is our explicit solution. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s verify that this function solves the DE. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Let’s verify that this function solves the DE. We need to find the derivative, and then see that it fits the equation. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s verify that this function solves the DE. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Let’s verify that this function solves the DE. We need to find the derivative, and then see that it fits the equation. Yep, this is exactly 0.01p Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s verify that this function solves the DE. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Let’s verify that this function solves the DE. We need to find the derivative, and then see that it fits the equation. Yep, this is exactly 0.01p We also need to know that the function matches the given initial value. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Let’s verify that this function solves the DE. Suppose that the population of a country is initially 2 million people. If we make the simple assumption that the population will grow at a rate of 1% per year we arrive at this equation: Let’s verify that this function solves the DE. We need to find the derivative, and then see that it fits the equation. Yep, this is exactly 0.01p We also need to know that the function matches the given initial value. Yep, this matches up. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Verify that the given function satisfies the differential equation.     Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Verify that the given function satisfies the differential equation.     First compute the derivative:   Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

 This is true, so the diff. eq. is satisfied Verify that the given function satisfies the differential equation.     First compute the derivative:     Now substitute into the differential equation:    This is true, so the diff. eq. is satisfied (there is no initial condition to satisfy, so we are done) Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Find the derivative:   Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Find the derivative:   Substitute into diff. eq.: Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

 It all cancels out, so the equation is satisfied Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Find the derivative:   Substitute into diff. eq.:  It all cancels out, so the equation is satisfied Now we need to satisfy the initial condition. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

 It all cancels out, so the equation is satisfied Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Find the derivative:   Substitute into diff. eq.:  It all cancels out, so the equation is satisfied Now we need to satisfy the initial condition. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

 It all cancels out, so the equation is satisfied Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Find the derivative:   Substitute into diff. eq.:  It all cancels out, so the equation is satisfied Now we need to satisfy the initial condition. Set this equal to -1 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

 It all cancels out, so the equation is satisfied Verify that the given function satisfies the differential equation, and find a value for C that satisfies the given initial condition. Find the derivative:   Substitute into diff. eq.:  It all cancels out, so the equation is satisfied Now we need to satisfy the initial condition. Set this equal to -1 Our final solution is Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB