MATH 220 SUPPLEMENTAL NOTES 15

DIFFERENTIABILITY, LINEARIZATION, AND DIFFERENTIALS

DIFFERENTIABILITY

To understand the topic of differentiability, we will start with the idea of increment. Consider the function of a single variable. If y = f (x) is differentiable at x = x 0, then the change in the values of f that results from changing x from x 0 to x 0 + D x is D y = f ' (x 0) D x + e D x in which e ® 0 as D x ® 0. For functions of two variables, the analogous property becomes the definition of differentiability.

THEOREM:

INCREMENT THEOREM FOR FUNCTIONS OF TWO VARIABLES

Suppose that the first partial derivatives of f (x, y) are defined throughout an open region R containing the point (x 0, y 0) and that f x and f y are continuous at (x 0, y 0). Then the change D z = f (x 0 + D x, y 0 + D y) - f (x 0, y 0) in the value of f that results from moving from (x0, y 0) to another point (x 0 + D x, y 0 + D y) in R satisfies an equation of the form

D z = f x (x 0, y 0)D x + f y (x 0, y 0)D y + e 1 D x + e 2 D y (§ )

in which e 1, e 2 ® 0 as D x, D y ® 0.

DEFINITION:

A function f (x, y) is differentiable at (x 0, y 0) if f x (x 0, y 0) and f y (x 0, y 0) exists and equation (§ ) holds for f at (x 0, y 0). We call f differentiable if it is differentiable at every point in the domain.

COROLLARY:

If the partial derivatives f x and f y of a function f (x, y) are continuous throughout an open region R, then f is differentiable at every point of R.

Now, if we replace D z with f (x, y) - f (x 0, y 0), we will have the following.

(§ § ) f (x, y) = f (x 0, y 0) + f x (x 0, y 0)D x + f y (x 0, y 0)D y + e 1 D x + e 2 D y

THEOREM:

If a function f (x, y) is differentiable at (x 0, y 0), then f is continuous at (x 0, y 0).

HOW TO LINEARIZE A FUNCTION OF TWO VARIABLES

Functions of two variables can be complicated to work with, so we would like to replace them with simpler ones with a given accuracy. Suppose z = f (x, y), we want a replacement to be effective near a point (x 0, y 0) at which we know the values of f, f x, f y, and at which f is differentiable.

Since f is differentiable, then equation (§ § ) holds for f at (x 0, y 0). Therefore, is we move from (x 0, y 0) to any point (x, y) by increments D x = x - x 0 and D y = y - y 0, the new value of f will be

f (x, y) = f (x 0, y 0) + f x (x 0, y 0)(x - x 0) + f y (x 0, y 0)(y - y 0) + e 1 D x + e 2 D y

where e 1, e 2 ® 0 as D x, D y ® 0.

If the increments D x and D y are small, then the products e 1 D x and e 2 D y will eventually be smaller still and

f (x, y) » f (x 0, y 0) + f x (x 0, y 0)(x - x 0) + f y (x 0, y 0)(y - y 0) = L (x, y).

This is the linearization of a function f (x, y) at a point (x 0, y 0).

EXAMPLE 1:

Find the linearization L (x, y) of the function f (x, y) = (x + y + 2) 2 at the point (1, 2).

SOLUTION:

f (1, 2) = (1 + 2 + 2) 2 = 25

f x = 2(x + y + 2)

f y = 2(x + y + 2)

f x (1, 2) = 2(1 + 2 + 2) = 10

f y (1, 2) = 2(1 + 2 + 2) = 10

L (x, y) = 25 + 10(x - 1) + 10(y - 2) = 25 + 10x - 10 + 10y - 20

=10x + 10y - 5

EXAMPLE 2:

Find the linearization L (x, y) of the function f (x, y) = x 2 + 3y 2 at the point (1, 2).

SOLUTION:

f (1, 2) = 1 + 3(4) = 13

f x = 2x

f y = 6y

f x (1, 2) = 2

f y (1, 2) = 12

L (x, y) = 13 + 2(x - 1) + 12(y -2) = 13 + 2x - 2 + 12y - 24

= 2x + 12y -13

EXAMPLE 3:

Find the linearization L (x, y) of the function f (x, y) = e 2 y - x at the point (0, 0).

SOLUTION:

f (0, 0) = e 0 = 1

f x = -e 2 y - x

f y = 2e 2 y - x

f x (0, 0) = -e 0 = -1

f y (0, 0) = 2e 0 = 2

L (x, y) = 1 - 1(x - 0) + 2(y - 0) = 1 - x + 2y

PREDICTING CHANGE WITH DIFFERENTIALS

