Professional Documents
Culture Documents
f x ( x, y ) =
f x
8.1 First and Second Order Partial Derivatives 8.1.1 First Order Partial Derivatives Let z = f ( x, y ) is a function of two variables. We write: fx (x, y),
respect to y
Example 1:
Given f(x, y) = 2x + 3y. Find fx and fy. Solution : To find fx (x, y) treat y as a constant and x as a variable.
This operation is called as a partial derivative of f with respect to x. To find fy(x, y), treat y as a variable and x as a constant.
f with respect to y.
204
Example 2:
Let f(x, y) = 8x2 + 2y. Find (i) fx and fy.
Example 3:
Let f(x, y) = 3x + bxy. Find the value of b if f(1, 3) = 9. Then, find fx and fy.
205
EXERCISE :
Find fx and fy . Then find fx(2, 1) and fy( 4, 3) for the following functions.
a)
b)
f(x, y) = 3x3y2
c)
f(x, y) = ex + y
d)
f(x, y) = 5e3x 4y
x 2 + y3 e) f ( x, y ) = x3 y 2
f)
f(x, y) = ln (1 + 3x2y3)
206
For a function z = f(x, y), if the indicated partial derivative exist, then there are four second-order partial derivatives as given below.
z 2 z = = f xx ( x, y) x x x 2
z 2 z = = f xy ( x, y ) y x yx
z 2 z = = f yy ( x, y) y y y 2 z 2 z = = f yx ( x, y) x y xy
Example 4:
Let f(x, y) = x2 + xy + y2. Find fx , fxx , fy , fyy , fxy and fyx Solution : fx = fxx meaning differentiate fx with respect to x fxx = fxy meaning differentiate fx with respect to y. fxy = fy = fyy meaning differentiate fy with respect to y. fyy = fyx meaning differentiate fy with respect to x. fyx =
Obviously that fxy = fyx
207
Example 5:
Let z = f(x, y) = x3 + 5y4. Find Solution:
2z 2z 2z 2z , , and . 2 y 2 yx xy x 2z = yx 2z = xy
z = x
z = y
2z = 2 x 2z = 2 y
EXERCISE
1. Find fx, fy, fxx, fyy dan fxy for the given functions. a) f(x, y) = 31xy2 + 2x5 7y3
208
QQM1023 Managerial Mathematics 8.2 Applications : Critical Points (maximum, minimum, saddle point) Finding Critical Points
Given f(x, y), we will find the critical point (a, b) when fx = 0 and fy = 0.
Example 6:
Given f(x, y) = x2 4x + 2y2 + 4y + 7 Solution : Step 1 Find fx and fy
---------------(1) ---------------(2)
Step 3
209
Example 7:
Given f(x, y) = 2x + y 2xy + 5x 3y + 1. Determine the critical point. Solution :
2 2
S1
Find fx and fy
S2
Set fx = 0 and fy = 0
S3
210
QQM1023 Managerial Mathematics Second-Derivative : Test to determine whether the critical point is maximum, minimum, or saddle point. Suppose
z = f(x, y) has continuous partial derivatives fxx, fyy, and fxy at all
points (x, y) near the critical point (a, b). Let D be the function defined by
saddle point
Steps to determine whether the critical point is maximum, minimum, or saddle point. 1. Find all the critical points. 2. Find second order partial derivatives, fxx, fyy and fxy at the all critical points. 3. Apply the second-derivative test.
211
Example 8:
From Example 1, testify whether the critical point is maximum, minimum or saddle point. Solution : From Example 1 f(x, y) = x2 4x + 2y2 + 4y + 7. We already solved Step 1 in Example 1. Step 1 Find the critical point
Step 2
fyy =
and
fyy(2,1) =
Step 3
212
EXERCISE:
Find the critical points of the functions. For each critical point, determine, by the second-derivative test, whether it corresponds to a maximum, minimum, or saddle point. (a) f(x, y) = x2 + 3y2 + 4x 9y + 3
(b)
f(x, y) = y y2 3x 6x2
(c)
f(x, y) = x3 3xy + y2 + y 5
(d)
213
Suppose we have an objective function f(x, y) subject to the constraint g(x, y)=0. We construct a new function F of three variables x, y, called the Lagrange function defined by the following:
It can be shown that if (a, b) is a critical point of f, subject to the constraint g(x, y)=0, there exists a value of , say 0, such that (a, b, 0) is a critical point of F. The number 0 is called a Lagrange multiplier. Thus, to find critical points of f, subject to the constrain g(x, y), we instead find critical points of F. These are obtained by solving the equations
214
Example 9:
Find the critical point of f(x, y) = 5x2 + 6y2 xy subject to the constraint x + 2y = 24. Solution :
Step 1
Step 2 Here
Step 3
Step 4
Form the system of equations Fx = 0, Fy = 0 and F = 0. 10x y + = 0 ------------(1) 12y x + 2 = 0 ------------(2) x + 2y 24 = 0 ------------(3)
215
QQM 1023 Managerial Mathematics Step 5 Solve the system of equations from step 4 for x, y and .
One way to solve this system is to begin by solving each of the first two equations for , then set the two results equal and simplify, as follows. 10x y + = 0 12y x + 2 = 0 becomes becomes
= 10x + y =
x 12 y 2
10x + y =
x 12 y 2
Equalize the .
2y 3 2y 3 2y 3
for x in equation (3). x + 2y 24 = 0 + 2y 24 = 0
Now, substitute
2y + 6y 72 = 0 8y = 72 y=9
Let x = 2 y .
3
Since x =
2y 3
Therefore, the critical point of f(x, y) = 5x2 + 6y2 xy subject to the constraint x + 2y = 24 is (6, 9).
216
EXERCISE:
1. Find the critical points of f(x, y) = x2 + 4y2 + 6 subject to 2x 8y = 20.
2.
217
QQM 1023 Managerial Mathematics 3. Maximizing Output : A factory produce two types of bolt namely type KK and type LL. The total number of bolts to be produced is determined by the function f(l, k) = 12l + 20k l2 2k2, where k is the number of KK bolt to be produced and LL is the number of LL bolt to be produced. The cost to produce one unit of KK bolt is RM4 and for LL bolt is RM8 per unit, respectively. If the firm wants the total cost to produce these two types of bolts to be RM88, find the greatest output possible, subject to this budget constraint.
218