Introduction to ODE's (0A) Young Won Lim 3/9/15

Similar documents
ODE Background: Differential (1A) Young Won Lim 12/29/15

Separable Equations (1A) Young Won Lim 3/24/15

Introduction to ODE's (0A) Young Won Lim 3/12/15

Higher Order ODE's (3A) Young Won Lim 7/7/14

Higher Order ODE's (3A) Young Won Lim 12/27/15

Higher Order ODE's (3A) Young Won Lim 7/8/14

Higher Order ODE's, (3A)

Introduction to ODE's (0P) Young Won Lim 12/27/14

Second Order ODE's (2A) Young Won Lim 5/5/15

Background Trigonmetry (2A) Young Won Lim 5/5/15

Differentiation Rules (2A) Young Won Lim 1/30/16

Linear Equations with Constant Coefficients (2A) Young Won Lim 4/13/15

Definitions of the Laplace Transform (1A) Young Won Lim 1/31/15

Definite Integrals. Young Won Lim 6/25/15

General Vector Space (2A) Young Won Lim 11/4/12

Matrix Transformation (2A) Young Won Lim 11/9/12

Line Integrals (4A) Line Integral Path Independence. Young Won Lim 10/22/12

Differentiation Rules (2A) Young Won Lim 2/22/16

Relations (3A) Young Won Lim 3/27/18

Surface Integrals (6A)

Line Integrals (4A) Line Integral Path Independence. Young Won Lim 11/2/12

Expected Value (10D) Young Won Lim 6/12/17

Complex Series (3A) Young Won Lim 8/17/13

CT Rectangular Function Pairs (5B)

DFT Frequency (9A) Each Row of the DFT Matrix. Young Won Lim 7/31/10

Matrix Transformation (2A) Young Won Lim 11/10/12

Background ODEs (2A) Young Won Lim 3/7/15

General CORDIC Description (1A)

Complex Functions (1A) Young Won Lim 2/22/14

Integrals. Young Won Lim 12/29/15

Fourier Analysis Overview (0A)

Surface Integrals (6A)

Root Locus (2A) Young Won Lim 10/15/14

Fourier Analysis Overview (0A)

Capacitor Young Won Lim 06/22/2017

Background Complex Analysis (1A) Young Won Lim 9/2/14

The Growth of Functions (2A) Young Won Lim 4/6/18

Detect Sensor (6B) Eddy Current Sensor. Young Won Lim 11/19/09

Capacitor in an AC circuit

Complex Trigonometric and Hyperbolic Functions (7A)

Phasor Young Won Lim 05/19/2015

Signal Functions (0B)

Fourier Analysis Overview (0B)

Background LTI Systems (4A) Young Won Lim 4/20/15

Capacitor and Inductor

Capacitor and Inductor

Discrete Time Rect Function(4B)

CLTI System Response (4A) Young Won Lim 4/11/15

Magnetic Sensor (3B) Magnetism Hall Effect AMR Effect GMR Effect. Young Won Lim 9/23/09

Down-Sampling (4B) Young Won Lim 10/25/12

Audio Signal Generation. Young Won Lim 1/29/18

Discrete Time Rect Function(4B)

Hamiltonian Cycle (3A) Young Won Lim 5/5/18

Dispersion (3A) 1-D Dispersion. Young W. Lim 10/15/13

Bayes Theorem (10B) Young Won Lim 6/3/17

Definitions of the Laplace Transform (1A) Young Won Lim 2/9/15

Down-Sampling (4B) Young Won Lim 11/15/12

Group & Phase Velocities (2A)

Up-Sampling (5B) Young Won Lim 11/15/12

Section 2.1, Section 3.1 Rate of change, Tangents and Derivatives at a point

Propagating Wave (1B)

Signals and Spectra (1A) Young Won Lim 11/26/12

Double Integrals (5A)

Chapter 2: Differentiation

Bilateral Laplace Transform (6A) Young Won Lim 2/16/15

FSM Examples. Young Won Lim 11/6/15

CLTI Differential Equations (3A) Young Won Lim 6/4/15

Bilateral Laplace Transform (6A) Young Won Lim 2/23/15

Digital Signal Octave Codes (0A)

Hilbert Inner Product Space (2B) Young Won Lim 2/7/12

Implication (6A) Young Won Lim 3/17/18

Audio Signal Generation. Young Won Lim 2/2/18

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

Bayes Theorem (4A) Young Won Lim 3/5/18

Propositional Logic Resolution (6A) Young W. Lim 12/12/16

