+ All Categories
Home > Documents > PARTIAL DERIVATIVES 15. 2 15.3 Partial Derivatives In this section, we will learn about: Various...

PARTIAL DERIVATIVES 15. 2 15.3 Partial Derivatives In this section, we will learn about: Various...

Date post: 21-Dec-2015
Category:
View: 246 times
Download: 0 times
Share this document with a friend
96
PARTIAL DERIVATIVES PARTIAL DERIVATIVES 15
Transcript

PARTIAL DERIVATIVESPARTIAL DERIVATIVES

15

2

15.3Partial Derivatives

In this section, we will learn about:

Various aspects of partial derivatives.

PARTIAL DERIVATIVES

3

INTRODUCTION

On a hot day, extreme humidity makes us

think the temperature is higher than it really is.

In very dry air, though, we perceive

the temperature to be lower than

the thermometer indicates.

4

The National Weather Service (NWS) has

devised the heat index to describe the

combined effects of temperature and humidity.

This is also called the temperature-humidity index, or humidex, in some countries.

HEAT INDEX

5

The heat index I is the perceived air

temperature when the actual temperature

is T and the relative humidity is H.

So, I is a function of T and H.

We can write I = f(T, H).

HEAT INDEX

6

HEAT INDEX

This table of values of I is an excerpt

from a table compiled by the NWS.

Table 15.3.1, p. 914

7

HEAT INDEX

Let’s concentrate on the highlighted column. It corresponds to a relative humidity of H = 70%. Then, we are considering the heat index as a function

of the single variable T for a fixed value of H.

Table 15.3.1, p. 914

8

Let’s write g(T) = f(T, 70).

Then, g(T) describes:

How the heat index I increases as the actual temperature T increases when the relative humidity is 70%.

HEAT INDEX

9

The derivative of g when T = 96°F is

the rate of change of I with respect to T

when T = 96°F:

0

0

(96 ) (96)'(96) lim

(96 ,70) (96,70)lim

h

h

g h gg

hf h f

h

HEAT INDEX

10

We can approximate g’(96) using the values

in the table by taking h = 2 and –2.

(98) (96) (98,70) (96,70)'(96)

2 2133 125

42

g g f fg

HEAT INDEX

(94) (96) (94,70) (96,70)'(96)

2 2118 125

3.52

g g f fg

11

Averaging those values, we can say that

the derivative g’(96) is approximately 3.75

This means that:

When the actual temperature is 96°F and the relative humidity is 70%, the apparent temperature (heat index) rises by about 3.75°F for every degree that the actual temperature rises!

HEAT INDEX

12

HEAT INDEX

Now, let’s look at the highlighted row.

It corresponds to a fixed temperature of T = 96°F.

Table 15.3.1, p. 914

13

The numbers in the row are values

of the function G(H) = f(96, H).

This describes how the heat index increases as the relative humidity H increases when the actual temperature is T = 96°F.

HEAT INDEX

14

The derivative of this function when H = 70%

is the rate of change of I with respect to H

when H = 70%:

0

0

(70 ) (70)'(70) lim

(96,70 ) (96,70)lim

h

h

G h GG

hf h f

h

HEAT INDEX

15

By taking h = 5 and –5, we approximate G’(70)

using the tabular values:

(75) (70) (96,75) (96,70)'(70)

5 5130 125

15

G G f fG

HEAT INDEX

(65) (70) (96,65) (96,70)'(70)

5 5121 125

0.85

G G f fG

16

By averaging those values, we get

the estimate G’(70) ≈ 0.9

This says that:

When the temperature is 96°F and the relative humidity is 70%, the heat index rises about 0.9°F for every percent that the relative humidity rises.

HEAT INDEX

17

PARTIAL DERIVATIVES

In general, if f is a function of two variables

x and y, suppose we let only x vary while

keeping y fixed, say y = b, where b is

a constant.

Then, we are really considering a function of a single variable x:

g(x) = f(x, b)

18

If g has a derivative at a, we call it the partial

derivative of f with respect to x at (a, b).

We denote it by:

fx(a, b)

PARTIAL DERIVATIVE

19

Thus,

fx(a, b) = g’(a)

where g(x) = f(a, b)

Equation 1 PARTIAL DERIVATIVE

20

By the definition of a derivative,

we have:

0

( ) ( )'( ) lim

h

g a h g ag a

h

PARTIAL DERIVATIVE

21

So, Equation 1 becomes:

