Differentiation and its Uses in Business Problems 8
The objectives of this unit is to equip the learners with differentiation and to realize its importance in the field of business. The unit surveys derivative of a function, derivative of a multivariate functions, optimization of lagrangian multipliers and Cobb-Douglas production function etc. Ample examples have been given in the lesson to demonstrate the applications of differentiation in practical business contexts. The recognition of School of Business differentiation in decision making is extremely important in the filed of business.
Blank Page
Unit-8 Page-164 Bangladesh Open University Lesson-1: Differentiation
After studying this lesson, you should be able to: Explain the nature of differentiation; State the nature of the derivative of a function; State some standard formula for differentiation; Apply the formula of differentiation to solve business problems. Introduction
Calculus is the most important ramification of mathematics. The present and potential managers of the contemporary world make extensive uses of this mathematical technique for making pregnant decisions. Calculus is inevitably indispensable to measure the degree of changes relating to different managerial issues. Calculus makes it possible for the enthusiastic and ambitious executives to determine the relationship of different variables on sound footings. Calculus in concerned with dynamic situations, such as how fast production levels are increasing, or how rapidly interest is accruing. The term calculus is primarily related to arithmetic or probability concept. Mathematics resolved calculus into two parts - differential calculus and integral calculus. Calculus mainly deals with the rate of changes in a dependent variable with respect to the corresponding Differential calculus change in independent variables. Differential calculus is concerned with is concerned with the average rate of the average rate of changes, whereas Integral calculus, by its very nature, changes. considers the total rate of changes in variables. Differentiation
Differentiation is one of the most important operations in calculus. Its theory solely depends on the concepts of limit and continuity of functions. This operation assumes a small change in the value of The techniques of dependent variable for small change in the value of independent differentiation of a variable. In fact, the techniques of differentiation of a function deal with function deal with the the rate at which the dependent variable changes with respect to the rate at which the independent variable. This rate of change is measured by a quantity dependent variable changes with respect known as derivative or differential co-efficient of the function. to the independent Differentiation is the process of finding out the derivatives of a variable. continuous function i.e., it is the process of finding the differential co- efficient of a function. Derivative of a Function
The derivative of a function is its instantaneous rate of change. Derivative is the small changes in the dependent variable with respect to a very small change in independent variable.
dy Let y = f (x) , derivative i.e. means rate of change in variable y with dx respect to change in variable x.
Business Mathematics Page-165 School of Business
The derivative has many applications, and is extremely useful in optimization- that is, in making quantities as large (for example profit) or as small (for example, average cost) as possible.
Some Standard Formula for Differentiation
Following are the some standard formula of derivatives by means of which we can easily find the derivatives of algebraic, logarithmic and exponential functions. These are : dc 1. = 0, where C is a constant. dx
dx n d 2. = [xn] = n. xn-1 dx dx
d d 3. . ()xfa = a []()xf dx dx
1 (n+− 1) d − 1 4. x n −= .x n dx n
de x d 5. = e x = e x dx dx ()
d d 6. [e ()xg ]= e ()xg . []()xg dx dx
dy dy du 7. If y = f(u) and U = g(x) then = × dx du dx d 8. a x = a x .log a dx ( ) e
[ (xfd ) ± (xg )] [ (xfd )] [ (xgd )] 9. = ± dx dx dx
d d 1 10. ()log e x = ln x = dx dx () x
n dy n [ (xfd )] 11. If Y = [f(x)] then, = n [f(x)] –1 . dx dx d 1 12. log a x = log e dx x a
[ (xfd ). (xg )] [ (xgd )] [ (xfd )] 13. = ()xf + ()xg dx dx dx
Unit-8 Page-166 Bangladesh Open University
(xf ) d []()xfd − []()xgd ()xg ()xg ()xf = dx dx 14. 2 dx []()xg
d d 15. a ()()xg = a xg . []()xg .log e dx dx a
du (xf + dx.y) − ( , yxf ) 16. If U = f(x, y), = and dx dx du ( , yxf + dy) − ( , yxf ) = dy dy
de ax 17. If y = e ax, then its first derivative is equal to = e ax dx
d 2e as Second derivative is equal to = a2eax dx 2
d 3e ax Third derivative is equal to = a3eax and the nth derivative is dx3 denoted by
d n e ax = aneax dx n
Derivative of Trigonometrically Functions
d d − 18. dx (Sin x) = Cos x. dx (Cos x) = Sinx
d 2 d − 2 19. dx (tan x) = Sec x. dx (Cot x) = Cosec x
d d − 20. dx (Sec x) = Sec x. tan x; dx (Cosec x) = Cosec x. Cot x
d 1 d 1 21. (Sin −1x)= ; (Cos −1x) −= dx 1 − x 2 dx 1 − x 2
d 1 d 1 22. (tan −1x)= ; (Cot −1x) −= dx 1 + x 2 dx 1 + x 2
d 1 d 1 23. (Sec−1x) = ; (Cosec−1x) −= dx x. x 2 −1 dx x x 2 −1
2 2 Sin x Sin x + Cos x = 1; tan x = Cos x
Business Mathematics Page-167 School of Business
2 2 Cos x Sec x – tan x = 1; Cot x = Sin x
When x and y are separately expressed as the functions of a third variable in the equation of a curve is known as parameter. In such cases dy we can find dx without first eliminating the parameter as follows:
Thus, if x =Q (t), y = ψ (t)
dy dy dx Then, dt = dx . dt
dy dy ∴ = dt dx dx dt Let us illustrate these different derivatives by the following examples. Example – 1: dx If y = f(x) = a; find dy
Solution: dy d(a) dx = dx =0, since a is a constant, i.e.,'a' has got no relationship with variable x. Example – 2: Differentiate the following functions, with respect to x, − (i) y = x , (ii) y = 8x 5 (iii) y= 3x 3 − 6x 2+2x − 8 Solution: 1 2 We know that x = x
1 1 −1 dy d −1 1 1 dy 1 x 2 1 2 x 2 dx = dx = .x = = . Hence dx = 2 2 2 x 2 x
dy d −5 (ii) dx = dx (8x )
d − 40 = 8 (x−5) = 8( −5) x −6 = − 40x –6 = . dx x6
Unit-8 Page-168 Bangladesh Open University
dy − 40 Therefore, = dx x6
dy d 3 − 2 − (iii) dx = dx (3x 6x +2x 8)
d d d d 3 − 2 − = dx (3x ) dx (6x ) + dx (2x) dx (8)
= 3.3x 3−1− 2.6.x 2−1+ 2 −0 = 9x 2−12x+2 dy 2 − Thus, dx = 9x 12x + 2.
Example –3:
Differentiate e x(log x) . (2x 2+3) with respect to x. Solution:
Let y = e x.(log x) . (2x 2 + 3)
dy x d 2 x 2 d 2 d x dx =e (log x) dx (2x +3) +e (2x +3). dx (logx) + (log x). (2x +3). dx (e )
x x 2 1 2 x =e (logx)(4x)+e (2x +3) x + logx(2x +3)e
2 x 2x +3 2 = e [4x.logx + x + (2x +3) logx]
2 dy x 2x +3 2 So, dx = e [4x.logx + x + (2x +3) logx]
Example–4: 2+3log x dy If y = , find x2+5 dx
Solution: 2+3log x y = x2+5 d d (x 2 + )5 2( + 3log x) − 2( + 3log x) (x 2 + )5 dy dx dx = dx (x 2 + )5 2
3 15 15 (x2+5) ( )–(2+3logx)(2x) –x –6xlogx –x –6xlogx x x dy x = = .Thus, = (x2+5)2 (x2+5)2 dx (x2+5)2
Business Mathematics Page-169 School of Business
Example–5:
2 ++ Find the differential co-efficient of e 7x5x with respect to x.
Solution:
Let y= e x2+5x+y
2 2 dy e ++ yx5x d 2 x + 5x + y. dx = . dx (x +5x +y) = e (2x + 5)
2 dy x + 5x + y dx = (2x + 5). e
Example–6: dy Find dx , if y = log 4x+3
Solution:
Let y = log 4x+3 1 1 + 2 = log (4x 3) = 2 log (4x +3)
dy d 1 1 1 d 1 1 2 dx = dx [2 log (4x +3)] = 2 . 4x+3 . dx (4x +3) = 2 . 4x+3 . 4 = 4x+3
dy 2 ∴ dx = 4x+3
Example–7: 2 Find the first, second and third derivatives when y = x.e x Solution: y = x.e x2 First derivative, dy d x2 x2 d x2 x2 x2 2 dx = x dx e +e . dx (x) = x.e . 2x + e .1 = e (2x +1)
d2y Second derivative, = e x2.2x(2x 2+1) +e x2.4x dx 2
2 x 2 2 2 = e x . 4x 3 + e .2x + e x . 4x = e x . (4x 3 + 2x + 4x)
= e x2. (4x 3 + 6x)
Unit-8 Page-170 Bangladesh Open University
Third derivative, d3y = ex2 2x (4x 3 + 6x) + e x2 (12x 2 + 6) dx 3
2 x 2 2 2 = e x . 8x 4 + e 12x 2 + e x (12x 2 + 6) = e x (8x 4 + 12x 2 + 12x 2 + 6)
= e x2 (8x 4 + 24x 2 + 6) Example–8:
logx dy If y = x , find dx
Solution:
Given, y = x logx Taking logarithm of both sides, we have log y = log (x logx) = logx. logx = (logx) 2 Differentiating with respect to x, we get
1 dy d 2 2-1 d 1 y . dx = dx (logx) =2 (logx) dx (logx) = 2 logx. x
dy 1 2x logx . logx Hence, dx = y (2 logx. x ) = x
Example–9: Find the derivative of log (ax + b) with respect to x. Solution: Let y = log (ax +b) dy d 1 d a So, dx = dx [log (ax + b)] = (ax+b) dx (ax + b) = ax+b .
dy a Therefore, dx = ax + b
Example–10:
Differentiate y = log a x with respect to x. Solution:
log e x We know that log a x = log e a
Business Mathematics Page-171 School of Business
dy d d log e x So, = ()log a x = dx dx dx log e a
1 d 1 1 1 = . log e x = . = log e a dx log e a x x.log e a
dy 1 So, = dx x.log e a
Example–11:
xx dy If y = x , find dx
Solution: x y = x x Taking logarithm of both sides, we have Let y = x x x x log y = log x = x x log x. Then log y= x log x d 1 Differentiating with respect to x, we get, dx (log y) = 1(log x) + x. x
1 dy x d d x y . dx = x dx (log x) + log x dx ( x ) = 1 + log x
1 dy x 1 x 1 dy or, y . dx = x . x + log dx (1+logx) y dx = 1+ log x
∴dy x 1 x dy dx = y [x . x + log x (1+log x)] So, dx = y (1+log x)
xx x–1 x dy x = x [x + log x (1+log x)] So, dx = x (1+ log x)
Example–12:
Differentiate y = log [Sin (3x 2+5)] with respect to x. Solution: y = log [Sin (3x 2+5)] dy d 2 dx = dx [log {Sin (3x +5)}]
1 d = . [Sin (3x 2+5)] Sin(3x 2+5) dx
1 d = . Cos (3x 2+5) . (3x 2+5) Sin(3x 2+5) dx
Unit-8 Page-172 Bangladesh Open University
1 Cos 3x 2 + 5 = . Cos(3x 2+5) . 6x = 6x. ( ) = 6x.Cot (3x 2+5) Sin(3x 2+5) Sin ()3x 2 + 5
dy 2 So, dx = 6x.Cot (3x +5)
Business Mathematics Page-173 School of Business
Questions for Review: These questions are designed to help you assess how far you have understood and can apply the learning you have accomplished by answering (in written form) the following questions : 1. Define differentiation. What are the fundamental theorems of differentiation? 2. Why is the study of differentiation important in managerial decision making? 3. Find the derivative of the following functions with respect to x. 2 4 3 2 3 –2 2 5x +9 i) 5x +x5 – 8x +7x, (ii) (2x –5x +2) (4x –3 x ) (iii) 3x –2
x (iv) (3x 2–2x+5) 3/2 (v) 5e xlogx, (vi) x 2+3xy+y 3=5 (vii) e x
d4y 6 4. If y=x 3 log n, show that = dx 4 x
5. Differentiate the following w. r. to x
Cos x sin x 4x (i) Sin x (ii) cos x (iii) e +log sin x
iv) (sin –1x) log x
d3y 6. If y = 8x 3–5x 3/2 +3x 2–7x+5 : find dx 3
Multiple Choice Questions ( √ the most appropriate answer) dy 1. Find when y = log x dx 2
1 i) log 2e (ii) 2 log 2e (iii) 2log 2e (iv) loge
1+x 2. Find the derivatives of the function 1–x
2 1 2 i) (ii) (iii) (iv) (1–x) 2 1–x (1–x)2 (1–x)2
3. If f(x) = x 3 – 2px 2 – 4x + 5 and f (2) = 0, find p. i) 1 (ii) 3 (iii) 4 (iv) 5
Unit-8 Page-174 Bangladesh Open University
d 4. If f(x)=2x 3–3x 2+4x –2, find the value of ()xf −= 2 dx i) 30 (ii) 40 (iii) 25 (iv) 35
2 x+4 d 5. If f(x)= 2x – + , find ()xf = 2 x 4–x dx
i) 2.75 (ii) 2 (iii) 2.5 (iv) 2.45
6. Find the derivative of x x
i) x n(1+log n) (ii) x log n (iii) x 2log n (iv) x 2(1+log n)
d2y 7. If y = 8x 3 – 5x 3/2 + 3x 2 – 7x +5. find dx 2
2 15 1/2 15 1/2 i) 24x – 2 x +6x – 7 (ii) 48x – 2 x +6
15 15 (iii) 48 + (iv) 48x – +7 8 x3 2 x
Business Mathematics Page-175 School of Business Lesson-2: Differentiation of Multivariate Functions
Lesson Objectives: After studying this lesson, you will be able to: State the nature of multivariate function; Explain the partial derivatives; Explain the higher- order derivatives of multivariate functions; Apply the techniques of multivariate function to solve the problems. Introduction The concept of the derivative extends directly to multivariate functions. During the discussion of differentiation, we defined the derivative of a function as the instantaneous rate of change of the function with respect to independent variable. In multivariate functions, there are more than one independent variable involved and thereby, the derivative of the function must be considered separately for each independent variable. For example, z = f (x, y) is defined as a function of two independent variables if there exists one and only one value of z in the range of f for each ordered pair of real number (x, y) in the domain of f. By convention, z is the dependent variable; x and y are the independent variables.
To measure the effect of a change in a single independent variable ( x or To measure the effect y) on the dependent variable ( z) in a multivariate function, the partial of a change in a derivative is needed. The partial derivative of z with respect of ' x' single independent measures the instantaneous rate of change of z with respect to x while y variable (x or y) on the dependent dz df is held constant. It is written , , fx (x, y), f x or Zx . The partial variable (z) in a dx dx multivariat e function, derivative of z with respect to y measures the rate of change of z with the partial derivative is needed. dz df respect to y while x is held constant. It is written as: , , fy (x, y), f y dy dy or Zy . Mathematically it can be expressed in the following way:
dz f (x ∆+ , yx ) − ( , yxf ) = lim dx x →∆ 0 ∆ x
dz ( , yxf ∆+ y) − ( , yxf ) = lim dy x →∆ 0 ∆y
Partial differentiation with respect to one of the independent variables follows the same rules as differentiation while the other independent variables are treated as constant. This is illustrated by the following examples.
Unit-8 Page-176 Bangladesh Open University
Example −1:
Find the partial derivatives of M = f (x, y, z) = x 2+5y 2+20xy+4z. Solution: To determine the partial derivative of f with respect to x, we treat y and z as constants. dm dx = fx´ = 2x + 20y.
Similarly, in determining the partial derivative of f with respect to y, we dm treat x and z as a constants. dy = f y´ = 10 y + 20 x
Finally, treating x and y as constants, we obtain the partial derivative of f dm with respect to z dz = f z´ = 4
The same procedure is applied in the following examples.
Example − 2: Determine the partial derivatives of
Z = 5 x3 −3x2y2 + 7 y5 Solution:
dz d 3 − 2 d 2 d 5 dx = dx (5x ) 3y dx (x ) + dx (7y )
= 15 x2−6xy 2+0 dz 2− 2 ∴ dx = 15 x 6xy
dz d d d 3 − 2 2 5 Again dy = dy (5x ) 3x dy (y ) + dx (7y )
= 0 − 6x2y + 35 y4 dz 4 − 2 ∴dy = 35y 6x y.
Example −3: Find the partial derivatives of z = (5 x + 3) (6 x + 2 y) Solution: dz d d dx = (5 x + 3). dx (6x+2y) + (6 x + 2 y). dx (5x+3)
= (5 x +3). 6 + (6 x +2 y). 5
Business Mathematics Page-177 School of Business
= 30 x +18 +30 x +10 y dz ∴dx = 60 x +10 y +18
dz d d Again dy = (5 x + 3). dy (6x+2y) + (6x + 2y). dx (5x+3)
= (5 x + 3). 2 + (6 x + 2 y). 0 dz ∴dy = 10 x + 6 + 0 = 10 x + 6
Example −4: 6x+7y Determine the partial derivatives of Z = 5x+3y
Solution: d d (5x+3y) (6x+7y) – (6x+7y) (5x+3y) dz dx dx = dx (5x+3y)2
(5x+3y). 6 −(6x+7y).5 = (5x+3y)2
dz 30x+18y −30x −35y = dx (5x+3y)2
dz −17y ∴ = dx (5x+3y)2
d d (5x+3y). (6x+7y)−(6x+7y). (5x+3y) dz dy dy Again = dy (5x+3y)2
(5x+3y).7 − (6x+7y).3 = (5x+3y)2
35x+21y −18x-21y = (5x+3y)2
dz 17x ∴ = dy (5x+3y)2 Higher-Order derivatives of Multivariate Functions
The rules for determining higher-order derivatives of functions of one Derivatives of multi - independent variable apply to multivariate functions. Derivatives of variate functions are multivariate functions are taken with respect to one independent variable taken with respect to at a time, the remaining independent variables being considered as one independent variable at a time.
Unit-8 Page-178 Bangladesh Open University constants. The same procedure applies in determining higher-order derivatives of multivariate functions. For instance, a function f (x, y) may have four second-order partial derivatives as follows: Original function First partial derivatives Second-order partial derivatives
d2f d 2 f f xx′′ (x, y ) or or dx dx dx 2
′′ d(f) f y (x, y ) or dx
2 ′′ d f f yx (x, y) or dy dx f (x, y )
d(f) d2f f ′(x, y ) or f ′′ (x, y ) or y dy yx dx dy
2 2 ′′ d f d f f yy (x, y ) or or dy dy dy 2 ′′ ′′ The second-order partial derivatives f xx and f xy are obtained by differentiating f x′′ , with respect to x and with respect to y respectively. ′′ ′′ Similarly the second-order partial derivatives f yx and f yy are obtained by differentiating fy , with respect to x and with respect to y respectively. ′′ ′′ The cross (or mixed) partial derivative f xy or f yx indicates that first the primitive function has been partially differentiated with respect to one independent variable and then that partial derivative has in turn been partially differentiated with respect to the other independent variable:
′ 2 ′′ = ′ d dz d z f xy ()f x y = dy dx = dydx
′ 2 ′′ = ′ d dz d z f yz ( f y ) x = dx dy = dxdy
The cross partial is a second-order derivative, which are equal always. That is
d2z d2z dydx = dxdy ′′ = ′′ or , f xy f yx
This is illustrated by the following examples.
Business Mathematics Page-179 School of Business
Example −5: Determine (a) first, (b) second and (c) cross partial derivatives of Z = 7x3 + 9 xy +2 y5. Solution:
dz 2 dz 4 (a) dx = Z x = 21 x + 9 y; dy = Zy = 9 x + 10y .
d2z d2z (b) = Z = 42 x; = Z = 40 y3. dx 2 xx dy 2 yy
2 d z d dz d 2 (c) dydx = dy . dx = dy (21x +9y) = Z xy = 9
2 d z d dz d 4 dxdy = dx . dy = dx (9x+10y ) = Z yx = 9.
Example −6: Determine all first and second-order derivatives of
Z = ( x2+3 y3)4 Solution:
dz 2 3 3 2 3 3 dx = 4 (x +3y ) . 2x = 8x (x +3y )
dz 2 3 3 2 2 2 3 3 dy = 4 (x +3y ) . 9y = 36y (x +3y )
d2z = 8x[3(x 2+3x 3)2 (2x)] + (x 2+3y 3)3. 8 dx 2
= 48x 2 [x2+3x 3]2 + 8(x 2+3y 3)3
d2z = 36 y2 [3( x2+3y 3)2 (9y 2)] + (x 2+3y 3)3 72y dy 2
2 d z d dz 2 3 2 2 dydx = dy . dx = 8 x [3( x +3 y ) (9 y )]+0
= 216 xy 2 (x2+3 y3)2 2 d z d dz 2 2 3 2 dxdy = dx . dy = 36y [3 ( x +3 y ) . 2 x]
= 216 xy 2 (x2+3 y3)2
Unit-8 Page-180 Bangladesh Open University
Optimization of Multivariate Functions For a multivariate function such as z = f (x, y) to be at a relative minimum or maximum, the following three conditions must be fullfiled /met:
1. Given z = f (x, y), determine the first-order partial derivatives, f x′ ′ (x, y ) and f y (x, y ) and all critical point/values ( a, b ); that is, ′ f ′′ determine all values (a, b) such that f x (a, b ) = y (a, b ) = 0
2. Determine the second-order partial derivatives, ′′ ′′ ′′ ′′ f xx ( , yx ), f xy ( , yx ), f yx ( , yx ) and f yy ( , yx )
′′ ′′ [Note: the cross partial derivatives f xy ( , yx ) (x, y ) and f y ( , yx ) (x, y) must be equal to one another; otherwise the function is not continuous.] ′′ ′′ − 3. Where ( a, b ) is a critical point on f, let D = f xx (a, b). f yy (a, b ) ′′ 2 [ f xy (a, b )]
Then
(i) If D>0 and f xx′′ (a, b ) < 0, f has a relative maximum at ( a, b )
(ii) If D>0 and f xx′′ (a, b ) > 0, f has a relative minimum at ( a, b ).
(iii) If D<0, f has neither a relative maximum nor a relative minimum at ( a, b ) (iv) If D = 0, no conclusion can be drawn; further analysis is required. This is illustrated by the following example.
Example −7: Determine the critical points and specify whether the function had a relative maximum or minimum,
z = 2 y3−x3+147 x−54 y+12. Solution: By taking the first-order partial derivatives, setting them equal to zero, and solving for x and y: 2 2 zx = −3x + 147 = 0 zy = 6 y −54=0
or, x2 = 49 or, 6 y2 = 54
∴ x = + 7 ∴ y = + 3
Business Mathematics Page-181 School of Business
This mean that we must investigate four critical points, namely (7, 3), (7, −3), ( −7, 3) and ( −7, −3). The second-order partial derivatives are
Zxx = −6x Zyy = 12 y
(1) Zxx (7, 3) = −6(7) = −42 <0 Zyy (7, 3) = 12 × 3 = 36 > 0
(2) Zxx (7, −3) = −6 (7) = −42 <0 Zyy (7, −3) = 12 x −3 = −26 < 0
(3) Zxx (−7, 3) = –6( −7) = 42>0 Zyy (−7,3) = 12 x3 = 36 > 0
(4) Zxx (–7, −3) = –6 ( −7) = 42>0 Zyy (−7, −3) = 12 x −3 = −36 < 0 Since there are different signs for each of the second-order partials in (1) and (4), the function cannot be at a relative maximum or minimum at (7, − − ′′ ′′ ′′ ′′ 3) or ( 7, 3). When f xy and f yy are of different signs, ( f xx . f yy )cannot f ′′ be greater than xy and the function is at a saddle point.
With both signs of second-order partials negative in (2) and positive in (3), the function may be at a relative maximum at (7, −3) and at a relative minimum at ( −7, 3), but the third condition must be tested first to ensure against the possibility of an inflection point. From the first partial derivative, we obtain cross partial derivatives and 2 check to make sure that Zxx (a, b), Z yy (a, b) > [Z xy (a, b)]
Hence, Zxy = 0 and Zyx = 0 2 Zxx (a, b).Z yy (a, b)> [Z xy (a, b)] From (2), ( −42). ( −36)>(0) 2