Sequential Circuit Timing. Young Won Lim 11/6/15

DIFFERENTIATION RULES

Capacitor in an AC circuit

Capacitor in an AC circuit

Group Delay and Phase Delay (1A) Young Won Lim 7/19/12

General Vector Space (3A) Young Won Lim 11/19/12

Capacitor in an AC circuit

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

Propositional Logic Logical Implication (4A) Young W. Lim 4/11/17

Chapter 2: Differentiation

Digital Signal Octave Codes (0A)

Review for the Final Exam

Propositional Logic Resolution (6A) Young W. Lim 12/31/16

= π + sin π = π + 0 = π, so the object is moving at a speed of π feet per second after π seconds. (c) How far does it go in π seconds?

Audio Signal Generation. Young Won Lim 2/2/18

Differential calculus. Background mathematics review

Capacitors in an AC circuit

Group Velocity and Phase Velocity (1A) Young Won Lim 5/26/12

Digital Signal Octave Codes (0A)

Math 3B: Lecture 11. Noah White. October 25, 2017

Hyperbolic Functions (1A)

Capacitor in an AC circuit

Digital Signal Octave Codes (0A)

Bandpass Sampling (2B) Young Won Lim 3/27/12

Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17

Transcription:

Introduction to ODE's (0A)

Copyright (c) 2011-2014 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com. This document was produced by using OpenOffice and Octave.

A triangle and its slope y = f x, f f h f h f ( +h) f ( ) +h h, f h http://en.wikipedia.org/wiki/derivative, f Intro to ODEs (0A) 3

Many smaller triangles and their slopes f ( + h) f ( ) h ( +h, f ( +h)) f ( + h 1 ) f ( ) h 1 f ( + h 2 ) f ( ) h 2 f ( +h) f ( +h 1 ) f ( +h 2 ) f ( ) (, f ( )) +h 2 +h 1 +h h 2 h 1 lim h 0 f ( + h) f ( ) h h ( +h, f ( +h)) (, f ( )) http://en.wikipedia.org/wiki/derivative Intro to ODEs (0A) 4

The limit of triangles and their slopes y = f x The derivative of the function f at The derivative function of the function f f ' ( ) = lim h 0 f ( + h) f ( ) h f '(x) = lim h 0 f (x + h) f (x) h y ' = f ' (x) = df dx = d dx f (x) http://en.wiktionary.org/ Intro to ODEs (0A) 5

The derivative as a function f x y = f x x 3 f f f x 3 Derivative Function y ' = f ' (x) f ' x f ' = lim h 0 f (x + h) f (x) h x 3 f ' f ' x 3 Intro to ODEs (0A) 6

The notations of derivative functions Largrange's Notation y ' = f ' x f ' (x) f ' Leibniz's Notation f ' dy dx = d dx f (x) x 3 f ' x 3 not a ratio. Newton's Notation ẏ = ḟ x slope of a tangent line lim h 0 f (x + h) f (x) h Euler's Notation D x y = D x f x derivative with respect to x x is an independent variable Intro to ODEs (0A) 7

Another kind of triangles and their slopes y = f x y ' = f ' x given x1 f the slope of a tangent line http://en.wikipedia.org/wiki/derivative Intro to ODEs (0A) 8

Differential in calculus Differential: dx, dy, infinitesimals a change in the linearization of a function of, or relating to differentiation function f dx the linearization of a function f dy f dx dx dx f http://en.wikipedia.org/wiki/derivative Intro to ODEs (0A) 9

Approximation Differential: dx, dy, f ( + dx) f ( ) + dy = f ( ) + f '( )dx f '( ) = lim h 0 f ( + h) f ( ) h function the linearization of a function f dx f dy f dx dx dx f http://en.wikipedia.org/wiki/derivative Intro to ODEs (0A) 10

Differential as a function Line equation in the new coordinate. dy dy = f ' ( ) dx slope = f ' ( ) f ( ) dx http://en.wikipedia.org/wiki/derivative Intro to ODEs (0A) 11

Differential as a function The differential of a function ƒ(x) of a single real variable x is the function of two independent real variables x and dx given by dy = f ' (x) dx Line equation in the new coordinate. dy dy = f ' dx slope = f ' (x, dx) dy f dx http://en.wikipedia.org/wiki/derivative Intro to ODEs (0A) 12

Differentials and Derivatives (1) differentials ratio dy = f ' (x) dx dy = df dx dx derivative dy dx = f ' (x) not a ratio f ( + dx) f ( ) + dy for small enough dx = f ( ) + f '( )dx f ( + dx) = f ( ) + dy f ( + dx) f ( ) dx = f ( ) + f '( )dx = f '( ) Intro to ODEs (0A) 13

