Docsity

Differential Equations with Solved Examples - Review Study | MTH 235, Study notes of Differential Equations

Toggle sidebar
bg1
Review for Exam 1
IOn Webwork Exam Server, in Recitation Rooms and Times.
I100 grading attempts.
I6 problems, 55 minutes.
IProblems similar to webwork homework problems.
IIntegration table provided in the handout.
INo notes, no books, no calculators, no phones.
IMLC Exam Review for MTH 235, today, 7:30pm, B-117 WH.
IMTH 235 Exam 1 covers:
ILinear equations (1.1), (1.2).
IBernoulli equation (1.2).
ISeparable equations (1.3).
IEuler homogeneous equations (1.3).
IExact equations (1.4).
IExact equations with integrating factors (1.4).
IApplications (1.5). Not Covered.
IPicard-Lindel¨of iteration (1.6). Not Covered.
Exam Overview
Remark:
IExam problems will be: Solve this equation. We don’t tell you
if the equation is linear, separable, etc. You must find that
out.
IIf you know what type of equation is, then the equation is
simple to solve.
IThe difficult part in Exam 1 is to know what type of equation
is the one you have to solve.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download Differential Equations with Solved Examples - Review Study | MTH 235 and more Study notes Differential Equations in PDF only on Docsity!

Review for Exam 1

I (^) On Webwork Exam Server, in Recitation Rooms and Times. I (^) 100 grading attempts. I (^) 6 problems, 55 minutes. I (^) Problems similar to webwork homework problems. I (^) Integration table provided in the handout. I (^) No notes, no books, no calculators, no phones. I (^) MLC Exam Review for MTH 235, today, 7:30pm, B-117 WH. I (^) MTH 235 Exam 1 covers: I (^) Linear equations (1.1), (1.2). I (^) Bernoulli equation (1.2). I (^) Separable equations (1.3). I (^) Euler homogeneous equations (1.3). I (^) Exact equations (1.4). I (^) Exact equations with integrating factors (1.4). I (^) Applications (1.5). Not Covered. I (^) Picard-Lindel¨of iteration (1.6). Not Covered.

Exam Overview

Remark:

I (^) Exam problems will be: Solve this equation. We don’t tell you if the equation is linear, separable, etc. You must find that out. I (^) If you know what type of equation is, then the equation is simple to solve. I (^) The difficult part in Exam 1 is to know what type of equation is the one you have to solve.

Exam Overview

Advice: In order to find out what type of equation is the one you

have to solve, check from simple types to the more difficult types:

  1. Linear equations. (Just by looking at it: y ′^ + a(t) y = b(t).)
  2. Bernoulli equations. (Just by looking at it: y ′^ + a(t) y = b(t) y n.)
  3. Separable equations. (Few manipulations: h(y ) y ′^ = g (t).)
  4. Euler homogeneous equations. (Several manipulations: y ′^ = F (y /t).)
  5. Exact equations. (Check one equation: N y ′^ + M = 0, and ∂t N = ∂y M.)
  6. Exact equation with integrating factor. (Could be very complicated to check.)

Review Exam 1

Example

Find every solution y to the equation (t^2 + y 2 )(t + y y ′) + 2 = 0. Solution: Rewrite the equation in a more standard way:

(t^2 + y 2 )y y ′^ + (t^2 + y 2 )t + 2 = 0 ⇔ y ′^ = − (t^2 + y 2 )t + 2 (t^2 + y 2 )y

Not linear. Not Bernoulli. Not Separable. Not Euler homogeneous. So the equation must be exact or exact with integrating factor. N = t^2 y + y 3 ⇒ ∂t N = 2ty.

M = t^3 + ty 2 + 2 ⇒ ∂y M = 2ty.

The equation is exact: ∂t N = ∂y M.

Example

Find the explicit solution y to the IVP

y ′^ = t(t^2 + et^ ) 4 y 3 , y (0) = −

Solution: Recall: u^4 = t^4 4

tet^ dt + c. Integration by parts:

f = t, g ′^ = et^ , f ′^ = 1, g = et^ ,

tet^ dt = tet^ −

et^ dt = (t − 1)et^.

