Lecture 2. Introduction to Differential Equations. Roman Kitsela. October 1, Roman Kitsela Lecture 2 October 1, / 25

Similar documents
Math 225 Differential Equations Notes Chapter 1

Chapter1. Ordinary Differential Equations

Math 308, Sections 301, 302, Summer 2008 Review before Test I 06/09/2008

Differential Equations & Separation of Variables

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Introduction to Differential Equations

These notes are based mostly on [3]. They also rely on [2] and [1], though to a lesser extent.

Computational Neuroscience. Session 1-2

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs.

Example (#1) Example (#1) Example (#2) Example (#2) dv dt

9.1 Solving Differential Equations

The acceleration of gravity is constant (near the surface of the earth). So, for falling objects:

Lecture Notes for Math 251: ODE and PDE. Lecture 7: 2.4 Differences Between Linear and Nonlinear Equations

Solving differential equations (Sect. 7.4) Review: Overview of differential equations.

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

Math Applied Differential Equations

DIFFERENTIAL EQUATIONS

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Ordinary Differential Equations

Solutions Definition 2: a solution

The integrating factor method (Sect. 1.1)

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

First Order Differential Equations Lecture 3

(1 + 2y)y = x. ( x. The right-hand side is a standard integral, so in the end we have the implicit solution. y(x) + y 2 (x) = x2 2 +C.

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

(1) Rate of change: A swimming pool is emptying at a constant rate of 90 gal/min.

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

Lecture I Introduction, concept of solutions, application

Solutions to Math 53 First Exam April 20, 2010

MA 102 Mathematics II Lecture Feb, 2015

Essential Ordinary Differential Equations

DIFFERENTIAL EQUATIONS

MAT137 - Week 8, lecture 1

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]

! 1.1 Definitions and Terminology

Math 104: l Hospital s rule, Differential Equations and Integration

Math 2a Prac Lectures on Differential Equations

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

First order differential equations

Integration, Separation of Variables

1.1 Motivation: Why study differential equations?

First Order Differential Equations

6.0 INTRODUCTION TO DIFFERENTIAL EQUATIONS

SMA 208: Ordinary differential equations I

Differential Equation (DE): An equation relating an unknown function and one or more of its derivatives.

Math Reading assignment for Chapter 1: Study Sections 1.1 and 1.2.

3.8 Exponential Growth and Decay

Introductory Differential Equations

Math 308 Exam I Practice Problems

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

Lecture 19: Solving linear ODEs + separable techniques for nonlinear ODE s

Solving Differential Equations: First Steps

Unit #16 : Differential Equations

Lecture 1, August 21, 2017

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS

Math 5198 Mathematics for Bioscientists

18.01 Calculus Jason Starr Fall 2005

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

Chapter 4: Higher-Order Differential Equations Part 1

Math 308 Exam I Practice Problems

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS

Differential Equations. Joe Erickson

Differential Equations Class Notes

DIFFERENTIAL EQUATIONS

7.1 Day 1: Differential Equations & Initial Value Problems (30L)

5 t + t2 4. (ii) f(x) = ln(x 2 1). (iii) f(x) = e 2x 2e x + 3 4

NUMERICAL SOLUTION OF ODE IVPs. Overview

MTH210 DIFFERENTIAL EQUATIONS. Dr. Gizem SEYHAN ÖZTEPE

First Order ODEs, Part II

AP Calculus Testbank (Chapter 6) (Mr. Surowski)

Math Applied Differential Equations

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

First Order ODEs, Part I

Ordinary Differential Equations

13 Implicit Differentiation

Chapter 2: First Order DE 2.4 Linear vs. Nonlinear DEs

Mathematical Computing

Ordinary Differential Equations (ODEs)

Note: Final Exam is at 10:45 on Tuesday, 5/3/11 (This is the Final Exam time reserved for our labs). From Practice Test I

Math 152 Take Home Test 1

MATH1013 Calculus I. Derivatives II (Chap. 3) 1

MS 3011 Exercises. December 11, 2013

Math 180, Exam 2, Practice Fall 2009 Problem 1 Solution. f(x) = arcsin(2x + 1) = sin 1 (3x + 1), lnx

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Spring Department of Mathematics

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics

1.2. Introduction to Modeling. P (t) = r P (t) (b) When r > 0 this is the exponential growth equation.

Math 2300 Calculus II University of Colorado Final exam review problems

MATH 1231 MATHEMATICS 1B Calculus Section 2: - ODEs.

DIFFERENTIAL EQUATIONS

Partial Derivatives for Math 229. Our puropose here is to explain how one computes partial derivatives. We will not attempt

The Fundamental Theorem of Calculus: Suppose f continuous on [a, b]. 1.) If G(x) = x. f(t)dt = F (b) F (a) where F is any antiderivative

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

MATH 251 Examination I October 10, 2013 FORM A. Name: Student Number: Section:

and verify that it satisfies the differential equation:

Tutorial-1, MA 108 (Linear Algebra)

Series Solution of Linear Ordinary Differential Equations

Transcription:

Lecture 2 Introduction to Differential Equations Roman Kitsela October 1, 2018 Roman Kitsela Lecture 2 October 1, 2018 1 / 25

Quick announcements URL for the class website: http://www.math.ucsd.edu/~rkitsela/20d/ URL for MATLAB website: https://www.math.ucsd.edu/~math20d/ This has been updated recently with the correct dates for Fall 2018. The MATLAB TAs should be your main point of contact for MATLAB related questions. URL to sign up to Piazza: piazza.com/ucsd/fall2018/math20dfall2018dsections Roman Kitsela Lecture 2 October 1, 2018 2 / 25

Today s lecture Section 1.1 - Background First examples of differential equations Basic terminology: Dependent vs Independent variables Ordinary D.E. vs partial D.E. Order of a D.E. Linear vs non-linear D.E. Section 1.2 - Solutions and IVPs Explicit vs Implicit solutions Initial value problems Existence and uniqueness theorem: Formal statement Examples (how to use the theorem). Roman Kitsela Lecture 2 October 1, 2018 3 / 25

Section 1.1 - Modelling and differential equations Scientists and engineers use mathematical models to attempt to understand (and predict) physical phenomena. These models will often involve rates of change which are expressed as derivates of some (possibly unknown) function. Equations involving derivatives are called differential equations. Roman Kitsela Lecture 2 October 1, 2018 4 / 25

Basic examples Example (Body falling under the force of gravity) Object released from some height falls under the force of gravity. Model: Newton s 2nd Law Differential Equation: F = m a m d 2 h dt 2 = mg Roman Kitsela Lecture 2 October 1, 2018 5 / 25

Basic examples Example (Radioactive decay) A radioactive substance experiences radioactive decay. Model: Rate of decay is proportional to the amount of radioactive substance present. Differential Equation: da dt = ka, k > 0 Roman Kitsela Lecture 2 October 1, 2018 6 / 25

What these examples tell us about differential equations 1 Solution to differential equations are functions. 2 Integration is an important tool in solving differential equations. 3 We cannot expect to get a unique solution unless given more information. This information will be called the initial conditions of the problem (such as the initial position, velocity, acceleration etc...) Roman Kitsela Lecture 2 October 1, 2018 7 / 25

More examples Example (Compound interest) dp dt = r P, t in years 100 Example (Charge in an electric circuit) L d 2 q dt 2 + R dq dt + 1 C q = E(t) Example (Modelling rate of learning) Example (Wave propagation) dy/dt 2p y 3/2 = (1 y) 3/2 n 2 u t 2 c2 2 u x 2 = 0 Roman Kitsela Lecture 2 October 1, 2018 8 / 25

Basic Terminology To facilitate the study of differential equations we need to know some common words used to describe differential equations: Dependent vs Independent variables Ordinary D.E. vs partial D.E. Order of a D.E. Linear vs non-linear D.E. Roman Kitsela Lecture 2 October 1, 2018 9 / 25

Dependent vs independent variables Basic example: y(x) (i.e. y is a function of x) Here y depends on x and so y is the dependent variable, x is the independent variable. Differential equations involve derivatives such as dy dx dq dt dp dt 2 u x t Dependent variables: y, q, P, u Independent variables: x, t, t, x and t Conclusion: Top of the derivative = dependent variable Bottom of the derivative = independent variable(s) Roman Kitsela Lecture 2 October 1, 2018 10 / 25

Ordinary vs partial differential equations A differential equation involving only ordinary derivatives with respect to a single (independent) variable is called an ordinary differential equation. Example: da dt = ka A differential equation involving partial derivatives with respect to more than one (independent) variables is called an partial differential equation. Example: 2 u x 2 + 2 u y 2 = 0 Roman Kitsela Lecture 2 October 1, 2018 11 / 25

Order of a differential equation The order of a differential equation is the order of the highest-order derivatives present in the equation. Example: da dt = ka and 2 u x 2 + 2 u y 2 = 0 First-order and Second-order differential equations respectively. Roman Kitsela Lecture 2 October 1, 2018 12 / 25

Linear vs nonlinear differential equaions Definition A differential equation is called linear if it has the format a n (x) d n y dx n + a n 1(x) d n 1 y dx n 1 + + a 1(x) dy dx + a 0(x)y = F (x) Linear dy dx + y = x 2 1 dy dt = yt 1 t cos(x) dy dx sin(x)y = e2x cos(x) dr dθ = θ2 Non-linear dy dx y = x 2 1 dy dt = yt y t dy dx sin(y)x = e2x ( dr dθ ) 2 = θ Roman Kitsela Lecture 2 October 1, 2018 13 / 25

Classifying differential equations Equation Dep. var? Indep. var? ODE or PDE? Order? Linear? m d2 h dt 2 = mg h t ODE 2 da dt = ka A t ODE 1 d 3 y dx 3 + y 3 = 0 y x ODE 3 dp dt = r 100 P P t ODE 1 L d2 q + R dq dt 2 dt + 1 C q = E(t) q t ODE 2 dy/dt = 2p y 3/2 (1 y) 3/2 n y t ODE 1 2 u c 2 2 u = 0 u x, t PDE 2 t 2 x 2 Roman Kitsela Lecture 2 October 1, 2018 14 / 25