Differentials and Derivatives (2) dy = f ' (x) dx dy = df dx dx dy = ḟ dx dy = f '(x) dx dy = df dx dx dy = 1dy = y dy = D x f dx Intro to ODEs (0A) 14

Differentials and Derivatives (3) dy = f '(x) dx dy = f '(x) dx + C dy = df dx dx dy = df dx dx + C a constant is included another constant is included differ by a constant y + C 1 = f (x) + C 2 y = f (x) + C y = f (x) + C Intro to ODEs (0A) 15

Applications of Differentials (1) Substitution Rule f ( g(x) ) g'(x) dx = f ( u ) du (I) u = g( x) du = g ' (x)dx du = dg dx dx (II) f (g) dg dx dx = f ( g ) dg Intro to ODEs (0A) 16

Applications of Differentials (2) Integration by parts f (x)g ' (x) dx = f (x)g(x) f ' (x)g(x) dx u = f (x) v = g(x) du = f ' (x) dx dv = g'( x)dx du = df dx dx dv = dg dx dx f (x)g ' (x) dx = f (x)g(x) f ' (x)g(x) dx u dv = u v v du Intro to ODEs (0A) 17

Anti-derivative and Indefinite Integral F '(x) = f (x) F(x) Anti-derivative without constant the most simple anti-derivative F( x) + C the most general anti-derivative f (x)dx Indefinite Integral : a function of x f (x)dx = F (x) + C Intro to ODEs (0A) 18

Anti-derivative Examples (1)? Anti-derivative of f(x) differentiation Anti-differentiation derivative of f (x)? F 1 (x)= 1 3 x3 f (x)= All are Anti-derivative of f(x) F 2 (x)= 1 3 x3 + 100 F 3 (x)= 1 3 x3 49 the most general anti-derivative of f(x) 1 3 x3 + C dx indefinite Integral of f(x) Intro to ODEs (0A) 19

Anti-derivative Examples (2)? Anti-derivative of f(x) differentiation Anti-differentiation derivative of? f (x) x 0 f (x) dx = [ 1 3 x3]0 x = 1 3 x3 f (x)= x a f (x) dx = [ 1 3 x3]a x = 1 3 x3 1 3 a3 x a f (t ) dt = [ 1 3 t3]a x = 1 3 x3 1 3 a3 anti-derivative by the definite integral of f(x) x a t 2 dt = 1 3 x3 + C d x dx a f (t ) dt = f (x) = the Indefinite Integral of f(x) dx = 1 3 x3 + C Intro to ODEs (0A) 20

Definite Integrals on [a, ] 1 y = 1 1 a a a f ' (x) = 1 f (x) = 1 a 1 dx a 1 dx [ x ] a = a dx dy = dy dx dx view (I) view (II) a a f ' (x) dx [ f (x) ] a = f ( ) f (a) f (x) dx [ F (x)] a = F ( ) F (a) Intro to ODEs (0A) 21

Definite Integrals on [, ] view (I) view (II) f (x) F (x) : anti-derivative of f '(x) : anti-derivative of f ( x) 1 dx Anti-derivative x 1 y = 1 area Anti-derivative without constant a [ x + c ] x1 = = [ x ] x1 length view (I) [ f (x) ] x1 = f ( ) f ( ) x view (II) [ F (x)] x1 = F ( ) F ( ) a Intro to ODEs (0A) 22

Definite Integrals on [, ] through F(x)+C view (I) Anti-derivative view (II) Anti-derivative 1 dx f (x) = x 1 dx F (x) = x f '(x) f (x) = [ f (x)] x1 = [ F (x)] x1 = {f ( ) f (a)} {f ( ) f (a)} = {F ( ) F(a)} {F ( ) F(a)} = [ f (x) f (a)] x1 = [ F (x) F (a) ] x1 = [ f (x) + C ] x1 arbitrary reference point (a, f(a)) = [ F (x) + C ] x1 arbitrary reference point (a, F(a)) = [ f ' (x)dx ] x1 = [ f (x)dx ] x1 Intro to ODEs (0A) 23

Indefinite Integrals through Definite Integrals view (I) view (II) 1 dx x a 1 dx 1 dx x a 1 dx f ' (x) dx a f ' (x) dx f (x) dx a f (x) dx = f (x) f (a) = x a = f (x) + C = F(x) + C = F(x) F (a) = x a a a f (x) = x a F (x) = x a a a a a Intro to ODEs (0A) 24

