Docsity

Exact Differential Equations, Lecture notes of Differential Equations

Toggle sidebar
bg1
SECTION 15.1 Exact First-Order Equations 1093
Exact Differential Equations • Integrating Factors
Exact Differential Equations
In Section 5.6, you studied applications of differential equations to growth and decay
problems. In Section 5.7, you learned more about the basic ideas of differential equa-
tions and studied the solution technique known as separation of variables. In this
chapter, you will learn more about solving differential equations and using them in
real-life applications. This section introduces you to a method for solving the first-
order differential equation
for the special case in which this equation represents the exact differential of a
function
From Section 12.3, you know that if fhas continuous second partials, then
This suggests the following test for exactness.
Exactness is a fragile condition in the sense that seemingly minor alterations in
an exact equation can destroy its exactness. This is demonstrated in the following
example.
M
y5
2
f
yx5
2
f
xy5N
x.
z5f
s
x, y
d
.
M
s
x, y
d
dx 1N
s
x, y
d
dy 50
15.1
SECTION Exact First-Order Equations
Definition of an Exact Differential Equation
The equation is an exact differential equation if
there exists a function fof two variables xand yhaving continuous partial deriv-
atives such that
and
The general solution of the equation is f
s
x, y
d
5C.
f
y
s
x, y
d
5N
s
x, y
d
.f
x
s
x, y
d
5M
s
x, y
d
M
s
x, y
d
dx 1N
s
x, y
d
dy 50
THEOREM 15.1 Test for Exactness
Let Mand Nhave continuous partial derivatives on an open disc R. The differen-
tial equation is exact if and only if
M
y5N
x.
M
s
x, y
d
dx 1N
s
x, y
d
dy 50
pf3
pf4
pf5

Partial preview of the text

Download Exact Differential Equations and more Lecture notes Differential Equations in PDF only on Docsity!

SECTION 15.1 Exact First-Order Equations 1093

Exact Differential Equations • Integrating Factors

Exact Differential Equations

In Section 5.6, you studied applications of differential equations to growth and decay

problems. In Section 5.7, you learned more about the basic ideas of differential equa-

tions and studied the solution technique known as separation of variables. In this

chapter, you will learn more about solving differential equations and using them in

real-life applications. This section introduces you to a method for solving the first-

order differential equation

for the special case in which this equation represents the exact differential of a

function

From Section 12.3, you know that if f has continuous second partials, then

This suggests the following test for exactness.

Exactness is a fragile condition in the sense that seemingly minor alterations in

an exact equation can destroy its exactness. This is demonstrated in the following

example.

≠M

≠y

≠^2 f

≠y≠x

≠^2 f

≠x≠y

≠N

≠x

z 5 f sx, yd.

Msx, yd dx 1 Nsx, yd dy 5 0

S E C T I O N (^) 15.1 Exact First-Order Equations

Definition of an Exact Differential Equation

The equation is an exact differential equation if

there exists a function f of two variables x and y having continuous partial deriv-

atives such that

and

The general solution of the equation is f sx, yd 5 C.

fxsx, yd 5 Msx, yd fysx, yd 5 Nsx, yd.

Msx, yd dx 1 Nsx, yd dy 5 0

THEOREM 15.1 Test for Exactness

Let M and N have continuous partial derivatives on an open disc R. The differen-

tial equation is exact if and only if

≠M

≠y

≠N

≠x

Msx, yd dx 1 Nsx, yd dy 5 0

1094 CHAPTER 15 Differential Equations

EXAMPLE 1 Testing for Exactness

a. The differential equation is exact because

and

But the equation is not exact, even though it is obtained

by dividing both sides of the first equation by x.

b. The differential equation is exact because

and

But the equation is not exact, even though it

differs from the first equation only by a single sign.

Note that the test for exactness of is the same as the

test for determining whether is the gradient of a poten-

tial function (Theorem 14.1). This means that a general solution to an

exact differential equation can be found by the method used to find a potential

function for a conservative vector field.

EXAMPLE 2 Solving an Exact Differential Equation

Solve the differential equation

Solution The given differential equation is exact because

The general solution, is given by

In Section 14.1, you determined by integrating with respect to y and

reconciling the two expressions for An alternative method is to partially

differentiate this version of with respect to y and compare the result with

In other words,

Thus, and it follows that Therefore,

and the general solution is Figure 15.1 shows the solution curves

that correspond to C 5 1,10, 100, and 1000.

x^2 y 2 x^3 2 y^2 5 C.

f sx, yd 5 x^2 y 2 x^3 2 y^2 1 C 1

g 9 syd 5 2 2 y, gsyd 5 2y^2 1 C 1.

g 9 syd 5 2 2 y

fysx, yd 5

≠y

fx^2 y 2 x^3 1 gsydg 5 x^2 1 g 9 syd 5 x^2 2 2 y.

