Professional Documents
Culture Documents
Pembezaan Separa
(SHMI LECTURE NOTES)
Calculus of Several Variables
SHMI
z
f(x, y) = x2 + y2
x2 + y2 = 16
x2 + y2 = 9
x2 + y2 = 4
x2 + y2 = 1
y
x2 + y2 = 0
1
12/13/2020
Graph of :
SHMI
Graph of :
SHMI
2
12/13/2020
Example
SHMI
x
Partial Derivatives
SHMI
3
12/13/2020
+ , − ( , )
=
→
, + , − ( , )
=
→
SHMI
Example
• Find ∂g/∂s given
, = 6 − +
Solution
t is a constant ,
= 5(− + ) 6 − +
= 5(12 − + ) 6 − +
SHMI
4
12/13/2020
Example
SHMI
Example
SHMI
5
12/13/2020
Example
SHMI
Examples
• Find the first partial derivatives of the function
w f ( x, y , z ) xyz xe yz x ln y
Solution
• Here we have a function of three variables, x,
y, and z, and we are required to compute
f f f
, ,
x y z
6
12/13/2020
Example
• Find the first partial derivatives of the function
w f ( x, y , z ) xyz xe yz x ln y
Solution
• To find fx, think of the variables y and z as a
constant
w f ( x, y , z ) xyz xe yz x ln y
f x yz e yz ln y
SHMI
Examples
• Find the first partial derivatives of the function
w f ( x, y , z ) xyz xe yz x ln y
Solution
• To find fy, think of the variables x and z as a
constant and w f ( x, y, z ) xyz xe yz x ln y
differentiate the resulting function of y with
respect to y:
x
f y xz xze yz
y
SHMI
7
12/13/2020
Examples
• Find the first partial derivatives of the function
w f ( x, y , z ) xyz xe yz x ln y
Solution
• To find fz, think of the variables x and y as a
constant and differentiate the resulting
function of z with respect to z:
w f ( x, y , z ) xyz xe yz x ln y
f z xy xye yz
SHMI
8
12/13/2020
9
12/13/2020
2/3
1 x
f y 30 x 2/3
y 2/3 10
3 y
SHMI
10
12/13/2020
SHMI
SHMI
11
12/13/2020
SHMI
12
12/13/2020
Examples
• Find the second-order partial derivatives of
3 2 2 2
the function f ( x, y ) x 3x y 3xy y
Solution
• First, calculate fx and use it to find fxx and fxy:
3
fx ( x 3x 2 y 3xy 2 y 2 )
x
3x 2 6 xy 3 y 2
f xx (3 x 2 6 xy 3 y 2 ) f xy (3 x 2 6 xy 3 y 2 )
x y
6x 6y 6 x 6 y
6( x y ) 6( y x )
SHMI
13
12/13/2020
Examples
• Find the second-order partial derivatives of
the function
Solution f ( x, y ) x 3 3x 2 y 3 xy 2 y 2
Examples
• Find the second-order partial derivatives of
2
the function f ( x, y ) e xy
Solution
• First, calculate fx and use it to find fxx and fxy:
xy 2
fx (e )
2 xy 2
x 2 xy 2
f xx (y e ) f xy (y e )
x 2 y
y 2 e xy
2 2 2
y 4e xy 2 ye xy 2 xy 3e xy
2
2 ye xy (1 xy 2 )
SHMI
14
12/13/2020
Examples
• Find the second-order partial derivatives of
the function
2
Solution f ( x , y ) e xy
x (g, h)
(a, b) y
(c, d)
(e, f )
15
12/13/2020
Graphic Example
There is a relative maximum at (a, b).
x
(a, b) y
SHMI
16
12/13/2020
Graphic Example
There is an absolute maximum at (c, d).
(It is also a relative maximum)
z
x y
(c, d)
SHMI
Graphic Example
There is a relative minimum at (e, f ).
x y
(e, f )
SHMI
17
12/13/2020
Graphic Example
There is an absolute minimum at (g, h).
(It is also a relative minimum)
z
x (g, h)
y
SHMI
Relative Minima
At a minimum point of the graph of a function of two variables,
such as point (a, b) below, the plane tangent to the graph of the
function is horizontal (assuming the surface of the graph is
smooth):
z
(a, b)
x
SHMI
18
12/13/2020
Relative Minima
Thus, at a minimum point, the graph of the function has a
slope of zero along a direction parallel to the x-axis:
f
( a, b) 0
x
(a, b)
x
SHMI
Relative Minima
Similarly, at a minimum point, the graph of the function has a
slope of zero along a direction parallel to the y-axis:
f
( a, b) 0
y
(a, b)
x
SHMI
19
12/13/2020
Relative Maxima
At a maximum point of the graph of a function of two variables,
such as point (a, b) below, the plane tangent to the graph of the
function is horizontal (assuming the surface of the graph is
smooth):
z
y
(a, b)
x
SHMI
Relative Maxima
Thus, at a maximum point, the graph of the function has a
slope of zero along a direction parallel to the x-axis:
z
f
(a , b ) 0
x
y
(a, b)
x
SHMI
20
12/13/2020
Relative Maxima
Similarly, at a maximum point, the graph of the function has a
slope of zero along a direction parallel to the y-axis:
f
( a, b) 0
y
y
(a, b)
x
SHMI
Saddle Point
In the case of a saddle point, both partials are equal to zero, but
the point is neither a maximum nor a minimum.
SHMI
21
12/13/2020
Saddle Point
In the case of a saddle point, the function is at a minimum
along one vertical plane…
f
( a, b) 0
x
(a, b)
x
SHMI
Saddle Point
… but at a maximum along the perpendicular vertical plane.
f
(a , b ) 0
y
(a, b)
x
SHMI
22
12/13/2020
x (a, b)
SHMI
SHMI
23
12/13/2020
SHMI
24
12/13/2020
Examples
• Find the relative extrema of the function
= +
Solution
• We have fx = 2x and fy = 2y.
• To find the critical points, we set fx = 0 and fy = 0 and
solve the resulting system of simultaneous equations
2x = 0 and 2y = 0
obtaining x = 0, y = 0, or (0, 0), as the sole critical point.
• Next, apply the second derivative test to determine the
nature of the critical point (0, 0).
• We compute fxx = 2, fyy = 2, and fxy = 0,
• Thus, D(x, y) = fxx fyy – f 2xy = (2)(2) – (0)2 = 4.
SHMI
Examples
• Find the relative extrema of the function
= +
Solution
• We have D(x, y) = 4, and in particular, D(0, 0) =
4.
• Since D(0, 0) > 0 and fxx = 2 > 0, we conclude
that f has a relative minimum at the point (0,
0).
• The relative minimum value, f (0, 0) = 0, also
happens to be the absolute minimum of f.
SHMI
25
12/13/2020
Examples
• Find the relative extrema of the function
= +
Solution
z
f(x, y) = x2 + y2
The relative minimum
value, f(0, 0) = 0, also
happens to be the
absolute minimum of f:
y
Absolute
minimum
SHMI at (0, 0, 0).
x
Examples
• Find the relative extrema of the function
, =3 −4 +4 −4 +8 +4
Solution
• We have = 6 − 4 − 4, = −4 + 8 + 4
• To find the critical points, we set fx = 0 and fy = 0 and solve
the resulting system of simultaneous equations
6x – 4y – 4 = 0 and – 4x + 8y + 8 = 0
obtaining x = 0, y = –1, or (0, –1), as the sole critical point.
• Next, apply the second derivative test to determine the
nature of the critical point (0, –1).
• We compute fxx = 6, fyy = 8, and fxy = – 4,
• Thus, D(x, y) = fxx · fyy – f 2xy = (6)(8) – (– 4)2 = 32.
SHMI
26
12/13/2020
SHMI
Examples
• Find the relative extrema of the function
, =3 −4 +4 −4 +8 +4
Solution
• We have D(x, y) = 32, and in particular, D(0, –1) =
32.
• Since D(0, –1) > 0 and fxx = 6 > 0, we conclude
that f has a relative minimum at the point (0, –1).
• The relative minimum value, f (0, –1) = 0, also
happens to be the absolute minimum of f.
SHMI
27
12/13/2020
Examples
• Find the relative extrema of the function
, = 4 + − 12 − 36 + 2
Solution
• We have =2 , = 12 − 24 − 36
• To find the critical points, we set fx = 0 and fy = 0 and
solve the resulting system of simultaneous equations
2 = 0, 12 − 24 = 36
• The first equation implies that x = 0, while the second
equation implies that y = –1 or y = 3.
• Thus, there are two critical points of f : (0, –1) and (0, 3).
• To apply the second derivative test, we calculate
fxx = 2 fyy = 24(y – 1) fxy = 0
SHMI
28
12/13/2020
Examples
• Find the relative extrema of the function
, = 4 + − 12 − 36 + 2
Solution
• Apply the second derivative test to the critical
point (0, –1):
• We have D(x, y) = 48(y – 1).
• In particular, D(0, –1) = 48[(–1) – 1] = – 96.
• Since D(0, –1) = – 96 < 0 we conclude that f has
a saddle point at (0, –1).
• The saddle point value is f (0, –1) = 22, so there
is a saddle point at (0, –1, 22).
SHMI
Examples
• Find the relative extrema of the function
, = 4 + − 12 − 36 + 2
Solution
• Apply the second derivative test to the critical
point (0, 3):
• We have D(x, y) = 48(y – 1).
• In particular, D(0, 3) = 48[(3) – 1] = 96.
• Since D(0, –1) = 96 > 0 and fxx (0, 3) = 2 > 0, we
conclude that f has a relative minimum at the point
(0, 3).
• The relative minimum value, f (0, 3) = –106, so
there is a relative minimum at (0, 3, –106).
SHMI
29
12/13/2020
SHMI
SHMI
30
12/13/2020
SHMI
SHMI
31
12/13/2020
, = −2 + 24 − + 30
SHMI
SHMI
32
12/13/2020
SHMI
1 3 1
, =− − − + 300 + 240
4 8 4
where x denotes the number of fully assembled units and y
denotes the number of kits produced and sold each week.
• The total weekly cost attributable to the production of
these loudspeakers is
, = 180 + 140 + 5000
• Determine how many assembled units and how many kits
should be produced per week to maximize profits.
SHMI
33
12/13/2020
SHMI
• , = , − ,
• =(− − − + 300 +
240 )−(180 + 140 + 5000)
• =− − − + 120 + 100 −
5000
SHMI
34
12/13/2020
SHMI
SHMI
35
12/13/2020
36
12/13/2020
SHMI
SHMI
37
12/13/2020
SHMI
Example
• Find the partial derivatives ∂f/∂x and ∂f/∂y of the
function
, = − +
Solution
• ∂f/∂y, x is a constant,
, = − +
= −2 + 3
• ∂f/∂x, y is a constant
=2 −
SHMI
38
12/13/2020
Example
, = − +
• Use the partials to determine the rate of change of f in the x-
direction and in the y-direction at the point (1, 2).
Solution
• The rate of change of f in the x-direction at the point (1, 2) is
given by
SHMI
Example
• Find ∂v/∂x , ∂v/∂y given
SHMI
39