PARTIAL DERIVATIVE

0

( , ) ( , )( , ) limx

h

f a h b f a bf a b

h

Equation 2

22

Similarly, the partial derivative of f with

respect to y at (a, b), denoted by fy(a, b),

is obtained by:

Keeping x fixed (x = a)

Finding the ordinary derivative at b of the function G(y) = f(a, y)

PARTIAL DERIVATIVE

23

0

( , ) ( , )( , ) limy

h

f a b h f a bf a b

h

Equation 3 PARTIAL DERIVATIVE

Thus,

24

With that notation for partial derivatives,

we can write the rates of change of the heat

index I with respect to the actual temperature

T and relative humidity H when T = 96°F

and H = 70% as:

fT(96, 70) ≈ 3.75 fH(96, 70) ≈ 0.9

PARTIAL DERIVATIVES

25

If we now let the point (a, b) vary

in Equations 2 and 3, fx and fy become

functions of two variables.

PARTIAL DERIVATIVES

26

If f is a function of two variables, its

partial derivatives are the functions fx and fy

defined by:

0

0

( , ) ( , )( , ) lim

( , ) ( , )( , ) lim

xh

yh

f x h y f x yf x y

hf x y h f x y

f x yh

Equations 4 PARTIAL DERIVATIVES

27

There are many alternative notations

for partial derivatives.

For instance, instead of fx, we can write f1 or D1f (to indicate differentiation with respect to the first variable) or ∂f/∂x.

However, here, ∂f/∂x can’t be interpreted as a ratio of differentials.

NOTATIONS

28

If z = f(x, y), we write:

1 1

2 2

( , ) ( , )

( , ) ( , )

x x

x

y y

y

f zf x y f f x y

x x xf D f D f

f zf x y f f x y

y y y

f D f D f

NOTATIONS FOR PARTIAL DERIVATIVES

29

PARTIAL DERIVATIVES

To compute partial derivatives, all we

have to do is:

Remember from Equation 1 that the partial derivative with respect to x is just the ordinary derivative of the function g of a single variable that we get by keeping y fixed.

30

RULE TO FIND PARTIAL DERIVATIVES OF z = f(x, y)

Thus, we have this rule.

1. To find fx, regard y as a constant and

differentiate f(x, y) with respect to x.

2. To find fy, regard x as a constant and

differentiate f(x, y) with respect to y.

31

If

f(x, y) = x3 + x2y3 – 2y2

find

fx(2, 1) and fy(2, 1)

Example 1 PARTIAL DERIVATIVES

32

Holding y constant and differentiating with

respect to x, we get:

fx(x, y) = 3x2 + 2xy3

Thus, fx(2, 1) = 3 . 22 + 2 . 2 . 13

= 16

Example 1 PARTIAL DERIVATIVES

33

Holding x constant and differentiating with

respect to y, we get:

fy(x, y) = 3x2y2 – 4y

Thus, fy(2, 1) = 3 . 22 . 12 – 4 . 1

= 8

Example 1 PARTIAL DERIVATIVES

34

GEOMETRIC INTERPRETATION

To give a geometric interpretation of partial

derivatives, we recall that the equation

z = f(x, y) represents a surface S (the graph

of f).

If f(a, b) = c, then the point P(a, b, c) lies on S.

Fig. 15.3.1, p. 917

35

GEOMETRIC INTERPRETATION

By fixing y = b, we are restricting our attention

to the curve C1 in which the vertical plane

y = b intersects S.

That is, C1 is the trace of S in the plane y = b.

Fig. 15.3.1, p. 917

36

Likewise, the vertical plane x = a intersects S

in a curve C2.

Both the curves

C1 and C2 pass

through P.

GEOMETRIC INTERPRETATION

Fig. 15.3.1, p. 917

37

Notice that the curve C1 is the graph of

the function g(x) = f(x, b).

So, the slope of its tangent T1 at P is: g’(a) = fx(a, b)

GEOMETRIC INTERPRETATION

Fig. 15.3.1, p. 917

38

The curve C2 is the graph of the function

G(y) = f(a, y).

So, the slope of its tangent T2 at P is: G’(b) = fy(a, b)

GEOMETRIC INTERPRETATION

Fig. 15.3.1, p. 917

39

Thus, the partial derivatives fx(a, b) and fy(a, b)

can be interpreted geometrically as:

The slopes of the tangent lines at P(a, b, c) to the traces C1 and C2 of S in the planes y = b and x = a.