We obtain: y 4 (t) = t^4 4

  • (t − 1)et^ + c. The initial condition: ( −

= 0 + (0 − 1) + c ⇒ 4 = −1 + c ⇒ c = 5.

We conclude: y 4 (t) = t^4 4

  • (t − 1)et^ + 5. Implicit form.

Review Exam 1

Example

Find the explicit solution y to the IVP

y ′^ = t(t^2 + et^ ) 4 y 3 , y (0) = −

Solution: Recall: y 4 (t) = t^4 4

  • (t − 1)et^ + 5. Implicit form. The explicit form of the solution is one of:

y (t) = ±

[ (^) t 4 4

  • (t − 1)et^ + 5

] 1 / 4

The initial condition implies y (0) = −

We conclude that the unique solution to the IVP is

y (t) = −

[ (^) t 4 4

  • (t − 1)et^ + 5

] 1 / 4

. C

Example

Find every solution y of the equation y ′^ = 3 y 2 − t^2 2 ty

Solution: Not linear. Bernoulli n = −1: y ′^ = 3 y 2 t

t 2 y

Not separable. Every term on the right hand side is of the form tny m^ with n + m = 2. Euler homogeneous.

y ′^ = 3 y 2 − t^2 2 ty

t^2

t^2

) ⇒^ y^ ′^ =

