Professional Documents
Culture Documents
Ees 200 Revised Lecture Notes (Complete) Courtesy of Michelle Owino
Ees 200 Revised Lecture Notes (Complete) Courtesy of Michelle Owino
LECTURE NOTES
Page 1 of 167
LECTURE ONE: EQUILIBRIUM ANALYSIS
1.1 Introduction.
Welcome to our first lesson of Mathematics for Economist II. In this lesson we start by discussing
equilibrium analysis. The general objective of this lesson is to understand how to compute market
equilibrium and the national income equilibrium. In this lecture the learner will learn how to get
be very useful in this course especially when dealing with the general equilibrium.
1.2.1 Compute the equilibrium price and quantity in the partial market model.
1.2.2 Compute the equilibrium price and quantity in the general market model.
no inherent tendency to change prevails in the model which they constitute. It is important to
i) Selected variables: - There could be other variables that have not been included. If the
model is enlarged to include more variables, the equilibrium may no longer hold.
ii) Interrelated: - All the variables included must be simultaneously be in a state of rest.
Page 2 of 167
iii) Inherent – when defining the equilibrium, the state of rest is based only on the
balancing of internal forces of the model. The external forces are therefore assumed to
be constant.
50 𝑎𝑛𝑑 2 are parameters of the equation and are assumed to be exogenous, hence they do not
change. If any of the external factors change, a new equilibrium will prevail.
change.
An equilibrium does not imply an ideal state of affairs. For example, the market price for a bag of
wheat could be Kshs. 4,000 which may be low to some of the farmers or is too high to the millers
who are buying it. But at this price, the total supply of wheat to the market is equal to the total
We will analyze the partial market equilibrium using both a linear model and a non-linear model.
This is a model of price determination in an isolated market/ single market. Only one
commodity is considered. Equilibrium in the market for a single commodity occurs when the
quantity demanded (Qd) is equal to the quantity supplied (Qs) in the market. For equilibrium to
occur, the price that the consumers are willing to pay is equal to the price that the sellers are willing
to accept.
Page 3 of 167
𝑄𝑠 − 𝑄𝑑 = 0 𝑡ℎ𝑖𝑠 𝑤𝑖𝑙𝑙 𝑖𝑚𝑝𝑙𝑦 𝑡ℎ𝑎𝑡
𝑄𝑠 = 𝑄𝑑
The quantity demanded function and quantity supplied function are functions of price. If price is
below the specified level nothing will be supplied. The demand function can be given as:
𝑄𝑑 = 𝑎 − 𝑏𝑃
This indicates that the demand function is negatively sloped. While the supply function will be
given as:
𝑄𝑠 = −𝑐 + 𝑑𝑃
In the demand and supply functions, a, b, c and d are positive constants. The supply function is
positively sloped. At equilibrium: quantity demanded is equal to quantity supplied, that is:
𝑄𝑑 = 𝑄𝑠
The equilibrium price and quantity can be determined graphically by drawing both the demand
and supply function on the same graph. Both the quantity demanded and quantity supplied will be
plotted on the Y-axis while the price will be plotted on the X-axis.
Page 4 of 167
The equilibrium price and quantity are P* and Q* respectively. It will be the price and quantity
If we have the demand and supply functions of the commodity we can determine the equilibrium
𝑄𝑑 = 𝑓(𝑃)
Page 5 of 167
𝑄𝑑 = 𝑎 − 𝑏𝑃
𝑄𝑠 = 𝑓(𝑃)
𝑄𝑠 = −𝑐 + 𝑑𝑃
At equilibrium:
𝑄𝑑 = 𝑄𝑠
𝑎 − 𝑏𝑃 = −𝑐 + 𝑑𝑃
𝑎 + 𝑐 = 𝑑𝑃 + 𝑏𝑃
𝑃(𝑑 + 𝑏) = 𝑎 + 𝑐
𝑎+𝑐
𝑃∗ = 𝑑+𝑏
𝑃∗ should be greater than zero since all the constants a, b, c and d are positive.
To get the equilibrium quantity, we can replace the value of 𝑃∗ either in the demand or supply
function.
𝑄𝑑 = 𝑎 − 𝑏𝑃 ∗
𝑎+𝑐
= 𝑎−𝑏[ ]
𝑑+𝑏
Page 6 of 167
𝑎𝑑 + 𝑎𝑏 − 𝑎𝑏 − 𝑐𝑏
=
𝑑+𝑏
𝑎𝑑 − 𝑐𝑏
𝑄∗ = 𝑓𝑜𝑟 𝑄 ∗ 𝑡𝑜 𝑏𝑒 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒, 𝑎𝑑 𝑠ℎ𝑜𝑢𝑙𝑑 𝑏𝑒 𝑔𝑟𝑒𝑎𝑡𝑒𝑟 𝑡ℎ𝑎𝑛 𝑐𝑏 𝑖. 𝑒
𝑑+𝑏
𝑎𝑑 > 𝑐𝑏
Intersection between demand and supply function should occur above the X-axis for
𝑃∗ 𝑎𝑛𝑑 𝑄 ∗ 𝑡𝑜 𝑏𝑒 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒.
Example
The demand and the supply function for a good are given as:
𝑄𝑑 = 200 − 2𝑃
𝑄𝑠 = −20 + 2𝑃
Required:
At equilibrium, 𝑄𝑑 = 𝑄𝑠
200 − 2𝑃 = −20 + 2𝑃
220 = 2𝑃 + 2𝑃
4𝑃 = 220
Page 7 of 167
220
𝑃∗ = = 55
4
𝑄 ∗ = 200 − 2[55]
= 200 − 110
𝑄 ∗ = 90
Exercise
𝑃 = 100 − 2𝑄𝑑
𝑃 = 10 + 7𝑄𝑠
The demand and supply functions for a commodity are given as:
𝑄𝑑 = 6 − 𝑃2
𝑄𝑠 = 10𝑃 − 5
For equilibrium
𝑄𝑑 = 𝑄𝑠
6 − 𝑃2 = 10𝑃 − 5
Page 8 of 167
𝑃2 + 10𝑃 − 11 = 0
Since the resulting equation is a quadratic equation, then we can use any one of the methods that
are available for solving such equations: Factorization, the quadratic formula, completing the
(𝑝 − 1)(𝑝 + 11) = 0
𝑃 = 1 𝑜𝑟 𝑃 = −11
We can only deal with positive prices hence equilibrium price is 1 while the equilibrium
Self-test question
Determine the equilibrium prices and quantities in the following two problems:
i) 𝑄𝑑 = 3 – 𝑃2 , 𝑄𝑠 = 6𝑃 – 4
ii) 𝑄𝑑 = 8 − 𝑃2 , 𝑄𝑠 = 𝑃2 − 2
Rarely will the demand for a product be a function of own price alone. Prices of other related
commodities such as complements and substitutes will affect its. General market equilibrium deals
Page 9 of 167
with a case whereby demand or supply of a commodity is a function of its own price and also
Numerical Example
At equilibrium:
Qd2 = 𝑄𝑠2
This gives us two simultaneous equations that can be solved simultaneously to obtain:
116 78
𝑃1 = 𝑎𝑛𝑑 𝑃2 = 𝑇ℎ𝑒 𝑒𝑞𝑢𝑖𝑙𝑖𝑏𝑟𝑖𝑢𝑚 𝑞𝑢𝑎𝑛𝑡𝑖𝑡𝑖𝑒𝑠 𝑓𝑜𝑟 𝑔𝑜𝑜𝑑 1 𝑎𝑛𝑑 2 𝑤𝑖𝑙𝑙 𝑏𝑒
36 36
98
𝑄1 = 𝑎𝑛𝑑 𝑄2 = 4.5
9
In the general market, equilibrium requires that all the markets be in equilibrium simultaneously.
𝑄𝑑𝑖 − 𝑄𝑠𝑖 = 0
Page 10 of 167
Or
𝑄𝑑𝑖 = 𝑄𝑠𝑖
We will get a set of prices, Pi and Qi for each market that will ensure the market is in equilibrium.
𝟐 𝒄𝒐𝒎𝒎𝒐𝒅𝒊𝒕𝒚 𝒄𝒂𝒔𝒆
𝑄𝑑1 = 𝑄𝑠1
𝑄𝑑1 = 𝑎0 + 𝑎1 𝑃1 + 𝑎2 𝑃2
𝑄𝑠1 = 𝑏0 + 𝑏1 𝑃1 + 𝑏2 𝑃2
𝑄𝑑2 = 𝑄𝑠2
𝑄𝑑2 = 𝑐0 + 𝑐1 𝑃1 + 𝑐2 𝑃2
𝑄𝑠2 = 𝑑0 + 𝑑1 𝑃1 + 𝑑2 𝑃2
𝑎0 + 𝑎1 𝑃1 + 𝑎2 𝑃2 = 𝑏0 + 𝑏1 𝑃1 + 𝑏2 𝑃2
(𝑎𝑖 − 𝑏𝑖 ) = 𝛼𝑖
Page 11 of 167
(𝑐𝑖 − 𝑑𝑖 ) = 𝛾𝑖
If we replace each (𝑎𝑖 − 𝑏𝑖 ) in equation (i) with αi and each (𝑐𝑖 − 𝑑𝑖 ) in equation (ii) with
𝛼1 𝑃1 + 𝛼2 𝑃2 = −𝛼0
𝛾1 𝑃1 + 𝛾2 𝑃2 = −𝛾0
The two equations are then solved simultaneously to get equilibrium price and quantities.
𝛼2 𝛾0 − 𝛼0 𝛾2
𝑃1∗ = − − − − − − − −𝑒𝑞𝑢𝑖𝑙𝑖𝑏𝑟𝑖𝑢𝑚 𝑝𝑟𝑖𝑐𝑒 𝑜𝑓 𝑔𝑜𝑜𝑑 1
𝛼1 𝛾2 − 𝛼2 𝛾1
𝛼0 𝛾1 − 𝛼1 𝛾0
𝑃2∗ = − − − − − − − −𝑒𝑞𝑢𝑖𝑙𝑖𝑏𝑟𝑖𝑢𝑚 𝑝𝑟𝑖𝑐𝑒 𝑜𝑓 𝑔𝑜𝑜𝑑 2
𝛼1 𝛾2 − 𝛼2 𝛾1
For the price to be meaningful, 𝛼1 𝛾2 − 𝛼2 𝛾1 ≠ 0. In addition, the numerator should have the same
The equilibrium quantities will be obtained by replacing these values of equilibrium prices in the
Page 12 of 167
𝑄𝑑𝑖 = 𝑄𝑠𝑖
Y, C are endogenous variables while I0 and G0 are exogenous variables. In order to get the
𝑌 = 𝑎 + 𝑏𝑌 + 𝐼0 + 𝐺0
𝑌 − 𝑏𝑌 = 𝑎 + 𝐼0 + 𝐺0
𝑌(1 − 𝑏) = 𝑎 + 𝐼0 + 𝐺0
a+ I0 + G0
Y* =
(1- b)
We can get the equilibrium level of consumption by replacing the equilibrium value of national
a+ I0 + G0
𝐶 = 𝑎 + 𝑏[ ]
(1- b)
𝑎(1 − 𝑏) + 𝑏(a+ I0 + G0 )
=
1−𝑏
𝑎 + 𝑏( I0 + G0 )
𝐶∗ =
1−𝑏
Page 13 of 167
This is the expression for the equilibrium consumption.
Example
Determine the equilibrium values of the endogenous variables within the model.
To solve for the equilibrium values of Y we substitute for C in to national income equation
𝑌 = 40 + 0.8𝑌 + 50 + 100
𝑌 = 190 + 0.8𝑌
𝑌 − 0.8𝑌 = 190
0.2𝑌 = 190
𝑌 ∗ = 950
To obtain the value of equilibrium consumption, we substitute for the value of Y* into the
consumption function
𝐶 ∗ = 40 + 0.8(950)
𝐶 ∗ = 40 + 0.8(950)
𝐶 ∗ = 800
Page 14 of 167
1.3 Self-Assessment Questions
Page 15 of 167
1.4 E-references
Page 16 of 167
LECTURE TWO: DIFFERENTIATION OF NON-ALGEBRAIC FUNCTIONS
2.1 Introduction
This lecture will guide the learner on how to differentiate exponential and logarithmic functions.
Logarithmic Functions)
An algebraic function is any function that can be expressed in terms of polynomials or roots of
4𝑋 2 +5𝑋−2
𝑌= is an algebraic function.
3𝑋+2
A non-algebraic function is any function where the independent variable appears in the power,
Y = sin 𝑋
Page 17 of 167
𝑌 = 𝑙𝑜𝑔5 𝑋
2 −7𝑋
𝑌 = 𝑒 2𝑋
In this course we will concentrate on the exponential and logarithmic functions because they
𝐼𝑓 𝑦 = 𝑒 𝑥
𝑑𝑦
= 𝑦 = 𝑒𝑥
𝑑𝑥
If 𝑦 = 𝑒 𝑓(𝑥)
𝑑𝑦
= 𝑓′(𝑥). 𝑒 𝑓(𝑥) - Chain Rule
𝑑𝑥
Examples
i) 𝑦 = 𝑒 4𝑥
𝑑𝑦
= 4𝑒 4𝑥
𝑑𝑥
ii) 𝑦 = 𝑒 −𝑥
𝑑𝑦
= −𝑒 −𝑥
𝑑𝑥
3 −7𝑥 2
iii) 𝑦 = 5𝑒 2𝑥
𝑑𝑦 3 2
= 5 (𝑒 2𝑥 −7𝑥 ) ∗ (6𝑥 2 − 14𝑥)
𝑑𝑥
𝑑𝑦 3 2
= 5 (6𝑥 2 − 14𝑥)(𝑒 2𝑥 −7𝑥 )
𝑑𝑥
Page 18 of 167
𝑦 = 𝑎𝑥
𝑑𝑦
The easiest way of finding the derivative of such a function with respect to x (𝑑𝑥 ) is presented in
Ln 𝑦 = 𝑥 𝐿𝑛 𝑎
1 𝑑𝑦
= (1) Ln a
𝑦 𝑑𝑥
𝑑𝑦
3. Making 𝑑𝑥 the subject of the formula, we have:
𝑑𝑦
= y Ln a = 𝑎 𝑥 𝐿𝑛 𝑎
𝑑𝑥
Examples
i) 𝑦 = 3𝑥
1. 𝐿𝑛 𝑦 = 𝑥 𝐿𝑛 3
1 𝑑𝑦
2. = (1) Ln 3
𝑦 𝑑𝑥
𝑑𝑦
3. = 𝑦 𝐿𝑛 3 = 3𝑥 𝐿𝑛 3
𝑑𝑥
3 −𝑥 2
ii) 𝑦 = 53𝑥
4. 𝐿𝑛 𝑦 = (3𝑥 3 − 𝑥 2 )𝐿𝑛 5
1 𝑑𝑦
5. = (9𝑥 2 − 2𝑥) Ln 5
𝑦 𝑑𝑥
𝑑𝑦 3 −𝑥 2
6. = 𝑦 (9𝑥 2 − 2𝑥) 𝐿𝑛 5 = 53𝑥 (9𝑥 2 − 2𝑥)𝐿𝑛 5
𝑑𝑥
Page 19 of 167
c) The Natural Logarithmic function rule
𝑦 = 𝐿𝑛𝑥
𝑑𝑦 1
=
𝑑𝑥 𝑥
𝑌 = 𝐿𝑛 𝑓(𝑥)
𝑑𝑦 𝑓′ 𝑥
= 𝑓(𝑥)
𝑑𝑥
Examples
i) 𝑦 = 𝐿𝑛(𝑎𝑥)
𝑑𝑦 𝑎 1
= 𝑎𝑥 = 𝑥
𝑑𝑥
ii) 𝑦 = 𝐾 𝐿𝑛𝑥
𝑑𝑦 𝐾
=
𝑑𝑥 𝑥
iii) 𝑦 = 𝐿𝑛 𝑥 2
𝑑𝑦 𝑓′(𝑥) 2𝑥 2−1 2
= = =
𝑑𝑥 𝑓(𝑥) 𝑥2 𝑥
iv) 𝑦 = ln(3𝑥 3 − 2𝑥 2 )
𝑑𝑦 9𝑥 2 − 4𝑥
=
𝑑𝑥 3𝑥 3 − 2𝑥 2
𝑑𝑦 9𝑥 − 4
=
𝑑𝑥 3𝑥 2 − 2𝑥
v) 𝑦 = 𝑡 3 𝐿𝑛𝑡 2
Page 20 of 167
𝑑𝑦 2 (𝐿𝑛𝑡 2 )
𝑡 3 . 2𝑡
= 3𝑡 + 2
𝑑𝑡 𝑡
= 3𝑡 2 𝐿𝑛𝑡 2 + 2𝑡 3+1−2
= 3𝑡 2 𝐿𝑛𝑡 2 + 2𝑡 2
= 𝑡 2 (3𝐿𝑛𝑡 2 + 2)
𝑙𝑛𝑋
a) 𝑌 = 𝑙𝑜𝑔𝑎 𝑋 , 𝑖𝑛𝑡𝑜 𝑛𝑎𝑡𝑢𝑟𝑎𝑙 𝑙𝑜𝑔𝑎𝑟𝑖𝑡ℎ𝑚𝑠, 𝑡ℎ𝑒 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑏𝑒𝑐𝑜𝑚𝑒𝑠: 𝑌= 𝑙𝑛𝑎
𝑑𝑦 1 1
= 𝑙𝑛𝑎 𝑋
𝑑𝑥
Example
i) 𝑌 = 𝑙𝑜𝑔10 𝑋
𝑑𝑌 1 1
= 𝑙𝑛10 . 𝑋
𝑑𝑋
ln 𝑓(𝑋) 𝑑𝑦 𝑓 ′ (𝑋)
b) If 𝑌 = 𝑙𝑜𝑔𝑎 𝑓(𝑋) 𝑌= = 𝑙𝑛𝑎 𝑓(𝑥
𝑙𝑛𝑎 𝑑𝑋
Example
ln(2𝑋 3 +3𝑋)
𝑌= 𝑓 ′ (𝑋) = 6𝑋 2 + 3
𝑙𝑛5
𝑑𝑦 6𝑋 2 +3 6𝑋 2 +3
= =
𝑑𝑋 𝑙𝑛5(2𝑋 3 +3𝑋) 1.61(2𝑋 3 +3𝑋)
Sometimes we may encounter products and quotients of functions whose derivatives may turn out
to be difficult to compute by means of the product and quotient rules. One efficient approach of
Page 21 of 167
We demonstrate how to do this using the following examples:
Examples
(1+𝑥 3 )
1. 𝑦 = (𝑥+5)(3𝑥−2)
𝐿𝑛 𝑦 = 𝐿𝑛 (1 + 𝑥 3 ) − 𝐿𝑛 (𝑥 + 5) − 𝐿𝑛 (3𝑥 − 2)
1 𝑑𝑦 3𝑥 2 1 3
= (1+𝑥 3 ) − (𝑥+5) − 3𝑥−2
𝑦 𝑑𝑥
𝑑𝑦 3𝑥 2 1 3
= {(1+𝑥 3 ) − (𝑥+5) − 3𝑥−2}*y
𝑑𝑥
Substitute for y
𝑑𝑦 3𝑥 2 1 3 (1+𝑥 3 )
= {(1+𝑥 3 ) − (𝑥+5) − 3𝑥−2}*((𝑥+5)(3𝑥−2) )
𝑑𝑥
2. 𝑦 = 𝑎3𝑥+5 𝑒 5𝑥+9
𝐿𝑛 𝑒 = 1
Rewrite as follows:
Page 22 of 167
𝐿𝑛 𝑦 = (3𝑥 + 5)𝐿𝑛 𝑎 + (5𝑥 + 9)
1 𝑑𝑦
= 3 𝐿𝑛 𝑎 + 5
𝑦 𝑑𝑥
𝑑𝑦
= {3 𝐿𝑛 𝑎 + 5} ∗ 𝑦
𝑑𝑥
𝑑𝑦
= {3 𝐿𝑛 𝑎 + 5} ∗ (𝑎3𝑥+5 𝑒 5𝑥+9 )
𝑑𝑥
𝑌 = 𝑓(𝑡)
Method 2: The growth rate of Y can also be obtained through making use of logarithms
𝐿𝑛 𝑌 = 𝐿𝑛 𝑓(𝑡)
𝑑𝑦 𝑓 ′ (𝑡)
(𝐿𝑛 𝑓(𝑡)) =
𝑑𝑡 𝑓(𝑡)
Page 23 of 167
Example One
𝑁 = 𝑁0 𝑒 𝑎𝑡
Using Method 1
𝑑𝑁⁄𝑑𝑡
𝑔=
𝑁
𝑑𝑁
= 𝑎𝑁0 𝑒 𝑎𝑡
𝑑𝑡
𝑎𝑁0 𝑒 𝑎𝑡
𝑔= =𝑎
𝑁0 𝑒 𝑎𝑡
Example Two
The growing value (V) of an asset is given by the exponential function. Find the rate of growth
𝑉 = 𝐵𝑒 𝑟𝑡
Where: B = Constant
r = rate of growth
t = time
Solution
Using Method 2
𝐿𝑛 𝑉 = 𝐿𝑛 𝐵 + 𝑟𝑡 𝐿𝑛 𝑒
Page 24 of 167
Growth rate = r
Consider two functions 𝑝(𝑡) and 𝑞(𝑡), where both functions are known to be growing with
𝑦 = 𝑝. 𝑞
All these functions are functions of time. The growth rate of y (𝐺𝑦 ) is obtained by the following
Step 1:
𝐿𝑛𝑦 = 𝐿𝑛 𝑝 + 𝐿𝑛 𝑞
To obtain the growth rate of y, we obtain the derivative of Ln y with respect to time ‘t’
𝑑 𝑑 𝑑
𝐺𝑦 = {𝐿𝑛 𝑦} = {𝐿𝑛 𝑝} + {𝐿𝑛 𝑞} = 𝐺𝑝 + 𝐺𝑞
𝑑𝑡 𝑑𝑡 𝑑𝑡
The results tell us that the growth rate of the product of two functions is equal to the sum of
Example
The price (P) of tea harvested from a plantation is growing at 3% per annum, while the quantity
(Q) supplied is growing at 1.8% per annum. Calculate the annual growth rate of the total
Solution
Page 25 of 167
𝑅 = 𝑃. 𝑄
𝐿𝑛 𝑅 = 𝐿𝑛 𝑃 + 𝐿𝑛 𝑄
𝑑 𝑑 𝑑
𝐺𝑅 = {𝐿𝑛 𝑅} = {𝐿𝑛 𝑃} + {𝐿𝑛 𝑄} = 𝐺𝑃 + 𝐺𝑄
𝑑𝑡 𝑑𝑡 𝑑𝑡
𝐺𝑅 = 3% + 1.8% = 4.8%
We shall consider two functions of time: u and v whose quotient is given by:
𝑢
𝑦=
𝑣
All the three functions are functions of time. The growth rate of y is derived by applying the
following procedure:
Step 1
𝐿𝑛 𝑦 = 𝐿𝑛 𝑢 − 𝐿𝑛 𝑣
Step 2
Find the growth rate of y by finding the derivative of 𝐿𝑛 𝑦 with respect to time.
𝑑 𝑑 𝑑
𝐺𝑦 = {𝐿𝑛 𝑦} = {𝐿𝑛 𝑢} − {𝐿𝑛 𝑣} = 𝐺𝑢 − 𝐺𝑣
𝑑𝑡 𝑑𝑡 𝑑𝑡
Page 26 of 167
The results tell us that the growth rate of the quotient of two functions is equal to the difference
of the growth rates of the individual functions i.e the growth rate of the numerator minus the
Example
The national income (Y) of a developing country is growing at an annual rate of 1.3% while
the population (P) is growing at the rate 2.5% per annum. Find the growth rate of the per capita
income (PCY)
Solution
𝑌
𝑃𝐶𝑌 =
𝑃
Step 1
𝐿𝑛 𝑃𝐶𝑌 = 𝐿𝑛 𝑌 − 𝐿𝑛 𝑃
Step 2
Find the growth rate of PCY by finding the derivative of 𝐿𝑛 𝑃𝐶𝑌 with respect to time.
𝑑 𝑑 𝑑
𝐺𝑃𝐶𝑌 = {𝐿𝑛 𝑃𝐶𝑌} = {𝐿𝑛 𝑌} − {𝐿𝑛 𝑃} = 𝐺𝑌 − 𝐺𝑃
𝑑𝑡 𝑑𝑡 𝑑𝑡
𝑦 = 𝑓(𝑥)
Page 27 of 167
Using the concept of logarithms, the elasticity of y with respect to x is obtained using the following formula:
𝑑(𝐿𝑛 𝑦)
𝜀𝑦,𝑥 =
𝑑(𝐿𝑛 𝑥)
Example
Find the elasticity of demand for the following hyperbolic demand function
𝑄 = 𝑎𝑃−𝑏
Solution
𝐿𝑛 𝑄 = 𝐿𝑛 𝑎 − 𝑏 𝐿𝑛 𝑃
To obtain the elasticity of Q with respect to P by finding the derivative of 𝐿𝑛 𝑄 with respect to
𝐿𝑛 𝑃
𝑑(𝐿𝑛 𝑄)
𝜀𝑄,𝑃 = = −𝑏
𝑑(𝐿𝑛 𝑃)
a) The initial value of wine is W0 = 100, the rate of growth is 3%, and the growing value of
wine is given by the following equation.
Wt = W0er√t
Required: Calculate the value of wine at the end of 9th year.
b) Suppose that the population of Nairobi County is growing according to the function
N(t) = 2,400,000e0.03t, where N(t) is population size at time t; t is the number of years.
2.4 E-references
Page 28 of 167
1. Chiang Alpha, Wainwright K. (2005), Fundamental methods of Mathematical
Economics, 4th edition, McGraw Hill, Singapore
2. Holden K., Pearson A.W. (1985), Introductory Mathematics for Economists, Macmillan
press, London
3. Mukras M.S. (1986), Elements of Mathematical Economics, Kenya Literature bureau
Page 29 of 167
LECTURE THREE: PARTIAL DIFFERENTIATION
3.1 Introduction
This lecture will guide the learner on how to differentiate multivariate functions and its
A function of two or more independent variables is called a multivariate function. The total change
of the dependent variable will be as a result of the changes resulting from a change of each of the
independent variable.
For example, when we consider the change of utility of a household which consumes two types of
U = f (X1, X2)
Page 30 of 167
X2 = units of rice consumed
When analyzing the total change in the utility of the household, due to change in number of units
𝜕𝑈 𝜕𝑈
𝑑𝑈 = 𝑑𝑋1 + 𝑑𝑋
𝜕𝑋1 𝜕𝑋2 2
The sum of the two parts is called the total differential of the utility function. i.e
𝑑𝑈 = Total differential of utility. It is the total change in utility as a result of change in number of
Each of the parts is called a partial differential of the utility function with respect to gods 1 and 2
respectively.
𝜕𝑈
𝑑𝑋1 = Partial differential of utility function with respect to X1
𝜕𝑋1
𝜕𝑈
𝑑𝑋2 = Partial differential of utility function with respect to X2. It measures the change in utility
𝜕𝑋2
𝑌 = 𝑓(𝑋1 , 𝑋2 , 𝑋3 , … … … … . . 𝑋𝑛 )
Page 31 of 167
The total differential is given as:
𝜕𝑌 𝜕𝑌 𝜕𝑌 𝜕𝑌
𝑑𝑌 = 𝑑𝑋1 + 𝑑𝑋2 + 𝑑𝑋3 … … … … … … . . + 𝑑𝑋
𝜕𝑋1 𝜕𝑋2 𝜕𝑋3 𝜕𝑋𝑛 𝑛
𝜕𝑌
Where 𝜕𝑋 𝑑𝑋𝑖 represents the change in dependent variable Y due to change in variable i
𝑖
If we are interested in knowing how Y changes when Xi changes, the other variables are assumed
to be constant.
Example1
𝜕𝑌 𝜕𝑌
𝑑𝑌 = 𝑑𝑋1 + 𝑑𝑋
𝜕𝑋1 𝜕𝑋2 2
𝜕𝑌
= Partial derivative of Y with respect to X1 when X2 is held constant.
𝜕𝑋1
𝜕𝑌
= Partial derivative of Y with respect to X2 when X1 is held constant.
𝜕𝑋2
Example 2
𝑍 = 5𝑋𝑌 + 2𝑋 2 𝑌 – 8𝑌 2 𝑋
Solution
Page 32 of 167
𝑑𝑍 = (5𝑌 + 4𝑋𝑌 – 8𝑌 2 )𝑑𝑋 + (5𝑋 + 2𝑋 2 – 16𝑌𝑋)𝑑𝑌
Partial differentiation
This is applied to multivariable functions when we are analyzing the change in the dependent
variables as a result of change in one of the independent variables when the other independent
For example, a firm produces 2 goods 1 and 2. If we want to know the change in the total cost of
the firm when the production of good1 is increased when production of good 2 is held constant,
partial derivatives of the cost function with respect to change in good 1 will be useful.
Whenever we differentiate multivariate function with respect to one of the independent variable,
Example
Y = 15X1 + 8X22
𝜕𝑌
= 15 (8x22 behaves like a constant hence its derivative with respect to X1 is 0)
𝜕𝑋1
𝜕𝑌
= 16𝑋2 (15x1 is a constant. Its derivative with respect to X2 is 0)
𝜕𝑋2
If:
Page 33 of 167
𝜕𝑌
= 2𝑋2 + 6𝑋1 (12X22 behaves as constant hence its derivative with respect to
𝜕𝑋1
𝜕𝑌
= 2𝑋1 + 24𝑋2
𝜕𝑋2
Then:
𝜕𝑌
= 𝑓 ′ (𝑋1 ) + 𝑔′ (𝑋1 )
𝜕𝑋1
𝑆𝑖𝑚𝑖𝑙𝑎𝑟𝑙𝑦
𝜕𝑌
= 𝑓 ′ (𝑋2 ) + 𝑔′ (𝑋2 )
𝜕𝑋2
Example
𝜕𝑦 𝜕𝑦
Get 𝜕𝑥 𝑎𝑛𝑑 in the following function
1 𝜕𝑥2
i. Y = 8X1 + 5X12 X2
𝜕𝑌
= 8 + 10𝑋1 𝑋2
𝜕𝑋1
𝜕𝑌
= 5𝑋1 2
𝜕𝑋2
Page 34 of 167
𝜕𝑌
= 45X22 X12 – 4X1 X2
𝜕𝑋1
𝜕𝑌
= 30X2 X13 – 2X12
𝜕𝑋2
Practice question
𝜕𝑦 𝜕𝑦
Get 𝜕𝑥 𝑎𝑛𝑑
1 𝜕𝑥2
2. Product rule
𝜕𝑌 𝑑𝑓 𝑑𝑔
= 𝑑𝑋 . 𝑔(𝑋1 , 𝑋2 ) + 𝑑𝑋 𝑓(𝑋1 , 𝑋2 )
𝜕𝑋1 1 1
𝑆𝑖𝑚𝑖𝑙𝑎𝑟𝑙𝑦
𝜕𝑌 𝑑𝑓 𝑑𝑔
= 𝑑𝑋 . 𝑔(𝑋1 , 𝑋2 ) + 𝑑𝑋 𝑓(𝑋1 , 𝑋2 )
𝜕𝑋2 2 2
Example:
𝜕𝑌
= 16𝑋1 (4𝑋23 + 3𝑋1 𝑋2 ) + 3𝑋2 (8𝑋 12 + 2𝑋2 )
𝜕𝑋1
Page 35 of 167
= 64X1 X23 + 72X12 X2 + 6X22
𝜕𝑌
= 2(4𝑋23 + 3𝑋1 𝑋2 ) + (12𝑋2 2 + 3𝑋1 )(8𝑋 12 + 2𝑋2 )
𝜕𝑋2
3. Quotient rule
𝑓(𝑋 ,𝑋 )
𝑌 = 𝑔(𝑋1 ,𝑋2 )
1 2
𝑑𝑓 𝑑𝑔
𝜕𝑌 . 𝑔(𝑋1 , 𝑋2 ) − 𝑓(𝑋1 , 𝑋2
𝑑𝑋1 𝑑𝑋1
=
𝜕𝑋1 (𝑔(𝑋1 , 𝑋2 )2 )
𝑑𝑓 𝑑𝑔
𝜕𝑌 . 𝑔(𝑋1 , 𝑋2 ) − 𝑓(𝑋1 , 𝑋2
𝑑𝑋2 𝑑𝑋2
=
𝜕𝑋2 (𝑔(𝑋1 , 𝑋2 )2 )
Example:
8𝑋 21 .𝑋2
𝑌 = 4𝑋 2
1 + 3𝑋2
Page 36 of 167
𝜕𝑌 32𝑋1 2 𝑋2 + 48𝑋1 𝑋2 3
= 2
𝜕𝑋1 (4𝑋 + 3𝑋 2 )
1 2
2
𝜕𝑌 32𝑋 13 . − 24𝑋 12 𝑋2
= 2
𝜕𝑋2 (4𝑋1 + 3𝑋2 2 )
𝑌 = [𝑓(𝑋1 , 𝑋2 )]𝑛
𝜕𝑌
= 𝑛. [𝑓(𝑋1 , 𝑋2 )]𝑛−1 . 𝑓′𝑋1
𝜕𝑋1
𝜕𝑌
= 𝑛. [𝑓(𝑋1 , 𝑋2 )]𝑛−1 . 𝑓′𝑋2
𝜕𝑋2
Example
𝜕𝑌
= 4. [8𝑋22 + 3𝑋1 𝑋2 ]3 .( 3𝑋2 )
𝜕𝑋1
𝜕𝑌
= 4. [8𝑋22 + 3𝑋1 𝑋2 ]3 .( 16𝑋2 + 3𝑋1 )
𝜕𝑋2
Page 37 of 167
𝑌 = 𝑓(𝑋1 , 𝑋2 )
Then:
𝜕𝑌 𝜕𝑌
𝑎𝑛𝑑 are called the first order partial derivatives with respect to X1 and X2 respectively.
𝜕𝑋1 𝑑𝑋2
When the first order partial derivatives are differentiated again with respect to X1 and X2 we get
the second order partial derivatives and the cross partial derivatives.
Given : 𝑌 = 𝑓(𝑋1 , 𝑋2 )
Then:
𝜕𝑌 𝜕𝑌 𝜕𝑌
𝑐𝑎𝑛 𝑏𝑒 𝑤𝑟𝑖𝑡𝑡𝑒𝑛 𝑎𝑠: = 𝑓𝑋1 while 𝜕𝑋 = 𝑓𝑋2
𝜕𝑋1 𝜕𝑋1 2
𝜕 2𝑌
= 𝑓𝑋1 𝑋1
𝜕𝑋1 2
While the second order partial derivative of Y with respect to X2 is given as:
𝜕 2𝑌
= 𝑓𝑋2 𝑋2
𝜕𝑋2 2
𝜕𝑌 𝜕𝑌
In addition we get the partial derivatives of with respect to 𝑋2 𝑎𝑛𝑑 with respect to 𝑋1.
𝜕𝑋1 𝜕𝑋2
𝜕2 𝑌
= 𝑓𝑋1 𝑋2 This tells us how 𝑓𝑋1 changes when X2 changes.
𝜕𝑋1 𝜕𝑋2
Page 38 of 167
And
𝜕2 𝑌
= 𝑓𝑋2 𝑋1 tells us how 𝑓𝑋2 changes when X1 changes.
𝜕𝑋2 𝜕𝑋1
These two second order partial derivatives are known as the cross partial derivatives.
According to the young’s theorem, the cross partial derivatives should be equal. i.e.
𝑓𝑋1 𝑋2 = 𝑓𝑋2 𝑋1
Example:
Given a function
Get the first and the second order partial derivatives with respect to X1 and X2.
𝜕𝑌 𝜕𝑌
= 6𝑋1 + 6𝑋2 while = 6𝑋22 + 6𝑋1
𝜕𝑋1 𝜕𝑋2
𝜕 2𝑌
= 𝑓𝑋1 𝑋1 = 6
𝜕𝑋1 2
𝜕 2𝑌
= 𝑓𝑋2 𝑋2 = 12𝑋2
𝜕𝑋2 2
𝜕 2𝑌
= 𝑓𝑋1 𝑋2 = 6
𝜕𝑋1 𝜕𝑋2
𝜕 2𝑌
𝑎𝑛𝑑 = 𝑓𝑋2 𝑋1 = 6
𝜕𝑋2 𝜕𝑋1
Page 39 of 167
𝑓𝑋1 𝑋2 = 𝑓𝑋2 𝑋1 = 6
8𝑋12
ii) 𝑦 = (2𝑋1 +3𝑋2 𝑋1 )3 )
b) Get the first order, second order and cross partial derivatives of the following functions.
3.4 E-references
(i) Chiang Alpha, Wainwright K. (2005), Fundamental methods of Mathematical Economics, 4th
edition, McGraw Hill, Singapore
(ii) Holden K., Pearson A.W. (1985), Introductory Mathematics for Economists, Macmillan
press, London
(iii)Mukras M.S. (1986), Elements of Mathematical Economics, Kenya Literature bureau
Page 40 of 167
LECTURE FOUR: ECONOMIC APPLICATIONS OF PARTIAL DERIVATIVES
4.1 Introduction
In this lecture we shall learn how partial derivatives and the second order partial derivatives are
applied in Economics.
4.2.1 Get the marginal functions and their nature in multivariate economic functions
In Economics, most functions are multivariate. We therefore need to look at how these functions
change due to change in one of the independent variable when others are held constant.
Assume a consumer derives satisfaction from consuming 2 goods 1 and 2. The utility function
can be given as
U =f (Q1, Q2)
Page 41 of 167
We assume that this utility function is continuous, differentiable and 2nd order partial derivatives
can be obtained.
𝜕𝑈 𝜕𝑈
>0 >0
𝜕𝑄1 𝜕𝑄2
𝜕𝑈
= marginal utility of good 1
𝜕𝑄1
𝜕𝑈
= marginal utility of good 2
𝜕𝑄2
𝜕𝑈 𝜕𝑈
𝑑𝑈 = 𝑑𝑋1 + 𝑑𝑋
𝜕𝑋1 𝜕𝑋2 2
If you recall what you learnt in micro economics I, an indifference comes is convex to be origin
and its downward sloping. Along an indifference curve, the utility level is constant and does not
change. Hence, 𝑑𝑈 = 0
𝑑𝑋2 −𝑀𝑈𝑋2
=
𝑑𝑋1 𝑀𝑈𝑋2
Page 42 of 167
Q2
Indifference map
Q1
If the slope of the marginal utility with respect to a good is positive, the utility function displays
decreasing marginal utility with respect to that good and if negative, it displays diminishing
marginal utility. Most normal goods display decreasing marginal utility hence;
𝜕𝑀𝑈(𝑄1 )
is expected to be less than 0.
𝜕𝑄1
𝜕𝑀𝑈(𝑄1 ) 𝜕 2 𝑈
=
𝜕𝑄1 𝜕𝑄1 2
Example one
U=Q½ Q4/3
i)
Determine the marginal utility of good 1 and 2
ii)
Determine the nature of marginal utility for each of the goods.
Page 43 of 167
Solution
𝜕𝑈 4/3
i) = 0.5𝑄1−0.5 𝑄2 = marginal utility of good 1
𝜕𝑄1
𝜕𝑈 4 1/3
= 3 𝑄10.5 𝑄2 marginal utility of good 2
𝜕𝑄2
𝜕(𝑀𝑈𝑄 ) 4/3
4/3 −0.25𝑄2
ii) 1
= −0.25𝑄1−1.5 𝑄2 = Given that 𝑄1 𝑎𝑛𝑑 𝑄2 are non-negative, it
𝜕𝑄1 𝑄11.5
entire expression will be positive, hence good 2 displays increasing marginal utility.
We have been assuming that a firm produces 1 product only. But in some cases, a firm is likely to
produce several products. There is need to find out how the total cost of a firm changes when the
production one of the products change when the production of other products is held constant. The
total cost of the firm will be a function of production level of each of the products. If we have 𝑛
products then
𝑇𝐶 = 𝑓(𝑄1 , 𝑄2 , … … . 𝑄𝑛 )
𝑇𝐶 = 𝑓(𝑄1 , 𝑄2 )
Page 44 of 167
and 2 are
𝑑𝑇𝐶 𝑑𝑇𝐶
𝑀𝐶1 = 𝑑𝑄 While marginal cost of good 2 is given as: 𝑀𝐶2 = 𝑑𝑄
1 2
Example
𝑑𝑇𝐶
𝑀𝐶1 = = 24𝑄1 2 + 4𝑄2
𝑑𝑄1
𝑑𝑇𝐶
𝑀𝐶2 = = 12𝑄2 + 4𝑄1
𝑑𝑄2
The firm is also interested in knowing if marginal costs are increasing or decreasing with output
change. This is computed by getting the derivatives of partial marginal cost functions with respect
to that good.
𝑑𝑇𝐶
𝑀𝐶1 = = 24𝑄1 2 + 4𝑄2
𝑑𝑄1
𝑑𝑀𝐶1
= 48𝑄1 > 0 since Q1 is positive, the whole expression will be positive, hence good 1
𝑑𝑄1
Similarly, to determine if MC2 increases or decreases with output we differentiate it with respect
to Q2.
Page 45 of 167
𝑑𝑀𝐶2
= 12 > 0, hence good 2displays increasing marginal cost.
𝑑𝑄2
In mathematics for economics 1, you learnt about the production function. The production function
describes the output level (total product) as a function of the level of inputs employed by the firm.
If we assume we have only two factors of production, capital and labour, we can denote the
𝑄 = 𝑓(𝐿, 𝐾)
If we want to know how the level of output changes when one of the inputs is changed while the
other one is held constant, we use the partial derivatives. The marginal product of labour is the
partial derivative of the production function with respect to labour when capital is held constant.
i.e.
𝜕𝑄
𝑀𝑃𝐿 =
𝜕𝐿
On the other hand, the marginal product of capital is the partial derivative of the production
𝜕𝑄
𝑀𝑃𝐾 =
𝜕𝐾
Slope of an isoquant
𝜕𝑄 𝜕𝑄
𝑑𝑄 = 𝑑𝐿 + 𝑑𝐾
𝜕𝐿 𝜕𝐾
Page 46 of 167
Along an isoquant the output level does not change, hence the total differential, dQ=0
𝜕𝑄 𝜕𝑄
𝑑𝑄 = 𝑑𝐿 + 𝑑𝐾 = 0
𝜕𝐿 𝜕𝐾
𝑀𝑃𝐿 𝑑𝐿 + 𝑀𝑃 𝐾 𝑑𝐾 = 0
𝑀𝑃𝐾 𝑑𝐾 = 𝑀𝑃𝐿 𝑑𝐿
Assuming that K is on the Y axis and L is on the X axis, the slope will be given as:
𝑑𝐾 𝑀𝑃𝐿
=−
𝑑𝐿 𝑀𝑃𝐾
If the derivative of the marginal product of labour with respect to labour is positive, the marginal
product is said to be increasing as labour use increases. On the other hand, if it is negative, there
If the derivative of the marginal product of capital with respect to capital is positive, the marginal
product is said to be increasing as capital use increases. On the other hand, if it is negative, there
Example
Page 47 of 167
Determine the marginal product of labour, marginal product of capital, the slope of the isoquant
Solution
𝜕𝑄 40𝐾 0.2
𝑀𝑃𝐿 = = 40𝐾 0.2 𝐿−0.5 = 0.5
𝜕𝐿 𝐿
𝜕𝑄 −0.8 0.5
16𝐿0.5
𝑀𝑃𝐾 = = 16𝐾 𝐿 = 0.8
𝜕𝐾 𝐾
Since K and L are positive, the partial derivative of MPL with respect to L will be negative. Hence
marginal product of labour decreases as more labour is employed (Diminishing / Decreasing MPL).
Page 48 of 167
4.2.2 Partial Elasticity of Demand
In partial market equilibrium, the demand for a product is assumed to be a function of its own price
𝑄𝑑𝑦 = 𝑓(𝑃𝑦)
This is a very simplified market model. In most cases, the demand of a product will be affected
by its own price, and also the prices of other related commodities such as its substitutes and
𝑄𝐴 = 𝑓(𝑃𝐴 , 𝑃𝐵 , 𝑌)
Where:
𝑃𝐴 = 𝑃𝑟𝑖𝑐𝑒 𝑜𝑓 𝑔𝑜𝑜𝑑 𝐴
𝑃𝐵 = 𝑃𝑟𝑖𝑐𝑒 𝑜𝑓 𝑔𝑜𝑜𝑑 𝐵
𝑌 = 𝑐𝑜𝑛𝑠𝑢𝑚𝑒𝑟 𝑖𝑛𝑐𝑜𝑚𝑒
We will now look at how we compute the responsiveness of the quantity demanded of good A
Page 49 of 167
i) Own Price elasticity of demand
It measures the percentage change in the quantity demanded of good A when its own price changes
keeping the price of good B (PB) and the income (Y) constant.
𝜕𝑄𝐴 . 𝑃𝐴
𝑃𝑟𝑖𝑐𝑒 𝑒𝑙𝑎𝑠𝑡𝑖𝑐𝑖𝑡𝑦 𝑜𝑓 𝑑𝑒𝑚𝑎𝑛𝑑 =
𝜕𝑃𝐴 . 𝑄𝐴
It measures the percentage change in quantity demanded of good A when price of good B changes
when the price of good A (PA) and other factors such as the income (Y) are held constant.
𝜕𝑄 .𝑃
𝐶𝑟𝑜𝑠𝑠 𝑝𝑟𝑖𝑐𝑒 𝑒𝑙𝑎𝑠𝑡𝑖𝑐𝑖𝑡𝑦 𝑜𝑓 𝑑𝑒𝑚𝑎𝑛𝑑 = 𝜕𝑃 𝐴.𝑄𝐵
𝐵 𝐴
You can know whether two goods are substitutes or complements by looking at the sign of the
partial derivatives of their demand functions will respect to price of the other good e.g.
∂QA
> 0 the two goods are substitutes i.e. As price of good B increase, the demand of good A
∂PB
increase. If demand for a good goes down due to an increase in its own price and consumers
∂QA
<0
∂PB
As price of good B increase quantity of demanded of good A decrease. The decrease in demand
for good B due to an increase in its price causes the demand of good A to decrease since the two
Page 50 of 167
iii) Income elasticity of demand
It measures the percentage change in the quantity demanded of good A when income changes
when the price of good A and the price of good B are held constant.
𝐴 𝜕𝑄 .𝑌
𝐼𝑛𝑐𝑜𝑚𝑒 𝑒𝑙𝑎𝑠𝑡𝑖𝑐𝑖𝑡𝑦 𝑜𝑓 𝑑𝑒𝑚𝑎𝑛𝑑 = 𝜕𝑌.𝑄
𝐴
The income elasticity is positive for normal goods and negative for inferior and giffen goods.
Example
Find the own price, income and cross price elasticities of demand when:
𝑃𝐴 = 6 𝑃𝐵 = 10 𝑌 = 100
𝜕𝑄𝐴
= −2
𝜕𝑃𝐴
𝜕𝑄𝐴 . 𝑃𝐴 6
= = −2 ∗ = −0.13
𝜕𝑃𝐴 . 𝑄𝐴 92
A 1% change in the price of good A, holding PB and Y constant leads to a 0.13% decrease in the
Page 51 of 167
Cross-Price elasticity of demand
𝜕𝑄𝐴
= 0.4
𝜕𝑃𝐵
𝜕𝑄𝐴 . 𝑃𝐵 10
= = 0.4 ∗ = 0.04
𝜕𝑃𝐵 . 𝑄𝐴 92
A 1% change in the price of good B, holding P A and Y constant leads to a 0.04% increase in the
quantity demanded of good A. It is inelastic to price change. Since the cross elasticity is positive
𝜕𝑄𝐴
= 0.1
𝜕𝑌
𝜕𝑄𝐴 . 𝑌 100
= = 0.1 ∗ = 0.11
𝜕𝑌. 𝑄𝐴 92
A 1% change in the income holding PB and PA constant leads to a 0.11% increase in the quantity
demanded of good A. It is inelastic to income change. Since the income elasticity is positive, good
A is a normal good.
𝑃𝑥 = 1 𝑃𝑦 = 2 𝑌 = 500
Page 52 of 167
𝐶 = 𝑄23 + 𝑄1 𝑄2 − 6𝑄23 + 40
Find: MC1, MC2 and if function displays increasing or decreasing MC with respect to each of the
goods.
4.4 E-references
Page 53 of 167
LECTURE FIVE: HOMOGENEITY OF A FUNCTION AND RETURNS TO SCALE
5.1 Introduction
In this lesson, we will discuss the concepts of homogeneity of a function, returns to scale and the
Example 1
𝑌 = 𝑓(𝑋1 , 𝑋2 ) = 4𝑋1 + 𝑋2
Page 54 of 167
New Y= 4𝑘𝑋1 + 𝑘𝑋2 = 𝑘(4𝑋1 + 𝑋2 ) = 𝑘1 𝑌 The function is homogenous of degree 1. Functions
Example 2
𝑌 = 𝑋 2 + 5𝑋𝑊 + 𝑊 2
Example 3
Determine the homogeneity of the function given as: 𝑄 = 80𝐾 0.2 𝐿0.5
𝑄 = 80(𝐶𝐾)0.2 (𝐶𝐿)0.5
This refers to the proportion by which output changes when all inputs are multiplied by the same
multiple. For example, assume that a farmer has been using 2 employees and 1 tractor and the
Page 55 of 167
If the farmer doubles the inputs/factors such that he employs 4 employees and 2 tractors, it can
This is a case of constant returns to scale. When inputs are doubled, output doubles. The
The output has increased by less than double i.e. By 1.5 times. This is a case of decreasing
returns to scale. The output increases by less than the multiple by which the inputs were
multiplied by.
The output has increased by more than double i.e. by three times. This is increasing returns to
scale. The output increases by more than the multiple by which the inputs were multiplied by.
Example
𝑄 = 80(𝐶𝐾)0.2 (𝐶𝐿)0.5
Page 56 of 167
𝑄 = 𝐶 0.2+0.5 80𝐾 0.2 𝐿0.5
This function is homogenous of degree 0.7. Hence it displays decreasing returns to scale.
1 3
ii) 𝑄 = 𝐴𝐿2𝐾4
The function is homogenous of degree 1.25. Hence displays increasing returns to scale.
1 1
iii) 𝑄 = 𝐴𝐿2𝐾2
scale, the sum of marginal product of labour multiplied by labour units (L) and marginal product
i.e. if Q = A K L
Such that + = 1
Page 57 of 167
𝑄 = 𝐴𝐾 𝛼 𝐿𝛽
𝛽𝐴𝐾𝛼 𝐿 𝛽 𝛽𝑄
𝑀𝑃𝐿 = 𝛽𝐴𝐾 𝛼 𝐿𝛽−1 = = :
𝐿 𝐿
Similarly
𝛼𝐴𝐾𝛼 𝐿 𝛽 𝛼𝑄
𝑀𝑃𝐾 = 𝛼𝐴𝐾 𝛼−1 𝐿𝛽 = =
𝐾 𝐾
𝛽𝑄 𝛼𝑄
.𝐿 + . 𝐾 = 𝛽𝑄 + 𝛼𝑄 = 𝑄(𝛽 + 𝛼)
𝐿 𝐾
Since 𝐵 + = 1
𝑄(𝛽 + 𝛼) = 𝑄
𝑀𝑃𝐿 . 𝐿 + 𝑀𝑃𝐾 . 𝐾 = 𝑛𝑄 − − − − − − − − − − − − − −2
Example
Q = 3K3 – 5KL2 – L3
Page 58 of 167
MPK = 9K2 – 5L2
Degree of homogeneity
Homogenous of degree 3
MPL L + MPK K = nQ = 3Q
Can be written as
3Q = 3Q
This section deals with how the equilibrium value of on endogenous variable changes when there
Page 59 of 167
a) Market Model
𝑄 = 𝑎 − 𝑏𝑃 (𝑎, 𝑏) > 0
𝑄 = −𝑐 + 𝑑𝑃 (𝑐, 𝑑) > 0
𝑎 + 𝑐
𝑃∗ =
𝑏+𝑑
𝑎𝑑 – 𝑏𝑐
𝑄∗ =
𝑏+𝑑
P* and Q* are the endogenous variables and they have been purely expressed as a function of the
parameters a, b, c, and d.
We would want to analyze how P* changes due to change in any of the parameters. This is done
by partially differentiating P* with respect to any of the parameters, by making use of the quotient
rule: e.g
𝜕𝑃 ∗ 1 𝜕𝑃 ∗ 1
= >0 = >0
𝜕𝑎 𝑏+𝑑 𝜕𝑐 𝑏+𝑑
𝜕𝑃 ∗ −1 (𝑎 + 𝑐) 𝜕𝑃 ∗ −1 (𝑎 + 𝑐)
= <0 = <0
𝜕𝑏 (𝑏 + 𝑑)2 𝜕𝑑 (𝑏 + 𝑑)2
𝜕𝑃 ∗ 𝜕𝑃 ∗ 1
𝑎𝑛𝑑 = >0
𝜕𝑎 𝜕𝑐 𝑏+𝑑
And
Page 60 of 167
𝜕𝑃 ∗ 𝜕𝑃 ∗ −1 (𝑎 + 𝑐)
𝑎𝑛𝑑 = <0
𝜕𝑏 𝜕𝑑 (𝑏 + 𝑑)2
How does the equilibrium Q* change as parameters change. This is done by getting the partial
𝜕𝑄 ∗ 𝑑 𝜕𝑄 ∗ −𝑏
= >0 = <0
𝜕𝑎 𝑏+𝑑 𝜕𝑐 𝑏+𝑑
𝜕𝑄 ∗ −𝑑 (𝑎 + 𝑐) 𝜕𝑄 ∗ 𝑏(𝑎 + 𝑐)
= <0 = >0
𝜕𝑏 (𝑏 + 𝑑)2 𝜕𝑑 (𝑏 + 𝑑)2
𝑌 = 𝐶 + 𝐼0 + 𝐺0
𝑌𝑑 = 𝑌 − 𝑇
𝑌 = 𝑐0 + 𝑐1 (𝑌 𝑑 ) + 𝐼0 + 𝐺0
𝑌 = 𝑐0 + 𝑐1 (𝑌 − 𝑇) + 𝐼0 + 𝐺0
𝑌 = 𝑐0 + 𝑐1 (𝑌 − 𝑡0 − 𝑡1 𝑌 ) + 𝐼0 + 𝐺0
𝑌 = 𝑐0 + 𝑐1 𝑌 − 𝑐1 𝑡0 − 𝑐1 𝑡1 𝑌 + 𝐼0 + 𝐺0
𝑌 − 𝑐1 𝑌 + 𝑐1 𝑡1 𝑌 = 𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0
Page 61 of 167
𝑌(1 − 𝑐1 + 𝑐1 𝑡1 ) = 𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0
𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0
𝑌∗ =
(1 − 𝑐1 + 𝑐1 𝑡1 )
𝜕𝑌 ∗ 1
= 𝑇ℎ𝑖𝑠 𝑖𝑠 𝑡ℎ𝑒 𝑎𝑢𝑡𝑜𝑛𝑜𝑚𝑜𝑢𝑠 𝑖𝑛𝑣𝑒𝑠𝑡𝑚𝑒𝑛𝑡𝑠 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑖𝑒𝑟.
𝜕𝐼0 (1 − 𝑐1 + 𝑐1 𝑡1 )
Given that
𝑐1 𝑎𝑛𝑑 𝑐1 𝑡1 are positive and less than 1, the autonomous investment multiplier is positive,
meaning an increase in the autonomous investments will lead to an increase in the equilibrium
Using partial differentiation, we can also get the autonomous tax multiplier.
𝜕𝑌 ∗ −𝑐1
=
𝜕𝐼0 (1 − 𝑐1 + 𝑐1 𝑡1 )
The autonomous tax multiplier is negative. This means that an increase in taxes will lead to a
Similarly, we can get the tax rate multiplier. It tells us how the national income changes due to a
𝜕𝑌 ∗ −(𝑐1 )(𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0 )
=
𝜕𝑡1 (1 − 𝑐1 + 𝑐1 𝑡1 )2
Page 62 of 167
−(𝑐1 )𝑌 ∗
=
(1 − 𝑐1 + 𝑐1 𝑡1 )
An increase in the tax rate reduces the value of the national income and vice versa.
𝑌 = 𝐶 + 𝐼0 + 𝐺0 + 𝑋0 − 𝑀
𝑌𝑑 = 𝑌 − 𝑇
𝑀 = 𝑚0 + 𝑚1 𝑌
𝑌 = 𝑐0 + 𝑐1 (𝑌 𝑑 ) + 𝐼0 + 𝐺0 + 𝑋0 − (𝑚0 + 𝑚1 𝑌)
𝑌 = 𝑐0 + 𝑐1 (𝑌 − 𝑇) + 𝐼0 + 𝐺0 −𝑋0 − 𝑚0 − 𝑚1 𝑌
𝑌 = 𝑐0 + 𝑐1 (𝑌 − 𝑡0 − 𝑡1 𝑌 ) + 𝐼0 + 𝐺0 −𝑋0 − 𝑚0 − 𝑚1 𝑌
𝑌 = 𝑐0 + 𝑐1 𝑌 − 𝑐1 𝑡0 − 𝑐1 𝑡1 𝑌 + 𝐼0 + 𝐺0 −𝑋0 − 𝑚0 − 𝑚1 𝑌
𝑌 − 𝑐1 𝑌 + 𝑐1 𝑡1 𝑌 + 𝑚1 𝑌 = 𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0 −𝑋0 − 𝑚0
𝑌(1 − 𝑐1 + 𝑐1 𝑡1 + 𝑚1 ) = 𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0 − 𝑚0
𝑐0 − 𝑐1 𝑡0 + 𝐼0 + 𝐺0 − 𝑚0
𝑌∗ =
(1 − 𝑐1 + 𝑐1 𝑡1 + 𝑚1 )
Page 63 of 167
𝜕𝑌 ∗ 1
=
𝜕𝐺0 (1 − 𝑐1 + 𝑐1 𝑡1 + 𝑚1 )
This is the government multiplier. An increase in government expenditure causes the national
income to increase.
𝜕𝑌 ∗ 1
=
𝜕𝐼0 (1 − 𝑐1 + 𝑐1 𝑡1 + 𝑚1 )
𝜕𝑌 ∗ −1
=
𝜕𝑀0 (1 − 𝑐1 + 𝑐1 𝑡1 + 𝑚1 )
𝜕𝑌 ∗ 𝜕𝑌 ∗ 𝜕𝑌 ∗
Compute: 𝜕𝑐 , 𝜕𝑚 𝑎𝑛𝑑
1 1 𝜕𝑡1
b) Find the degree of homogeneity and nature of returns to scale for the following function. Prove
Q = 10 K¼ L¾
5.4 E-references
Page 64 of 167
LECTURE SIX: CONSTRAINED OPTIMIZATION
6.1 Introduction
In this lesson we shall learn how we can maximize or minimize functions when we are faced with
a constraint.
6.2.4 Understand the second order condition (s.o.c) for maximum and minimum.
In a constrained optimization problem, the decision maker would want to optimize but is faced
Page 65 of 167
Example
the constraint), before the conducting the optimization problem, a Lagrangian function also known
The construction of the Lagrangian function is illustrated using the following example:
Example
Optimize 𝑍 = 𝑓(𝑥, 𝑦)
Subject to 𝑎𝑥 + 𝑏𝑦 = 𝐵
Page 66 of 167
The Lagrangian function is constructed as follows:
Step 1:
𝐵 − 𝑎𝑥 − 𝑏𝑦 = 0
Step 2:
𝜆(𝐵 − 𝑎𝑥 − 𝑏𝑦) = 0
Step 3:
Form the Lagrangian function L by adding the equation obtained in step 2 to the objective function
The Lagrangian function has three choice variables, namely, 𝑥, 𝑦 and 𝜆. Hence we can rewrite the
After formulating the Lagrangian function, the next step is to obtain the first order conditions.
Consider the following constrained optimization problem in which the objective function and the
Page 67 of 167
Optimize 𝑍 = 𝑓(𝑥, 𝑦)
Subject to 𝑔(𝑥, 𝑦) = 𝐵
In order to determine the critical values of 𝑥, 𝑦 and λ we apply the first order condition.
The first order condition involves the computation of the first partial derivatives of the Lagrangian
function with respect to 𝑥, 𝑦 and λ, setting them equal to zero and solving the resulting system of
Step 1:
Step 2:
Find the first partial derivatives of 𝐿(𝑥, 𝑦, 𝜆 ) with respect to the three choice variables 𝑥, 𝑦 and λ
𝐿𝑥 = 𝑓𝑥 − 𝜆𝑔𝑥 = 0
𝐿𝑦 = 𝑓𝑦 − 𝜆𝑔𝑦 = 0
𝐿𝜆 = 𝐵 − 𝑔(𝑥, 𝑦) = 0
Step 3:
Solve the resulting system of three simultaneous equations from step 2 for the critical values
𝑥̅ , 𝑦̅ 𝑎𝑛𝑑 𝜆̅.
Page 68 of 167
6.2.3 Optimal values of optimization problems
Let’s illustrate the process of obtaining the critical values of optimization problems using the
Example 1
Maximize 𝑍 = 12𝑥 + 4𝑦 − 6𝑥 2
Subject to −𝑥 2 + 𝑦 = 4
Solution
𝐿(𝑥, 𝑦, 𝜆 ) = 12𝑥 + 4𝑦 − 6𝑥 2 + λ (4 + 𝑥 2 − 𝑦)
ii. The critical values of 𝑥, 𝑦 and λ are obtained by applying the first order condition
𝐿𝑦 = 4 − λ = 0 …………………………………………………2
𝐿𝜆 = 4 + 𝑥 2 − 𝑦 = 0 ……………………………………………3
From equation 2:
Page 69 of 167
λ=4
12 − 12𝑥 + 2λ𝑥 = 0
12 − 12𝑥 + 2(4)𝑥 = 0
12 − 12𝑥 + 8𝑥 = 0
12 − 4𝑥 = 0
𝑥̅ = 3
From equation 3:
4 + 𝑥2 − 𝑦 = 0
4 + (3)2 − 𝑦 = 0
𝑦̅ = 13
𝜆̅ = 4
iii. The stationary value of z is obtaining by substituting the critical values of x and y into the
objective function:
Minimize 𝑍 = 4𝑥 2 + 2𝑥𝑦 + 𝑦 2
Subject to 𝑥 + 𝑦 = 8
Required:
Solution
𝐿𝑥 = 8𝑥 + 2𝑦 − λ = 0 ………………………………………….1
𝐿𝑦 = 2𝑥 + 2𝑦 − λ = 0 …………………………………………………2
𝐿𝜆 = 8 − 𝑥 − 𝑦 = 0 ……………………………………………………3
From 1;
8𝑥 + 2𝑦 = λ …………………………………….(a)
Page 71 of 167
2𝑥 + 2𝑦 = λ………………………………………(b)
Since (a) and (b) give the same value λ, we equate them to obtain:
8𝑥 + 2𝑦 = 2𝑥 + 2𝑦
6𝑥 = 2𝑦 − 2𝑦
6𝑥 = 0
𝑥̅ = 0
From (3)
8 − 𝑥 − 𝑦 = 0 since 𝑥̅ = 0
8−0−𝑦 = 0
𝑦̅ = 8
From (a)
8𝑥 + 2𝑦 = λ
λ̅ = 8(0) + 2(8) = 16
iii. The stationary value of Z is obtained by substituting the critical values of x and y into the
objective function
𝑍̅ = 4(0)2 + 2(0)(8) + 82 = 64
6.2.4 The second order condition (s.o.c) for maximum and minimum
Page 72 of 167
The second order condition (s.o.c) for constrained optimization makes use of the Bordered Hessian
matrix determinant.
As the name suggests, a Bordered Hessian is a Hessian that has borders. The border elements or
the elements on the borders of the Bordered Hessian are obtained from the constraint while the
Consider the following constrained optimization problem in which both the objective function and
Optimize 𝑍 = 𝑓(𝑥, 𝑦)
Subject to 𝑔(𝑥, 𝑦) = 𝑘
The elements of the borders of the bordered Hessian are made up of the first partial derivatives of
𝑔(𝑥, 𝑦) = 𝑘
Page 73 of 167
The rest of the elements of the Bordered Hessian are made up of the second partial derivatives of
𝐿𝑥𝑥 : The second partial derivative of the Lagrangian function with respect to 𝑥.
𝐿𝑦𝑦 : The second partial derivative of the Lagrangian function with respect to 𝑦.
𝐿𝑥𝑦 = 𝐿𝑦𝑥 : The cross partial derivative of the Lagrangian function with respect to 𝑥 and 𝑦.
0 𝑔𝑥 𝑔𝑦
̅
𝐻 = (𝑔𝑥 𝐿𝑥𝑥 𝐿𝑥𝑦 )
𝑔𝑦 𝐿𝑦𝑥 𝐿𝑦𝑦
0 𝑔𝑥 𝑔𝑦
̅
|𝐻 | = |𝑔𝑥 𝐿𝑥𝑥 𝐿𝑥𝑦 |
𝑔𝑦 𝐿𝑦𝑥 𝐿𝑦𝑦
Example
Page 74 of 167
Test if the critical values of the following optimization problem yield a maximum or minimum
Optimize 𝑍 = 𝑥𝑦
Subject to 2𝑥 + 𝑦 = 9
𝐿 = 𝑥𝑦 + 𝜆(9 − 2𝑥 − 𝑦)
𝐿𝑥 = 𝑦 − 2𝜆 = 0 ………………………………………………………….1
𝐿𝑦 = 𝑥 − 𝜆 = 0…………………………………………………………….2
𝐿𝜆 = 9 − 2𝑥 − 𝑦 = 0……………………………………………………...3
From 1:
0.5𝑦 = 𝜆………………………………………………………………….(a)
From 2:
𝑥 = 𝜆…………………………………………………………………….(b)
0.5𝑦 = 𝑥
9 − 2(0.5𝑦) − 𝑦 = 0
9 = 2𝑦
𝑦̅ = 4.5
0.5𝑦 = 𝑥
Page 75 of 167
𝑥̅ = 0.5 ∗ 4.5 = 2.25
To test if the critical values yield a maximum or minimum, we obtain the determinant of the
bordered Hessian.
𝑔(𝑥, 𝑦) = 9 − 2𝑥 − 𝑦
The first partial derivatives of the constraint will form the border elements:
𝑔𝑥 = −2
𝑔𝑦 = −1
From the Lagrangian function: We obtain the remaining elements of the Hessian
𝐿 = 𝑥𝑦 + 𝜆(9 − 2𝑥 − 𝑦)
𝐿𝑥 = 𝑦 − 2𝜆
𝐿𝑥𝑥 = 0
𝐿𝑦 = 𝑥 − 𝜆
𝐿𝑦𝑦 = 0
𝐿𝑥𝑦 = 𝐿𝑦𝑥 = 1
0 −2 −1
̅ = (−2 0
𝐻 1)
−1 1 0
Page 76 of 167
We obtain the determinant of the bordered Hessian as follows:
0 −2 −1
̅ | = |−2
|𝐻 0 1|
−1 1 0
̅ | = 0 |0
|𝐻 1
| − (−2) |
−2 1
| + (−1) |
−2 0
|=4
1 0 −1 0 −1 1
Optimize 𝑍 = 𝑥 2 + 𝑦 2
Subject to 5𝑥 + 2𝑦 = 25
Required:
ii. Test whether the critical values yield a maximum or minimum point
6.4 E-References
Page 77 of 167
LECTURE SEVEN: ECONOMIC APPLICATIONS OF CONSTRAINED
OPTIMIZATION
7.1: Introduction
Constrained optimization is very key in economic analysis. Most economic optimization problems
By the end of this Lesson, the learner should be able to understand the following constrained
Maximize
𝑈 = 𝑢(𝑞1 , 𝑞2 )
Subject to
𝑀 = 𝑝1 𝑞1 + 𝑝2 𝑞2
𝑞1 𝑞2 > 0
Where:
M is the level of income, 𝑞1 and 𝑞2 are the amounts of goods 1 and 2 respectively, and P1 and
Page 78 of 167
𝐿 = 𝑈(𝑞1 𝑞2 ) + 𝜆(𝑀 − 𝑝1 𝑞1 − 𝑝2 𝑞2 )
𝐿𝑞1 = 𝑈𝑞1 − 𝜆. 𝑝1 = 0
𝐿𝑞2 = 𝑈𝑞2 − 𝜆. 𝑝2 = 0 0
𝐿𝜆 = 𝑀 − 𝑝1 𝑞1 − 𝑝2 𝑞2 = 0
𝑈𝑞2
𝑈𝑞2 = 𝜆𝑝2 𝜆=
𝑝2
𝑈𝑞1 𝑈𝑞2
𝜆= =
𝑃1 𝑃2
𝑀𝑈𝑞1 𝑃1
→ =
𝑀𝑈𝑞2 𝑃2
This condition states that, for utility maximization, the slope of the indifference curve should be
Alternatively
𝑈 = 𝑢(𝑞1 𝑞2 )
𝜕𝑞2 𝑈𝑞
= − 𝑈𝑞1 This is the slope of the indifference curve
𝜕𝑞1 2
𝑀 − 𝑝1 𝑞1 + 𝑝2 𝑞2
𝑀 𝑝1
𝑞2 = − 𝑞
𝑝2 𝑝2 1
𝜕𝑞2 −𝑝1
= This is the slope of the budget line
𝜕𝑞1 𝑝2
𝑈𝑞1 𝑝1
− =−
𝑈𝑞2 𝑝2
𝑈𝑞 𝑝1
→ 𝑈𝑞1 = ⁄𝑝2……………. This is the condition for utility maximization
2
We use the determinant of the bordered Hessian to check whether the critical values yield a
Example
Given a utility function U=5xy, and a budget constraint given as 5x+y=30, determine the levels of
Page 80 of 167
Solution
𝐿 = 5𝑥𝑦 + 𝜆(30 − 5𝑥 − 𝑦)
𝐿𝑥 = 5𝑦 − 5𝜆 = 0 → 𝜆 = 𝑦
𝐿𝑦 = 5𝑥 − 𝜆 = 0 → 𝜆 = 5𝑥
𝐿𝜆 = 30 − 5𝑥 − 𝑦 = 0
𝜆 = 𝑦 = 5𝑥
𝐿𝜆 = 30 − 5𝑥 − 𝑦 = 0
5𝑥 + 𝑦 = 30
5𝑥 + 5𝑥 = 30
10𝑥 = 30
𝑥=3
𝑦 = 5𝑥 = 15
𝜆 = 𝑦 = 15
𝑈 = 5𝑥𝑦 = 5 ∗ 3 ∗ 15 = 225
𝑔(𝑥, 𝑦) = 30 − 5𝑥 − 𝑦
Page 81 of 167
𝑔𝑥 = −5
𝑔𝑦 = −1
𝐿 = 5𝑥𝑦 + 𝜆(30 − 5𝑥 − 𝑦)
𝐿𝑥 = 5𝑦 − 5𝜆 = 0
𝐿𝑥𝑥 = 0
𝐿𝑦 = 5𝑥 − 𝜆 = 0
𝐿𝑦𝑦 = 0
𝐿𝑥𝑦 = 𝐿𝑦𝑥 = 5
0 −5 −1
̅ = (−5 0
𝐻 5)
−1 5 0
0 −5 −1
̅ | = |−5
|𝐻 0 5|
−1 5 0
̅ | = 0 |0
|𝐻 5
| − (−5) |
−5 5
| + (−1) |
−5 0
| = 50
5 0 −1 0 −1 5
Page 82 of 167
7.2.2 Cost Minimization
If the firm wants to minimize the cost subject to a given output level, the problem can be written
as:
Minimize 𝐶 = 𝑟𝑘 + 𝑤𝑙
𝑆. 𝑡
𝑄 = 𝑓(𝑘 , 𝑙)
Where r and w are input prices of capital and labour respectively while K and L are the units of
𝐿 = 𝑟𝑘 + 𝑤𝑙 + 𝜆 (𝑄 − 𝑓(𝑘 , 𝑙))
𝐿𝑘 = 𝑟 − 𝜆𝑓𝐾′ (𝑘 , 𝑙) = 0
𝐿𝑙 = 𝑤 − 𝜆𝑓𝐿′ (𝑘 , 𝑙) = 0
𝐿𝜆 = 𝑄 − 𝑓 (𝑘 , 𝑙) = 0
𝑟 = 𝜆𝑓𝑘 ′ (𝑘 , 𝑙) 𝑤 = 𝜆𝑓𝑙′ (𝑘 , 𝑙)
𝑟 𝑟 𝑤
𝜆 = 𝑓′ (𝑘𝑙)
= 𝜆 = 𝑚𝑝
𝑘 𝑚𝑝𝑘 𝑙
𝑟 𝑤
=
𝑚𝑝𝑘 𝑚𝑝𝑙
𝑟 𝑚𝑝𝑘
𝑤
= 𝑚𝑝𝑙
→ 𝐂𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧 𝐟𝐨𝐫 𝐜𝐨𝐬𝐭 𝐦𝐢𝐧𝐢𝐦𝐢𝐳𝐚𝐭𝐢𝐨𝐧
Page 83 of 167
This condition states that, for cost minimization, the slope of the Isocost line is equal to the slope
of the isoquant.
Proof
𝑘 = 𝐶 − 𝑤𝑙
𝑐 𝑤
𝑘= − 𝐿
𝑟 𝑟
𝜕𝑘 −𝑤
=
𝜕𝐿 𝑟
Slope of Isoquant
𝑄 = 𝑓 (𝑘, 𝑙)
Total differential
𝑂 = 𝑚𝑝𝑘 . 𝜕𝑘 + 𝑚𝑝𝑙 . 𝑑𝑙
𝑚𝑝𝑘 . 𝜕𝑘 = −𝑚𝑝𝑙 𝑑𝑙
𝑑𝑘 𝑚𝑝 +𝑤
= + 𝑚𝑝 𝑙 = ……. The slope of the isoquant is equal to the slope of the isocost line.
𝜕𝑙 𝑘 𝑟
Page 84 of 167
̅ | < 0: Cost is minimized
If |𝐻
Example
The production function for a firm is given as 𝑄 = 12𝐿0.5 𝐾 0.5. If the firm wants to produce an
output of 240 units, find the optimal values of labour and capital that will minimize the total cost
of production given that labour cost per unit is 25 dollars and capital cost per unit is 50 dollars
Solution
𝐶 = 25𝐿 + 50𝐾
𝐿𝑙 = 25 − 𝜆6𝐿−0.5 𝐾 0.5 = 0
𝐿𝑘 = 50 − 𝜆6𝐿0.5 𝐾 −0.5 = 0
𝜆6𝐿−0.5 𝐾 0.5 = 25
𝜆6𝐿0.5 𝐾 −0.5 = 50
Page 85 of 167
25 𝜆6𝐿−0.5 𝐾 0.5 𝐾
= =
50 𝜆6𝐿0.5 𝐾 −0.5 𝐿
1
→ 𝐾= 𝐿
2
240
𝐿0.5 (0.5𝐿)0.5 = = 20
12
𝐿(0.5)0.5 = 20
20
𝐿̅ = = 28.28
0.50.5
1
̅ = 𝐿 = 14.14
𝐾
2
Page 86 of 167
7.2.3 Output Maximization
The firm may want to maximize output subject to cost constraint as shown below.
Subject to: 𝐶 = 𝑟𝑘 + 𝑤𝑙
𝐿 = 𝑓(𝑘, 𝑙) + 𝜆 (𝐶 − 𝑟𝑘 − 𝑤𝑙)
𝐿𝑘 = 𝑓𝐾′ (𝑘 , 𝑙) − 𝜆𝑟 = 0
𝐿𝑙 = 𝑓𝐿′ (𝑘 , 𝑙) − 𝜆𝑤 = 0
𝐿𝜆 = 𝐶 − 𝑟𝑘 − 𝑤𝑙 = 0
From 𝐿𝑘 and 𝐿𝑙
𝜆𝑟 = 𝑓𝑘 ′ (𝑘 , 𝑙) 𝜆𝑤 = 𝑓𝑙′ (𝑘 , 𝑙)
𝑚𝑝𝑘 𝑚𝑝𝑙
=
𝑟 𝑤
𝑚𝑝𝑘 𝑟
= 𝑤 → 𝐂𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧 𝐟𝐨𝐫 𝐨𝐮𝐭𝐩𝐮𝐭 𝐦𝐚𝐱𝐢𝐦𝐢𝐳𝐚𝐭𝐢𝐨𝐧
𝑚𝑝𝑙
Page 87 of 167
Example
The production function for garages which services cars and trucks is given as:
𝑄 = 15𝐿2/3 𝐾 1/3
If each unit of labour used costs $5 while each unit of capital cost $3, find the units of labour and
capital to be used so as to maximize the production given that the garage has only $450 dollars at
its disposal.
Solution
Subject to: 𝑤𝐿 + 𝑟𝐾 = 𝐶
1
𝐿𝐿 = 10𝐿−3 𝐾 1/3 − 5𝜆 = 0
2 2
𝐿𝐾 = 5𝐿3 𝐾 −3 − 3𝜆 = 0
𝐿𝜆 = 450 − 5𝐿 − 3𝐾 = 0
Page 88 of 167
Dividing 𝐿𝐿 and 𝐿𝐾
2𝐾 5
=3
𝐿
6𝐾 = 5𝐿
5
𝐾 = 6𝐿
𝐿𝜆 = 450 − 5𝐿 − 3𝐾 = 0
5𝐿 + 3𝐾 = 450
5
5𝐿 + 3 ∗ 𝐿 = 450
6
5𝐿 + 2.5𝐿 = 450
7.5𝐿 = 450
450
𝐿̅ = = 60 𝑻𝒉𝒊𝒔 𝒊𝒔 𝒕𝒉𝒆 𝒐𝒑𝒕𝒊𝒎𝒂𝒍 𝒗𝒂𝒍𝒖𝒆 𝒐𝒇 𝑳𝒂𝒃𝒐𝒖𝒓 𝒖𝒏𝒊𝒕
7.5
5 5
̅=
𝐾 ∗ 𝐿̅ = ∗ 60 = 50 𝑻𝒉𝒊𝒔 𝒊𝒔 𝒕𝒉𝒆 𝒐𝒑𝒕𝒊𝒎𝒂𝒍 𝒗𝒂𝒍𝒖𝒆 𝒐𝒇 𝒄𝒂𝒑𝒊𝒕𝒂𝒍 𝒖𝒏𝒊𝒕
6 6
2 1 2 1
𝑄̅ = 15𝐿̅3 𝐾
̅ 3 = 15(60)3 (50)3 = 15 ∗ 15.35 ∗ 3.68 = 847.32
If each unit of labour used costs $5 while each unit of capital cost $3, find the units of labour and
capital to be used so as to minimize the production cost given that the firm wants to produce 250
units of output.
Page 89 of 167
b) A firm produces jam from two raw materials, strawberries and black berries. The
production function for the jam is given as: 𝑄 = 20𝑥 0.2 𝑦 0.8 where x is strawberries and y
is blackberries. If each unit of straw berries cost 20 shillings and each unit of blackberries
cost 2 shillings, and the firm has only 1450 shillings at its disposal:
i) Use the Lagrangian method to determine the optimal values of strawberries and
𝑀𝑃𝑥 𝑃𝑥
ii) Show that 𝑀𝑃𝑦 = 𝑃𝑦 at the maximum output
7.4 E-References
Page 90 of 167
LECTURE EIGHT: MATRIX ALGEBRA I
8.1 Introduction
In this Lesson, we will discuss several concepts in matrices as well as matrix operations such as
A simple economic model consists of only one equation. The equation gives the relationship
between the dependent variables and the independent. Such a relationship can be given as
e.g. 𝑦 = 𝑎0 + 𝑎1 𝑥
𝑥 = 𝐼𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒
Page 91 of 167
The economic model can contain several equations, which can be linear or non-linear.
Each of the equations would represent one aspect of the model. For example, it can be a
Matrices can give a way of writing linear simultaneous equations and helps us to have a clear
variables. The members of this array are called the elements of the matrix. A matrix is an
The position and the magnitude of each element in a matrix matters. The examples below
illustrate this:
4,000 6,000
[ ]
12,000 20,000
4,000 in the 1st row 1st column represents the number of male students in Machakos University.
6,000 in the 1st row 2nd column represents the number of female students in Machakos
University.
12,000 in the 2nd row 1st column represent the number of male students in Kenyatta University.
20,000 in the 2nd row 2nd column represent the number of female students in Kenyatta
University.
Page 92 of 167
A matrix is represented by a capital letter while its elements are represented by small letters
The 1st subscript represents the row where the element is found while the 2nd one represents
𝐴 = [𝑎𝑖𝑗 ] 𝑖 − 𝑟𝑜𝑤𝑠 𝑖𝑛 𝐴
𝑗 − 𝑐𝑜𝑙𝑢𝑚𝑛𝑠 𝑖𝑛 𝐴
The dimensions of a matrix are given by the number of rows and number of columns in the
Page 93 of 167
8.2.2 Types of Matrices
10
3
𝐴 = [15] A is 3 𝑥 1 𝐵 = [ ] B is a 2𝑥1 matrix
6
9
b) Row Vector
c) Equal Matrices
ii. The elements in corresponding positions in the two matrices are the same.
For example
4 10 4 10
𝐴=[ ] 𝐵=[ ]
1 19 1 19
8 2 2 8
𝐷=[ ] 𝐶= [ ]
5 11 11 5
By rewrite
𝑑11 𝑐11
𝑑12 𝑐12
𝑑22 𝑐22
d) Transpose of a matrix
Page 95 of 167
This is a matrix formed when you interchange rows and columns so that a 𝑚𝑥𝑛 matrix become an
8 5 1
𝐴=[ ] 𝐴 𝑖𝑠 𝑎 2 𝑥 3 𝑚𝑎𝑡𝑟𝑖𝑥
2 3 9
8 2
𝐴𝑇 = [5 3] The transpose of A is a 3𝑥2 matrix
1 9
[𝐴𝑇 ]𝑇 = 𝐴
8 2
𝑇
𝐴 = [5 3]
1 9
[𝐴𝑇 ]𝑇 = [8 5 1
]
2 3 9
e) Square matrix
Examples
2 8 10
10 20
𝐴=[ ] 𝐵 = [4 7 11]
15 40
9 5 6
Quick Test
Page 96 of 167
Are these matrices square.
8 1
𝐴=[ ] 𝐵 = [5]
2 5
5 8 1
9 2 0
𝐶=[ ]
1 4 10
7 3 15
f) A diagonal matrix
This is a square matrix whose elements are all zero except the elements in its principal diagonal
(the diagonal from up left to right down). At least one of the elements is principal diagonal should
be non-zero.
For Example
9 0 0 0
8 0 0
0 0 0 0
𝐷 = [0 2 0] 𝐹=[ ]
0 0 0 0
0 0 0
0 0 0 11
1 0
𝐸=[ ]
0 1
1 0 0
1 0
e.g. 𝐸=[ ] 𝐴 = [0 1 0]
0 1
0 0 1
Page 97 of 167
A matrix whose elements are all zero.
0 0
0 0 0
0 0
𝐵=[ ] 4𝑥2 𝑛𝑢𝑙𝑙 𝑚𝑎𝑡𝑟𝑖𝑥 𝐶 = [0 0 0] 3𝑥3 𝑛𝑢𝑙𝑙 𝑚𝑎𝑡𝑟𝑖𝑥
0 0
0 0 0
0 0
i) Sub- matrix
This a matrix formed from another matrix by deleting some specified row/s and or column/s of the
matrix.
For Example
5 7 0
𝐴 = [9 4 2]
3 1 8
9 4 2
𝐴1 = [ ] − 𝐹𝑜𝑟𝑚𝑒𝑑 𝑏𝑦 𝑑𝑒𝑙𝑒𝑡𝑖𝑛𝑔 𝑡ℎ𝑒 1𝑠𝑡 𝑟𝑜𝑤 𝑜𝑓 𝑚𝑎𝑡𝑟𝑖𝑥 𝐴.
3 1 8
5 7
𝐴2 = [ ]
9 4
j) Principal Sub-matrix
If B is a square matrix, then any square sub matrix formed from B whose principal diagonal is part
Page 98 of 167
5 10 2 4
9 1 6 9
e.g. 𝐵=[ ]
8 13 7 5
1 8 0 7
5 10 2 1 6 9
𝐵1 = [9 1 6] 𝐵3 = [13 7 5]
8 13 7 8 0 7
5 10 1 6
𝐵2 = [ ] 𝐵4 = [ ]
9 1 13 7
|𝑩|
i. Determinant of a 1 x 1 matrix
𝐵 = [𝑎11 ]
|𝐵| = 𝑏11
Page 99 of 167
ii. Determinant of a 2 x 2 matrix
𝑎11 𝑎12
𝐵 = [𝑎 𝑎22 ]
21
For example
8 6
𝐵=[ ]
9 1
|𝐵| = (8 𝑥 1) − (9 𝑥 6) = 8 − 54
= −48
8 0
𝐶=[ ]
4 1
This is easily done by rewriting the 1st 2 columns of matrix A next to the matrix on the right hand
side.
diagonals (auxiliary diagonals) formed from left to right up are subtracted from the sum of the
previous 3.
For example
4 2 0
𝐴 = [8 9 2]
1 5 3
4 2 0 4 2
|𝐴| = |8 9 2| 8 9
1 5 3 1 5
4 2 0 4 2
|𝐴| = |8 9 2| 8 9
1 5 3 1 5
(𝐴) = {4 𝑥 9 𝑥 3 + 2 𝑥 2 𝑥 1 + 0 𝑥 8 𝑥 5} − {1 𝑥 9 𝑥 0 − 5 𝑥 2 𝑥 4 − 3 𝑥 8 𝑥 2}
= 108 + 4 + 0 − 0 − 40 − 48 = 24
Exercise
8 2 2
𝐵 = [6 5 10]
1 9 3
Solution: -518
In the course of this lecture we will learn about another method of getting the determinant of any
Properties of determinants
i. If you interchange the rows and columns of a matrix it leaves the determinant unchanged.
Hence the determinant of the transpose is the same as the determinant of the original matrix.
For example:
5 8 (𝐵) = 5 − 72 = −67
𝐵=[ ]
9 1
5 9
𝐵𝑇 = [ ] = (𝐵𝑇 ) = 5 − 72 = −67
8 1
ii. If you interchange any 2 rows or any 2 columns, of a matrix it changes the sign of a matrix.
For example
15 1 (𝐶) = 45 − 2 = 43
𝐶=[ ]
2 3
12 3
𝐶1 = = |𝐶1 | = 12 − 45 = −43
15 1
Example 2
3 4 6 3 𝑥 5 𝑥0 + 4 𝑥 1 𝑥 2 + 6 𝑥 1 𝑥 1
𝐷 = [1 5 1] |𝐷| = −2 𝑥 5𝑥 6 − 1 𝑥 1 𝑥 3 − 0𝑥1 𝑥 4
2 1 0 = 0 + 8 + 6 − 60 − 3 − 0 = −49
3 6 4 3𝑥1𝑥1+6𝑥5𝑥2+4𝑥1𝑥0
𝐷1 = [1 1 5] |𝐷| = −2 𝑥 1 𝑥 4 − 0 𝑥 5 𝑥 3 − 1 𝑥 1 6
2 0 1 = 3 + 60 − 8 − 6 = 63 − 14 = 49
|𝐷| = −|𝐷1 |
iii. If each of the elements in a row or column is multiplied by a constant 𝑥, then the determinant
e.g.
8 2
𝐶=[ ] |𝐶| = 24 − 2 = 22
1 3
If x=2
16 4
𝐶 𝑛𝑒𝑤 = [ ]
1 3
|𝐶 𝑛𝑒𝑤| = |16 4
| = 48 − 4 = 44
1 3
8 8 2
𝐷 = [1 1 0]
3 3 7
8 8 2
|𝐷| = |1 1 0|
3 3 7
=8𝑥1𝑥7+8𝑥0𝑥3+2𝑥1𝑥3−3𝑥1𝑥2−3𝑥0𝑥8−7𝑥1𝑥8
=0
matrix is zero.
5 10
e.g. 𝐸=[ ] 𝑖. 𝑒. 2𝑛𝑑 𝑐𝑜𝑙𝑢𝑚𝑛 𝑖𝑠 𝑡𝑤𝑖𝑐𝑒 𝑡ℎ𝑒 1𝑠𝑡 𝑐𝑜𝑙𝑢𝑚𝑛.
2 4
|𝐸| = 20 − 20 = 0
vi. If in any matrix, the elements of any of the row or column are all zero, the determinant of the
matrix is zero.
1 0 9
|𝑋| 1 𝑥 0 𝑥 18 + 0 𝑥 12 𝑥 5 + 9 𝑥 2 𝑥 0
𝑋 = [2 0 12]
−5 𝑥 0 𝑥 9 − 0 𝑥 12 𝑥 1 − 18 𝑥 2 𝑥 0 = 0
5 0 18
vii. If a matrix 𝐷∗ is formed from matrix 𝐷 by adding or subtracting a multiple of one row or
|𝐷∗ | = |𝐷|
8 5 2 8 5 2
𝐷 = [1 6 4] 𝐷∗ = [17 16 8]
2 1 3 2 1 3
We can only add/subtract matrices if they are of the same size (dimension). When
adding/subtracting matrices, elements in the same positions are added /subtracted. The
sum/difference of two matrices A and B will be a matrix of the same size as A and B.
Example:
4 9 10 1 15 4
𝐴 = [5 2 0] 𝐵 = [3 2 7]
6 1 6 8 3 5
𝐴+𝐵 =𝐶
5 24 14
𝐶=[8 4 7]
14 4 11
𝐴−𝐵 =𝐷
3 −6 6
𝐷=[ 2 0 −7]
−2 −2 1
b) Matrix multiplication
Matrix multiplication is a little more complex than addition and subtraction. Two matrices A and
For example, if A is a 𝑚𝑥3 matrix, it can only be multiplied by another matrix of the order 3𝑥𝑛.
The reason for this requirement is the method used when multiplying the matrices.
Example
5 2 1 9 6
If: 𝐴 = [ ] 𝐵=[ ]
3 1 4 0 8
The dimensions of matrix C will be determined by the 2 matrices. It will have the same number of
𝑐𝑖𝑗 = 𝐼𝑡 𝑖𝑠 𝑡ℎ𝑒 𝑝𝑟𝑜𝑑𝑢𝑐𝑡 𝑜𝑏𝑡𝑎𝑖𝑛𝑒𝑑 𝑏𝑦 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑦𝑖𝑛𝑔 𝑡ℎ𝑒 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠 𝑖𝑛 𝑡ℎ𝑒 𝑖𝑡ℎ 𝑟𝑜𝑤
𝑐21 = 𝑎21 . 𝑏11 + 𝑎22 . 𝑏21 𝑐22 = 𝑎21 . 𝑏12 + 𝑎22 . 𝑏22 𝑐23 = 𝑎21 . 𝑏13 + 𝑎22 . 𝑏23
5 2 1 9 6
𝐴=[ ] 𝐵=[ ]
3 1 4 0 8
13 45 46
𝐶=[ ]
7 27 26
4 5
4 3 7
Two matrices A and B are given as: 𝐴 = [ ]. This is a 2𝑥3 matrix and 𝐵 = [6 2] 𝑡his
1 2 5
8 9
4 5
4 3 7
𝐴𝐵 = 𝐶 𝐴=[ ] 𝐵 = [6 2]
1 2 5
8 9
𝑐11 𝑐12 16 + 18 + 56 20 + 6 + 63 90 89
.𝐶 = [𝑐 𝑐22 ] = [ 4 + 12 + 40 ]=[ ]
21 5 + 4 + 45 56 54
It may not always be possible to multiply the matrices in the reverse order unless the two matrices
are square.
4 9 10
𝐴 = [5 2 0]
6 1 6
4 9 10 1 15 4
𝐴 = [5 2 0] 𝐵 = [3 2 7]
6 1 6 8 3 5
8.4 E-References
9.1 Introduction
In this Lesson, we will discuss how to perform matrix division. We will also discuss how to
i) Minor of a matrix
To get the minor of the entire matrix we first get the minors of each of the elements.
The minor of any element is the determinant of the matrix formed by deleting the row and the
Example:
5 0 7
𝐶 = [2 9 3]
8 10 4
9 3 2 3 2 9
𝑀(5) = | |=6 𝑀(0) = | | = −16 𝑀(7) = | | = −52
10 4 8 4 8 10
0 7 5 7 5 0
𝑀(2) = | | = −70 𝑀(9) = | | = −36 𝑀(3) = | | = 50
10 4 8 4 8 10
0 7 5 7 5 0
𝑀(8) = | | = −63 𝑀(10) = | |=1 𝑀(4) = | | = 45
9 3 2 3 2 9
6 −16 −52
𝑀 (𝐶) = [−70 −36 50 ]
−63 1 45
This is given by the minor of an element multiplied by ( −1) raised to the power of the addition
of its subscripts.
e.g.
Example
5 4
𝑀(𝑐11 ) = | | = 35 − 4 = 31
1 7
8 4
𝑀(𝑐12 ) = | | = 56 − 4 = 52
1 7
8 5
𝑀(𝑐13 ) = | |=8−5=3
1 1
Cofactor matrix
The cofactor matrix of C is the matrix formed by the cofactors corresponding to the elements of
matrix C.
e.g.
Example
5 2 6
𝐶 = [8 5 4]
1 1 7
Minors:
5 4 5 4 8 5
𝑀(5) = | | = 31 𝑀(2) = | | = 52 𝑀(6) = | |=3
1 7 1 7 1 1
2 6 5 6 5 2
𝑀(1) = | | = −22 𝑀(1) = | | = −28 𝑀(7) = | |=9
5 4 8 4 5 5
𝐶𝑜𝑓(5) = −11+1 (31) = 31 𝐶𝑜𝑓(2) = −11+2 (52) = −52 𝐶𝑜𝑓(6) = −11+3 (3) = 3
𝐶𝑜𝑓(1) = −13+1 (−22) = −22 𝐶𝑜𝑓(1) = −13+2 (−28) = 28 𝐶𝑜𝑓(7) = −13+3 (9) = 9
31 −52 3
𝐶𝑜𝑓𝑎𝑐𝑡𝑜𝑟 𝑜𝑓 𝐶 = [ −8 29 −3]
−22 28 9
Example 1
In our example above, the adjoint of C will be given as the Transpose of the cofactor matrix of C.
31 −52 3
𝐶𝑜𝑓 𝐶 = [ −8 29 −3]
−22 28 9
Example 2
4 1
𝐴=[ ]
8 9
9 8
𝑀(𝐴) = [ ]
1 4
9 −8
𝐶𝑜𝑓 (𝐴) = [ ]
−1 4
9 −1
𝐴𝑑𝑗𝑜𝑖𝑛𝑡 (𝐴) = [ ]
−8 4
𝐶 −1 𝑖𝑠 𝑑𝑒𝑓𝑖𝑛𝑒𝑑 𝑎𝑠:
Example
10 9
𝐶=[ ]
2 4
Steps
4 2
1. Get minor of 𝐶=[ ]
9 10
4 −2
2. Get cofactor of 𝐶 = [ ]
−9 10
4 −9
3. Get ad joint of 𝐶 = [ ]
−2 10
10 9
4. Get determinant of 𝐶 = | | = 40 − 18 = 22
2 4
𝐴𝑑 𝑗𝑜𝑖𝑛𝑡 𝐶
5. Get inverse of 𝐶 = 𝐶 −1 = |𝐶|
4 −9
[ ]
= [ −2 10 ]
22
Example 2
6 2 1
𝐵 = [4 5 2]
1 3 1
Step 1
−1 2 7
1. Get minor 𝐵 = [−1 5 16]
−1 8 22
−1 −2 7
2. Get cofactor of 𝐵 = [ 1 5 −16]
−1 −8 22
−1 1 −1
3. Get adjoint 𝐵 = [−2 5 −8]
7 −16 22
4. Get determinant of B
|𝐵|
= 30 + 4 + 12 − 5 − 36 − 8
−1 1 −1 1⁄ −1⁄ 1⁄
[−2 5 −8] 3 3 3
𝐴𝑑𝑗 𝐵 7 −16 22 2 −5⁄ 8⁄
5. Get 𝐵 −1 = |𝐵|
= = ⁄3 3 3
−3
−7 16⁄ −22⁄
[ ⁄3 3 3]
The inverse of a matrix multiplied by the original matrix gives an identity matrix. 𝐵. 𝐵 −1 = 𝑰
We can get the determinant of a matrix by using the method of cofactor expansion. This is done
by choosing any row or column and using it for the expansion. For example:
If we use the first column, we can get the determinant of matrix C as follows:
|𝐶| = 𝑐11 ∗ 𝑐𝑜𝑓 𝑜𝑓 𝑐11 + 𝑐21 ∗ 𝑐𝑜𝑓 𝑜𝑓 𝑐21 + 𝑐31 𝑐𝑜𝑓 𝑜𝑓𝑐31
5 4 2 6 2 6
= 5 ∗ (−1)1+1 | | + 8(−1)2+1 | | + 1(−1)3+1 | |
1 7 1 7 5 4
= 69
Division of matrices
Now that we know how to compute the inverse of a matrix, it will be very easy to divide matrices.
To show how we divide matrices, we will use the case of a system of simultaneous equations. We
will learn the inverse method and also the Cramer’s rule of matrix division.
𝑎11 𝑋1 + 𝑎12 𝑋2 = 𝐷1
𝑎21 𝑋1 + 𝑎22 𝑋2 = 𝐷2
𝑎11 𝑎12 𝑋1 𝐷1
[𝑎 𝑎22 ] ∗ [𝑋2 ] = [𝐷2 ]
21
𝑎11 𝑎12
If we represent the coefficients matrix [𝑎 𝑎22 ] 𝑎𝑠 𝐴
21
𝑋1 𝐷
The matrix of the variables [ ] 𝑎𝑠 𝑋 and the matrix of the constants [ 1 ] 𝑎𝑠 𝐷, we can rewrite
𝑋2 𝐷2
𝐴𝑋 = 𝐷
operation:
𝐷
𝑋 = 𝐴 = 𝐴−1 . 𝐷
Note: If we multiply 𝐷 by the inverse of 𝐴 it will not be possible because there is no conformity.
Hence to ensure we can get matrix 𝑋 which is a 2 ∗ 1 matrix, we have to ensure we mutiply the
inverse of 𝐴 by 𝐷
Example
4𝑋1 + 6𝑋2 = 10
𝑋1 + 10𝑋2 = 30
4 6 𝑋 10
We can rewrite the matrices as:[ ] ∗ [ 1] = [ ]
1 10 𝑋2 30
10
[ ]
𝑋1 4 6 −1 10
[ ] = 30 = [ ] [ ]
𝑋2 4 6 1 10 30
[ ]
1 10
4 6
To get the inverse of the matrix [ ] we proceed as follows
1 10
10 −1
=[ ]
−6 4
10 −6
=[ ]
−1 4
10 6
−1 1 10 −6 −
4 6
[ ] = [ ] = [ 34 34]
1 10 34 −1 4 1 4
−
34 34
10 6 10 6 80
𝑋1 − ∗ 10 − ∗ 30 −
[ ] = [ 34 34] [10] = [ 34 34 ] = [ 34]
𝑋2 1 4 30 1 4 110
− − ∗ 10 + ∗ 30
34 34 34 34 34
80 40
𝑋1 = − =−
34 17
𝑤ℎ𝑖𝑙𝑒
110 55
𝑋2 = =
34 17
𝑎1 𝑋 + 𝑏1 𝑌 = 𝐶1 − − − − − − − 𝑖
𝑎2 𝑋 + 𝑏2 𝑌 = 𝐶2 − − − − − − − ii
𝑎1 𝑋 = 𝐶1 − 𝑏1 𝑌
𝐶1 − 𝑏1 𝑌
𝑋=
𝑎1
𝐶1 −𝑏1 𝑌
𝑎2 + 𝑏2 𝑌 = 𝐶2
𝑎1
𝑎2 𝐶1 − 𝑎2 𝑏1 𝑌+𝑎1 𝑏2 𝑌
= 𝐶2
𝑎1
𝑎2 𝐶1 − 𝑎2 𝑏1 𝑌+𝑎1 𝑏2 𝑌 = 𝑎1 𝐶2
𝑌(𝑎1 𝑏2 − 𝑎2 𝑏1 ) = 𝑎1 𝐶2 − 𝑎2 𝐶1
𝑎1 𝐶2 − 𝑎2 𝐶1
𝑌=
𝑎1 𝑏2 − 𝑎2 𝑏1
𝐶1 𝑏2 − 𝐶2 𝑏1
𝑋=
𝑎1 𝑏2 − 𝑎2 𝑏1
Notice that the numerator and the denominator are a product of two values, just like a determinant
of a 2𝑥2 matrix. We can therefore write the expressions of Y and X using determinants as:
and
𝐶 𝑏1
| 1 |
𝐶2 𝑏2
𝑋=
𝑎 𝑏1
| 1 |
𝑎2 𝑏2
𝑎1 𝑋 + 𝑏1 𝑌 = 𝐶1
𝑎2 𝑋 + 𝑏2 𝑌 = 𝐶2
𝑎1 𝑏1 𝑋 𝐶
[ ] ∗ [ ] = [ 1]
𝑎2 𝑏2 𝑌 𝐶2
𝐶 𝑏1
| 1 |
𝐶 𝑏2
𝑋= 2
𝑎 𝑏1
| 1 |
𝑎2 𝑏2
X can be obtained by getting the determinant of the matrix formed by replacing the 1st column
of the coefficients matrix by the matrix on the right hand side of the equation and dividing it
𝑎1 𝐶1
| |
𝑎 𝐶2
𝑌= 2
𝑎 𝑏1
| 1 |
𝑎2 𝑏2
of the coefficients matrix by the matrix on the right hand side of the equation and dividing it
Example
𝑋 + 2𝑌 = 10
5𝑋 + 8𝑌 = 40
Solution
1 2 𝑋 10
[ ]∗[ ]=[ ]
5 8 𝑌 40
10 2
| | 80 − 80 0
𝑋 = 40 8 = =
1 2 8 − 10 −2
| |
5 8
𝑋=0
1 10
| |
𝑌= 5 40 = 40 − 50 = − 10
1 2 8 − 10 −2
| |
5 8
𝑌=5
For example:
𝑋1 + 𝑋2 + = 12
2𝑋1 + 5𝑋2 + 2𝑋3 = 20
6𝑋1 + 3𝑋2 + 6𝑋3 = 0
1 1 0 𝑋1 12
[2 5 2] ∗ [𝑋2 ] = [20]
6 3 6 𝑋3 0
12 1 0
|20 5 2|
168
𝑋1 = 0 3 6 = =7
1 1 0 24
|2 5 2|
6 3 6
1 12 0
|2 20 2|
𝑋2 = 6 0 6 = 120 = 5
1 1 0 24
|2 5 2|
6 3 6
The rank of a matrix is the maximum number of linearly independent rows in a matrix.
The rank of an 𝑚 𝑥 𝑛 matrix is the maximum order of a non-vanishing determinant that can be
The rank can be at most 𝑚 𝑜𝑟 𝑛 whichever is smaller, because the determinant is defined for only
square matrices.
An echelon matrix is a matrix such that all elements in principal diagonal are one and all
1 6 10
0 1 5
0 0 1
Example 1
0 −1 −4
𝐵 = [3 1 2]
6 1 0
6 1 0
𝐵1 = 3 1 2
0 −1 −4
Change 6 in the1st row 1st column into a 1 by dividing the entire row 1 by 6.
1 1⁄6 0
3 1 2
0 −1 −4
Change the 3 in row 2, 1st column into a 0. This will be done by the following operation:
1 1⁄6 0
0 1⁄2 2
0 −1 −4
1 1⁄6 0
𝐵4 = 0 1 4
0 −1 −4
1 1⁄6 0
0 1 4
0 0 0
4 1 2
a) Given a matrix A =5 8 11
3 0 9
7 6 3 3
𝐵=0 1 2 1
8 0 0 8
10.1 Introduction
In any economy, there are several industries that are interdependent. The output of an industry is
likely to be sold to other industries as an input, can be bought by the industry itself, or can be used
for final demand. For example, the output of a poultry farmer, who is in agriculture industry, can
be eggs among other products. The eggs can be bought by other farmers for hatching, can be
bought by bakers in the service industry or can be bought by consumers for final consumption. An
An input-output model helps to know the level of output required for each industry to satisfy the
inter-industry requirements and final demand. The correct level of output depends on total
Assumptions
2. Each industry uses a fixed input-output ratio (factor combination) for production of a unit of
output.
Consider the following case of an economy with three sectors Agriculture, manufacturing and
Input to
demand Output
The total output from each of the sectors must satisfy the final demand and the inter-industry
requirements.
The output from an industry can also be demanded for final consumption. This can be by the
local consumers and also for exports. The final demand for each sector is represented in the
An industry requires output from other industries as inputs (raw materials) in its production
activities. For example, the services sector requires 125 million worth of inputs from
agriculture, 140 million from manufacturing and 30 million from itself (service). In addition,
an industry also requires other inputs such as labour and imported raw materials. This is
represented in the row labeled other inputs. The total requirements of the service sector for
From your knowledge in macroeconomics, the total product should be used to purchase inputs
in the firm. Hence total output for each sector/industry should be equal to the total inputs for
each sector/industry.
To produce output in 𝑗 𝑡ℎ sector, the input required from 𝑖 𝑡ℎ sector is a fixed amount denoted as
𝑎𝑖𝑗 .
1𝑠𝑡 𝑠𝑢𝑏𝑠𝑐𝑟𝑖𝑝𝑡 𝑑𝑒𝑛𝑜𝑡𝑒𝑠 𝑡ℎ𝑒 𝑖𝑛𝑝𝑢𝑡 𝑤ℎ𝑖𝑙𝑒 𝑡ℎ𝑒 2𝑛𝑑 𝑠𝑢𝑏𝑠𝑐𝑟𝑖𝑝𝑡 𝑑𝑒𝑛𝑜𝑡𝑒𝑠 𝑡ℎ𝑒 𝑜𝑢𝑡𝑝𝑢𝑡
Considering a case of 3 sectors, the fixed input-output ratios can be represented in matrix form
as:
Output
𝐼𝑛𝑝𝑢𝑡
𝐼 𝐼𝐼 𝐼𝐼𝐼
𝑂𝑢𝑡𝑝𝑢𝑡 𝐼 𝑎11 𝑎12 𝑎13
𝐼𝐼 𝑎21 𝑎22 𝑎23
[𝐼𝐼𝐼 𝑎31 𝑎32 𝑎33 ]
𝑎12 → How much of input from sector 1 is required to produce 1 unit of output in sector 2.
In order to calculate the fixed input-output ratios, divide the input to the sector from each sector
by the total output in the sector. This can be done as shown in the table below:
Input
The matrix is also known as the input-output matrix or matrix of technical coefficients.
The proportion of primary inputs which are the other inputs required by an industry apart from
what it buys from other sectors e.g. labour, imported raw materials e.t.c. can be obtained by the
following:
i) Add the elements in each column in the input output table i.e.
𝑛
As noted earlier, the output from a sector is required for inter-industry requirements and also for
final demand.
For an industry to produce an output that will meet input demands and the final demand
𝑡ℎ𝑒𝑛.
identity matrix minus the input-output coefficient matrix. This matrix ( 𝐼 − 𝐴) is known as
𝑋1
𝑋
2. [ 2 ] is the matrix of outputs from the three sectors. It can be denoted as 𝑋.
𝑋3
𝐷1
3. [𝐷2 ] is the final demand matrix denoted as 𝐷.
𝐷3
[1 − 𝐴 ] [ 𝑋 ] = 𝐷
If we know the fixed input-output ratios, the final output that can be produced to satisfy
𝐷
𝑋= = (𝐼 − 𝐴)−1 𝐷
(𝐼 − 𝐴)
To get the total output requirements we pre-multiply the final demand matrix by the inverse
Example
The input-output ratio coefficients for a three sector economy are given as:
𝑎11 𝑎12 𝑎13 0.2 0.3 0.2
𝑎
𝐴 = [ 21 𝑎22 𝑎23 ] = [0.4 0.1 0.2] while the final demand matrix is given as:
𝑎23 𝑎32 𝑎33 0.1 0.3 0.2
10
𝐷=[5]
6
Determine the total output required in each of the three sectors to meet the inter-industry input
24.84
𝑋 = [20.68]
18.36
X represents the output required in the three sectors to meet the inter-industry input
The equilibrium prices and quantities for a market with 3 commodities can be determined using
the matrix method. If the demand and supply functions for the three commodities is given as:
Determine the equilibrium prices and quantities for the three products.
At equilibrium:
𝑄𝑑1 = 𝑄𝑠1
𝑄𝑑2 = 𝑄𝑠2
𝑄𝑑3 = 𝑄𝑠3
If we equate the demand and the supply for each of the three products, we get:
10 −5 3 𝑃1 55
𝑃
[−7 14 −5] ∗ [ 2 ] = [27]
−1 −5 7 𝑃3 18
55 −5 3
|27 14 −5|
𝑃1 = 18 −5 7 = 7
10 −5 3
|−7 14 −5|
−1 −5 7
10 55 3
|−7 27 −5|
𝑃2 = −1 18 7 = 9
10 −5 3
|−7 14 −5|
−1 −5 7
10 −5 55
|−7 14 27|
𝑃3 = −1 −5 18 = 10
10 −5 3
|−7 14 −5|
−1 −5 7
TASK: Solve for the equilibrium quantities by substituting for the values of the
𝑄1 = 51 𝑄2 = 103 𝑄3 = 39
Input to
demand Output
Required:
400
iii) The output requirement for each sector given that the final demand changes to 𝐷 = (1200)
400
10.4 E-References
10. Chiang Alpha, Wainwright K. (2005), Fundamental methods of Mathematical Economics,
4th edition, McGraw Hill, Singapore
11. Holden K., Pearson A.W. (1985), Introductory Mathematics for Economists, Macmillan
press, London
12. Mukras M.S. (1986), Elements of Mathematical Economics, Kenya Literature bureau
11.1 Introduction
11.2.2 Compute general equilibrium in the IS-LM framework using matrix algebra
𝑌 = 𝐶 + 𝐼0 + 𝐺0
𝐶 = 𝑐0 + 𝑐1 (𝑌 𝑑 )
𝑌𝑑 = 𝑌 − 𝑇
𝐶 = 𝑐0 + 𝑐1 (𝑌 − 𝑇)
𝑇 = 𝑡0 + 𝑡1 𝑌
i) Write this model in three simultaneous equations representing the three endogenous
variables.
𝑌 − 𝐶 = 𝐼0 + 𝐺0
−𝑐1 𝑌 + 𝐶 + 𝑐1 𝑇 = 𝑐0
−𝑡1 𝑌 + 𝑇 = 𝑡0
1 −1 0 𝑌 𝐼0 + 𝐺0
[−𝑐1 1 𝑐1 ] ∗ [𝐶 ] = [ 𝑐0 ]
−𝑡1 0 0 𝑇 𝑡0
ii) Use Cramer’s rule to determine the expressions for the equilibrium values of the
𝐼0 + 𝐺0 −1 0
| 𝑐0 1 𝑐1 |
𝑡0 0 0
𝑌=
1 −1 0
|−𝑐1 1 𝑐1 |
−𝑡1 0 0
𝑐0 + 𝐼0 + 𝐺0 − 𝑐1 𝑡0
𝑌=
(1 − 𝑐1 + 𝑐1 𝑡1 )
1 𝐼0 + 𝐺0 0
|−𝑐1 𝑐0 𝑐1 |
−𝑡1 𝑡0 0
𝐶=
1 −1 0
| 1 1 𝑐1 |
−𝑐
−𝑡1 0 0
1 −1 𝐼0 + 𝐺0
|−𝑐1 1 𝑐0 |
−𝑡1 0 𝑡0
𝑇=
1 −1 0
| 1 1
−𝑐 𝑐1 |
−𝑡1 0 0
𝑡0 (1 − 𝑐1 )𝑐0 + 𝑡1 (𝑐0 + 𝐼0 + 𝐺0 )
𝑇=
(1 − 𝑐1 + 𝑐1 𝑡1 )
Example 1
Find the equilibrium income, consumption and tax given the following national income model:
𝑌 =𝐶+𝐼+𝐺
𝐶 = 100 + 0.8𝑌 𝑑
𝑇 = 10 + 0.1𝑌
𝐼 = 50
𝐺 = 30
Step 1: Rewrite the equations putting the endogenous variables on the L.H.S and the exogenous variables
on the R.H.S
𝑌 =𝐶+𝐼+𝐺
𝑌 − 𝐶 = 𝐼 + 𝐺 (Substitute for I and G)
𝑌 − 𝐶 = 50 + 30
𝑌 − 𝐶 = 80…………………………………………………………………. (1)
𝐶 = 100 + 0.8𝑌 𝑑
𝑌𝑑 = 𝑌 − 𝑇
𝐶 = 100 + 0.8(𝑌 − 𝑇)
𝐶 = 100 + 0.8𝑌 − 0.8𝑇)
−0.8𝑌 + 𝐶 + 0.8𝑇 = 100……………………………………………………. (2)
𝑇 = 10 + 0.1𝑌
𝑌 − 𝐶 = 80
−0.8𝑌 + 𝐶 + 0.8𝑇 = 100
−0.1𝑌 + 𝑇 = 10
1 −1 0 𝑌 80
⌊−0.8 1 0.8⌋ ⌊𝐶 ⌋ = ⌊100⌋
−0.1 0 1 𝑇 10
Using Cramer’s Rule:
80 −1 0
|100 1 0.8|
𝑌 = 10 0 1 = 172 = 614.29
1 −1 0 0.28
|−0.8 1 0.8|
−0.1 0 1
1 80 0
|−0.8 100 0.8|
𝐶 = −0.1 10 1 = 149.6 = 534.29
1 −1 0 0.28
|−0.8 1 0.8|
−0.1 0 1
1 −1 80
|−0.8 1 100|
𝑇 = −0.1 0 10 = 20 = 71.43
1 −1 0 0.28
|−0.8 1 0.8|
−0.1 0 1
Example 2
You are given the following national income model:
𝑌 =𝐶+𝐼+𝐺
𝐶 = 120 + 0.8𝑌
𝐼 = 100 + 0.1𝑌
Solution:
𝑌 − 𝐶 − 𝐼 = 300………………………………………………………………… (1)
−0.8𝑌 − 𝐶 = 120……………………………………………………………….. (2)
0.1𝑌 + 𝐼 = 100………………………………………………………………….. (3)
1 −1 −1 𝑌 300
⌊−0.8 1 0 ⌋ ⌊𝐶 ⌋ = ⌊120⌋
−0.1 0 1 𝐼 100
1 300 −1
|−0.8 120 0 |
𝐶 = −0.1 100 1 = 428 = 4,280
1 −1 −1 0.1
|−0.8 1 0|
−0.1 0 1
1 −1 300
|−0.8 1 120|
62
𝐼 = −0.1 0 100 = = 620
1 −1 −1 0.1
|−0.8 1 0|
−0.1 0 1
𝐶 = 180 + 0.7𝑌 𝑑
𝑇 = 70
𝐼 = 60 + 0.1𝑌
𝐺 = 80
b) Determine how matrix algebra can be applied in determining the equilibrium values of interest
rates and national income in the macro economy using the following IS and LM functions.
IS equation: 𝑟 = 8 − 0.006𝑦
LM equation: 𝑟 = −3 + 0.003𝑦
11.4 E-References
13. Chiang Alpha, Wainwright K. (2005), Fundamental methods of Mathematical Economics,
4th edition, McGraw Hill, Singapore
14. Holden K., Pearson A.W. (1985), Introductory Mathematics for Economists, Macmillan
press, London
15. Mukras M.S. (1986), Elements of Mathematical Economics, Kenya Literature bureau
12.1 Introduction
In this lesson we shall learn the different rules that are used to integrate functions
Integration is simply the reverse of differentiation. If we differentiate a function, we get the slope
of the function. On the other hand, if we have the slope, and we want to get back to the original
For example:
If 𝑌 = 𝑋 𝑛
𝜕𝑌
= 𝑛𝑋 𝑛−1
𝑑𝑋
To get back to the original function, we do the reverse of what we have done.
Integration can also be interpreted as the area below a curve between specified limits.
Consider the following two functions: 𝐹(𝑥), a primary function and 𝑓(𝑥), the derived
In order to obtain the primary function 𝐹(𝑥)from the derived function 𝑓(𝑥), we have to
𝑑
∫ 𝑓(𝑥)𝑑𝑥 = ∫ 𝐹(𝑥)𝑑𝑥 = 𝐹(𝑥)
𝑑𝑥
We will therefore define the term integration as the process of obtaining a primary function from
Constant of integration
𝐹(𝑥) = 𝑥 2
𝑓(𝑥) = 2𝑥
∫ 𝑓(𝑥)𝑑𝑥 = ∫ 2𝑥𝑑𝑥 = 𝑥 2
It is important to note that, we have other functions whose derivative is 2𝑥 as shown below.
𝐹(𝑥) = 𝑥 2 + 13
𝐹(𝑥) = 𝑥 2 + 9
𝐹(𝑥) = 𝑥 2 + 40
among others.
∫ 𝑓(𝑥)𝑑𝑥 = 𝐹(𝑥) + 𝑐
Examples
i) ∫ 2𝑥 𝑑𝑥
ii) ∫ 3𝑥 2 𝑑𝑥
Solution
i) ∫ 2𝑥 𝑑𝑥 = 𝑥 2 + 𝑐
ii) ∫ 3𝑥 2 𝑑𝑥 = 𝑥 3 + 𝑐
In some instances, it may be necessary to determine the specific numerical values of the constant
of integration. This is possible when the problem being discussed provides initial conditions e.g.
Example 1
Compute the following given the boundary condition stated in the problem:
𝑦 = ∫ 2𝑥 𝑑𝑥 𝑦 = 125 𝑤ℎ𝑒𝑛 𝑥 = 5
Solution
𝑦 = ∫ 2𝑥 𝑑𝑥 = 𝑥 2 + 𝑐
125 = 52 + 𝑐
𝑐 = 125 − 25 = 100
𝑦 = 𝑥 2 + 100
Example 2
Compute the following given the initial condition stated in the problem:
𝑦 = ∫ 3𝑥 2 𝑥 = 0 𝑤ℎ𝑒𝑛 𝑦 = 77
Solution
𝑦 = ∫ 3𝑥 2 = 𝑥 3 + 𝑐
77 = 03 + 𝑐
𝑐 = 77
𝑦 = 𝑥 3 + 77
∫ 𝐾. 𝑑𝑥 = 𝐾𝑥 + 𝐶
The constant rule can be understood further by using the power multiplied by a constant rule.
𝐾𝑥 0+1
∫ 𝐾𝑥 0 . 𝑑𝑥 = 1
+ 𝐶 = 𝐾𝑥 + 𝐶
The constant 𝐶 is added because it is usually lost in the process of differentiating. It can take
many values.
Examples
i) ∫ 10. 𝑑𝑥 = 10𝑥 + 𝑐
b) Power Rule
𝑛
𝑥 𝑛+1
∫ 𝑥 . 𝑑𝑥 = +𝑐
𝑛+1
Examples
𝑥 4+1 𝑥5
i) ∫ 𝑥 4 . 𝑑𝑥 = 5
+𝑐 =5 +𝑐
3 7
4
ii) ∫ 𝑥 4 . 𝑑𝑥 = 7 𝑥 4 + 𝑐
𝑛
𝐴𝑥 𝑛+1
∫ 𝐴𝑥 . 𝑑𝑥 = +𝑐
𝑛+1
Examples
5𝑥 4
i) ∫ 5𝑥 3 . 𝑑𝑥 = 5 ∫ 𝑥 3 . 𝑑𝑥 = 4
+𝑐
ii) ∫ 10𝑥 4 . 𝑑𝑥 = 10 ∫ 𝑥 4 . 𝑑𝑥 = 2𝑥 5 + 𝑐
d) Sum/difference rule
Example
20𝑥 2 3𝑥 3
∫(20𝑥 + 3𝑥 2 ) 𝑑𝑥 = ∫(20𝑥)𝑑𝑥 + ∫ 3𝑥 2 𝑑𝑥 + 𝑐 = + + 𝑐 = 10𝑥 2 + 𝑥 3 + 𝑐
2 3
1 (𝑚𝑥+𝑘)𝑛+1
∫(𝑚𝑥 + 𝑘)𝑛 . 𝑑𝑥 = 𝑚 𝑛+1
+𝐶
Example
1 (2𝑥+10)4
∫(2𝑥 + 10)3 . 𝑑𝑥 = 2 4
+𝐶
i) 𝑦 = 𝑒𝑥
𝑑𝑦
= 𝑒𝑥
𝑑𝑥
∫ 𝑒 𝑥 . 𝑑𝑥 = 𝑒 𝑥 + 𝑐
ii) 𝑦 = 𝑒 𝑘𝑥
𝑑𝑦
= 𝑘𝑒 𝑘𝑥
𝑑𝑥
1
∫ 𝑒 𝑘𝑥 . 𝑑𝑥 = 𝑘 𝑒 𝑘𝑥 + 𝑐
In general:
Examples
Evaluate:
i) ∫ 2𝑒 𝑥 . 𝑑𝑥
∫ 2𝑒 𝑥 . 𝑑𝑥 = 2 ∫ 𝑒 𝑥 . 𝑑𝑥 = 2𝑒 𝑥 + 𝑐
ii) ∫ 𝑒 7𝑥 . 𝑑𝑥
1
∫ 𝑒 7𝑥 . 𝑑𝑥 = 7 𝑒 7𝑥 + 𝑐
1
𝑥
iii) ∫ 𝑒 2 . 𝑑𝑥
1 1 1
𝑥 1
∫ 𝑒 2 . 𝑑𝑥 = 1 𝑒 2𝑥 + 𝑐 = 2𝑒 2𝑥 + 𝑐
2
This means:
1
∫ 𝑥 𝑑𝑥 = 𝐿𝑛𝑥 + 𝑐
𝑓 ′ (𝑥)
∫ 𝑑𝑥 = 𝐿𝑛 𝑓(𝑥) + 𝑐
𝑓(𝑥)
Examples
4
i) ∫ 𝑥 . 𝑑𝑥
4 1
∫ . 𝑑𝑥 = 4 ∫ . 𝑑𝑥 = 4 𝑙𝑛𝑥 + 𝑐
𝑥 𝑥
1
ii) ∫ 3𝑥 . 𝑑𝑥
1 1 1 1
∫ . 𝑑𝑥 = ∫ . 𝑑𝑥 = 𝑙𝑛𝑥 + 𝑐
3𝑥 3 𝑥 3
3𝑥 2 +3
iii) ∫ 𝑥 3 +3𝑥+4 . 𝑑𝑥
3𝑥 2 + 3
∫ . 𝑑𝑥 = ln(𝑥 3 + 3𝑥 + 4) + 𝑐
𝑥 3 + 3𝑥 + 4
h) Integration by substitution
Used if appropriate
𝑑𝑣
∫ 𝑓(𝑢). . 𝑑𝑥 = ∫ 𝑓(𝑢). 𝑑𝑣 = 𝑓(𝑢) + 𝑐
𝑑𝑥
𝑑 𝑓(𝑢) 𝑑 𝑑𝑣 𝑑𝑣 𝑑𝑣
= 𝑓(𝑢). = 𝑓 ′ (𝑢). = 𝑓𝑢
𝑑𝑥 𝑑𝑣 𝑑𝑥 𝑑𝑥 𝑑𝑥
Example
𝑑𝑢 𝑑𝑢
= 2𝑥 𝑑𝑥 =
𝑑𝑥 2𝑥
𝑑𝑢
∫ 2𝑥. 𝑢 = ∫ 𝑢𝑑𝑢
2𝑥
(𝑥 2 + 1)2
= +𝑐
2
3𝑥 2
ii. ∫ (𝑥 3 +18)7 . 𝑑𝑥
𝑑𝑢
Let 𝑢 = 𝑥 3 + 18 = 3𝑥 2
𝑑𝑥
1 −7
−𝑢−6
∫ 𝑑𝑢 = ∫ 𝑢 𝑑𝑢 = +𝑐
𝑢7 6
Substituting for u
−(𝑥 3 + 18)−6 −1
+𝑐 = +𝑐
6 6(𝑥 + 18)6
3
The integrals we have looked at are called indefinite integrals in that we do not have a definite
As noted earlier, integration can be defined as the area below a curve between two specified values.
Y=f(x)
0 b X
a
If we choose two values of the independent variable (X), e.g. 𝑎 and 𝑏 where 𝑎 < 𝑏, we can get a
definite value for the integral by substituting the values of 𝑥 in the integral. i.e.
This would give us a definite numerical value for the integral by ensuring that the variable 𝑥 and
In the definite integral, 𝑎 is the lower limit and 𝑏 is the upper limit.
If we are interested in getting the definite integral, we can rewrite our integral as:
Example
3
i. ∫1 𝑥 2 . 𝑑𝑥
3 3
2
𝑥3 33 13 26
∫ 𝑥 . 𝑑𝑥 = + 𝑐] = − =
1 3 1
3 3 3
3
ii. ∫1 4𝑋 2 . 𝑑𝑥
3 3
4𝑋 3
2
4(3)3 4(1)3
∫ 4𝑋 𝑑𝑥 = ] =[ − ]=
1 3 1 3 3
4 104
= 36 − =
3 3
3
3𝑥 2
∫ . 𝑑𝑥 = [ln(𝑥 3 + 3) + 𝑐]32 = ln(33 + 3 + 𝑐) − ln(23 + 3 + 𝑐)
2 𝑥3 + 3
ln(30) − ln(11)
Simplify
i) ∫ 8𝑒 2𝑥+3 . dx
5𝑥 4 +3𝑥 2
ii) ∫ 𝑥 5 +𝑥 3 +7 . 𝑑𝑥
1
iii) ∫−1(3𝑥 2 + 4𝑥 + 5). 𝑑𝑥
12.4 E-References
13.1 Introduction
In this lesson we will learn how the concept of integration is used in economics.
13.2.1 Understand the computation of the consumer surplus using the concept of integration
13.2.2 Understand the computation of the consumer surplus using the concept of integration
13.2.3 Obtain the cost function from the marginal cost function
13.2.4 Obtain the total revenue function from the marginal revenue function
13.2.5 Obtain the consumption function from the marginal propensity consume
Consumer surplus is the benefit to the consumer because of being able to buy goods at a lower
price than what he/she was willing to pay. It is the difference between what a consumer pays and
what she/he was willing to pay. It is given as the area below the demand curve but above the market
Market price/
equilibrium
price
P=f(Q)
0
Equilibrium Quantity demanded
quantity
𝑄𝑒
𝐶𝑜𝑛𝑠𝑢𝑚𝑒𝑟 𝑠𝑢𝑟𝑝𝑙𝑢𝑠 = ∫ 𝑝. 𝑑𝑄 − 𝑃𝑒 𝑄𝑒
0
Example
𝑃 = 40 − 2𝑄
𝑊ℎ𝑒𝑛 𝑃 = 10
10 = 40 − 2𝑄
𝑄 = 15
15 15
2𝑄 2
𝐶𝑜𝑛𝑠𝑢𝑚𝑒𝑟 𝑠𝑢𝑟𝑝𝑙𝑢𝑠 = ∫ (40 − 2𝑄). 𝑑𝑄 = 40𝑄 − | − 10 ∗ 15
0 2 0
This is the benefit to the producer because of being able to sell goods at a higher price than what
he/she was willing to sell. It is the difference between what a producer receives and what she/he
was willing to receive. It is given as the area above the supply curve but below the market price.
Market price
=equilibrium price
P=f(Qs)
The shaded area is the producer surplus. Using the concept of integration, it is calculated
𝑄𝑒
𝑝𝑟𝑜𝑑𝑢𝑐𝑒𝑟 𝑠𝑢𝑟𝑝𝑙𝑢𝑠 = 𝑃𝑒 𝑄𝑒 − ∫ 𝑝. 𝑑𝑄
0
Example
𝑃 = −10 + 𝑄
Solution
When 𝑃 = 30, 𝑄𝑠 = 30 + 10 = 40
40
𝑝𝑟𝑜𝑑𝑢𝑐𝑒𝑟 𝑠𝑢𝑟𝑝𝑙𝑢𝑠 = 30 ∗ 40 − ∫ (−10 + 𝑄). 𝑑𝑄
0
40 ∗ 40
= (1200) − [−10(40) + ]−0
2
If we have the marginal cost function for a firm, the total cost can be computed by integrating the
Example
𝑀𝐶 = 40𝑄 − 6
𝑇𝐶 = ∫ 𝑀𝐶. 𝑑𝑄
𝑇𝐶 = ∫ 40𝑄 − 6. 𝑑𝑄
40𝑄 2
= − 6𝑄 + 𝐶
2
= 20𝑄 2 − 6𝑄 + 𝐶
The arbitrary constant 𝐶 in the total cost function is the fixed cost.
𝑇𝐶 = 20𝑄 2 − 6𝑄 + 3060
The total revenue function can be obtained by integrating the marginal revenue function with
TR=∫ 𝑀𝑅. 𝑑𝑄
Example
𝑀𝑅 = 20 − 50𝑄
50𝑄 2
TR=∫ 𝑀𝑅. 𝑑𝑄=∫ 20 − 50𝑄𝑑𝑄 = 20𝑄 − = 20𝑄 − 25𝑄 2
2
Note
In a total revenue function, we will not need the integration constant because when output is zero,
there will be no revenue hence the value of the constant will be zero.
𝑑𝐶
𝑀𝑃𝐶 = = 0.8
𝑑𝑌
𝐶 = ∫ 0.8𝑌 𝑑𝑌 = 0.8𝑌 + 𝐾
In the consumption function, K represents the autonomous consumption. We can get its value by
For example, assume in our above case that when Y=5 billion, C=4.2 billion
𝐶 = 0.8𝑌 + 𝐾
4.2 = 0.8(5) + 𝐾
𝐾 = 4.2 − 4.0
= 0.2
Hence:
𝐶 = 0.2 + 0.8𝑌
Capital formation refers to the process of adding to a given capital stock. If we denote capital
stock with 𝑲(𝒕), the rate of capital formation / net investment flow, 𝑰(𝒕) is given by:
𝑑𝐾
= 𝐾 = ̇ 𝐼(𝑡)
𝑑𝑡
Page 164 of 167
Given the rate of capital formation, capital stock or the time path of capital is given by:
𝐾(𝑡) = ∫ 𝐼(𝑡) 𝑑𝑡
Once we know the rate of net investment flow function 𝑰(𝒕), we can apply definite integration to
obtain the amount of capital formation or total net investment over some specified period of
time.
𝑡
𝑪𝒂𝒑𝒊𝒕𝒂𝒍 𝑭𝒐𝒓𝒎𝒂𝒕𝒊𝒐𝒏 = ∫ 𝐼(𝑡)𝑑𝑡 = [𝐾(𝑡)]𝑡0 = 𝐾(𝑡) − 𝐾(0)
0
Example
Find the time path of capital 𝐾(𝑡), given the following rates of net investment flow functions
2
i) 𝐼(𝑡) = 15𝑡 3
2 3 5 5
𝐾(𝑡) = ∫ 𝐼(𝑡) 𝑑𝑡 = ∫ 15𝑡 3 𝑑𝑡 = ∗ 15 𝑡 3 + 𝑐 = 9𝑡 3 + 𝑐
5
Find the amount of capital formation (total net investment) over the period [2,6] given the
1
i) 𝐼(𝑡) = 60𝑡 3
1 4
𝐶𝑎𝑝𝑖𝑡𝑎𝑙 𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛 = ∫ 𝐼(𝑡)𝑑𝑡 = ∫ 60𝑡 3 𝑑𝑡 = [45𝑡 3 + 𝑐]62 = 490.61 − 113.39
= 377.22
Find the time path of capital 𝐾(𝑡), given the rate of capital formation and initial
conditions
1 3
𝐾(𝑡) = ∫ 9𝑡 2 𝑑𝑡 = 6𝑡 2 + 𝑐
Thus 𝑐 = 20
3
Hence 𝐾(𝑡) = 6𝑡 2 + 20
i. 𝑃 = 3 + 2𝑄; 𝑃𝑒 = 19
ii. 𝑃 = 3 + 𝑄2; 𝑃𝑒 = 19
𝑃 = 50 − 0.5𝑄; 𝑃𝑒 = 30
𝑃 = 13 − 𝑄 2; 𝑃𝑒 = 4
c) Assuming that the rate of net investment flow is given by the following function and that
𝐾(0) = 30:
2
𝐼(𝑡) = 24𝑡 5
ii) Find the amount of capital formation over the interval [1,4]
THE END