GEOMETRIC INTERPRETATION

Fig. 15.3.1, p. 917

40

INTERPRETATION AS RATE OF CHANGE

As seen in the case of the heat index function,

partial derivatives can also be interpreted as

rates of change.

If z = f(x, y), then ∂z/∂x represents the rate of change of z with respect to x when y is fixed.

Similarly, ∂z/∂y represents the rate of change of z with respect to y when x is fixed.

41

If

f(x, y) = 4 – x2 – 2y2

find fx(1, 1) and fy(1, 1) and

interpret these numbers as slopes.

Example 2 GEOMETRIC INTERPRETATION

42

We have:

fx(x, y) = -2x fy(x, y) = -4y

fx(1, 1) = -2 fy(1, 1) = -4

Example 2 GEOMETRIC INTERPRETATION

43

GEOMETRIC INTERPRETATION

The graph of f is the

paraboloid

z = 4 – x2 – 2y2

The vertical plane

y = 1 intersects it in

the parabola

z = 2 – x2, y = 1. As discussed,

we label it C1.

Example 2

Fig. 15.3.2, p. 918

44

GEOMETRIC INTERPRETATION

The slope of the tangent

line to this parabola at

the point (1, 1, 1) is:

fx(1, 1) = -2

Example 2

Fig. 15.3.2, p. 918

45

GEOMETRIC INTERPRETATION

Similarly, the curve C2 in

which the plane

x = 1 intersects the

paraboloid is the

parabola z = 3 – 2y2, x =

1.

The slope of the tangent line at (1, 1, 1) is:

fy(1, 1) = – 4

Example 2

Fig. 15.3.3, p. 918

46

GEOMETRIC INTERPRETATION

This is a computer-drawn counterpart to

the first figure in Example 2. The first part shows the plane y = 1 intersecting

the surface to form the curve C1.

The second part shows C1 and T1.

Fig. 15.3.4a, p. 918 Fig. 15.3.4b, p. 918

47

We have used the vector equations:

r(t) = <t, 1, 2 – t2> for C1

r(t) = <1 + t, 1, 1 – 2t> for T1

GEOMETRIC INTERPRETATION

Fig. 15.3.4a, p. 918 Fig. 15.3.4b, p. 918

48

GEOMETRIC INTERPRETATION

Similarly, this figure

corresponds to

the second figure in

Example 2.

Fig. 15.3.5, p. 918

49

If

calculate

( , ) sin1

and

xf x y

y

f f

x y

Example 3 PARTIAL DERIVATIVES

50

Using the Chain Rule for functions of one

variable, we have:

2

1cos cos

1 1 1 1

cos cos1 1 1 1

f x x x

x y x y y y

f x x x x

y y y y y y

Example 3 PARTIAL DERIVATIVES

51

Find ∂z/∂x and ∂z/∂y if z is defined implicitly

as a function of x and y by the equation

x3 + y3 + z3 + 6xyz = 1

Example 4 PARTIAL DERIVATIVES

52

To find ∂z/∂x, we differentiate implicitly

with respect to x, being careful to treat y

as a constant:

Solving for ∂z/∂x, we obtain:

2 23 3 6 6 0z z

x z yz xyx x

Example 4 PARTIAL DERIVATIVES

2

2

2

2

z x yz

x z xy

53

Similarly, implicit differentiation with

respect to y gives:

2

2

2

2

z y xz

y z xy

Example 4 PARTIAL DERIVATIVES

54

PARTIAL DERIVATIVES

Some computer algebra systems can plot

surfaces defined by implicit equations in

three variables.

The figure shows such a plot of the surface defined by the equation in Example 4.

Fig. 15.3.6, p. 919

55

FUNCTIONS OF MORE THAN TWO VARIABLES

Partial derivatives can also be defined

for functions of three or more variables.

For example, if f is a function of three variables x, y, and z, then its partial derivative with respect to x is defined as:

0

( , , ) ( , , )( , , ) limx

h

f x h y z f x y zf x y z

h

56

It is found by:

Regarding y and z as constants.

Differentiating f(x, y, z) with respect to x.

FUNCTIONS OF MORE THAN TWO VARIABLES

57

If w = f(x, y, z), then fx = ∂w/∂x can be

interpreted as the rate of change of w with

respect to x when y and z are held fixed.

However, we can’t interpret it geometrically since the graph of f lies in four-dimensional space.

