1 of 24

Copyright © Cengage Learning. All rights reserved.

Differential Equations

1

1

2 of 24

Copyright © Cengage Learning. All rights reserved.

Separable Equations

2

2

3 of 24

Separable Equations

A separable equation is a first-order differential equation in which the expression for dy/dx can be factored as a function of x times a function of y.

In other words, it can be written in the form

The name separable comes from the fact that the expression on the right side can be “separated” into a function of x and a function of y.

3

3

4 of 24

Separable Equations

Equivalently, if f (y) 0, we could write

where h(y) = 1/f (y).

To solve this equation we rewrite it in the differential form

h(y) dy = g(x) dx

so that all y’s are on one side of the equation and all x’s are on the other side.

4

4

5 of 24

Separable Equations

Then we integrate both sides of the equation:

Equation 2 defines y implicitly as a function of x. In some cases we may be able to solve for y in terms of x.

5

5

6 of 24

Separable Equations

We use the Chain Rule to justify this procedure: If h and g satisfy (2), then

so

and

Thus Equation 1 is satisfied.

6

6

7 of 24

Example 1

(a) Solve the differential equation

(b) Find the solution of this equation that satisfies the initial

condition y(0) = 2.

Solution:

(a) We write the equation in terms of differentials and

integrate both sides:

y2 dy = x2 dx

7

7

8 of 24

Example 1 – Solution

where C is an arbitrary constant. (We could have used a constant C1 on the left side and another constant C2 on the right side. But then we could combine these constants by writing C = C2C1.)

Solving for y, we get

cont’d

8

8

9 of 24

Example 1 – Solution

We could leave the solution like this or we could write it� in the form

where K = 3C. (Since C is an arbitrary constant, so is

K.)

(b) If we put x = 0 in the general solution in part (a),

we get

To satisfy the initial condition y(0) = 2, we must have

and so K = 8.

Thus the solution of the initial-value problem is

cont’d

9

9

10 of 24

Orthogonal Trajectories

10

10

11 of 24

Orthogonal Trajectories

An orthogonal trajectory of a family of curves is a curve that intersects each curve of the family orthogonally, that is, at right angles (see Figure 7).

Figure 7

11

11

12 of 24

Orthogonal Trajectories

For instance, each member of the family y = mx of straight lines through the origin is an orthogonal trajectory of the�family x2 + y2 = r2 of concentric circles with center the origin (see Figure 8). We say that the two families are orthogonal trajectories of each other.

Figure 8

12

12

13 of 24

Example 5

Find the orthogonal trajectories of the family of curves x = ky2, where is k an arbitrary constant.

Solution:

The curves x = ky2 form a family of parabolas whose axis of symmetry is the x-axis.

The first step is to find a single differential equation that is satisfied by all members of the family.

13

13

14 of 24

Example 5 – Solution

If we differentiate x = ky2, we get

This differential equation depends on k, but we need an equation that is valid for all values of k simultaneously.

To eliminate k we note that, from the equation of the given general parabola x = ky2, we have k = x/y2 and so the

differential equation can be written as

or

cont’d

14

14

15 of 24

Example 5 – Solution

This means that the slope of the tangent line at any point (x, y) on one of the parabolas is y ′ = y/(2x).

On an orthogonal trajectory the slope of the tangent line must be the negative reciprocal of this slope.

Therefore the orthogonal trajectories must satisfy the differential equation

This differential equation is separable, and we solve it as follows:

cont’d

15

15

16 of 24

Example 5 – Solution

where C is an arbitrary

positive constant.

Thus the orthogonal trajectories

are the family of ellipses

given by Equation 4 and

sketched in Figure 9.

cont’d

Figure 9

16

16

17 of 24

Mixing Problems

17

17

18 of 24

Mixing Problems

A typical mixing problem involves a tank of fixed capacity filled with a thoroughly mixed solution of some substance, such as salt.

A solution of a given concentration enters the tank at a fixed rate and the mixture, thoroughly stirred, leaves at a fixed rate, which may differ from the entering rate.

If y(t) denotes the amount of substance in the tank at time t, then y ′(t) is the rate at which the substance is being added minus the rate at which it is being removed.

18

18

19 of 24

Mixing Problems

The mathematical description of this situation often leads to a first-order separable differential equation.

We can use the same type of reasoning to model a variety of phenomena: chemical reactions, discharge of pollutants into a lake, injection of a drug into the bloodstream.

19

19

20 of 24

Example 6

A tank contains 20 kg of salt dissolved in 5000 L of water. Brine that contains 0.03 kg of salt per liter of water enters the tank at a rate of 25 L/min. The solution is kept thoroughly mixed and drains from the tank at the same rate. How much salt remains in the tank after half an hour?

Solution:

Let y(t) be the amount of salt (in kilograms) after t minutes.

We are given that y(0) = 20 and we want to find y(30). We do this by finding a differential equation satisfied by y(t).

20

20

21 of 24

Example 6 – Solution

Note that dy/dt is the rate of change of the amount of salt, so

where (rate in) is the rate at which salt enters the tank and (rate out) is the rate at which salt leaves the tank.

We have

The tank always contains 5000 L of liquid, so the concentration at time t is y(t)/5000 (measured in kilograms per liter).

cont’d

21

21

22 of 24

Example 6 – Solution

Since the brine flows out at a rate of 25 L/min, we have

Thus, from Equation 5, we get

Solving this separable differential equation, we obtain

cont’d

22

22

23 of 24

Example 6 – Solution

Since y(0) = 20, we have –ln 130 = C, so

Therefore

| 150 – y | = 130et/200

Since y(t) is continuous and y(0) = 20 and the right side is never 0, we deduce that 150 – y(t) is always positive.

cont’d

23

23

24 of 24

Example 6 – Solution

Thus | 150 – y | = 150 – y and so

y (t) = 150 – 130et/200

The amount of salt after 30 min is

y (30) = 150 – 130e–30/200

≈ 38.1kg

cont’d

24

24