( (^) y t

( (^) y t

We introduce the change of unknown:

v = y t ⇒ y = t v ⇒ y ′^ = v + t v ′.

Review Exam 1

Example

Find every solution y of the equation y ′^ = 3 y 2 − t^2 2 ty

Solution: y ′^ =

( (^) y t

( (^) y t

) (^) , v = y t , y ′^ = v + t v ′.

v + t v ′^ = 3 v 2 − 1 2 v ⇒ t v ′^ = 3 v 2 − 1 2 v − v = 3 v 2 − 1 − 2 v 2 2 v

t v ′^ = v 2 − 1 2 v

2 v v 2 − 1 v ′^ =

t

This is a separable equation for v :

2 v v 2 − 1 v ′^ dt =

t dt + c.

Review Exam 1; Not Covered in Exam 1

Example

A water tank initially has V 0 = 100 liters of water with Q 0 grams of salt. At t 0 = 0 fresh water is poured into the tank. The salt in the tank is always well mixed. Find the rates ri and ro such that: (a) The tank water volume is constant. (b) The time to reduce the salt in the tank to one percent of the initial value is t 1 = 25 min. Solution: Recall: Q(t) = Q 0 e−rt/V^0. Condition for r :

Q(t 1 ) =

Q 0

⇒ Q 0 e(−rt^1 /V^0 )^ =

Q 0

rt 1 V 0 = ln

rt 1 V 0 = ln(100) ⇒ r =

V 0

t 1 ln(100) ⇒ r = 4 ln(100). C

Review Exam 1

Example

Find the solution y to the IVP

y ′^ =

t

y − sin(t) t

y 2 , y (2π) = 2π, t > 0.

Solution: Not linear. Bernoulli for n = 2. Divide by y 2.

y ′ y 2

t

y

sin(t) t , v =

y ⇒ v ′^ = − y ′ y 2

−v ′^ −

t

v = − sin(t) t

⇒ v ′^ +

t

v = sin(t) t

We solve the linear equation with the integrating factor method.

A(t) =

t dt = 2 ln(t) = ln

t^2

⇒ μ(t) = t^2.

Example

Find the solution y to the IVP

y ′^ =

t

y − sin(t) t

y 2 , y (2π) = 2π, t > 0.

Solution: Recall: μ(t) = t^2. Then,

t^2

v ′^ +

t v

= t^2 sin(t) t

t^2 v

= t sin(t).

Integrating: t^2 v =

t sin(t) dt + c. The right hand side can be computed integrating by parts, ∫ t sin(t) dt = −t cos(t) +

cos(t) dt,

f = t, g ′^ = sin(t), f ′^ = 1, g = − cos(t).

Review Exam 1

Example

Find the solution y to the IVP

y ′^ =

t y − sin(t) t y 2 , y (2π) = 2π, t > 0.

Solution:

t sin(t) dt = −t cos(t) +

cos(t) dt. Then,

t^2 v = −t cos(t) + sin(t) + c ⇒ t^2

y = −t cos(t) + sin(t) + c.

The initial condition: 4π^2

2 π = − 2 π cos(2π) + 0 + c, so c = 4π.

y = t^2 sin(t) − t cos(t) + 4π C

Example

Find the integrating factor that converts the equation below into an exact equation, where ( x^3 ey^ + x y

y ′^ + (2x^2 ey^ + 1) = 0.

Solution: We first verify if the equation is not exact.

N =

x^3 ey^ + x y

⇒ ∂x N = 3x^2 ey^ +

y

M = (2x^2 ey^ + 1) = 0 ⇒ ∂y M = 2x^2 ey^. So the equation is not exact. We now compute

∂y M − ∂x N N

2 x^2 ey^ −

3 x^2 ey^ +

y

x^3 ey^ + x y

−x^2 ey^ −

y x

x^2 ey^ +

y

) =^ −^

x

Review Exam 1

Example

Find the integrating factor that converts the equation below into an exact equation, where ( x^3 ey^ + x y

y ′^ + (2x^2 ey^ + 1) = 0.

Solution: Recall: ∂y M − ∂x N N

x

. Therefore,

μ′(x) μ(x)

x ⇒ ln(μ) = − ln(x) = ln

x

⇒ μ(x) =

x

So the equation

x^2 ey^ +

y

y ′^ +

2 xey^ +

x

= 0 is exact. Indeed,

N˜ =

x^2 ey^ +

y

⇒ ∂x N˜ = 2xey^ ,

M^ ˜ =

2 xey^ +

x

⇒ ∂y M˜ = 2xey^ ,

⇒ ∂x N˜ = ∂y M˜.

Example

Find every solution y of the equation ( x^2 ey^ +

y

y ′^ +

2 x ey^ +

x

Solution: The equation is exact. We need to find the potential function ψ. ∂y ψ = N, ∂x ψ = M. From the first equation we get:

∂y ψ = x^2 ey^ +

y ⇒ ψ = x^2 ey^ + ln(y ) + g (x).

Introduce the expression for ψ in the equation ∂x ψ = M, that is,

2 xey^ + g ′(x) = ∂x ψ = M = 2x ey^ +

x ⇒ g ′(x) =

x

Review Exam 1

Example

Find every solution y of the equation ( x^2 ey^ +

y

y ′^ +

2 x ey^ +

x

Solution: Recall: g ′(x) =

x

. Therefore g (x) = ln(x).

The potential function is ψ = x^2 ey^ + ln(y ) + ln(x). The solution y satisfies x^2 ey^ (x)^ + ln(y (x)) + ln(x) = c. C Verification: Compute the implicit derivative in the equation above, and you should get the original differential equation.

2 xey^ + x^2 ey^ y ′^ +

y y ′^ +

x

Example

Find every solution of the initial value problem

y ′^ = 4x(y +

y ), y (0) = 4. Solution: Recall: v ′^ − 2 xv = 2x and μ(x) = e−x^2.

e−x 2 v ′^ − 2 xe−x 2 v = 2x e−x 2 Verify! =⇒

e−x 2 v

= 2xe−x 2 .

e−x 2 v =

2 xe−x 2 dx + c ⇒ e−x 2 v = −e−x 2

  • c.

We conclude that v = c ex^2 − 1. The initial condition for y implies the initial condition for v , that is, v (x) =

y (x) implies v (0) = 2.

2 = v (0) = c − 1 ⇒ c = 3 ⇒ v (x) = 3ex 2 − 1.

We finally find y = v 2 , that is, y (x) = (3ex^2 − 1)^2. C

Review Exam 1

Example

Find the domain of the function y solution of the IVP

y ′^ = − 2 t y , y (1) = 2.

Solution: We first need to find the solution y. The equation is separable.

y y ′^ = − 2 t ⇒

y y ′^ dt =

− 2 t dt +c ⇒ y 2 2 = −t^2 +c

4 2

y 2 (1) 2 = −1 + c ⇒ c = 3 ⇒ y (t) =

2(3 − t^2 ).

The domain of the solution y is D = (−

The points ±

3 do not belong to the domain of y , since y ′^ and the differential equation are not defined there. C

Example

Find the domain of the function y solution of the IVP

y ′^ = − 2 t y

, y (t 0 ) = y 0 > 0.

Solution: The solution y is given as above, y 2 2 = −t^2 + c. The initial condition implies y 02 2

y 2 (t 0 ) 2 = −t 02 + c ⇒ c = y 02 2

  • t 02 ⇒ y 2 2 = −t^2 + t 02 + y 02 2

The solution to the IVP is y (t) =

2(t 02 − t^2 ) + y 02. The domain of the solution depends on the initial condition t 0 , y 0 :

D =

t 02 + y 02 2

t 02 + y 02 2

. C

Review Exam 1

Example

Find every solution y to the equation y ′^ = − 2 x + 3y 3 x + 4y

Solution: The equation is not linear, not Bernoulli, not separable. It is homogeneous. (Multiply numerator and denominator on the right hand side by (1/x).) Is it exact? (3x + 4y ) y ′^ + (2x + 3y ) = 0 implies ∂x N = 3 = ∂y M. So the equation is exact. We choose here the exact equation method. (Finding the potential function is sometimes simpler that solving homogeneous Eqs.) We need to find the potential function ψ: ∂y ψ = N ⇒ ψ = 3xy + 2y 2 + g (x).

∂x ψ = M ⇒ 3 y + g ′(x) = 2x + 3y ⇒ g (x) = x^2. We conclude: ψ(x, y ) = 3xy + 2y 2 + x^2 , and ψ(x, y (x)) = c. C

Review Exam 1; Not Covered in Exam 1

Example

Use the proof of Picard-Lindel¨of’s Theorem to find the solution to y ′^ = 2 y + 3 y (0) = 1.

Solution: First notice that the equation is linear. So it is simple to find the solution following Section 1.1,

e−^2 t^ (y ′^ − 2 y ) = 3 e−^2 t^ ⇒

e−^2 t^ y

e−^2 t^ + c,

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

The initial condition implies,

1 = y (0) = c −

⇒ y (t) =

e^2 t^ −

In the next slide we use Picard-Lindel¨of’s idea.

Review Exam 1; Not Covered in Exam 1

Example

Use the proof of Picard-Lindel¨of’s Theorem to find the solution to y ′^ = 2 y + 3 y (0) = 1.

Solution: We first transform the differential equation into an integral equation. ∫ (^) t

0

y ′(s) ds =

∫ (^) t

0

(2 y (s) + 3) ds

y (t) − y (0) =

∫ (^) t

0

(2 y (s) + 3) ds. Using the initial condition, y (0) = 1,

y (t) = 1 +

∫ (^) t

0

(2 y (s) + 3) ds.

This is the integral equation.

Review Exam 1; Not Covered in Exam 1

Example

Use the proof of Picard-Lindel¨of’s Theorem to find the solution to y ′^ = 2 y + 3 y (0) = 1.

Solution: Integral equation: y (t) = 1 +

∫ (^) t

0

(2 y (s) + 3) ds. We now define the sequence of approximate solutions:

y 0 = y (0) = 1, yn+1(t) = 1 +

∫ (^) t

0

(2 yn(s) + 3) ds, n > 0.

We now compute the first elements in the sequence.

n = 0, y 1 (t) = 1 +

∫ (^) t

0

(2 y 0 (s) + 3) ds = 1 +

∫ (^) t

0

5 ds = 1 + 5t.

So y 0 = 1, and y 1 = 1 + 5t.

Review Exam 1; Not Covered in Exam 1

Example

Use the proof of Picard-Lindel¨of’s Theorem to find the solution to y ′^ = 2 y + 3 y (0) = 1.

Solution: Integral equation: y (t) = 1 +

∫ (^) t

0

(2 y (s) + 3) ds. And y 0 = 1, and y 1 = 1 + 5t. Let’s compute y 2 ,

y 2 = 1 +

∫ (^) t

0

(2 y 1 (s) + 3) ds = 1 +

∫ (^) t

0

2(1 + 5s) + 3

ds

y 2 = 1 +

∫ (^) t

0

5 + 10s

ds = 1 + 5t + 5t^2.

So we’ve got y 2 (t) = 1 + 5t + 5t^2.