Docsity

Differential Equations - Calculus II - Lecture Slides, Slides of Calculus

Partial preview of the text

Download Differential Equations - Calculus II - Lecture Slides and more Slides Calculus in PDF only on Docsity!

7.6 Differential Equations

Differential Equations

( ) ( ) y ′^ = sin x , y ' 4 − y^2 + 2 xy − x^2 = 0, y ′′+ y^3 + x = 0

Definition A differential equation is an equation involving derivatives of an unknown function and possibly the function itself as well as the independent variable.

Example

Definition The order of a differential equation is the highest order of the derivatives of the unknown function appearing in the equation

1 st^ order equations 2 nd^ order equation

Examples y^ ′ =^ sin^ (^ x^ )^ ⇒^ y^ = −^ cos(^ x^ )+ C y^ ′′^ = 6 x + e x^ ⇒ y ′= 3 x^2 + e x^ + C 1 (^) ⇒ y = x^3 + e x + C x 1 + C 2

In the simplest cases, equations may be solved by direct integration.

Observe that the set of solutions to the above 1 st^ order equation has 1 parameter, while the solutions to the above 2 nd^ order equation depend on two parameters.

A separable differential equation can be expressed as

the product of a function of x and a function of y.

( ) ( )

dy g x h y dx

Example:

2 2

dy xy dx

dy x dx y

2 y dy 2 x dx

−

2 y dy 2 x dx

−

1 2 y C 1 x C 2

− − + = +

x C y

2

y x C

2

y x C

h (^) ( y (^) ) ≠ 0

→

Combined constants of integration

Separable Differential Equations

Family of solutions (general solution)

of a differential equation

Example

The picture on the right shows some solutions to the above differential equation. The straight lines y = x and y = - x are special solutions. A unique solution curve goes through any point of the plane different from the origin. The special solutions y = x and y = - x go both through the origin.

y x C

ydy xdx y

x

dx

dy

= +

= (^) ∫ = ∫

2 2

Example:

( )

2 2 2 1

dy (^) x x y e dx

2 2

x dy x e dx y

Separable differential equation

2 2

x dy x e dx y

2 u = x

du = 2 x dx

2

u dy e du y

1 tan (^1 )

u y C e C

−

  • = +

1 2 tan (^1 )

x y C e C

−

  • = +

1 2 tan

x y e C

− = + (^) Combined constants of integration (^) Docsity.com→

Example (cont.):

2 2 2 1

dy (^) x x y e dx

1 2 tan

x y e C

−

= + We now have y as an implicit
function of x.
We can find y as an explicit function
of x by taking the tangent of both

sides.

1 2 tan tan tan

x y e C

− = +

2 tan

x y = e +C

Docsity.com^ →

dy ky dt

=

1 dy k dt y

=

1 dy k dt y

= ∫ ∫

ln y = kt +C

Rate of change is proportional to the amount present.

Divide both sides by y.

Integrate both sides.

→

ln y (^) kt C e e

= Exponentiate both sides.

C kt y = e ⋅e

C kt y = ± e e

kt y = Ae

Real-life populations do not increase forever. There is

some limiting factor such as food or living space.

There is a maximum population, or carrying capacity, M.

A more realistic model is the logistic growth model where

growth rate is proportional to both the size of the

population (y) and the amount by which y falls short of the

maximal size (M-y). Then we have the equation:

ky( M y ) dt

dy = −

Logistic Growth Model

The solution to this differential equation (derived in the textbook):

, where ( 0 ) ( )

0 0 0

(^0) y y y M y e

y M y (^) kMt =

  • −

= (^) − Docsity.com

Problem 45.

A vat with 500 gallons of beer contains 4%

alcohol (by volume). Beer with 6%

alcohol is pumped into the vat at a rate of

5 gal/min and the mixture is pumped out

at the same rate. What is the percentage

of alcohol after an hour?

Mixing Problems