Suppose we know the value of a differential function f (x, y) and its partial derivatives at a point (x 0, y 0), and we want to predict how much the value of f will change if we move to a point (x 0 + D x, y 0 + D y). If D x and D y are small, then f and its linearization at (x 0, y 0) will change by nearly the same amount. Therefore L will a practical estimate of the change in f.

D f = f (x 0 + D x, y 0 + D y) - f (x 0, y 0)

D L = L (x 0 + D x, y 0 + D y) - L (x 0, y 0) = f x (x 0, y 0) D x + f y (x 0, y 0) D y

The formula for D f is hard to work with, but D L is easier. D L is usually described in simpler terms.

DEFINITION:

If we move from (x 0, y 0) to a point (x 0 + dx, y 0 + dy) nearby. The resulting differential in f is

df = f x (x 0, y 0)dx + f y (x 0, y 0)dy.

The change in the linearization of f is called the total differential of f.

EXAMPLE 4a:

Around the point (1, 0) is f (x, y) = x 2 (y + 1) more sensitive to changes in x, or to changes in y? Give reasons for your answer.

SOLUTION:

f x = 2x(y + 1)

f x (1, 0) = 2(1) = 2

f y = x 2

f y (1, 0) = 1

df = 2dx + dy

df will be more sensitive to changes in x since the coefficient of the dx term is 2, whereas the coefficient of dy is 1.

EXAMPLE 4b:

What ratio of dx to dy will make df equal to zero at (1, 0)?

SOLUTION:

To determine the ratio of dx to dy that will make df equal zero at the given point, I will set df = 0 and solve for dx/dy.

ABSOLUTE, RELATIVE, AND PERCENTAGE CHANGE

When we move from (x 0, y 0) to a point nearby, we can describe the corresponding change in the values of a function f (x, y) in three different ways.

TRUE

ESTIMATE

ABSOLUTE CHANGE

D f

df

RELATIVE CHANGE

PERCENTAGE CHANGE:

EXAMPLE 5:

About how accurately may V = p r 2 h be calculated from measurements of r and h that are in error by 1%?

SOLUTION:

First of all, an error by 1% is a percentage change, so

Vr = 2p r h

Vh = p r 2

dV = 2p r h dr + p r 2 dh

I want to find the percentage change of V.

EXAMPLE 6:

To estimate the volume of a cylinder of radius about 2 m and height about 3 m, about how accurately should the radius and height be measured so that the error in the volume estimate will not exceed 0.1 m 3. Assume that the possible error dr in measuring r is equal to the possible error dh in measuring h.

SOLUTION:

V = p r 2 h

Vr = 2p r h

Vh = p r 2

dV = Vr dr + Vhdh = 2p r h dr + p r 2 dr = (2p r h + p r 2) dr

We are given that dV £ 0.1 m 3 and r = 2 and h = 3.

(2p (2)(3) + p (2) 2) dr £ 0.1

16p dr £ 0.1

dr £ 0.1/(16p ) » 0.002 m or | dr | = | dh | £ 0.002 m

FUNCTIONS OF MORE THAN TWO VARIABLES

FACT:

The linearization of f (x, y, z) at a point P0 (x 0, y 0, z 0) is

L (x, y, z) = f (P0) + f x (P0)(x - x 0) + f y (P0)(y - y 0) + f z (P0)(z - z 0).

FACT:

The total differential is df = f x (P0)dx + f y (P0)dy + f z (P0)dz.

EXAMPLE 7:

Find the linearization L (x, y, z) of the function f (x, y, z) = tan -1 (xyz) at (1, 1, 1).

SOLUTION:

f (1, 1, 1) = tan -1 1 = p /4.

L (x, y, z) = p /4 + (1/2)(x - 1) + (1/2)(y - 1) + (1/2)(z - 1)

= p /4 -1.5 + 0.5x + 0.5y + 0.5z

EXAMPLE 8:

Find the linearization L (x, y, z) of the function

f (x, y, z) = e x + cos (y + z)

at (0, p /2, 0).

SOLUTION:

f (0, p /2, 0) = e 0 + cos (p /2 + 0) = 1

 

f x = e x

f y = -sin (y + z)

f z = -sin (y + z)

f x (0, p /2, 0) = 1

f y (0, p /2, 0) = -sin (p /2 + 0) = -1

f z (0, p /2, 0) = -sin (p /2 + 0) = -1

 

L (x, y, z) = 1 + 1(x - 0) - 1(y - p /2) - 1(z - 0)

= 1 + x - y + p /2 - z = 1 + p /2 + x - y - z

As you can see, the concept of linearization and differential can be used to approximate the value of a function of many variables and the error in measurement. These two topics are useful in engineering and science, where accuracy is important. Work through the examples in this set of supplemental notes, and if you have any questions, please feel free to contact me.

RETURN TO INDEX