Section 1.2 - Explicit solutions A general nth-order differential equation (with x independent and y dependent) can be expressed in the following form: F ( x, y, dy dx, d 2 y dx 2,, d n ) y dx n, = 0 (1) We assume that this equation holds for all x in some open interval I. Sometimes we can isolate the highest order derivative and rewrite (4) as: d n ( y dx n = f x, y, dy dx, d 2 y dx 2,, d n 1 ) y dx n 1 (2) Definition A function φ(x) that satisfies (4) (or (2)) for all x in I when substituted for y is called an explicit solution to (4) (or (2)). Roman Kitsela Lecture 2 October 1, 2018 15 / 25

Reminder: Open intervals Quick reminder: Open interval are usually written as (a, b) and contain all x such that: a < x < b (Note: a and b are allowed to be and respectively) Examples: ( 3, π) contains all x such that 3 < x < π (0, ) contains all x > 0 (i.e. all positive x) (, 0) contains all negative x (, 1) contains all negative x < 1 (, ) contains all (real) x Roman Kitsela Lecture 2 October 1, 2018 16 / 25

Explicit solutions - An example Example (Example 1 from textbook) Show that φ(x) = x 2 x 1 is an explicit solution to the linear equation but ψ(x) = x 3 is not. Important point: d 2 y dx 2 2 x 2 y = 0 (3) Explicit solutions need to be defined on an open interval, not just a single value of x. Roman Kitsela Lecture 2 October 1, 2018 17 / 25

Implicit solutions We are still discussing solutions to a general nth-order differential equation ( F x, y, dy dx, d 2 y dx 2,, d n ) y dx n, = 0 (4) Definition A relation G(x, y) = 0 is said to be an implicit solution to (4) on the interval I if it defines one or more explicit solutions on I. Important point: We will not always be able to rewrite implicit solutions as y = φ(x) for some φ(x). In these cases we use implicit differentiation. Roman Kitsela Lecture 2 October 1, 2018 18 / 25

Implicit solutions - examples Example (Example 3 from textbook) Show that the relation y 2 x 3 + 8 = 0 implicitly defines a solution to the nonlinear equation on the interval (2, ). dy dx = 3x 2 2y Roman Kitsela Lecture 2 October 1, 2018 19 / 25

Implicit solutions - examples Example (Example 4 from textbook) Show that the relation x + y + e xy = 0 is an implicit solution to the nonlinear equation (1 + xe xy ) dy dx + 1 + yexy = 0 Roman Kitsela Lecture 2 October 1, 2018 20 / 25

Initial value problems In general solving an nth-order differential equation introduces n unknowns (often as constants of integration). So a differential equation with no initial conditions will not have a unique solution. A differential equation together with (sufficiently many) initial conditions is called an initial value problem. Example (From practice final) Solve the initial value problem: dy dx y x = xex, y(1) = e 1 Roman Kitsela Lecture 2 October 1, 2018 21 / 25

The higher the order of the differential equation, the more initial conditions we need to determine an exact solution... Example (Example 6 from textbook) Show that φ(x) = sin(x) cos(x) is a solution to the initial value problem d 2 y dx 2 + y = 0; y(0) = 1, dy dx (0) = 1 Note: In chapter 4 we will learn how to actually solve these types of problems. Without the initial conditions y(0) = 1, y (0) = 1 we would only be able to get the general solution: φ(x) = A cos(x) + B sin(x) where A and B are unknown constants. Roman Kitsela Lecture 2 October 1, 2018 22 / 25

Existence and uniqueness theorem for first-order IVPs Theorem Consider the initial value problem If f and f y dy dx = f (x, y), y(x 0) = y 0 (5) are continuous functions in some rectangle R = {(x, y) : a < x < b, c < y < d} that contains (x 0, y 0 ), then the initial value problem (5) has a unique solution φ(x) in some interval x 0 δ < x < x 0 + δ. Translation: If f and f y behave nicely at the initial condition (x 0, y 0 ) then you can guarantee a unique solution to the IVP close to that initial condition (otherwise you cannot apply the theorem). Roman Kitsela Lecture 2 October 1, 2018 23 / 25

How to use the existence and uniqueness theorem Example For the initial value problem 3 dy dx = x 2 xy 3, y(1) = 6 does the existence and uniqueness theorem imply the existence of a unique solution? Solution. Calculate: f (x, y) = x 2 xy 3 3 = f y = xy 2 Check continuity: In this case f and f y are both continuous at (1, 6) so we can apply theorem (and deduce the existence of a unique solution). Roman Kitsela Lecture 2 October 1, 2018 24 / 25

How to use the existence and uniqueness theorem Example For the initial value problem dy dx = 3y 2/3, y(2) = 0 does the existence and uniqueness theorem imply the existence of a unique solution? Solution. Calculate: f (x, y) = 3y 2/3 = f y = 2y 1/3 Check continuity: In this case f y is not continuous at (2, 0) so we cannot apply the Theorem. Roman Kitsela Lecture 2 October 1, 2018 25 / 25