Class Exercise 4
📚 Class Exercise 4.docx
Brief overview
This document outlines methods for solving production planning and economic equilibrium problems using linear algebra techniques. It demonstrates how to apply matrix operations and inverse matrices to achieve targeted production increases and find economic solutions.
Key points
- Production planning and matrix representation for targeted increases.
- Solving linear systems using inverse matrices for economic equilibrium.
- System solving via Cramer's rule and inverse matrix methods.
- Calculations of total stock holding values using matrix operations.
1. Production planning and matrix representation
1.1 Increasing production targets
- October production: The initial output of loudspeaker systems for October is given.
- November target: Production is planned to increase by 10% over the October output.
- To find the November production matrix, multiply the October production matrix by 1.10.
📝 Example: If October's production for Model A at Location I was 210 units, the target for November would be 210×1.10=231 units.
1.2 Valuing stock holdings
Gabriel’s stock holdings are represented by a matrix.
- Stock quantities matrix: This matrix shows the number of shares Gabriel owns for each stock.
- Stock prices matrix: This matrix lists the price per share for each stock.
- To calculate the total value of holdings, multiply the stock quantities matrix by the stock prices matrix. This is a matrix multiplication.
🔑 Important: The dimensions of the matrices must be compatible for multiplication. If the quantity matrix is m×n, the price matrix must be n×p. The resulting value matrix will be m×p.
1.3 Matrix operations for solving systems
Matrix operations can solve systems of linear equations.
- Inverse matrix method: A system of equations AX=B can be solved for X if A is invertible. The solution is X=A−1B.
- Cramer's rule: This method uses determinants to solve for each variable in a system of linear equations. For a system AX=B, the value of xi is det(A)det(Ai), where Ai is matrix A with the i-th column replaced by vector B.
🔑 Important: Both methods require the coefficient matrix (A) to be square and non-singular (determinant is not zero).
1.4 Economic equilibrium with matrices
Matrices can model economic equilibrium conditions.
- Commodity market equilibrium: In a two-sector economy, equilibrium occurs when aggregate demand (C+I) equals output (Y).
- Money market equilibrium: Equilibrium happens when money supply equals money demand, which has transactional, precautionary, and speculative components.
- Systems of linear equations derived from these conditions can be solved using matrix methods to find equilibrium values for variables like income (Y) and interest rates (r).
📝 Example: Given equations like Y=0.8Y+100+r and M=0.2Y−50r, we can set up a matrix equation to find equilibrium Y and r.
🔑 Important: Matrix representation and operations provide powerful tools for both production planning and solving complex economic equilibrium models, simplifying calculations for targeted outputs and financial valuations.
2. Solving linear systems with inverse matrices
2.1 Introduction to solving linear systems
Systems of linear equations can be represented using matrices. This allows us to use matrix operations to find solutions.
The inverse matrix method is one way to solve these systems. It is particularly useful when dealing with multiple equations and variables.
2.2 Using inverse matrices to solve systems
A system of linear equations can be written in the form AX=B. Here, A is the matrix of coefficients, X is the matrix of variables, and B is the matrix of constants.
If the matrix A has an inverse, denoted as A−1, we can find the solution matrix X by multiplying both sides of the equation by A−1.
The formula for solving for X is: X=A−1B
This method is applicable when the matrix A is square and invertible. An invertible matrix has a non-zero determinant.
🔑 Important: The inverse matrix method provides a unique solution for X only if A is invertible.
2.3 Example: Economic equilibrium
Consider a simple two-sector economy with the following equilibrium conditions:
- Commodity market: Y=C+I
- Money market: M=MT+MS
Given specific functions for consumption (C), investment (I), transaction demand for money (MT), and speculative demand for money (MS), we can set up a system of linear equations. For instance, if:
- C=100+0.8Y
- I=50−0.1r
- MT=0.4Y
- MS=100−0.2r
- Total money supply M=200
We can derive the system:
- Y−0.8Y=100+I⟹0.2Y=100+I
- 0.4Y+0.1r=200−100⟹0.4Y+0.1r=100
Substituting I from the first equation into the commodity market equation gives Y=(100+0.8Y)+(50−0.1r). Rearranging terms leads to:
- 0.2Y+0.1r=150 (Commodity market)
- 0.4Y+0.1r=100 (Money market)
This system can be represented as AX=B: A=[0.20.40.10.1],X=[Yr],B=[150100]
To solve using the inverse matrix method, we first find the inverse of A.
2.3.1 Calculating the inverse of a 2x2 matrix
For a general 2x2 matrix A=[acbd], its inverse is given by: A−1=ad−bc1[d−c−ba] The term ad−bc is the determinant of matrix A, denoted as ∣A∣.
For our example matrix A=[0.20.40.10.1]:
- Determinant: ∣A∣=(0.2)(0.1)−(0.1)(0.4)=0.02−0.04=−0.02
- Inverse: A−1=−0.021[0.1−0.4−0.10.2]=−50[0.1−0.4−0.10.2]=[−5205−10]
2.3.2 Finding the solution
Now, we multiply A−1 by B to find X: X=A−1B=[−5205−10][150100] X=[(−5)(150)+(5)(100)(20)(150)+(−10)(100)]=[−750+5003000−1000]=[−2502000]
The solution is Y=−250 and r=2000. A negative value for Y might indicate an issue with the model's assumptions or parameters for this specific scenario.
📝 Example: If the commodity market was Y=C+I+G and G=50, the B matrix would change, affecting the final solution.
2.4 Summary of inverse matrix method steps
Here are the steps to solve a linear system AX=B using the inverse matrix method:
| Step | Action | Formula/Description |
|---|---|---|
| 1 | Formulate the system | Write equations in the form AX=B. |
| 2 | Find the inverse of A | Calculate A−1. Ensure $ |
| 3 | Calculate the solution | Multiply A−1 by B to get X. |
| 4 | Interpret results | Identify the values of the variables in X. |
🔑 Important: Always check that the coefficient matrix A is square and has a non-zero determinant before attempting to find its inverse. If the determinant is zero, the system either has no unique solution or infinitely many solutions.
3. System solving using Cramer's rule and inverse matrices
3.1 Solving systems of linear equations
Systems of linear equations can be solved using two primary matrix methods: the inverse matrix method and Cramer's rule. These methods are applicable when the system has a unique solution, which occurs when the determinant of the coefficient matrix is non-zero.
3.1.1 Inverse matrix method
The inverse matrix method involves expressing the system of linear equations in matrix form as AX=B. Here, A is the coefficient matrix, X is the variable matrix, and B is the constant matrix.
The solution is found by multiplying both sides by the inverse of matrix A, denoted as A−1.
AX=B A−1AX=A−1B IX=A−1B X=A−1B
The solution vector X contains the values of the variables that satisfy the system.
3.1.2 Cramer's rule
Cramer's rule provides a direct formula for solving systems of linear equations using determinants. For a system AX=B, where A is an n×n matrix with a non-zero determinant, the solution for each variable xi is given by the ratio of two determinants.
xi=det(A)det(Ai)
Here, det(A) is the determinant of the coefficient matrix A. The matrix Ai is formed by replacing the i-th column of A with the constant matrix B.
🔑 Important: Both methods are effective for systems with a unique solution. Cramer's rule can be computationally intensive for larger systems compared to the inverse matrix method.
3.1.3 Example application
Consider the system of equations: 2x+3y=7 x−y=1
In matrix form, this is: (213−1)(xy)=(71)
Inverse Matrix Method: First, find the inverse of A=(213−1). The determinant of A is det(A)=(2)(−1)−(3)(1)=−2−3=−5.
The inverse matrix A−1 is: A−1=−51(−1−1−32)=(1/51/53/5−2/5) Now, calculate X=A−1B: X=(1/51/53/5−2/5)(71)=((1/5)(7)+(3/5)(1)(1/5)(7)+(−2/5)(1))=(7/5+3/57/5−2/5)=(10/55/5)=(21) So, x=2 and y=1.
Cramer's Rule: det(A)=−5 (calculated above). To find x, replace the first column of A with B: Ax=(713−1) det(Ax)=(7)(−1)−(3)(1)=−7−3=−10.
x=det(A)det(Ax)=−5−10=2 To find y, replace the second column of A with B: Ay=(2171) det(Ay)=(2)(1)−(7)(1)=2−7=−5. y=det(A)det(Ay)=−5−5=1 Both methods yield the same solution: x=2,y=1.
📝 Example: A simple two-sector economy is in equilibrium when Y=C+I. The money market is in equilibrium when money supply equals money demand. If the equations are Y=200+0.8(C+I) and Md=50+0.2Y, and Ms=100, solve for equilibrium Y using Cramer's rule.
First, rewrite the system to isolate variables: Y−0.8(C+I)=200 0.2Y=50 (This seems incomplete, assuming Ms=Md)
Let's use a more standard system for demonstration: 2x+3y=7 x−y=1
As shown above, Cramer's rule is applied by forming matrices A, Ax, and Ay and calculating their determinants.
3.2 Applications in economics
These matrix methods are crucial for solving economic models that involve multiple interacting variables.
| Application Area | Description | Matrix Method Use |
|---|---|---|
| System equilibrium | Finding equilibrium prices or quantities in market models. | Solving systems of supply and demand equations. |
| National income | Determining equilibrium levels of national income (Y) and consumption (C). | Solving systems of equations representing consumption, investment, and income. |
| Money market | Equilibrating money supply and money demand. | Solving systems involving interest rates and income. |
| Production planning | Optimizing production levels based on resource constraints or demand forecasts. | Determining optimal output for different products across various locations. |
🔑 Important: In economics, these methods are used to find unique equilibrium points in complex models where multiple equations define the relationships between economic variables.
🔑 Important: When solving systems of linear equations for economic problems, ensure that all variables are correctly identified and placed in their respective matrices. The determinant of the coefficient matrix must be non-zero for a unique solution.
© 2026 Maeve. All rights reserved. This content is protected by copyright.