FUNCTIONS OF MORE THAN TWO VARIABLES

58

In general, if u is a function of n variables,

u = f(x1, x2, . . ., xn), its partial derivative with

respect to the i th variable xi is:

1 1 1 1

0

( ,..., , , ,..., ) ( ,..., ,..., )lim

i

i i i n i n

h

u

x

f x x x h x x f x x x

h

FUNCTIONS OF MORE THAN TWO VARIABLES

59

Then, we also write:

ix i ii i

u ff f D f

x x

FUNCTIONS OF MORE THAN TWO VARIABLES

60

MULTIPLE VARIABLE FUNCTIONS

Find fx, fy, and fz if f(x, y, z) = exy ln z

Holding y and z constant and differentiating with respect to x, we have:

fx = yexy ln z

Similarly, fy = xexy ln z fz = exy/z

Example 5

61

If f is a function of two variables, then

its partial derivatives fx and fy are also

functions of two variables.

HIGHER DERIVATIVES

62

So, we can consider their partial derivatives

(fx)x , (fx)y , (fy)x , (fy)y

These are called the second

partial derivatives of f.

SECOND PARTIAL DERIVATIVES

63

If z = f(x, y), we use the following notation:2 2

11 2 2

2 2

12

2 2

21

2 2

22 2 2

( )

( )

( )

( )

x x xx

x y xy

y x yx

y y yy

f f zf f f

x x x x

f f zf f f

y x y x y x

f f zf f f

x y x y x y

f f zf f f

y y y y

NOTATION

64

Thus, the notation fxy (or ∂2f/∂y∂x) means

that we first differentiate with respect to x

and then with respect to y.

In computing fyx , the order is reversed.

SECOND PARTIAL DERIVATIVES

65

Find the second partial derivatives

of

f(x, y) = x3 + x2y3 – 2y2

In Example 1, we found that:

fx(x, y) = 3x2 + 2xy3 fy(x, y) = 3x2y2 – 4y

Example 6 SECOND PARTIAL DERIVATIVES

66

Hence,

2 3 3

2 3 2

2 2 2

2 2 2

3 2 6 2

3 2 6

3 4 6

3 4 6 4

xx

xy

yx

yy

f x xy x yx

f x xy xyy

f x y y xyx

f x y y x yy

Example 6 SECOND PARTIAL DERIVATIVES

67

The figure shows the graph of the function f

in Example 6 for:

–2 ≤ x ≤ 2, – 2 ≤ y ≤ 2

SECOND PARTIAL DERIVATIVES

Fig. 15.3.7, p. 921

68

These show the graphs of its first-order

partial derivatives.

SECOND PARTIAL DERIVATIVES

Fig. 15.3.7, p. 921

69

These show the graphs

of its second-order

partial derivatives.

SECOND PARTIAL DERIVATIVES

Fig. 15.3.7, p. 921

70

Notice that fxy = fyx in Example 6.

This is not just a coincidence.

It turns out that the mixed partial derivatives fxy and fyx are equal for most functions that one meets in practice.

SECOND PARTIAL DERIVATIVES

71

The following theorem, discovered by

the French mathematician Alexis Clairaut

(1713–1765), gives conditions under which

we can assert that fxy = fyx .

The proof is given in Appendix F.

SECOND PARTIAL DERIVATIVES

72

CLAIRAUT’S THEOREM

Suppose f is defined on a disk D that

contains the point (a, b).

If the functions fxy and fyx are both

continuous on D, then

fxy(a, b) = fyx(a, b)

73

Partial derivatives of order 3 or higher

can also be defined.

For instance,

Using Clairaut’s Theorem, it can be shown that

fxyy = fyxy = fyyx

if these functions are continuous.

2 3

2xyy xy y

f ff f

y y x y x

HIGHER DERIVATIVES

74

Calculate fxxyz if f(x, y, z) = sin(3x + yz)

fx = 3 cos(3x + yz)

fxx = –9 sin(3x + yz)

fxxy = –9z cos(3x + yz)

fxxyz = –9 cos(3x + yz) + 9yz sin(3x + yz)

Example 7 HIGHER DERIVATIVES

75

PARTIAL DIFFERENTIAL EQUATIONS

Partial derivatives occur in

partial differential equations that

express certain physical laws.

76

LAPLACE’S EQUATION

For instance, the partial differential equation

is called Laplace’s equation after

Pierre Laplace (1749–1827).

2 2

2 20

u u