Nsx, yd

Nsx, yd.

f sx, yd

f sx, yd.

gsyd Nsx, yd

5 E s 2 xy 2 3 x^2 d dx 5 x^2 y 2 x^3 1 gsyd.

f sx, yd 5 E Msx, yd dx

f sx, yd 5 C,

≠M

≠y

≠y

f 2 xy 2 3 x^2 g 5 2 x 5

≠N

≠x

≠x

fx^2 2 2 yg.

s 2 xy 2 3 x^2 d dx 1 sx^2 2 2 yd dy 5 0.

f sx, yd 5 C

F sx, yd 5 Msx, yd i 1 Nsx, yd j

Msx, yd dx 1 Nsx, yd dy 5 0

cos y dx 1 sy^2 1 x sin yd dy 5 0

≠N

≠x

≠x

f y^2 2 x sin yg 5 2sin y.

≠M

≠y

≠y

fcos yg 5 2sin y

cos y dx 1 sy^2 2 x sin yd dy 5 0

sy^2 1 1 d dx 1 xy dy 5 0

≠N

≠x

≠x

f yx^2 g 5 2 xy.

≠M

≠y

≠y

fxy^2 1 xg 5 2 xy

sxy^2 1 xd dx 1 yx^2 dy 5 0

x

y

− 4 4 8

8

− 8 12

12

16

20

24

− 12

C = 1

C = 10

C = 100

C = 1000

Figure 15.

NOTE Every differential equation of the form

is exact. In other words, a separable vari- ables equation is actually a special type of an exact equation.

Msxd dx 1 Nsyd dy 5 0

1096 CHAPTER 15 Differential Equations

Integrating Factors

If the differential equation is not exact, it may be possi-

ble to make it exact by multiplying by an appropriate factor which is called an

integrating factor for the differential equation.

EXAMPLE 4 Multiplying by an Integrating Factor

a. If the differential equation

Not an exact equation

is multiplied by the integrating factor the resulting equation

Exact equation

is exact—the left side is the total differential of

b. If the equation

Not an exact equation

is multiplied by the integrating factor the resulting equation

Exact equation

is exact—the left side is the total differential of

Finding an integrating factor can be difficult. However, there are two classes of

differential equations whose integrating factors can be found routinely—namely,

those that possess integrating factors that are functions of either x alone or y alone.

The following theorem, which we present without proof, outlines a procedure for

finding these two special categories of integrating factors.

STUDY TIP If either or is constant, Theorem 15.2 still applies. As an aid to remembering these formulas, note that the subtracted partial derivative identifies both the denominator and the variable for the integrating factor.

hsxd ks yd

xyy.

y

dx 2

x

y^2

dy 5 0

usx, yd 5 1 yy^2 ,

y dx 2 x dy 5 0

x^2 y.

2 xy dx 1 x^2 dy 5 0

usx, yd 5 x,

2 y dx 1 x dy 5 0

usx, yd,

Msx, yd dx 1 Nsx, yd dy 5 0

THEOREM 15.2 Integrating Factors

Consider the differential equation

1. If

is a function of x alone, then is an integrating factor.

2. If

is a function of y alone, then eeksyd^ dyis an integrating factor.

Msx, yd

fNxsx, yd 2 Mysx, ydg 5 ksyd

eehsxd^ dx

Nsx, yd

fMysx, yd 2 Nxsx, ydg 5 hsxd

Msx, yd dx 1 Nsx, yd dy 5 0.

SECTION 15.1 Exact First-Order Equations 1097

EXAMPLE 5 Finding an Integrating Factor

Solve the differential equation

Solution The given equation is not exact because and

However, because

it follows that is an integrating factor. Multiplying the given

differential equation by produces the exact differential equation

whose solution is obtained as follows.

Therefore, and which implies that

The general solution is or

In the next example, we show how a differential equation can help in sketching a

force field given by

EXAMPLE 6 An Application to Force Fields

Sketch the force field given by

by finding and sketching the family of curves tangent to F.

Solution At the point in the plane, the vector has a slope of

which, in differential form, is

From Example 5, we know that the general solution of this differential equation is

or Figure 15.4 shows several representa-

tive curves from this family. Note that the force vector at is tangent to the curve

passing through sx, yd.

sx, yd

y^2 2 x 1 1 5 Ce^2 x, y^2 5 x 2 1 1 Ce^2 x.

sy^2 2 xd dx 1 2 y dy 5 0.

2 y dy 5 2sy^2 2 xd dx

dy

dx

2 sy^2 2 xdy!x^2 1 y^2

2 yy!x^2 1 y^2

2 sy^2 2 xd

2 y

sx, yd F sx, yd

F sx, yd 5

2 y

!x^2 1 y^2

i 2

y^2 2 x

!x^2 1 y^2

j

