Higher Order Differentiation and Its Applications
Higher Order Differentiation and Its Applications
DC-1
Semester-II
Paper-IV: Mathematical methods for Economics-II
Lesson: Higher Order Differentiation and Its Applications
Lesson Developer: Sarabjeet Kaur
College/Department: Department of Economic, P.G.D.A.V College,
University of Delhi
1
Higher Order Differentiation and Its Applications
CONTENTS
1. Learning Outcomes
2. Higher Order Differentiation
3. Partial Derivatives
3.1Higher order partial derivative
3.2Partial derivative with many variables
4. Quadratic Forms
5. Exercise
6. References
1. Learning Outcomes
If f (x) be differentiable function of x, then f'(x) or is the first derivative or first order
derivative of y = f (x) w.r.t ‘x’. Since the derivative of function is also a function, therefore
another derivative can also be find. The second order derivative, or second derivative, is the
derivative of the first derivative of the function f(x). Other notations are:
or or or f '' (x)
Since f '' (x) is also a function, therefore, its derivative can also be find which is denoted as f '''
(x). For higher order derivatives superscripts can be used i.e. f4 = fourth derivative etc.
Example: -f(x) = 4x5 + 6x3+2x+1
f'''(x) = 240x2 + 36
3. Partial Derivatives
Given a function y = f(x), the derivative f '(x), represents the rate of change of the function as x
changes. For a function of two variables, such as z = f (x,y), one variable could be changing
faster than the other variables. It will be completely possible for the function to be changing
differently.
For a function of two independent variables, z = f(x,y), the partial derivative ‘z’ with respect to x
may be found as normal rule of differentiation. The only difference is that, whenever or
wherever the second independent variable ‘y’ appears, it will be treated as constant in every
respect. Also the partial differentiation of y can be found by treating x variable as constant.
Notations of partial differentiation are given below:
Example: Z = x4 y2 – x2 y6
= 4x3y2 – 2xy6
= 2x4y – 6x2 y5
, called partial derivatives of z with respect to x and y respectively, be the derivative z w.r.t.x
3
Higher Order Differentiation and Its Applications
by keeping y as constant and the derivative z w.r.t.y by keeping x as constant. All the rules of
differentiation can be applied when partial differentiation can be calculated.
fx = =LtΔx →0
fy = = LtΔy →0
= 3x2y + 2xy2 + y + 1
= x3 + 2x2y + x +2y
For a function z = f (x, y); fˈ (x) & fˈ (y) are the two first order partial derivatives with respect to
x and y respectively. Since ‘z’ is a function hence fˈ (x) and fˈ (y) are also a function, hence,
second order partial differentiation can also be found.
The second order partial derivatives are called mixed partial derivative because derivatives of
more than one variable are to be observed. e.g differentiating a function with respect to ‘x’ first
and then ‘y’ is called as mixed partial derivative. The various notation of partial derivative are
given in table:
4
Higher Order Differentiation and Its Applications
A function has four possible second partial derivatives ones that are obtained by differentiating
function w.r.t ‘x’ twice, w.r.t. y twice, w.r.t. x first than y and w.r.t. y first then x. All derivatives
have sign (+ or -) interpretation of these signs are as follows.
5
Higher Order Differentiation and Its Applications
Since x and y are positive, positive number raised to any power is positive; hence y0.5 and x-1.5
are positive , the term -0.25 in equation show that second order differentiation of z with respect
to x twice is negative meaning that the slope in the x direction decreases as x increases when y is
constant.
= x3 + 2x2y + 2xy2 +y +1
fy= x3 + 2x2y + x + 2y
fyy = 2x2 + 2
.: fxy = fyx .
The two mixed second order partial derivatives (also called as cross partial derivatives) are
always equal when fxy and fyx are continuous. It is explained by the following theorem given by
Alexis Clairant also know as Young’s theorem.
Theorem: Suppose f is defined on a disk D, which contains the point (a, b). If the partial
derivatives fxy and fyx are both continuous on disk D, then
fxy (a, b) = fyx (a, b).
Solution:-
6
Higher Order Differentiation and Its Applications
fx(x,y) = -2 x2 y2
fy(x,y) = -2 x3 y
fxy(x,y) = -2 x2 y -4 x2 y +4 x4y3
= -6 x2 y +4 x4y3
fyx(x,y)= -6 x2 y +4 x4y3
.: fxy = fyx
Hence proved.
is the differentiation of the function w.r.t. xi when all the other variables xj (j≠i ) are held
constant.
i.e =
and = and so on
Suppose, there is a function which consists of three variables v = f (x, y, z). For such a function,
there are partial derivatives of w.r.t x, y and z. When partial derivative has to take with respect to
one of x, y and z assuming other two independent variables are constant.
w.r.t. xi is when all the other variables xj (j≠i) are held constant.
fxi = = Lth →0
7
Higher Order Differentiation and Its Applications
fx = = 2x
fy=3y2
fz = 4z3
Z= 3x2(5x+7y)
= 45x2 + 42xy
Zxx= 90x+42y
Zxxx= 90.
Zxy = 0 + 42x
= 42x
Zxyx = 42
=21 x2
Zyy = 0
Zyyy = 0.
Zyx = 42x
Zyxy = 0.
8
Higher Order Differentiation and Its Applications
= 216 x – 30 y
Zxx = 216
Zxyy = 0
Zxxx = 0
Zxy = -30
Zxyy = 0
= -30x -16y
Zyy = -16
Zyyy =0
Zx =
Zxx= 0
Zy =
= =
9
Higher Order Differentiation and Its Applications
Clairaut theorem (Young’s theorem) can be extended to any function of ‘n’ number of variables
and their mixed partial derivations. The only thing has to remember that in each derivative, we
differentiate with respect to each variable the same number of times.
There are n partial derivatives of first order. For each of the first order partial order derivative of
the function, there are n second order derivatives. i.e.,
( )= =fxixj (i=1..n;j=1..n)
So, total n2 elements are there. Therefore, n*n matrix of second order partial derivative is the
Hessian matrix which is symmetric and all f11=f22=….=fn(Clairant theorem)
Example:
If the two demand functions for the two commodities are given by
x= y=
= =
10
Higher Order Differentiation and Its Applications
= =
Example:
x=ae-pq
y=bep-q
= -aqe-pq = bep-q
= -ape-pq = -bep-q
Because ≤ 0 and ≥0, therefore the given commodities are neither competitive nor
complementary.
Example
Consider two products, A and B. the demand for good A and B, & described by following two
equations
qa =
Solution
11
Higher Order Differentiation and Its Applications
qa = =
= -100
qb =
= =( )
= ( (pa-1/3)
= ( )
= ( pa-1/3-1)
=
pa-4/3 . pb-1
We know that pa and pb are positive because prices can never be negative therefore:
=-( ) = -( )<0
=- =-( )<0
12
Higher Order Differentiation and Its Applications
a. Marginal utility is given by : = ; which is greater than zero; because both the
c. ; which is less than zero. Since the second derivative is negative, the
Find out the partial elasticity with respect to labor at (L,K)= (1024,27).
This explains that if capital remains constant at K=27 and at L=24 labour increases with 1
percent, then output will increase by percent.
13
Higher Order Differentiation and Its Applications
U = U= X0.5Y0.5.
Function is U= X0.5Y0.5.
MUx= = 0.5X-0.5Y0.5.
MUy= = 0.5X0.5Y-0.5.
MRS= = = y/x
=- /
= K1/6L-1/2
= K-5/6L1/2
= −( K1/6L-1/2)/ ( K-5/6L1/2)
=- K1/6 K5/6L-1/2L-1/2
=-3(K/L)
Therefore, the slope of isoquant is 3(K,L).
Example: Given demand function Q- 90+ 2P=0; and average cost function
AC= Q2- 39.5Q+ 120+ 125/Q
14
Higher Order Differentiation and Its Applications
=45 – Q=0
Q=45
= 6Q -79=0
Q= 13.167
And, =6>0.
15
Higher Order Differentiation and Its Applications
= - 6Q + 78
When Q = 1 then,
= 72>0.
= -72<0.
MC = = 10
MR1= MC
210- 20Q1=10
Q1= 10
When Q1= 10, P1 = 210- 10(10)= 110
demand function in second market is, Q2= 50 – o.4P2
hence, P2= 125 – 2.5 Q2
TR2= (125 – 2.5 Q2)Q = 125Q – 2.5 Q22
16
Higher Order Differentiation and Its Applications
When MR2=MC
125- 5Q2=10
Q2= 23
When Q2= 23, then P2= 125 – 2.5(23)= 67.5
The discriminating monopoly charges a lower price in the second market where the demand is
relatively more elastic, and a higher price in the first market where the demand is relatively less
elastic.
Example: A producer is a price-taker on both the market for input factors labor and capital, and
the market for end products. The cost of one unit of labor equals w = 2, the cost of one unit of
capital equals r = 32 , while the selling price of the end products equals p =32. The production
function of this producer is given by Y(L,K) = L1/8 K1/2. Determine the maximum profit.
Solution:
The revenue function is R(L,K) = p.Y(L,K) = 32. L1/8 K1/2
Cost function
C(L,K) = wL + rK= 2L+32K, and
Hence, profit function becomes
Π(L,K) = 32 L1/8 K1/2 – 2L – 32K
Partial derivative of π(L,K) is given by:
= 4L-7/8K1/2 -2 and
= 16 L1/8K-1/2 -32
the stationary points of profit function are solutions of the following system
4L-7/8K1/2 -2 = 0
16 L1/8K-1/2 -32 = 0
Hence, K1/2=1/2L7/8 and
therefore, K = ¼ L14/8
Consequently, L1/8(1/4 L14/8)-1/2= 1
which gives L=1 and therefore, K=1/4
Hence, (L,K) = (1,1/4) is the only stationary point. By the use of the criterion function we
investigate whether or not this point is a maximum location.
= -3.1/2L-15/8K1/2;
17
Higher Order Differentiation and Its Applications
= -8L1/8K-3/2 and
= 2L-7/8K-1/2, which implies that the criterion function is given by
C(L,K) = . -( )2
= (-3.1/2L-15/8K1/2)(-8L1/8K-3/2)- (2L-7/8K-1/2)2
= 28 L-14/3K-1 – 4L-14/8K-1
= 24 L-14/8K-1>0
Hence, as C(1,1/4) >0 and (1,1/4) <0 it follows that has a maximum profit
at (L,K)= (1,1/4), with value π=6.
4. Quadratic Forms
A quadratic form of two variables is
f(x,y) = ax2 + 2bxy +cy2;
a,b,and c are constants. Now, using matrix notation:
f(x,y) = (x,y)
= 2a, = = 2b and = 2c are the second order partial derivatives of the function f(x,y)
Therefore, the Hessian of f is given by
The given quadratic form is said to positive definite if f(x,y) >0; for all values of x and y i.e,
(x,y) ≠ (0,0), and positive semidefinite if f(x,y)≥ 0 for all values of (x,y). The given function is
negative definite if f(x,y)<0; for all values of x and y; and it is negative semidefinite if f(x,y)≤0.
And it is indefinite we have two different pairs of x and y; (x-,y-) and (x+,y+); and also f(x+,y+)
>0.
Example: Express the quadratic form below as a matrix form. Determine the definiteness of the
equations:
a) f(x1,x2) = 4x2 +8xy +5y2
b) f(x1,x2) = -x2 +xy - 3y2
Therefore, symmetric matrix is , whose determinant is positive. Hence,f(x,y) > 0 for all
18
Higher Order Differentiation and Its Applications
f(x,y) = (x,y)
0 for all values of x and y. Therefore, the quadratic form is negative definite.
5. Exercise:
1. Find the second – order partial derivatives fxx, fyy and fxy for each of the following
functions:
(a) Z=
Qd Pc
d. Find the cross-price elasticity of demand when Y = 10,000, Ps = 5 and Pc = 7.
Pc Qd
4. Show that fxz = fzx and fxzz = fzxz = fzzx from the following function:
19
Higher Order Differentiation and Its Applications
F(x,y,z) = y
X1= p1-1.7p20.8
X2= p10.5p2-0.2
What can you say about the two commodities X1 and X2 and also find all partial elasticties.
20
Higher Order Differentiation and Its Applications
TC = 20 + 2q + 3q2 where q= q1+ q2, what price will the firm charge in two markets to maximize
profit?
Solution:
b.fxx = 294(7x + 3y); fyy = 54(7x + 3y) and fxy=fyx= 126 (7x +3y)
5. Since and are both greater than zero. Hence, the commodities X1 and X2 are
competitive.
6. p1= 3.2 and p2= 3.9; e11= -1.7; e21= 0.8; e22= -.2 and e12 = 0.5.
7. Answers:
21
Higher Order Differentiation and Its Applications
1
y K 2 40
a. 5 1
L L 2
L
b. L = 16
c. L = 25; labor demand increases with wage decline.
1
y K 2 50
d. 5 1 = 8; i.e., L = 39.
L L 2
L
1 1
e. 2.5L 2 K 2
6.References:
1. K. Sydaster and P. Hammond, Mathematics for Economic Analysis, Person Educational
Asia, Delhi, 2002.
2. M. Hoy et.al, Mathematics for Economics, PHI Learning Private Limited, Delhi, Second
Edition, 2001.
3. J.E. Draper and J.S. Klingman, Mathematical Analysis Bussiness and Economic
Applications, Harper & Row Publishers, New York, 1967.
4. Rosser, Mike, Basic Mathematics for Economists Second Edition, London, 2003.
22