x y

77

Solutions of this equation are called

harmonic functions.

They play a role in problems of heat conduction, fluid flow, and electric potential.

HARMONIC FUNCTIONS

78

Show that the function u(x, y) = ex sin y

is a solution of Laplace’s equation.

ux = ex sin y

uy = ex cos y

uxx = ex sin y

uyy = –ex sin y

uxx + uyy = ex sin y – ex sin y = 0

Thus, u satisfies Laplace’s equation.

Example 8 LAPLACE’S EQUATION

79

WAVE EQUATION

The wave equation

describes the motion of a waveform.

This could be an ocean wave, a sound wave, a light wave, or a wave traveling along a vibrating string.

2 22

2 2

u ua

t x

80

WAVE EQUATION

For instance, if u(x, t) represents

the displacement of a vibrating violin string

at time t and at a distance x from one end

of the string, then u(x, t) satisfies the wave equation.

Fig. 15.3.8, p. 922

81

WAVE EQUATION

Here, the constant a

depends on:

Density of the string

Tension in the string

Fig. 15.3.8, p. 922

82

Verify that the function u(x, t) = sin(x – at)

satisfies the wave equation.

ux = cos(x – at)

uxx = –sin(x – at)

ut = –a cos(x – at)

utt = –a2 sin(x – at) = a2uxx

So, u satisfies the wave equation.

Example 9 WAVE EQUATION

83

COBB-DOUGLAS PRODUCTION FUNCTION

In Example 3 in Section 15.1, we described

the work of Cobb and Douglas in modeling

the total production P of an economic system

as a function of:

Amount of labor L

Capital investment K

84

Here, we use partial derivatives to

show how:

The particular form of their model follows from certain assumptions they made about the economy.

COBB-DOUGLAS PRODUCTION FUNCTION

85

If the production function is denoted by

P = P(L, K), then the partial derivative ∂P/∂L

is the rate at which production changes

with respect to the amount of labor.

Economists call it the marginal production with respect to labor or the marginal productivity of labor.

MARGINAL PRODUCTIVITY OF LABOR

86

Likewise, the partial derivative ∂P/∂K

is the rate of change of production with

respect to capital.

It is called the marginal productivity of capital.

MARGINAL PRODUCTIVITY OF CAPITAL

87

In these terms, the assumptions made by

Cobb and Douglas can be stated as follows.

i. If either labor or capital vanishes, so will production.

ii. The marginal productivity of labor is proportional to the amount of production per unit of labor.

iii. The marginal productivity of capital is proportional to the amount of production per unit of capital.

COBB-DOUGLAS ASSUMPTIONS

88

Since the production per unit of labor is P/L,

assumption ii says that:

for some constant α.

P P

L L

COBB-DOUGLAS ASSUMPTION ii

89

If we keep K constant (K = K0), this partial

differential equation becomes an ordinary

differential equation:

dP P

dL L

Equation 5 COBB-DOUGLAS ASSUMPTION ii

90

If we solve this separable differential equation

by the methods of Section 9.3, we get:

P(L, K0) = C1(K0)Lα

Notice that we have written the constant C1

as a function of K0 since it could depend on the value of K0.

Equation 6 COBB-DOUGLAS ASSUMPTION ii

91

Similarly, assumption iii says

that:

P P

K K

COBB-DOUGLAS ASSUMPTION iii

92

We can solve that differential equation

to get:

P(L0, K) = C2(L0)Kβ

Equation 7 COBB-DOUGLAS ASSUMPTION iii

93

Comparing Equations 6 and 7,

we have:

P(L, K) = bLαKβ

where b is a constant that is

independent of both L and K.

Assumption i shows that α > 0 and β > 0

Equation 8 COBB-DOUGLAS ASSUMPTIONS

94

Notice from Equation 8 that, if labor and

capital are both increased by a factor m,

then

P(mL, mK) = b(mL)α(mK)β

= mα+βbLαKβ

= mα+βP(L, K)

COBB-DOUGLAS ASSUMPTIONS

95

If α + β = 1, then

P(mL, mK) = mP(L, K)

This means that production is also increased by a factor of m.

COBB-DOUGLAS ASSUMPTIONS

96

That is why Cobb and Douglas assumed

that α + β = 1 and therefore

P(L, K)= bLαK1 – α

This is the Cobb-Douglas production function we discussed in Section 15.1

COBB-DOUGLAS ASSUMPTIONS


Recommended