F sx, yd 5 Msx, yd i 1 Nsx, yd j.

y^2 e x^2 xe x^1 e x^5 C, y^2 2 x 1 1 5 Ce^2 x.

f sx, yd 5 y^2 e x^2 xe x^1 e x^1 C 1.

g 9 sxd 5 2xe x gsxd 5 2xe x^1 e x^1 C 1 ,

g 9 sxd 5 2xe x

fxsx, yd 5 y^2 e x^1 g 9 sxd 5 y^2 e x^2 xe x

Msx, yd

f sx, yd 5 E Nsx, yd dy 5 E 2 ye x^ dy 5 y^2 e x^1 gsxd

sy^2 e x^2 xe xd dx 1 2 ye x^ dy 5 0

e x

eehsxd^ dx^5 ee^ dx^5 e x

Mysx, yd 2 Nxsx, yd Nsx, yd

2 y 2 0

2 y

5 1 5 hsxd

Mysx, yd 5 2 y Nxsx, yd 5 0.

sy^2 2 xd dx 1 2 y dy 5 0.

3

2

3 1

2 3

y

x

j

x 2

y x

2 2 2 i 2

2 x

F ( x ,, )

Force field: y

y

rvesto F :. e

c x

oftngen u 1

il a 2

am y

F x

y C

t

y y

Figure 15.

In Exercises 37 and 38, find an equation for the curve with the specified slope passing through the given point.

39. Cost If represents the cost of producing x units in a

manufacturing process, the elasticity of cost is defined as

Find the cost function if the elasticity function is

where and

40. Euler’s Method Consider the differential equation

with the initial condition At any point in the domain of F , yields the slope of the solu- tion at that point. Euler’s Method gives a discrete set of esti- mates of the y values of a solution of the differential equation using the iterative formula

where (a) Write a short paragraph describing the general idea of how Euler’s Method works. (b) How will decreasing the magnitude of affect the accu- racy of Euler’s Method?

41. Euler’s Method Use Euler’s Method (see Exercise 40) to

approximate for the values of given in the table if and (Note that the number of iterations increases as decreases.) Sketch a graph of the approximate solution on the direction field in the figure.

The value of accurate to three decimal places, is 4.213.

42. Programming Write a program for a graphing utility or

computer that will perform the calculations of Euler’s Method for a specified differential equation, interval, and initial condition. The output should be a graph of the discrete points approximating the solution.

Euler’s Method In Exercises 43–46, (a) use the program of

Exercise 42 to approximate the solution of the differential equa- tion over the indicated interval with the specified value of and the initial condition, (b) solve the differential equation analytically, and (c) use a graphing utility to graph the particu- lar solution and compare the result with the graph of part (a).

Differential Initial

47. Euler’s Method Repeat Exercise 45 for and

discuss how the accuracy of the result changes.

48. Euler’s Method Repeat Exercise 46 for and

discuss how the accuracy of the result changes.

True or False? In Exercises 49–52, determine whether the

statement is true or false. If it is false, explain why or give an example that shows it is false.

49. The differential equation is exact. 50. If is exact, then is also exact. 51. If is exact, then is also exact. 52. The differential equation f sxd dx 1 gs yd dy 5 0 is exact.

Ng dy 5 0

M dx 1 N dy 5 0 f f sxd 1 M g dx 1 fgs yd 1

M dx 1 N dy 5 0 xM dx 1 xN dy 5 0

2 xy dx 1 s y^2 2 x^2 d dy 5 0

Dx 5 0.

Dx 5 1

y 9 5 f0, 5g ys 0 d 5 1

6 x 1 y^2 ys 3 y 2 2 xd

y 9 5 f2, 4g ys 2 d 5 1

2 xy x^2 1 y^2

y 9 5 f 2 1, 1g ys 21 d 5 2 1

p 4

s y^2 1 1 d

y 9 5 x!^3 y f1, 2g ys 1 d 5 1

Equation Interval Dx Condition

D x

Dx,

x

y

− 4 − 3 − 2 − 1 1 2

5 4 3 2 1

ys 1 d,

Dx

y 9 5 x 1 !y ys 0 d 5 2.

ys 1 d Dx

Dx

Dx 5 xk 11 2 xk.

yk 11 5 yk 1 Fsxk , ykd Dx

sxk , ykd Fsxk , ykd

y 9 5 Fsx, yd ysx 0 d 5 y 0.

Cs 100 d 5 500 x ≥ 100.

Esxd 5

20 x 2 y 2 y 2 10 x

Esxd 5

marginal cost average cost

C 9 sxd Csxdyx

x y

dy dx

y 5 Csxd

s0, 2d

dy dx

22 xy x^2 1 y^2

dy s2, 1d dx

5 y^2 x 3 y 2 x

Slope Point

Estimate of y s 1 d

D x

SECTION 15.1 Exact First-Order Equations 1099