Definite Integrals on [a, ] and [a, ] (I) a f '(x) dx (II) a f (x) dx a (I) a f '(x) dx (II) a f (x) dx a Intro to ODEs (0A) 25

Definite Integrals on [, ] through F(x) d f d x dx Anti-derivative F (x) = f (x) y = f ' (x) area a f ( ) f ( ) = [ F (x)] x1 F (x) = f (x) F ( ) F ( ) length a Intro to ODEs (0A) 26

Definite Integrals on [, ] through F(x)+C d f d x dx F (x) = f (x) y = f ' (x) a common reference point a f ( ) f ( ) = [ F (x)] x1 = {F ( ) F(a)} {F ( ) F(a)} = [ F (x) F (a)] x1 = [ F (x) C ] x1 = [ f (x) f (a)] x1 arbitrary reference point (a, F(a)) Intro to ODEs (0A) 27

Indefinite Integrals through F(x)+C d f d x dx = F ( x) + C x a d f d x dx y = f ' (x) a common reference point a F (x) F (a) = F (x) f (a) f ( ) f (a) y = f (x) f (a) a Intro to ODEs (0A) 28

Indefinite Integrals a 1 dx x a 1 dx dx dy a x a x + C y + C given a variable x indefinite integral a d f d x dx x c d f d x dx d f d x dx f ( ) f (a) f (x) f (a) f (x) + C given a variable x indefinite integral Intro to ODEs (0A) 29

Derivative Function and Indefinite Integrals f ' ( ) lim h 0 f ( + h) f ( ) h f ( x) dx f ' ( ) lim h 0 f ( + h) f ( ) h x 4 x 3 f ( x) dx f ' (x 3 ) lim h 0 f (x 3 + h) f (x 3 ) h x 6 x 5 f ( x) dx,, x 3 [, ],[ x 3, x 4 ], [x 5, x 6 ] f ' (x) = lim h 0 f (x + h) f ( x) h x F (x) + C = a f ( x) dx f ' ( ), f ' ( ), f '( x 3 ) [ F( x) ], [ F( x) ]x 3 x 4 x, [ F (x) 6 ]x5 Intro to ODEs (0A) 30

a Intro to ODEs (0A) 31

Differential Equation f (x) = e 3 x f (x)? f ' (x) = 3e 3 x f ' (x) 3 f (x) = 3 e 3x 3 e 3 x = 0 f ' (x) 3 f (x) = 0 Intro to ODEs (0A) 32

First Order Examples (y=f(x)) f ' (x) = f (x) y ' = y f (x)? y? An Example of A First Order Differential Equation f (x) = c e x for all x y = c e x I : (, + ) f ' (x) = f (x) y ' = y f (x)? y? f (0) = 3 f (0) = 3 An Example of A First Order Initial Value Problem f (x) = 3e x for all x y = 3e x I : (, + ) Intro to ODEs (0A) 33

Second Order Examples (y=f(x)) f ' ' (x) = f (x) y ' ' = y f (x) = y = An Example of A Second Order Differential Equation c 1 e +x + c 2 e x for all x c 1 e +x + c 2 e x I : (, + ) f ' ' (x) = f (x) y ' ' = y f (x) = y = f ' (0) = 0 y ' (0) = 0 f (0) = 1 f (0) = 1 +1 e +x 1 e x +1 e +x 1 e x An Example of A Second Order Initial Value Problem for all x I : (, + ) Guess the possible solution. Intro to ODEs (0A) 34

General First & Second Order IVPs (y=f(x)) First Order Initial Value Problem f ' (x) = f (x) y ' = y f (0) = 3 f (0) = 3 d y = g(x, y) y ' = g(x, y) d x y(x 0 ) = y 0 y(x 0 ) = y 0 Second Order Initial Value Problem f ' ' (x) = f (x) y ' ' = y f ' (0) = 0 y ' (0) = 0 f (0) = 1 f (0) = 1 d 2 y d = g(x, y, y ') y(x 0 ) = y 0 y ' (x 0 ) = y 1 y ' ' = g(x, y, y ' ) y(x 0 ) = y 0 y ' (x 0 ) = y 1 Guess the possible solution. Intro to ODEs (0A) 35

References [1] http://en.wikipedia.org/ [2] M.L. Boas, Mathematical Methods in the Physical Sciences [3] E. Kreyszig, Advanced Engineering Mathematics [4] D. G. Zill, W. S. Wright, Advanced Engineering Mathematics