Chapter 1-2 (Introduction and Comparative Statics Analysis)
Chapter 1-2 (Introduction and Comparative Statics Analysis)
Hà Văn Hiếu
Lecturer
Dr. Hà Văn Hiếu,
Faculty of Economic Mathematics, UEL.
Email: [email protected].
Students
This module is taken by 413, 413C and 413CA.
Other resources:
1 Raymond A. Barnett; Calculus for Business, Economics, Life Sciences and Social
Sciences, 13th edition.
2 Frederick S. Hillier, Introduction to Operations Research, 10th edition, McGraw-Hill,
2015.
3 PGS.TS. Hoàng Đình Tuấn; Giáo trình Mô hình Toán Kinh tế; NXB Thống kê,
Trường Đại học Kinh tế Quốc dân.
Definition
Mathematical economics is the application of mathematical methods to represent theories
and analyze problems in economics. Often, these applied methods are beyond simple
geometry, and may include differential and integral calculus, difference and differential
equations, matrix algebra, mathematical programming, or other computational methods.
[Wikipedia]
Variables: something that can take on different values, example: price, profit, revenue,
etc. Each variable can assume various values and presented by a symbol: Endogenous
- value is determined by the model and exogenous - value is determined outside the
model. An economic variable can be exogenous in some models and endogenous in
others. Symbols: x, y, z, t. dependent variables and independent variables.
Constants: a magnitude that does not change. Variables frequently appear in
combination with fixed number or constants. Symbols: 1, 2, 3, a, b.
Parametric constants or parameters: a, b - supposed to represent a given constant.
However, it can take virtually any value. A parameter is nevertheless to be regarded as
a variable of a model.
Definition
"In mathematics, a matrix (plural matrices), is a rectangular array or table of numbers,
symbols, or expressions, arranged in rows and columns." - Wikipedia.
Let
7 3 4
A=
1 5 6
be a matrix.
1 How many rows and columns the matrix A has?
2 What is the dimension (size) of A?
3 We denote matrices by capital letters (that is, A, B, C, . . . ) and their entries (or
elements) by the corresponding lower-case letter in ordinary type. For example,
a12 = 3. Determine a13 , a22 , a24 , a34 .
Let
1 0 2 3 1
1 2
A= B = 1 −1 0 6 2 C = 5 7 9 0 2 D = [6]
3 4
3 4 6 7 8
Definition
The transpose of a matrix is found by replacing rows by columns, so that the first row
becomes the first column, the second row becomes the second column, and so on.
Example
Write down the transpose of the following matrices:
1 4 0 1 2
3
1 2 3
7 6 1 4
, B = 1 5 ,
A= C= 2 4 5
2 1 3 5 −1 7 9
3 5 6
2 −5 1 8 0
A row vector (or row matrix) is a matrix that has only one row. For example,
B = [1 5 7] is a row vector.
A column vector is a matrix that has only one column. For example,
1
2
C= −3
Definition
A + B = [entries of A] + [entries of B]
α · A = [α · entries of A]
Remark: To add (or subtract) two matrices of the same size, we simply add (or subtract)
their corresponding elements.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 16 / 138
Matrix multiplication
If A is a row vector
A = a11 a12 a13 . . . a1n
and B is the column vector
b11
b21
B = b31
..
.
bn1
Then we define the matrix product to be the 1 × 1 matrix
Definition
columns
AB = [Rows of A] · of
B
a. AB c. CD e. AE g. DE
b. BA d. DC f. EA h. ED
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 18 / 138
Summary on Operations on matrices
Definition
Properties
Associativity: (A + B) + C = A + (B + C), (AB)C = A(BC), (αβ)A = α(βA)
Commutativity: A + B = B + A
Question
Is there a matrix, says I, such that
A · I = I · A = A?
Identity matrix
The n × n identity matrix is the n × n matrix in which the entries in the main diagonal
equal to 1 while the other entries equal to 0.
1 0 0
1 0
Example: I2 = and I3 = 0 1 0 are identity matrices.
0 1
0 0 1
a b
Let A = be an arbitrary 2 × 2 matrix, we know that A + (−A) = (−A) + A = O.
c d
Question
Is there a matrix, denoted by A−1 for example, such that
A · A−1 = A−1 · A = I ?
Definition
The inverse of an n × n matrix A (if exists) is the n × n matrix A−1 such that
Theorem
a b
The matrix A = is invertible if and only if ad − bc ̸= 0. Furthermore, the inverse of
c d
A is
1 d −b
ad − bc −c a
a b
det(A) or |A| or
c d
If
a11 a12 a13
A = a21 a22 a23
a31 a32 a33
then
a22 a23 a a a a
det A = a11 − a12 21 23 + a13 21 22
a32 a33 a31 a33 a31 a32
If we denote
a22 a23 a21 a23 a21 a22
A11 = A12 = − A13 =
a32 a33 a31 a33 a31 a32
Then
det A = a11 A11 + a12 A12 + a13 A13
a22 a23 a a a a
det A = a11 − a12 21 23 + a13 21 22
a32 a33 a31 a33 a31 a32
det A = a11 A11 + a12 A12 + a13 A13
The cofactor of the element, aij , is the determinant of the matrix left when row i and
column j are deleted, multiplied by +1 or 1, depending on whether i + j is even or
odd, respectively.
Definition
For an n × n matrix A, we have
n
X
det(A) = a1j A1j .
j=1
Theorem
A square matrix A is invertible if and only if det A ̸= 0
If the dimension of A is 3 × 3 and det A ̸= 0, then
A11 A21 A31
1
A−1 = A12 A22 A32
det A
A13 A23 A33
Remark: In order to calculate the determinant, we can expand along any row/column.
a11 x + a12 y + a13 z = b1 a11 a12 a13 x b1
a21 x + a22 y + a23 z = b2 ⇐⇒ a21 a22 a23 × y = b2
a31 x + a32 y + a33 z = b3 a31 a32 a33 z b3
Ax = b
x = A−1 b
Two matrices are called row equivalent if there is a sequence of elementary row operations
that transforms one matrix into the other.
Question
Do these preserve a system of linear equations?
Rank of a matrix
The rank of a matrix A is the number of non-zero rows in its echelon form.
Example
Determine the rank of the following matrices:
1 3 3 270 −372 0 1 70 2
A = 1 4 3 , B = 552 201 0 , and C = 0 3 0
1 3 4 999 413 0 2 300 1
Theorem
A system of linear equations Ax = b with n variables has a solution if and only if the rank
of its coefficient matrix A is equal to the rank of its augmented matrix [A | b]. In
particular:
if n = rank(A), the solution is unique,
otherwise, there are infinitely many solutions.
Example
Determine if the following is consistent:
x1 − 2x2 + x3 = 0
2x2 − 8x3 = 8
5x1 − 5x3 = 10
The variables x1 and x2 corresponding to pivot columns in the matrix are called basic
variables. The other variable x3 is called a free variable.
The (general) solution for this system of equations is
x1 = 1 − 2x3
(
x1 = 1 − 2x3
x2 = 1 − x3 or
x2 = 1 − x3
x3 is free
Theorem
Let Ax = b be a system of linear equations which has n variables.
1 If rankA < rank(A b) then the system has no solution.
2 If rank(A) = rank(A b) = n then the system has a unique solution.
3 If rank(A) = rank(A b) = k < n then the system has infinitely many solutions with
n − k free variables.
Rn = {(x1 , x2 , . . . , xn ) : x1 , x2 , . . . , xn ∈ R} .
Each element in Rn is called a vector of dimension n.
Vector operations
Let u = (x1 , x2 , . . . , xn ) and v = (y1 , y2 , . . . , yn ) be two vectors in Rn and let α be a real
number then
u + v = (x1 + y1 , x2 + y2 , . . . , xn + yn ) (Addition)
αu = (αx1 , αx2 , . . . , αxn ) (Scalar multiplication)
Remark: For convenience, from now on, we will write vectors as columns.
Definition
Let {u1 , u2 , . . . , uk } be a family of vectors in Rn .
Any vector of the form α1 u1 + α2 u2 + · · · + αk uk , for some α1 , . . . , αk ∈ R, is called a
linear combination of u1 , u2 , . . . , uk .
Denote Span(u1 , . . . , uk ) := {α1 u1 + α2 u2 + · · · + αk uk : α1 , . . . , αk ∈ R}. Then
Span(u1 , . . . , uk ) is a vector subspace of Rn . This space is called the subspace spanned
by u1 , . . . , uk .
1 v1 via v2 , v3 , v4 . 4 v4 via v1 , v2 , v3 .
2 v2 via v1 , v3 , v4 .
3 v3 via v1 , v2 , v4 . 5 O via v1 , v2 , v3 .
Proposition
The vectors v1 , v2 , . . . , vm are linearly independent if and only if O has a unique
expression as a linear combination of v1 , v2 , . . . , vm , i.e., the vector equation
x1 v1 + x2 v2 + · · · + xm vm has a unique solution. That unique expression is
O = 0 · v1 + 0 · v2 + · · · + 0 · vm .
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 45 / 138
Rank of a system of vectors
Proposition
A system of vectors v1 , v2 , . . . , vm in Rn is linear independent if and only if the rank of the
matrices [v1 v2 · · · vm ] equals to m, the number of vectors.
1 0 0
Example: The vectors u1 = 1 , u2 = 1 , and u3 = 0 are linearly independent
1 1 1
because
1 0 0
rank [u1 u2 u3 ] = rank 1 1 0 = 3
1 1 1
Remark: If m = n then a system of vectors v1 , v2 , . . . , vm in Rn is linearly independent if
and only if the vector equation x1 · v1 + x2 · v2 + · · · + xm vm = 0 has only trivial solution
Qd = f (P )
P = g(Qd )
Léon Walras (1834-1910)
Remark: If the supply function P is modelled as a linear function, i.e., P = aQs + b, then
a > 0 and b > 0. Consequently, if the supply function is expressed as Qs = cP + d, then
c > 0 > d.
Example: The demand and supply functions of a good are given by P = 2Qd + 50 and
P = 1/2Qs + 25, where P, Qd and Qs denote the price, quantity demanded and quantity
supplied, respectively.
a. Determine the equilibrium price and quantity.
b. Determine the effect on the market equilibrium if the government decides to impose a
fixed tax of $5 on each good.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 50 / 138
The market model - Two goods
Suppose that the demands and the supplies Question: What can we say about the sign
of two goods are given by of the parameters
Qd,1 = a1 P1 + a2 P2 + a3
a1 , a 2 , a 3 , α 1 , α 2 , α 3 , b 1 , b 2 , b 3 , β 1 , β 2 , β 3 .
Q = α P + α P + α
d,2 1 1 2 2 3
Qs,1 = b1 P1 + b2 P2 + b3
Qs,2 = β1 P1 + β2 P2 + β3
1 Two goods are said to be substitutable, if an increase in the price of one good causes
an increase in the demand of the other good.
2 Two goods are said to be complementary, if an increase in the price of one good
causes a decrease in the demand of the other good.
Question
Is f a decreasing function?
If the relationship between C and Y are linear, we may assume C = aY + b, where 0 < b
and 0 < a < 1.
Savings function: S = Y − C.
Example
Find the equilibrium level of income and consumption if the consumption function is
C = 0.6Y + 10
To make the model more realistic, we will need some additional information, that is the
equilibrium of the money market.
The equilibrium of the money market
The money market is said to be in equilibrium when the supply of money, Ms , matches
the demand for money, Md : that is, when
Ms = M d .
The level of money supply, Ms , is assumed to be controlled by the central bank and is
taken to be autonomous, so that
Ms = Ms∗
for some fixed value Ms∗ .
k1 Y + k2 r + k3 = Ms∗
LM Schedule
The above equation, relating national income, Y , and interest rate, r, is called the LM
schedule.
Exercise: Determine the equilibrium Sketch the IS and LM curves on the same
income, Y , and interest rate, r, given the diagram. What effect would an increase in
following commodity market C = 0.7Y + 85, the value of autonomous investment have
I = 50r + 1200, and the money market on the equilibrium values of Y and r?
Ms = 300, Md = 0.2Y − 40r + 30.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 62 / 138
Input-output Analysis
The input-output analysis of Prof. Wassily Leontief, a Nobel Prize winner, deals with this
particular question: “What level of output should each of the n industries in an economy
produce, in order that it will just be sufficient to satisfy the total demand for that
product?"
Assumptions:
1 Each industry produces only one homogeneous commodity.
2 Each industry uses a fixed input ratio for the production of its output.
3 Production in every industry is subject to constant returns to scale.
That means:
in order to produce each unit of the j-th commodity, the input need for the i-th
commodity must be a fixed amount, which we shall denote by aij , and refer to as an
input coefficient.
For example, a32 = 0.35 means that 0.35$ worth of the third commodity is required
as an input for producing 1$ worth of the second commodity.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 63 / 138
Example - I/O table of Vietnam in 2007
In order to
produce 1 VND
“Thóc", it is
required the
inputs of 0.08663
VND “Thóc",
0.00477 VND
“Mía cây",
0.01260 VND
“Cây hàng năm
khác", and so on.
Source: IO-Viet-Nam-2007.pdf
Exercises: Given the input matrix and the 1 Explain the economic meaning of the
final-demand vector entries 0.33, 0, and 200.
0.05 0.25 0.34 1800 2 Explain the economic meaning of the
A = 0.33 0.10 0.12 , b = 200 third-column sum.
0.19 0.38 0 900
3 Determine the levels of outputs.
Example:
1 Given y = u3 + 2u, where u = 5 − x2 ,
find dy/dx by the chain rule.
2 Given y = 4x5 + x3 + 2x. Determine
y ′ (5).
Example.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 70 / 138
Partial Differentiation
Let f (x, y) = x2 y. be a function of two Remark: We also use the notation fx for
variables x and y. Then the derivative of f with respect to x.
Remark: In the case f = f (x1 , . . . , xn ), we
also use the notation fi for the derivative of
f with respect to xi for each i = 1, 2, . . ., n.
Example: Let f (x, y) = x2 y. Then
∂f
= 2xy and fy = x2
∂x
Example
Find expressions for the second-order partial derivatives of the functions
Example
Find expressions for the partial derivatives f1 , f11 and f21 in the case when
Young’s theorem
If fxy and fyx are both continuous then
fxy = fyx
Example
Determine the total differentials of the following functions:
a) z = xy d) z = xex
b) z =x+y e) z = Axα y β
c) z = ex+y f) f = Axα y β + z(M − ax − by)
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 75 / 138
Second-order Total Differentials
Example
Given z = x3 + 5xy − y 2 , then
dy dx ∂y dx ∂y
= fx + fw = +
dw dw ∂x dw ∂w
The above equation can be obtained by firstly differentiation the function y totally
and then dividing through by dw.
Let y = f (x1 , x2 , . . . , xn , w) where x1 , . . . , xn are functions of w. Then
Example
Determine the total derivative of z = y ln ex where y = x2 .
Example
Determine the total derivatives of z = y1 ex1 + y2 sin(2x2 ) where y1 = x1 + x2 and
y2 = x 1 x 2 .
y = x1/3 y3 − x = 0
Implicit function
A function y = y(x1 , . . . , xn ) is called an implicit function if y is defined by an (implicit)
equation
F (y, x1 , x2 , . . . , xn ) = 0
Implicit-function theorem
A given equation in the form
F (y, x1 , x2 , . . . , xn ) = 0
determines an implicit function y = y(x1 , . . . , xn ) around a point (y ∗ , x∗1 , . . . , x∗n ) if
F has continuous derivatives Fy , F1 , . . . , Fn , and
F (y ∗ , x∗1 , . . . , x∗n ) = 0, and
Fy (y ∗ , x∗1 , . . . , x∗n ) ̸= 0.
Example
The equation F (x, y) = x2 + y 2 − 9 = 0 determines a relation between x and y. Does it
determine an implicit function y = y(x)? Explain.
F (y, x, w) = y 3 x2 + w3 + yxw − 3 = 0,
then
∂y Fx 2y 3 x + yw
=− =− 2 2
∂x Fy 3y x + xw
Example
Assume that the equation F (Q, K, L) = 0 implicitly defines a production function
Q = f (K, L). Then the marginal productivity of capital and labour are
∂Q FK ∂Q FL
MPPK ≡ =− and MPPL ≡ =−
∂K FQ ∂L FQ
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 82 / 138
Marginal values and Elasticity
Marginal value:
the absolute change on f
≈ f ′ (x)
the absolute change on x
Interpretation: The marginal value of f at x = xo estimates the absolute change of f
when the variable x increases by 1 unit.
Elasticity:
the percentage change on f x
≈ f ′ (x) ×
the percentage change on x f (x)
Interpretation: The elasticity of f at xo estimates the percentage change of f when
the variable x increases by 1%.
The demand is said to be (unit, in)elastic at xo if |ϵd (xo )|(=, <) > 1.
F (y, x1 , . . . , xn ) = 0
then
∂y F′
= − x′1
∂x1 Fy
Given U = U (x1 , x2 ). Then
dx2 U x1
MRCS = − =
dx1 U x2
N th-Derivative test
Let f (x) be a function so that we can its N -th derivative. Assume that there is a point xo
so that f ′ (xo ) = · · · = f (N −1) (xo ) = 0 and f (N ) (xo ) ̸= 0.
1 If N is odd then xo is an inflection point.
2 If N is even and f (N ) (xo ) < 0 then xo is a local maximum point.
3 If N is even and f (N ) (xo ) > 0 then xo is a local minimum point.
Example
Find the stationary values of the following functions:
Determine by the N th-derivative test whether they represent local maximum, minimum,
or inflection points.
Let z = f (x, y) be a 2-variables function which has a stationary point (xo , yo ), i.e.
fx (xo , yo ) = fy (xo , yo ) = 0 or df (xo , yo ) = 0.
If d2 f (xo , yo ) > 0 for arbitrary values of dx and dy, not both zero, then (xo , yo ) is a
local minimum point of f .
If d2 f (xo , yo ) < 0 for arbitrary values of dx and dy, not both zero, then (xo , yo ) is a
local maximum point of f .
If the sign of d2 f (xo , yo ) is positive for some values of dx and dy, but negative for
others, then (xo , yo ) is a saddle point of f .
Example
Find the extreme value(s) of z = x2 + xy + 2y 2 + 3.
Let
z = f (x1 , x2 , x3 )
Then
dz = f1 dx1 + f2 dx2 + f3 dx3
d2 z = f11 dx21 + f12 dx1 dx2 + f13 dx1 dx3
+f21 dx2 dx1 + f22 dx22 + f23 dx2 dx3
+f31 dx3 dx1 + f32 dx3 dx2 + f33 dx23
Once again,
x∗ = (x∗1 , x∗2 , x∗3 ) is a stationary point if df (x∗ ) = 0.
x∗ is local minimum if d2 z(x∗ ) > 0 for arbitrary dx, dy, dz, not all zero.
x∗ is local maximum if d2 z(x∗ ) < 0 for arbitrary dx, dy, dz, not all zero.
x∗ is saddle if d2 z(x∗ ) changes its sign.
z = f (x1 , x2 , x3 )
Then
d2 z = f11 dx21 + f12 dx1 dx2 + f13 dx1 dx3
+f21 dx2 dx1 + f22 dx22 + f23 dx2 dx3
+f31 dx3 dx1 + f32 dx3 dx2 + f33 dx23
The symmetric Hessian determinant:
f11 f12 f13
|H| = f21 f22 f23
f31 f32 f33
whose leading principal minors are
f11 f12
|H1 | = f11 |H2 | = |H3 | = |H|
f21 f22
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 94 / 138
Hessian Determinant test
Example
Find the extreme values of the following functions.
z = x21 + 3x22 − 3x1 x2 + 4x2 x3 + 6x23
z = x1 x3 + x21 − x2 + x2 x3 + x22 + 3x23
z = x41 − 16x21 + x22 + x2 x3 + x23
z = f (x1 , x2 , . . . , xn )
The total differential will then be
dz = f1 dx1 + f2 dx2 + · · · + fn dxn
The Hessian
f11 f12 ··· f1n
f21 f22 ··· f2n
|H| = . .. .. ..
.. . . .
fn1 fn2 · · · fnn
Solve
optimize U = x1 x2 + 2x1
subject to
4x1 + 2x2 = 60
optimize U = x1 x2 + 2x1
subject to
4x1 + 2x2 = 60
Idea of the method: is to convert a constrained optimization problem into a form of
unconstrained optimization problem.
The (corresponding) Lagrangian function of is of 3-variables:
L(x, y, λ) = x1 x2 + 2x1 + λ(60 − 4x1 − 2x2 )
For then the first-order condition for unconstrained optimization will consist of the
set of simultaneous equations:
Lλ = 60 − 4x1 − 2x2 = 0
L1 = x2 + 2 − 4λ = 0
L2 = x1 − 2λ = 0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 100 / 138
Lagrange-multiplier method
optimize z = f (x1 , x2 , . . . , xn )
subject to
g(x1 , . . . , xn ) = c
It follows that the Lagrangian function will be
L = f (x1 , x2 , . . . , xn ) + λ[c − g(x1 , x2 , . . . , xn )]
for which the first-order condition will consist of the following (n + 1) simultaneous
equations:
Lλ = c − g(x1 , . . . , xn ) = 0
L1 = f1 − λg1 = 0
······
Ln = fn − λgn = 0
If x = (x∗1 , . . . , x∗n ) is a solution of the constrained optimization then there is λ∗ so that
(x∗1 , . . . , x∗n , λ∗ ) is a root of the above system.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 101 / 138
The case of more than one constraint
When there is more than one constraint, the Lagrange-multiplier method is equally
applicable, provided we introduce as many such multipliers as there are constraints in the
Lagrangian function. For example,
optimize z = f (x1 , x2 , . . . , xn )
subject to
g(x1 , . . . , xn ) = c and h(x1 , . . . , xn ) = d
optimize z = f (x, y)
subject to
g(x, y) = c
dg = gx dx + gy dy = 0
d2 g = gxx dx2 + 2gxy dxdy + gyy dy 2 + gy d2 y = 0
gx
Hence, dy and dx are no longer both arbitrary: dy = − dx. By direct calculations (page
gy
357), we obtain
fy fy fy
d z = fxx − gxx dx + 2 fxy − gxy dxdy + fyy − gyy dy 2
2 2
gy gy gy
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 103 / 138
Second-order Conditions - 2
fy fy fy
2
d z = fxx − gxx dx + 2 fxy − gxy dxdy + fyy − gyy dy 2
2
gy gy gy
Remark at a stationary point (x∗ , y ∗ ), we have
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 104 / 138
The Bordered Hessian
optimize z = f (x, y)
subject to
g(x, y) = c
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 105 / 138
n-Variable Case
0 g1 g2 ··· gn
g1 L11 L12 ··· L1n
optimize z = f (x1 , x2 , . . . , xn ) |H| = g2 L21 L22 ··· L2n
subject to .. .. .. .. ..
. . . . .
g(x1 , x2 , . . . , xn ) = c gn Ln1 Ln2 ··· Lnn
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 106 / 138
Multiconstraint Case
optimize z = f (x1 , x2 , . . . , xn )
subject to
g j (x1 , x2 , . . . , xn ) = cj for j = 1, .., m
0 g1 g2 ··· gn
g1 L11 L12 ··· L1n
|H| = g2 L21 L22 ··· L2n
.. .. .. .. ..
. . . . .
gn Ln1 Ln2 · · · Lnn
Maximize z = f (x)
subject to
x≥0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 108 / 138
The Effect of Nonnegativity Restrictions - 2
Maximize z = f (x1 , . . . , xn )
subject to
xi ≥ 0 (i = 1, 2, . . . , n)
fi ≤ 0, xi ≥ 0, xi fi = 0 for all i = 1, 2, . . . , n.
where
∂f
fi =
∂xi
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 109 / 138
The Effect of Inequality Constraints
Maximize z = f (x1 , x2 , x3 )
subject to
g 1 (x1 , x2 , x3 ) ≤ c1
g 2 (x1 , x2 , x3 ) ≤ c2
and x1 , x2 , x3 ≥ 0
By adding two dummy variables y1 , y2 :
Maximize z = f (x1 , x2 , x3 )
subject to
g 1 (x1 , x2 , x3 ) + y1 = c1
g 2 (x1 , x2 , x3 ) + y2 = c2
and x1 , x2 , x3 , y1 , y2 ≥ 0
The first-order condition on the later problem becomes the first-order condition on the
corresponding Lagrangian function with non-negativity restrictions.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 110 / 138
Kuhn-Tucker condition
Maximize z = f (x1 , x2 , x3 )
subject to
g 1 (x1 , x2 , x3 ) ≤ c1
g 2 (x1 , x2 , x3 ) ≤ c2
and x1 , x2 , x3 ≥ 0
The Lagrangian function
L = f (x1 , x2 , x3 ) + λ1 [c1 − g 1 (x1 , x2 , x3 )] + λ2 [c2 − g 2 (x1 , x2 , x3 )]
Kuhn-Tucker condition
∂L ∂L
= fj − (λ1 gj1 + λ2 gj2 ) ≤ 0 and xj ≥ 0 and xj =0
∂xj ∂xj
∂L ∂L
= c1 − g 1 (x1 , x2 , x3 ) ≥ 0 and λ1 ≥ 0 and λ1 =0
∂λ1 ∂λ1
∂L ∂L
= c2 − g 2 (x1 , x2 , x3 ) ≥ 0 and λ2 ≥ 0 and λ2 =0
∂λ2 ∂λ2
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 111 / 138
Kuhn-Tucker Condition for General Case
Maximize z = f (x1 , x2 , . . . , xn )
subject to
g i (x1 , x2 , . . . , xn ) ≤ ci (i = 1, 2, . . . , m)
and x1 , x2 , . . . , xn ≥ 0
The Lagrangian function
L = f (x1 , x2 , . . . , xn ) + λ1 [c1 − g 1 (x1 , x2 , . . . , xn )]
+ · · · + λm [cm − g 2 (x1 , x2 , . . . , xm )]
Kuhn-Tucker condition
∂L ∂L
= fj − (λ1 gj1 + · · · + λm gjm ) ≤ 0 and xj ≥ 0 and xj =0
∂xj ∂xj
∂L ∂L
= ci − g i (x1 , x2 , . . . , xn ) ≥ 0 and λi ≥ 0 and λi =0
∂λi ∂λi
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 112 / 138
Examples
Maximize f = 2x + 3y
subject to
x2 + y 2 ≤ 2
and x, y ≥ 0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 113 / 138
Constrained optimisation on Production functions
Let us suppose that a firm wants to maximise output and that the production function is
of the form
Q = f (K, L)
Let the costs of each unit of capital and labour be PK and PL , respectively. So if the firm
has a fixed amount, M , to spend on these inputs, then
K · PK + L · PL = M
maximise Q = f (K, L)
subject to
K · PK + L · PL = M
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 114 / 138
Constrained optimisation on Production functions
maximise Q = f (K, L)
subject to
PK K + P L L = M
PL MPL
=
PK MPK
MPL MPK
=
PL PK
M aximise U = U (x1 , x2 ) P1 U′
= x′ 1
subject to P2 U x2
P1 x1 + P2 x2 = M
Ux′ 1 U′
= x2
P1 P2
So when utility is maximised subject to a budgetary constraint,
the ratio of the prices of the goods is equal to the ratio of their marginal utilities.
the ratio of marginal utility to price is the same for all goods consumed.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 117 / 138
Practice Problem
Example
An individual’s utility function is given by U = x1 x2 where x1 and x2 denote the number of items
of two goods, G1 and G2. The prices of the goods are $2 and $10, respectively. Assuming that the
individual has $400 available to spend on these goods, find the utility-maximising values of x1 and
x2 . Verify that the ratio of marginal utility to price is the same for both goods at the optimum.
Example
A firm’s total cost function is given by
where x1 and x2 denote the number of items of goods G1 and G2, respectively, that are produced.
Find the values of x1 and x2 which minimise costs if the firm is committed to providing 40 goods
of either type in total.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 118 / 138
Practice Problems
Example
A consumer’s utility function is given by
where x1 and x2 denote the number of items of two goods G1 and G2 that are bought. Each item
costs $1 for G1 and $2 for G2. Use Lagrange multipliers to find the maximum value of U if the
consumer’s income is $83. Estimate the new optimal utility if the consumer’s income rises by $1.
Example
Use Lagrange multipliers to find expressions for x1 and x2 which maximise the utility function
1/2 1/2
U = x1 + x2
P1 x 1 + P2 x 2 = M
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 119 / 138
Comparative statics analysis on Market model
∂P ∗ 1
=
Q = a − bP (demand) ∂a b+d
∂P ∗ a+c
Q = −c + dP (supply) =−
∂b (b + d)2
∂P ∗ 1
=
Equilibrium: ∂c b+d
∂P ∗ a+c
=−
∂d (b + d)2
a+c ad − bc
P∗ = , Q∗ =
b+d b+d
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 120 / 138
Comparative statics analysis on Market model
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 121 / 138
Comparative statics analysis on National-Income model
Y = C + Io + Go
C = α + β(Y − T ) (α < 0; 0 < β < 1)
T = γ + δY (γ > 0; 0 < δ < 1)
Hence,
α − βγ + Io + Go
Y∗ =
1 − β + βδ
It follows that
∂Y ∗ 1
= >0 (government expenditure multiplier)
∂Go 1 − β + βδ
∂Y ∗ β
=− <0 (non-income tax multiplier)
∂γ 1 − β + βδ
∂Y ∗ βY ∗
=− <0 (income tax rate multiplier)
∂δ 1 − β + βδ
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 122 / 138
Practices - Ref. p203
Y − C − Io − Go = 0
C − α − β(Y − T ) = 0
T − γ − δY = 0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 123 / 138
Integration
Integration: (in)definite integral, rules, integral by parts.
Consumer’s surplus is the excess cost that a person would have been prepared to pay for
goods over and above what is actually paid.
ZQo
CS = −Qo Po + f (Q)dQ
0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 125 / 138
Consumer’s surplus - from Investopedia
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 126 / 138
Producer’s surplus
Producer’s surplus is the excess revenue that a producer has actually received over and
above the lower revenue that it was prepared to accept for the supply of its goods.
ZQo
PS = Qo Po − g(Q)dQ
0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 127 / 138
Producer’s surplus - from Investopedia
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 128 / 138
Investment and Capital formation
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 129 / 138
Marginal functions to Original functions
Example
a. A firm’s marginal cost function is M C = 2. Find an expression for the total cost
function if the fixed costs are 500. Hence find the total cost of producing 40 goods.
b. The marginal revenue function of a monopolistic producer is M R = 100 − 6Q. Find
the total revenue function and deduce the corresponding demand function.
c. Find an expression for the savings function if the marginal propensity to save is given
by MPS = 0.4 − 0.1Y −1/2 . and savings are zero when income is 100.
If the fund is to provide a continuous revenue stream for n years at an annual rate of
S dollars per year, then the present value can be found by evaluating the definite
integral
Zn
P = Se−rt/100 dt
0
P = Se−rt/100 dt
0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 131 / 138
Improper Integrals
Z ∞ Z b
f (x)dx and f (x)dx
a −∞
Z b
f (x)dx where f is not well-defined on [a, b].
a
Example
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 132 / 138
Improper Integrals
If f (x) is well-defined on [a, ∞) then
Z∞ Zb
f (x)dx := lim f (x)dx
b→∞
a a
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 133 / 138
Improper Integrals - 2
If f (x) is well-defined on [a, b), but not at b then
Z b Zc
f (x)dx := lim f (x)dx
a c→b−
a
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 134 / 138
Practices
a) c)
Z1 Z1
dx x−2/3 dt
√
3
x2 0
−1
d)
b)
Z0
Z∞
ert dt
e−rt dt
−∞
0
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 135 / 138
Dynamic Analysis
Dynamic Analysis is a type of analysis in which the object is either to trace and study the
specific time paths of the variables or to determine whether, given sufficient time, these
variables will tend to converge to certain equilibrium values.
In a dynamic analysis, the question of “attainability" is to be squarely faced, rather
than assumed away.
On salient feature of dynamic analysis is the dating of the variables, which introduces
the explicit consideration of time into the picture. This can be done in two ways: time
can be considered either as a continuous variable or as a discrete variable.
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 136 / 138
Projects
Team work
(Discrete) Markov chain in Economics and Finance.
Applications of Linear Algebras.
Projects
Leontieff I-O model and applying in Economics and/or Finance: an evidence in Vietnam
(Ref. (1) Using Solow and I-O models to determine the Factors impacting Economic Growth in Ho
Chi Minh City - Nguyen Thi Canh; (2) Vietnam Economic Structure Change Based on Vietnam
Input-Output Tables 2012 and 2016 - Bui Trinh).
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 137 / 138
Any question?
Thank you!
Hà Văn Hiếu (UEL) Mathematical Economics 17th September 2023 138 / 138