π Lecture 12 β Use of Matrices in Economics
π Overview: This lecture introduces matrices as rectangular arrays of numbers and vectors as single-row or single-column matrices. It covers matrix operations, notably multiplication, and demonstrates their practical application in economics by calculating total cost, total revenue, and profit for multiple firms. The lecture concludes by addressing the important caveat that matrix division is not defined.
ποΈ Topics Covered
The lecture begins by defining matrices and vectors, including zero matrices and row/column vectors. It then discusses basic matrix operations with the key caveats that matrices cannot be divided and are solved in linear algebra. Practical applications follow, using matrix multiplication to calculate total cost for multiple coffee shops. This is extended to calculate total revenue and profit by incorporating a price matrix. Finally, the lecture explains why matrix division is not possible and the conformability conditions for alternative representations.
π Lecture Summary
TOPIC 058: MATRICES AND VECTORS
A matrix is a rectangular array of numbers considered as one mathematical object. Bold capital letters such as A, B, etc. represent a matrix. If a matrix has m rows and n columns, it is an mΓn matrix (read as "m by n").
An mΓn matrix is of the form:
[ a11 a12 ... a1n ]
[ a21 a22 ... a2n ]
[ ... ... ... ... ]
[ am1 am2 ... amn ]
- aββ, aββ, ..., aββ are the elements/entries of the first row of the matrix.
- aββ, aββ, ..., aββ are the elements/entries of the second row.
- aββ, aββ, ..., aββ are the elements/entries of the first column.
- aββ, aββ, ..., aββ are the elements/entries of the second column.
Alternative ways of writing a matrix are: [aij]mΓn or (aij)mΓn. In simpler notation: [aij] or (aij).
π Definition β Zero Matrix: A matrix where all entries are zero. Examples are provided for different matrix orders (e.g., 2Γ2, 3Γ3, etc.).
If a matrix appears with either a single row or column, it is known as a vector. π Definition β Row Vector: A vector with 1 row and n columns (m=1, n>1). π Definition β Column Vector: A vector with m rows and 1 column (m>1, n=1).
TOPIC 059: MATRICES OPERATIONS
Like algebraic expressions, matrices can also be operated upon using arithmetic operators (, /, +, -).
π Caveat β I: Matrices cannot be divided (A / B is undefined). π Caveat β II: Matrices can only be solved in linear algebra.
π‘ Why this matters: While addition, subtraction, and multiplication are possible, division is a fundamental operation that does not carry over to matrices. This has significant implications for solving systems of equations.
TOPIC 060: USING PRODUCT OF MATRICES TO CALCULATE TOTAL COST
This topic demonstrates how to calculate the total cost for multiple firms using matrix multiplication, where each firm produces multiple products with different costs.
The example uses three coffee shops, each selling four coffee blends.
Cost of Coffee per cup [Cost (C) β a column vector]:
- Expresso: $1.50
- Cappuccino: $0.75
- Classic: $0.50
- French: $1.00
Number of Cups of Coffee Sold Per Week [Quantity Produced (Q) β a 3Γ4 matrix]:
| Shop | Expresso | Cappuccino | Classic | French |
|---|---|---|---|---|
| Coffee Shop 1 | 112 | 100 | 80 | 35 |
| Coffee Shop 2 | 182 | 160 | 110 | 58 |
| Coffee Shop 3 | 206 | 192 | 130 | 76 |
Total cost for each shop is found by multiplying the Quantity matrix (Q) by the Cost vector (C). The result is a 3Γ1 matrix where each entry represents the total cost for a specific coffee shop.
π Formula: Total Cost = Q Γ C β This calculates the sum of (cups sold per blend Γ cost per cup) for all blends at each shop.
π Example Calculation (Coffee Shop 1): Total Cost = (112 Γ $1.50) + (100 Γ $0.75) + (80 Γ $0.50) + (35 Γ $1.00) = $168 + $75 + $40 + $35 = $318
TOPIC 061: USING PRODUCT OF MATRICES TO CALCULATE TOTAL REVENUE AND PROFIT
This topic extends the previous concept to calculate total revenue and profit by introducing a retail price matrix.
Using the same three coffee shops and four blends: Cost of Coffee per cup [Cost (C)]:
- Expresso: $1.50
- Cappuccino: $0.75
- Classic: $0.50
- French: $1.00
Number of Cups of Coffee Sold Per Week [Quantity Sold (Q)]:
| Shop | Expresso | Cappuccino | Classic | French |
|---|---|---|---|---|
| Coffee Shop 1 | 112 | 100 | 80 | 35 |
| Coffee Shop 2 | 182 | 160 | 110 | 58 |
| Coffee Shop 3 | 206 | 192 | 130 | 76 |
Retail Price ($) of Each Blend at Each Shop [Price (P) β a 3Γ4 matrix]:
| Shop | Expresso | Cappuccino | Classic | French |
|---|---|---|---|---|
| Coffee Shop 1 | 8 | 4 | 3 | 6 |
| Coffee Shop 2 | 6 | 2 | 2 | 5 |
| Coffee Shop 3 | 5 | 3 | 1 | 3 |
π Formula: Total Revenue = Q Γ (elementwise not applicable here; this is a dot product). The Total Revenue for each shop is calculated by summing the product of the quantity sold of each blend and its retail price.
π Example Calculation (Coffee Shop 3): Total Revenue = (206 Γ $5) + (192 Γ $3) + (130 Γ $1) + (76 Γ $3) = $1030 + $576 + $130 + $228 = $1964
π Formula: Total Profit is calculated as Total Revenue - Total Cost for each shop.
TOPIC 062: QUESTION OF MATRIX DIVISION
This topic clarifies that while matrices can undergo addition, subtraction, and multiplication (subject to conformability conditions), division of two matrices is not possible.
For two numbers, A/B is defined when B β 0. Alternative representations are A * Bβ»ΒΉ or Bβ»ΒΉ * A, where Bβ»ΒΉ shows the reciprocal (inverse) of B. In matrix algebra, we talk about the inverse of a matrix.
However, there are two key issues:
- If
A * Bβ»ΒΉis defined, there is no assurance thatBβ»ΒΉ * Ais also defined (due to the multiplication conformity condition). - Even if
A * Bβ»ΒΉandBβ»ΒΉ * Aare both defined, they are not necessarily equal.
π Definition β Inverse: The matrix equivalent of a reciprocal, denoted Aβ»ΒΉ.
π‘ Why this matters: A/B has no meaning in matrix algebra. We must use the matrix inverse and specify the order of multiplication because matrix multiplication is not commutative.
β Key Takeaways
A matrix is a rectangular array of numbers, and a vector is a matrix with only one row or one column. While matrices can be added, subtracted, and multiplied, they cannot be divided; the concept of an inverse (Aβ»ΒΉ) is used instead, but its position in a product matters because multiplication is not commutative. A critical application is using matrix multiplication to calculate total cost, revenue, and profit for multiple firms producing multiple products, where the order of multiplication must conform (e.g., Q Γ C to get total cost). The ability to perform these calculations using matrix notation is foundational for solving larger economic systems in linear algebra.
π§ Quick Revision Questions
- What defines a matrix as an mΓn matrix?
- What are the two key caveats for matrix operations?
- Explain the calculation for finding the total cost for Coffee Shop 2 using the provided quantity and cost data.
- In the "Question of Matrix Division," why is the product
A * Bβ»ΒΉnot necessarily equal toBβ»ΒΉ * A? - What is the mathematical relationship for calculating a firm's total profit, using total cost and total revenue?
π Lecture 13 β Laws of Operations of Matrices
π Overview: This lecture covers the fundamental algebraic laws that govern matrix operations, including commutative, associative, and distributive laws. It also introduces vector operations, transpose of a matrix, cofactors, and adjoint of a matrix, which are essential for solving systems of equations in economics.
ποΈ Topics Covered
This lecture covers commutative, associative, and distributive laws applied to matrix addition and multiplication; vector operations; the transpose of a matrix and its properties; cofactors of a matrix and their calculation; and the adjoint of a matrix and its significance.
π Lecture Summary
TOPIC 063: COMMUTATIVE, ASSOCIATIVE, AND DISTRIBUTIVE LAWS
The commutative law states that the order of operands does not affect the result. For matrices, this law holds for addition but not for multiplication.
- For addition: $A + B = B + A$
- For multiplication: $A \times B \neq B \times A$ (generally)
The associative law holds for both addition and multiplication of matrices. This means when adding or multiplying three matrices, the grouping of operations does not change the result.
- For addition: $(A + B) + C = A + (B + C)$
- For multiplication: $(A \times B) \times C = A \times (B \times C)$
The distributive law holds for matrix operations. This law connects addition and multiplication.
- Law: $A(B + C) = AB + AC$
π‘ Why this matters: These laws are foundational for performing algebraic manipulations on matrices, which model economic systems like input-output models.
π Definition β Commutative Law: A law stating that the order of operands in an operation does not affect the result. It holds for matrix addition ($A + B = B + A$) but not for multiplication ($AB \neq BA$ in general).
π Definition β Associative Law: A law stating that when three or more matrices are added or multiplied, the grouping of the operations does not affect the result: $(A + B) + C = A + (B + C)$ and $(AB)C = A(BC)$.
π Definition β Distributive Law: A law stating that matrix multiplication distributes over addition: $A(B + C) = AB + AC$.
TOPIC 064: VECTOR OPERATIONS
This section introduces vector operations. A vector is a matrix with either one row (row vector) or one column (column vector). The primary operations covered are vector addition and scalar multiplication.
- Vector addition: Adding two vectors of the same dimension is performed element-wise.
- Scalar multiplication: Multiplying a vector by a scalar multiplies every element of the vector by that scalar.
These operations follow the same commutative, associative, and distributive laws discussed for general matrices.
π Definition β Vector: A matrix with only one row (row vector) or one column (column vector).
TOPIC 065: TRANSPOSE OF A MATRIX
The transpose of a matrix $A$, denoted as $A^T$, is obtained by interchanging its rows and columns. If $A$ is an $m \times n$ matrix, then $A^T$ is an $n \times m$ matrix.
- The element in the $i^{th}$ row and $j^{th}$ column of $A$ becomes the element in the $j^{th}$ row and $i^{th}$ column of $A^T$.
- Properties of transpose include:
- $(A^T)^T = A$
- $(A + B)^T = A^T + B^T$
- $(AB)^T = B^T A^T$
π‘ Why this matters: Transposition is a key operation used in deriving solutions for systems of equations and in optimization problems in economics.
π Formula: $(AB)^T = B^T A^T$ β The transpose of a product is the product of the transposes in reverse order.
TOPIC 066: COFACTORS OF A MATRIX
A cofactor is associated with each element of a square matrix. For an element $a_{ij}$ in a square matrix $A$, its cofactor, denoted as $C_{ij}$, is calculated as: $$C_{ij} = (-1)^{i+j} M_{ij}$$ where $M_{ij}$ is the minor of the element $a_{ij}$.
The minor $M_{ij}$ is the determinant of the submatrix obtained by deleting the $i^{th}$ row and $j^{th}$ column from matrix $A$.
- The sign $(-1)^{i+j}$ determines whether the cofactor has a positive or negative sign relative to the minor.
π Definition β Cofactor: For element $a_{ij}$ in matrix $A$, the cofactor $C_{ij} = (-1)^{i+j} M_{ij}$, where $M_{ij}$ is the determinant of the submatrix formed by removing row $i$ and column $j$.
π Definition β Minor: The determinant of the submatrix obtained by deleting the $i^{th}$ row and $j^{th}$ column from the original square matrix.
TOPIC 067: ADJOINT OF A MATRIX
The adjoint of a square matrix $A$, denoted as $adj(A)$, is defined as the transpose of the cofactor matrix of $A$.
- First, the cofactor matrix is formed by replacing each element $a_{ij}$ of matrix $A$ with its cofactor $C_{ij}$.
- The adjoint is then the transpose of this cofactor matrix: $adj(A) = [C_{ij}]^T$.
The adjoint of a matrix is critical for calculating the inverse of a matrix. The inverse of a matrix $A$ is given by: $$A^{-1} = \frac{adj(A)}{|A|}$$ where $|A|$ is the determinant of $A$. This formula holds provided $|A| \neq 0$.
π Definition β Adjoint of a Matrix: The transpose of the matrix of cofactors. For matrix $A$, $adj(A) = [C_{ij}]^T$.
π Formula: $A^{-1} = \frac{adj(A)}{|A|}$ β The inverse of a matrix equals its adjoint divided by its determinant.
β Key Takeaways
The commutative law applies to matrix addition but not multiplication, while associative and distributive laws hold for both operations. Vector operations follow the same algebraic rules as matrices. The transpose of a matrix swaps its rows and columns, and a key property is that the transpose of a product is the product of transposes in reverse order. Cofactors are signed minors used to construct the adjoint matrix. The adjoint of a matrix, alongside its determinant, is essential for computing the inverse of a matrix, a fundamental tool for solving linear systems in economics.
π§ Quick Revision Questions
- Does the commutative law hold for matrix multiplication? Why or why not?
- What is the general formula for the cofactor of an element $a_{ij}$ in a matrix?
- How is the adjoint of a matrix related to its cofactor matrix?
- State the formula for the inverse of a matrix in terms of its adjoint and determinant.
- What is the transpose of the product $(AB)^T$?
π Lecture 14 β Determinant and Inverse of Matrices
π Overview: This lecture introduces the concepts of determinants for 2Γ2 and 3Γ3 matrices, including Sarrus's Rule for the latter. It then explains how to find the inverse of a matrix and establishes the conditions for non-singularity, with applications to solving systems of equations and expressing national income models.
ποΈ Topics Covered
The lecture covers the determinant of a matrix, Sarrus's Rule for 3Γ3 order determinants, the process for finding the inverse of a matrix, conditions for non-singularity including the necessary and sufficient conditions, the expression of national income using matrix form, and finally the concepts of minors and cofactors.
π Lecture Summary
TOPIC 068: DETERMINANT OF A MATRIX
A determinant is a scalar value computed from the elements of a square matrix. It is denoted by placing vertical bars around the matrix, e.g., |A| or det(A). The determinant provides important information about the matrix, particularly whether it is singular (det=0) or non-singular (detβ 0).
π Definition β Determinant: A scalar value that is a function of the entries of a square matrix. For a 2Γ2 matrix A = [[a, b], [c, d]], the determinant is |A| = ad - bc. π Formula: |A| = ad - bc β Multiply the diagonal from top-left to bottom-right, subtract the product of the other diagonal.
TOPIC 069: SARRUS'S RULE FOR 3X3 ORDER DETERMINANT OF A MATRIX
Sarrus's Rule is a shortcut method for calculating the determinant of a 3Γ3 matrix. To apply it, you rewrite the first two columns of the matrix to the right of the original 3Γ3 matrix. Then, you sum the products of the three diagonals from top-left to bottom-right, and subtract the sum of the products of the three diagonals from top-right to bottom-left.
π Definition β Sarrus's Rule: A method for computing the determinant of a 3Γ3 matrix by summing the products of the three downward diagonals and subtracting the sum of the products of the three upward diagonals.
TOPIC 070: INVERSE OF A MATRIX
The inverse of a square matrix A, denoted Aβ»ΒΉ, is a matrix such that when multiplied by A, yields the identity matrix: A * Aβ»ΒΉ = Aβ»ΒΉ * A = I. For a 2Γ2 matrix, the inverse is found using a specific formula involving the determinant and the adjugate.
π Definition β Inverse of a Matrix: For matrix A = [[a, b], [c, d]], the inverse is Aβ»ΒΉ = (1/|A|) * [[d, -b], [-c, a]], provided |A| β 0. π Example: If A = [[1, 2], [3, 4]], then |A| = (14) - (23) = 4 - 6 = -2. Therefore, Aβ»ΒΉ = (1/-2) * [[4, -2], [-3, 1]] = [[-2, 1], [1.5, -0.5]].
TOPIC 071: CONDITION(S) FOR NON-SINGULARITY
A matrix A is non-singular (or invertible) if its determinant is non-zero. This condition is critical for solving systems of linear equations. If the coefficient matrix is non-singular, the system has a unique solution that is consistent and independent.
π Necessary condition: The coefficient matrix must be square (rows = columns). π Sufficient condition: The determinant of the coefficient matrix must not equal zero (|A| β 0). This implies the equations have a unique intersection point, meaning they are neither coincident nor parallel.
π‘ Why this matters: If |A| = 0, the system can either have no solution (inconsistent, independent equations) or infinitely many solutions (consistent, dependent equations). For example, with equations x + y = 1 and 2x + 2y = 2, the determinant is zero, and the equations are dependent and consistent, having infinite solutions. Conversely, x + y = 1 and x + y = 2 have a zero determinant but are inconsistent, having no solution.
TOPIC 072: EXPRESSION OF NATIONAL INCOME USING MATRIX FORM
A simple national income model with two endogenous variables, Y (national income) and C (consumption), can be expressed in matrix form. The model is Y = C + Iβ + Gβ and C = a + bY. After rearranging, this becomes Y - C = Iβ + Gβ and -bY + C = a. In matrix form: [[1, -1], [-b, 1]] * [Y, C]α΅ = [Iβ+Gβ, a]α΅. The determinant of the coefficient matrix is |A| = (11) - (-1-b) = 1 - b. This is non-zero as long as b β 1.
π Formula: In matrix form: A * X = d, where A = [[1, -1], [-b, 1]], X = [Y, C]α΅, and d = [Iβ+Gβ, a]α΅. The determinant |A| = 1 - b. π Example: If b = 0.8, Iβ = 100, Gβ = 50, and a = 20, then |A| = 1 - 0.8 = 0.2 β 0. The system has a unique solution for Y and C. The derived equations are element-wise equal to the original system, confirming the matrix representation is correct.
TOPIC 073: MINORS AND COFACTORS
A minor of an element aα΅’β±Ό in a square matrix is the determinant of the submatrix formed by deleting the i-th row and j-th column. A cofactor is the signed minor, given by Cα΅’β±Ό = (-1)^(i+j) * Mα΅’β±Ό. Cofactors are essential for calculating determinants of larger matrices (expansion by cofactors) and for finding the inverse of a matrix through the adjugate method.
π Definition β Minor (Mα΅’β±Ό): The determinant of the matrix obtained by removing the i-th row and j-th column from the original matrix. π Definition β Cofactor (Cα΅’β±Ό): The signed minor, calculated as Cα΅’β±Ό = (-1)^(i+j) * Mα΅’β±Ό.
β Key Takeaways
The determinant of a square matrix is a fundamental property that determines if the matrix is invertible; a non-zero determinant (|A| β 0) is the sufficient condition for non-singularity and guarantees a unique solution to a system of linear equations. Sarrus's Rule provides a quick method for computing 3Γ3 determinants. The inverse of a matrix allows solving systems of equations using matrix algebra, and its existence depends entirely on a non-zero determinant. Finally, minors and cofactors are building blocks for computing determinants of larger matrices and for constructing the inverse matrix.
π§ Quick Revision Questions
- How do you calculate the determinant of a 2Γ2 matrix?
- Explain Sarrus's Rule for a 3Γ3 matrix.
- What is the formula for finding the inverse of a 2Γ2 matrix?
- What are the necessary and sufficient conditions for a matrix to be non-singular?
- Define a minor and a cofactor for a matrix element.
π Lecture 15 β MATRIX INVERSION METHOD
π Overview: This lecture demonstrates the practical application of matrix inversion to solve systems of linear equations in economic models. It focuses on three key economic applications: market model analysis, national income determination, and finding equilibrium prices in a multi-market setting.
ποΈ Topics Covered
The lecture covers three main applications of the matrix inversion method: analyzing a two-commodity market model to find equilibrium prices and quantities, solving a national income model with government spending and taxes, and determining equilibrium prices in a multi-market system with interdependent commodities.
π Lecture Summary
TOPIC 074: MARKET MODEL ANALYSIS USING MATRIX INVERSION METHOD
This section applies matrix inversion to solve a market model with two interdependent commodities (Good 1 and Good 2). The demand and supply functions for each good depend on the prices of both goods, reflecting their substitutability. By setting demand equal to supply for each good, we obtain a system of two linear equations in two unknowns (Pβ and Pβ). The system is expressed in matrix form as Ax = d, where A is the coefficient matrix, x is the vector of unknown prices, and d is the vector of constants. The solution is found using x = Aβ»ΒΉd, where Aβ»ΒΉ is the inverse of the coefficient matrix A. The equilibrium prices are then substituted back into the demand or supply equations to find the equilibrium quantities (Qβ and Qβ).
π Definition β Market Model: An economic model that determines equilibrium prices and quantities in one or more markets through the interaction of demand and supply.
π System of Equations: Qdβ = Qsβ and Qdβ = Qsβ (for two goods)
π Matrix Form: [coeff matrix] [Pβ Pβ]α΅ = [constants]
π Solution: [Pβ Pβ]α΅ = [coeff matrix]β»ΒΉ [constants]
π Example (from lecture): Given:
- Qdβ = 10 β 2Pβ + Pβ
- Qsβ = β2 + 3Pβ
- Qdβ = 15 + Pβ β Pβ
- Qsβ = β1 + 2Pβ
Step 1: Set Qd = Qs for each good For Good 1: 10 β 2Pβ + Pβ = β2 + 3Pβ β 12 = 5Pβ β Pβ β 5Pβ β Pβ = 12 For Good 2: 15 + Pβ β Pβ = β1 + 2Pβ β 16 = βPβ + 3Pβ β βPβ + 3Pβ = 16
Step 2: Write in matrix form
[5 -1] [Pβ] = [12]
[-1 3] [Pβ] [16]
Step 3: Find inverse of coeff matrix
A = [[5, -1], [-1, 3]]
det(A) = (5)(3) β (-1)(-1) = 15 β 1 = 14
Aβ»ΒΉ = (1/14) [[3, 1], [1, 5]]
Step 4: Solve for prices
[Pβ] = (1/14) [3 1] [12]
[Pβ] [1 5] [16]
Pβ = (1/14)(36 + 16) = 52/14 = 26/7 β 3.71
Pβ = (1/14)(12 + 80) = 92/14 = 46/7 β 6.57
Step 5: Find equilibrium quantities Qβ = Qdβ = 10 β 2(26/7) + 46/7 = (70 β 52 + 46)/7 = 64/7 β 9.14 Qβ = Qdβ = 15 + 26/7 β 46/7 = (105 + 26 β 46)/7 = 85/7 β 12.14
π‘ Why this matters: This method shows how to solve for equilibrium in interdependent markets, which is essential for modeling real-world economies where goods are substitutes or complements.
TOPIC 075: NATIONAL INCOME ANALYSIS USING MATRIX INVERSION METHOD
This section demonstrates how matrix inversion can solve a national income model with multiple endogenous variables. The model includes National Income (Y) as a function of Consumption (C), Investment (Iβ) (exogenous), and Government Spending (Gβ) (exogenous). A key innovation is the inclusion of Tax (T) as a function of income (T = tY, where t is the tax rate) and C as a function of disposable income (C = a + b(Y β T)). This system yields three equations in three unknowns (Y, C, T).
π Definition β National Income Model: An economic model that describes the equilibrium level of national income as determined by aggregate demand components: consumption, investment, and government spending.
π Model Equations:
- Y = C + Iβ + Gβ (Equilibrium condition)
- C = a + b(Y β T) (Consumption function)
- T = tY (Tax function)
Where: a = autonomous consumption, b = marginal propensity to consume (MPC), t = tax rate, Iβ and Gβ are exogenous.
π Example (from lecture): Given: a = 85, b = 0.9, t = 0.2, Iβ = 55, Gβ = 40
Step 1: Rewrite equations in standard form Y = C + 55 + 40 β Y β C = 95 C = 85 + 0.9(Y β T) β C = 85 + 0.9Y β 0.9T β β0.9Y + C + 0.9T = 85 T = 0.2Y β β0.2Y + T = 0
Step 2: Write in matrix form
[1 -1 0 ] [Y] [95]
[-0.9 1 0.9] [C] = [85]
[-0.2 0 1 ] [T] [0 ]
Step 3: Find the determinant and inverse det = 1(1Γ1 β 0.9Γ0) β (-1)(-0.9Γ1 β 0.9Γ-0.2) + 0(...) Det = 1(1) + 1(-0.9 + 0.18) = 1 β 0.72 = 0.28
Step 4: Solve for Y, C, T using Aβ»ΒΉ Y = (1/0.28)[1(95) + 1(85) + 0.9(0)] Y = (1/0.28)(95 + 85) = 180/0.28 β 642.86
C = (1/0.28)[(-0.9)(95) + (1)(85) + (-0.9)(0)] C = (1/0.28)(-85.5 + 85) = -0.5/0.28 β -1.79
Correction applied from lecture context: C = (1/0.28)[(-0.9)(95) + (1)(85) + (-0.9)(0)] β Wait, need proper cofactor evaluation.
Using Cramer's Rule or direct substitution (from lecture): From T = 0.2Y and Y β C = 95, and C = 85 + 0.9(Y β 0.2Y) C = 85 + 0.9(0.8Y) = 85 + 0.72Y Substitute into Y β C = 95: Y β (85 + 0.72Y) = 95 0.28Y = 180 Y = 642.86 C = 85 + 0.72(642.86) = 85 + 462.86 = 547.86 T = 0.2(642.86) = 128.57
π‘ Why this matters: This model shows how taxation and consumption patterns affect national income equilibrium, which is fundamental for fiscal policy analysis.
TOPIC 076: EQUILIBRIUM PRICES USING MATRIX INVERSION METHOD
This section extends the matrix inversion method to find equilibrium prices in a three-sector economy. The model represents inter-industry relationships where the output of one sector serves as input for another. The system is expressed as (I β A)P = v, where I is the identity matrix, A is the input-output matrix (technical coefficients), P is the vector of sector prices, and v is the vector of value added per unit of output. The solution is P = (I β A)β»ΒΉv.
π Definition β Input-Output Matrix (A): A matrix where element aα΅’β±Ό represents the amount of output from sector i required as input to produce one unit of output in sector j.
π Equation: (I β A)P = v π Solution: P = (I β A)β»ΒΉv Where: I = identity matrix, A = technical coefficients matrix, P = price vector, v = value-added vector.
π Example (from lecture):
Given three sectors with technical coefficients:
A = [[0.2, 0.3, 0.2]]
[[0.4, 0.1, 0.2]]
[[0.1, 0.3, 0.2]]
Value added vector: v = [10, 20, 30]α΅
Step 1: Compute (I β A)
I β A = [[0.8, -0.3, -0.2]]
[[-0.4, 0.9, -0.2]]
[[-0.1, -0.3, 0.8]]
Step 2: Find the inverse of (I β A) det(I β A) = 0.8[0.9Γ0.8 β (-0.2Γ-0.3)] β (-0.3)[-0.4Γ0.8 β (-0.2Γ-0.1)] + (-0.2)[-0.4Γ-0.3 β 0.9Γ-0.1] = 0.8(0.72 β 0.06) + 0.3(-0.32 β 0.02) β 0.2(0.12 + 0.09) = 0.8(0.66) + 0.3(-0.34) β 0.2(0.21) = 0.528 β 0.102 β 0.042 = 0.384
Using the adjugate method (computations from lecture): (I β A)β»ΒΉ = (1/0.384) Γ adj(I β A)
After matrix inversion (as presented in lecture): P = (I β A)β»ΒΉv
Step 3: Compute prices Pβ = (1/0.384)[0.66(10) + 0.30(20) + 0.22(30)] = (1/0.384)(6.6 + 6 + 6.6) = 19.2/0.384 = 50 Pβ = (1/0.384)[0.34(10) + 0.62(20) + 0.20(30)] = (1/0.384)(3.4 + 12.4 + 6) = 21.8/0.384 β 56.77 Pβ = (1/0.384)[0.18(10) + 0.25(20) + 0.70(30)] = (1/0.384)(1.8 + 5 + 21) = 27.8/0.384 β 72.40
Equilibrium prices: Pβ = 50, Pβ = 56.77, Pβ = 72.40
π‘ Why this matters: Input-output price models are used by national statistical agencies and large firms to analyze how changes in value added (e.g., wages, profits) affect final prices across all interconnected sectors.
β Key Takeaways
Matrix inversion provides a systematic method for solving economic equilibrium problems with multiple equations and unknowns. The three applications coveredβmarket models, national income analysis, and equilibrium pricesβall follow the same core logic: express the economic system as a linear equation system in matrix form (Ax = d), compute the inverse of the coefficient matrix, and multiply by the constants vector to find the solution. The determinant of the coefficient matrix must be non-zero for a unique solution to exist. Understanding how to set up these systems correctly is more important than memorizing specific numbers, as the structure generalizes to larger models.
π§ Quick Revision Questions
- In the market model example, how does the interdependence between Good 1 and Good 2 manifest in the coefficient matrix?
- In the national income model, what does the parameter 'b' (MPC) represent, and how does the tax rate 't' affect the equilibrium income multiplier?
- What condition must hold for a system of linear equations to have a unique solution using matrix inversion?
- In the input-output price model, what does the term (I β A)β»ΒΉ represent economically?
- If the value added in sector 1 increases from 10 to 15 in the equilibrium price example, what would happen to the price vector? (Hint: Use linearity of the system.)
π Lecture 16 β Cramer's Rule in Matrices
π Overview: This lecture introduces Cramer's Rule as a method for solving systems of linear equations using determinants. It demonstrates the application of Cramer's Rule to find equilibrium prices in a market model and equilibrium national income in a two-sector macroeconomic model. This provides a powerful algebraic tool for solving economic models with multiple endogenous variables.
ποΈ Topics Covered
The lecture covers solving a linear partial market model using Cramer's Rule, finding equilibrium prices in the same model, and applying Cramer's Rule to determine equilibrium national income in a two-sector model. Each topic demonstrates the step-by-step process of constructing matrices, calculating determinants, and applying the rule.
π Lecture Summary
TOPIC 077: SOLVING MARKET MODEL USING CRAMER'S RULE
Consider a linear partial market model. To solve for equilibrium, we first set up the system of equations representing supply and demand. For a two-good market, the model can be written in matrix form as Ax = d, where A is the coefficient matrix, x is the vector of endogenous variables (prices), and d is the vector of constants. We then find the determinant of A (denoted |A|). If |A| β 0, a unique solution exists.
π Definition β Cramer's Rule: A theorem in linear algebra used to solve a system of linear equations with as many equations as unknowns, using determinants. For a system Ax = b, the solution for variable ( x_i ) is ( x_i = \frac{|A_i|}{|A|} ), where ( |A_i| ) is the determinant of matrix A with the i-th column replaced by the constant vector b.
π Formula: ( x_i = \frac{|A_i|}{|A|} ) β The value of the i-th variable is the determinant of the matrix formed by replacing its column with the constants, divided by the determinant of the original coefficient matrix.
π Example: Given a market model for two goods:
( Q_{d1} = 10 - 2P_1 + P_2 ) ( Q_{s1} = -2 + 3P_1 ) ( Q_{d2} = 15 + P_1 - P_2 ) ( Q_{s2} = -1 + 2P_2 )
Set ( Q_{d1} = Q_{s1} ) and ( Q_{d2} = Q_{s2} ). Rearranging yields: ( 5P_1 - P_2 = 12 ) ( -P_1 + 3P_2 = 16 )
In matrix form: ( \begin{bmatrix} 5 & -1 \ -1 & 3 \end{bmatrix} \begin{bmatrix} P_1 \ P_2 \end{bmatrix} = \begin{bmatrix} 12 \ 16 \end{bmatrix} )
Calculate ( |A| = (5)(3) - (-1)(-1) = 15 - 1 = 14 ).
To find ( P_1 ), replace column 1 with constants: ( |A_1| = \begin{vmatrix} 12 & -1 \ 16 & 3 \end{vmatrix} = (12)(3) - (-1)(16) = 36 + 16 = 52 ).
Thus, ( P_1 = \frac{52}{14} = \frac{26}{7} \approx 3.714 ).
To find ( P_2 ), replace column 2 with constants: ( |A_2| = \begin{vmatrix} 5 & 12 \ -1 & 16 \end{vmatrix} = (5)(16) - (12)(-1) = 80 + 12 = 92 ).
Thus, ( P_2 = \frac{92}{14} = \frac{46}{7} \approx 6.571 ).
π‘ Why this matters: Cramer's Rule provides a direct algebraic method to solve for each variable individually without needing to solve the entire system step-by-step.
TOPIC 078: EQUILIBRIUM PRICES USING CRAMER'S RULE
This topic confirms the previous application: Cramer's Rule directly gives the equilibrium prices ( P_1 ) and ( P_2 ) as ( P_1 = |A_1|/|A| ) and ( P_2 = |A_2|/|A| ). The method requires computing three determinants: |A|, |Aβ|, and |Aβ|.
π Definition β Endogenous Variables: Variables determined within the model, such as prices ( P_1 ) and ( P_2 ) in the market model.
π Formula: ( P_1^* = \frac{|A_1|}{|A|} ), ( P_2^* = \frac{|A_2|}{|A|} ) β Equilibrium prices are found by dividing the determinant of the modified matrix by the determinant of the original coefficient matrix.
TOPIC 79: NATIONAL INCOME DETERMINATION USING CRAMER'S RULE
The two-sector national income model consists of: ( Y = C + I_0 + G_0 ) (Equilibrium condition) ( C = a + bY ) (Consumption function, where ( a > 0 ), ( 0 < b < 1 ))
Substituting ( C ) into the equilibrium condition: ( Y = a + bY + I_0 + G_0 )
Rearranging: ( Y - bY = a + I_0 + G_0 ) ( Y(1 - b) = a + I_0 + G_0 )
In matrix form: ( \begin{bmatrix} 1 & -1 \ -b & 1 \end{bmatrix} \begin{bmatrix} Y \ C \end{bmatrix} = \begin{bmatrix} I_0 + G_0 \ a \end{bmatrix} )
Calculate the determinant of the coefficient matrix: ( |A| = (1)(1) - (-1)(-b) = 1 - b )
To solve for equilibrium income ( Y^* ), replace the first column with constants: ( |A_1| = \begin{vmatrix} I_0 + G_0 & -1 \ a & 1 \end{vmatrix} = (I_0 + G_0)(1) - (-1)(a) = I_0 + G_0 + a )
Thus, ( Y^* = \frac{|A_1|}{|A|} = \frac{a + I_0 + G_0}{1 - b} ).
To solve for equilibrium consumption ( C^* ), replace the second column with constants: ( |A_2| = \begin{vmatrix} 1 & I_0 + G_0 \ -b & a \end{vmatrix} = (1)(a) - (I_0 + G_0)(-b) = a + b(I_0 + G_0) )
Thus, ( C^* = \frac{|A_2|}{|A|} = \frac{a + b(I_0 + G_0)}{1 - b} ).
π Definition β Two-Sector National Income Model: A simple macroeconomic model with households (consumption) and firms (investment), plus government spending, where equilibrium national income is determined by the condition ( Y = C + I_0 + G_0 ).
π Formula: ( Y^* = \frac{a + I_0 + G_0}{1 - b} ) β Equilibrium national income equals autonomous spending divided by the marginal propensity to save (1 - b).
π Example: If ( a = 100 ), ( b = 0.8 ), ( I_0 = 50 ), and ( G_0 = 30 ), then: ( Y^* = \frac{100 + 50 + 30}{1 - 0.8} = \frac{180}{0.2} = 900 ) ( C^* = \frac{100 + 0.8(50 + 30)}{0.2} = \frac{100 + 64}{0.2} = \frac{164}{0.2} = 820 )
π‘ Why this matters: Cramer's Rule simplifies solving for multiple endogenous variables (Y and C) simultaneously in macroeconomic models.
β Key Takeaways
Cramer's Rule provides a systematic method to solve systems of linear equations by replacing columns of the coefficient matrix with the constant vector and dividing determinants. For a solution to exist, the determinant of the coefficient matrix must be non-zero. In economic applications, this rule can efficiently find equilibrium prices in market models and equilibrium income in national income models. The key formula is ( x_i = |A_i| / |A| ), where the matrix A is the coefficient matrix. This approach is particularly useful when solving for individual variables in models with many equations.
π§ Quick Revision Questions
- What condition must be satisfied for Cramer's Rule to yield a unique solution?
- In the market model with two goods, how do you construct ( |A_1| ) to solve for ( P_1 )?
- What is the formula for equilibrium national income ( Y^* ) in the two-sector model using Cramer's Rule?
- If ( |A| = 0 ), what does this imply about the system of equations?
- In the matrix form of the national income model ( \begin{bmatrix} 1 & -1 \ -b & 1 \end{bmatrix} ), what does the first equation represent?
π Lecture 17 β Input Output Analysis Using Matrices
π Overview: This lecture introduces input-output analysis using matrix algebra to model inter-industry relationships in an economy. It covers how to determine output levels that satisfy both mutual industrial demand and final consumer demand, building on Wassily Leontief's foundational work for economic planning.
ποΈ Topics Covered
The lecture covers the input coefficient matrix and its components, the Hawkins-Simon condition for economic viability, input-output analysis for both open and closed economies using matrix inversion and Cramer's rule, and an introduction to comparative statics including difference quotients and derivatives for analyzing equilibrium changes.
π Lecture Summary
TOPIC 080: INPUT COEFFICIENT MATRIX
Attributed to Wassily Leontief (1951), this analysis addresses the static question: "What level of output should each industry produce to satisfy total demand?" It captures inter-industry dependence where output of one industry becomes input for another. Input-output analysis is useful for economic planning, determining correct output levels based on technical input-output relationships rather than market equilibrium conditions. Mathematically, it solves simultaneous equations, typically involving a large number of industries.
Assumptions:
- Each industry produces homogeneous output or joint products in fixed proportions.
- Each industry has fixed input ratios for output.
- Constant Returns to Scale (CRS): k-fold increase in inputs leads to k-fold increase in output.
- The input coefficient matrix contains all input coefficients.
The input coefficient matrix shows how much of each input is needed to produce one unit of each output. For example, a coefficient of 0.35 means 0.35 PKR of input '3' is needed to produce 1 PKR of output '2'.
The number of input coefficients in an n-industry matrix is nΒ². Zero elements appear on the principal diagonal when an industry does not use its own output as input.
TOPIC 081: ECONOMIC MEANING OF HAWKINS-SIMON CONDITION
Attributed to David Hawkins and Herbert A. Simon, this condition guarantees the existence of a non-negative output vector. For a 2-sector economy:
Let aββ and aββ be input coefficients on the diagonal.
Two conditions must hold:
First condition: aββ < 1 and aββ < 1. This means the amount of the first commodity used in producing 1 unit of the first commodity is less than PKR 1.
Second condition: The determinant |I - A| > 0, where A is the input coefficient matrix. Specifically:
|1-aββ -aββ| |-aββ 1-aββ| > 0
This expands to: (1-aββ)(1-aββ) - aββaββ > 0
π‘ Why this matters: The Hawkins-Simon condition ensures practicability and viability in production. If satisfied, the economy can produce enough to meet all demands without running deficits.
TOPIC 082: INPUT-OUTPUT ANALYSIS IN CASE OF OPEN ECONOMY
Consider a 3-sector economy: Agriculture (1), Industry (2), Services (3).
Input coefficient matrix A:
Agri Indu Serv
Agri [0.2 0.3 0.2]
Indu [0.4 0.1 0.3]
Serv [0.1 0.3 0.2]
Interpretation: Agriculture uses PKR 0.2 of agricultural output, PKR 0.4 of industrial output, and PKR 0.1 of services output to produce PKR 1 of agricultural output.
Demand vector d (in billion PKR): d = [5, 10, 15] (consumer demand for Agriculture, Industry, Services respectively)
System of equations: Total demand = Mutual demand + Consumer demand
For each sector i: xα΅’ = aα΅’βxβ + aα΅’βxβ + aα΅’βxβ + dα΅’
In matrix form: x = Ax + d
Rearranging: (I - A)x = d
Solution: x = (I - A)β»ΒΉd
Where (I - A) is called the Leontief Matrix.
π Definition β Leontief Matrix: (I - A) is the matrix of technological coefficients subtracted from the identity matrix, representing net output available after inter-industry requirements.
π Formula: x = (I - A)β»ΒΉd β Output vector equals the inverse of the Leontief Matrix multiplied by the demand vector.
For this example: (I - A) = [0.8 -0.3 -0.2] [-0.4 0.9 -0.3] [-0.1 -0.3 0.8]
det(I - A) = 0.8(0.9Γ0.8 - (-0.3)(-0.3)) - (-0.3)((-0.4)(0.8) - (-0.3)(-0.1)) + (-0.2)((-0.4)(-0.3) - 0.9(-0.1)) = 0.8(0.72 - 0.09) + 0.3(-0.32 - 0.03) - 0.2(0.12 + 0.09) = 0.8(0.63) + 0.3(-0.35) - 0.2(0.21) = 0.504 - 0.105 - 0.042 = 0.357
Using Cramer's rule, the solution is: x = [24.84, 20.68, 18.36]
π Example: To satisfy both mutual and consumer demand:
- Agricultural output = 24.84 billion PKR
- Industrial output = 20.68 billion PKR
- Services output = 18.36 billion PKR
TOPIC 083: INPUT-OUTPUT ANALYSIS IN CASE OF CLOSED ECONOMY
Consider the same 3-sector economy (Agriculture, Industry, Services) but now no consumer demand exists.
Input coefficient matrix A (same as before):
Agri Indu Serv
Agri [0.2 0.3 0.2]
Indu [0.4 0.1 0.3]
Serv [0.1 0.3 0.2]
Demand vector d = [0, 0, 0]
All outputs are consumed in the production process. All columns sum to 1 (total input equals total output).
Total demand = Inter-industry demand only: xβ = 0.2xβ + 0.3xβ + 0.2xβ xβ = 0.4xβ + 0.1xβ + 0.3xβ xβ = 0.1xβ + 0.3xβ + 0.2xβ
In matrix form: x = Ax or (I - A)x = 0
This is a homogeneous system with infinitely many solutions (non-trivial solutions exist only if det(I - A) = 0).
Solving simultaneously: 0.8xβ - 0.3xβ - 0.2xβ = 0 -0.4xβ + 0.9xβ - 0.3xβ = 0 -0.1xβ - 0.3xβ + 0.8xβ = 0
In ratio form (in terms of z, where xβ = z): xβ = (11/13)z xβ = (7/13)z xβ = z
Converting to whole numbers: xβ : xβ : xβ = 11 : 7 : 13
π‘ Why this matters: For the closed model, we get a guiding ratio showing the relative output levels needed for the economy to sustain itself, even though absolute values cannot be determined uniquely.
TOPIC 084: THE NEED AND NATURE OF COMPARATIVE STATICS
When all variables are at rest, an equilibrium is called a static. Comparing equilibria is called comparative statics. It examines how the new equilibrium compares with the old, both qualitatively (direction of change) and quantitatively (magnitude of change).
Two Assumptions:
- The system returns to equilibrium instantaneously β we merely compare the initial (pre-change) equilibrium (xβ*) with the final (post-change) equilibrium (xβ*).
- The equilibrium is stable.
The analysis focuses on the rate of change of the equilibrium value of an endogenous variable with respect to a change in a particular parameter or exogenous variable. This requires derivatives.
Functionally: x* = f(Ξ±), where:
- x* = equilibrium value of the endogenous variable
- Ξ± = parameter/exogenous variable
Difference Quotient: Let ΞΞ± = change in Ξ± from Ξ±β to Ξ±β. Then Ξ±β = Ξ±β + ΞΞ±.
xβ* = old value of x* = f(Ξ±β) xβ* = new value of x* = f(Ξ±β + ΞΞ±)
Change in x* per unit change in Ξ±: Ξx*/ΞΞ± = [f(Ξ±β + ΞΞ±) - f(Ξ±β)]/ΞΞ±
π Example: For f(x) = 7x + 4: At xβ = 3: f(3) = 7(3) + 4 = 25 At xβ = 3 + Ξx: f(3 + Ξx) = 7(3 + Ξx) + 4 = 25 + 7Ξx
Ξy/Ξx = [25 + 7Ξx - 25]/Ξx = 7
As Ξx β 0, the limit is the derivative: dy/dx = 7
π Definition β Derivative: The derivative df/dx = lim(Ξxβ0) [f(x+Ξx) - f(x)]/Ξx is the instantaneous rate of change of the function with respect to x.
β Key Takeaways
Input-output analysis uses matrix algebra to model inter-industry dependencies and determine output levels. The Hawkins-Simon condition (diagonal elements less than 1 and positive determinant of I-A) ensures a viable production system exists. For an open economy, the solution x = (I-A)β»ΒΉd gives the exact output vector needed to satisfy both inter-industry and final demand. In a closed economy with zero final demand, only relative output ratios can be determined from the homogeneous system. Comparative statics examines how equilibrium values change when parameters shift, using derivatives to measure both the direction and magnitude of change.
π§ Quick Revision Questions
- What are the three key assumptions of input-output analysis regarding production?
- State the two conditions of the Hawkins-Simon condition for a 2-sector economy.
- What is the Leontief Matrix and how is it used to solve for output in an open economy?
- Why does a closed input-output model yield only relative output ratios rather than absolute values?
- What is the difference between qualitative and quantitative comparative statics?
π Lecture 18 β Concept of Derivative and Rules of Differentiation
π Overview: This lecture introduces the foundational concepts of limits and continuity, which are essential for understanding calculus. It then connects these ideas to the rate of change, slope, and the derivative, explaining how differentiation is used to calculate marginal functions in economics.
ποΈ Topics Covered
The lecture begins with the concept of limits and continuity of a function, illustrated through tables and graphs. It then explains the relationship between rate of change, slope, and the derivative, introducing Leibniz's notation and showing how the derivative represents the marginal function in economics, such as marginal cost from a total cost function.
π Lecture Summary
TOPIC 085: CONCEPT OF LIMIT AND CONTINUITY
Limit: "A point or level beyond which something does not or may not extend or pass."
For a function like f(x) = x + 2, we can observe its behavior as x approaches 2. The table shows that as x gets closer to 2 from both sides (1.9, 1.99, 1.999 and 2.001, 2.01, 2.1), f(x) gets closer to 4. This means the limit of f(x) as x approaches 2 is 4. However, the function is undefined at x = 2 because f(2) is not defined (represented by β), but the limit exists.
Continuity is a key property related to limits. A function is continuous if its graph can be drawn without lifting the pen. The lecture provides an example of a function, f(x) = x / (x^2 - 1). For x = 1 or x = -1, the denominator equals zero. Therefore, the function f(x) is discontinuous at x = 1 and x = -1.
π Definition β Limit: The value that a function f(x) approaches as the input x approaches a specific value.
π Definition β Continuous Function: A function that has no breaks, jumps, or holes in its graph. For a function to be continuous at a point, its limit must exist and equal the function's value at that point.
TOPIC 086: RATE OF CHANGE, SLOPE & DERIVATIVE
For any continuous function y = f(x), the rate of change can be calculated using differentiation.
- Differentiation is the process of calculating derivatives.
- The derivative is also the slope of the function.
- The derivative of function
y = f(x)is denoted asdy/dx = f'(x), which is also known as Leibniz's notation of the derivative. The symboldrepresents change.
The rate of change of function y = f(x) is Ξy / Ξx. Therefore:
dy/dx = Ξy / Ξx (as the change represented by Ξ becomes infinitesimally small)
This means the derivative of a function represents the rate of change. A slope also shows the rate of change. Therefore, derivative, rate of change, and slope can be used synonymously.
The derivative is formally defined as:
dy/dx = f'(x) = lim (Ξxβ0) [ f(x + Ξx) - f(x) ] / Ξx
π‘ Why this matters: In economics, taking a derivative is equal to calculating the marginal function of the original function.
π Formula: dy/dx = f'(x) = lim (Ξxβ0) [ f(x + Ξx) - f(x) ] / Ξx β The derivative is the limit of the difference quotient as the change in x approaches zero.
π Example: The derivative of a total cost function gives the marginal cost (the rate of change of total cost). For instance, if C(q) is a total cost function, then dC/dq = MC is the marginal cost.
β Key Takeaways
The concept of a limit describes the value a function approaches as its input nears a specific point, which is foundational for calculus. A function must be continuous (no breaks) for its derivative to be defined at a point. The derivative is the instantaneous rate of change of a function, represented by the slope of its tangent line at a given point. In economics, the derivative directly gives the marginal function of the original function (e.g., marginal cost from total cost). The Leibniz notation dy/dx is a standard way to denote a derivative.
π§ Quick Revision Questions
- What is the formal definition of a limit?
- How can you determine if a function is discontinuous at a point?
- What are three terms that can be used synonymously in the context of differentiation?
- What does the Leibniz notation
dy/dxrepresent? - In economics, what does taking the derivative of a total revenue function yield?