Docsity

The integrating factor method (Sect. 2.1)., Lecture notes of Law

Toggle sidebar
bg1
The integrating factor method (Sect. 2.1).
IOverview of differential equations.
ILinear Ordinary Differential Equations.
IThe integrating factor method.
IConstant coefficients.
IThe Initial Value Problem.
IVariable coefficients.
Read:
IThe direction field. Example 2 in Section 1.1 in the Textbook.
ISee direction field plotters in Internet. For example, see:
http://math.rice.edu/edfield/dfpp.html
This link is given in our class webpage.
Overview of differential equations.
Definition
Adifferential equation is an equation, where the unknown is a
function, and both the function and its derivative appear in the
equation.
Remark: There are two main types of differential equations:
IOrdinary Differential Equations (ODE): Derivatives with
respect to only one variable appear in the equation.
Example:
Newton’s second law of motion: ma=F.
IPartial differential Equations (PDE): Partial derivatives of two
or more variables appear in the equation.
Example:
The wave equation for sound propagation in air.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download The integrating factor method (Sect. 2.1). and more Lecture notes Law in PDF only on Docsity!

The integrating factor method (Sect. 2.1).

I (^) Overview of differential equations. I (^) Linear Ordinary Differential Equations. I (^) The integrating factor method. I (^) Constant coefficients. I (^) The Initial Value Problem. I (^) Variable coefficients.

Read:

I (^) The direction field. Example 2 in Section 1.1 in the Textbook. I (^) See direction field plotters in Internet. For example, see: http://math.rice.edu/˜dfield/dfpp.html This link is given in our class webpage.

Overview of differential equations.

Definition

A differential equation is an equation, where the unknown is a function, and both the function and its derivative appear in the equation.

Remark: There are two main types of differential equations:

I (^) Ordinary Differential Equations (ODE): Derivatives with respect to only one variable appear in the equation.

Example:

Newton’s second law of motion: m a = F.

I (^) Partial differential Equations (PDE): Partial derivatives of two or more variables appear in the equation.

Example:

The wave equation for sound propagation in air.

Overview of differential equations.

Example

Newton’s second law of motion is an ODE: The unknown is x(t), the particle position as function of time t and the equation is d^2 dt^2

x(t) =

m

F(t, x(t)),

with m the particle mass and F the force acting on the particle.

Example

The wave equation is a PDE: The unknown is u(t, x), a function that depends on two variables, and the equation is ∂^2 ∂t^2

u(t, x) = v 2

∂^2

∂x^2

u(t, x),

with v the wave speed. Sound propagation in air is described by a wave equation, where u represents the air pressure.

Overview of differential equations.

Remark: Differential equations are a central part in a physical

description of nature:

I (^) Classical Mechanics: I (^) Newton’s second law of motion. (ODE) I (^) Lagrange’s equations. (ODE) I (^) Electromagnetism: I (^) Maxwell’s equations. (PDE) I (^) Quantum Mechanics: I (^) Schr¨odinger’s equation. (PDE) I (^) General Relativity: I (^) Einstein equation. (PDE) I (^) Quantum Electrodynamics: I (^) The equations of QED. (PDE).

Linear Ordinary Differential Equations

Example

A first order linear ODE is given by

y ′(t) = − 2 y (t) + 3.

In this case function a(t) = −2 and b(t) = 3. Since these function do not depend on t, the equation above is called of constant coefficients.

Example

A first order linear ODE is given by

y ′(t) = −

t

y (t) + 4t.

In this case function a(t) = − 2 /t and b(t) = 4t. Since these functions depend on t, the equation above is called of variable coefficients.

The integrating factor method (Sect. 2.1).

I (^) Overview of differential equations. I (^) Linear Ordinary Differential Equations. I (^) The integrating factor method. I (^) Constant coefficients. I (^) The Initial Value Problem. I (^) Variable coefficients.

The integrating factor method.

Remark: Solutions to first order linear ODE can be obtained using

the integrating factor method.

Theorem (Constant coefficients)

Given constants a, b ∈ R with a 6 = 0, the linear differential equation

y ′(t) = −a y (t) + b

has infinitely many solutions, one for each value of c ∈ R, given by

y (t) = c e−at^ +

b a

The integrating factor method.

Proof: Multiply the differential equation y ′(t) + a y (t) = b by a

non-zero function μ, that is,

μ(t)

y ′^ + ay

= μ(t) b.

Key idea: The non-zero function μ is called an integrating factor iff holds μ

y ′^ + ay

μ y

Not every function μ satisfies the equation above. Let us find what are the solutions μ of the equation above. Notice that

μ

y ′^ + ay

μ y

⇔ μ y ′^ + μay = μ′^ y + μ y ′

ay μ = μ′^ y ⇔ aμ = μ′^ ⇔

μ′(t) μ(t)

= a.

The integrating factor method (Sect. 2.1).

I (^) Overview of differential equations. I (^) Linear Ordinary Differential Equations. I (^) The integrating factor method. I (^) Constant coefficients. I (^) The Initial Value Problem. I (^) Variable coefficients.

The Initial Value Problem.

Definition

The Initial Value Problem (IVP) for a linear ODE is the following: Given functions a, b : R → R and constants t 0 , y 0 ∈ R, find a solution y : R → R of the problem y ′^ = a(t) y + b(t), y (t 0 ) = y 0.

Remark: The initial condition selects one solution of the ODE.

Theorem (Constant coefficients)

Given constants a, b, t 0 , y 0 ∈ R, with a 6 = 0, the initial value problem y ′^ = −ay + b, y (t 0 ) = y 0 has the unique solution

y (t) =

y 0 −

b a

e−a(t−t^0 )^ +

b a

The Initial Value Problem.

Example

Find the solution to the initial value problem

y ′^ = 2y + 3, y (0) = 1.

Solution: Every solution of the ODE above is given by

y (t) = c e^2 t^ −

, c ∈ R.

The initial condition y (0) = 1 selects only one solution:

1 = y (0) = c −

⇒ c =

We conclude that y (t) =

e^2 t^ −

. C

The integrating factor method (Sect. 2.1).

I (^) Overview of differential equations. I (^) Linear Ordinary Differential Equations. I (^) The integrating factor method. I (^) Constant coefficients. I (^) The Initial Value Problem. I (^) Variable coefficients.

The integrating factor method.

Example

Find the solution y to the IVP

t y ′^ + 2y = 4t^2 , y (1) = 2.

Solution: The integrating factor is μ(t) = t^2. Hence,

t^2

y ′^ +

t

y

= t^2 (4t) ⇔ t^2 y ′^ + 2t y = 4t^3

( t^2 y

= 4t^3 ⇔ t^2 y = t^4 + c ⇔ y = t^2 +

c t^2

The initial condition implies 2 = y (1) = 1 + c, that is, c = 1. We conclude that y (t) = t^2 +

t^2

. C