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=231210 \times 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×nm \times n, the price matrix must be n×pn \times p. The resulting value matrix will be m×pm \times p.

1.3 Matrix operations for solving systems

Matrix operations can solve systems of linear equations.

  • Inverse matrix method: A system of equations AX=BAX=B can be solved for XX if AA is invertible. The solution is X=A−1BX = A^{-1}B.
  • Cramer's rule: This method uses determinants to solve for each variable in a system of linear equations. For a system AX=BAX=B, the value of xix_i is det⁡(Ai)det⁡(A)\frac{\det(A_i)}{\det(A)}, where AiA_i is matrix AA with the ii-th column replaced by vector BB.

🔑 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+IC+I) equals output (YY).
  • 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 (YY) and interest rates (rr).

📝 Example: Given equations like Y=0.8Y+100+rY = 0.8Y + 100 + r and M=0.2Y−50rM = 0.2Y - 50r, we can set up a matrix equation to find equilibrium YY and rr.


🔑 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=BAX = B. Here, AA is the matrix of coefficients, XX is the matrix of variables, and BB is the matrix of constants.

If the matrix AA has an inverse, denoted as A−1A^{-1}, we can find the solution matrix XX by multiplying both sides of the equation by A−1A^{-1}.

The formula for solving for XX is: X=A−1BX = A^{-1}B

This method is applicable when the matrix AA is square and invertible. An invertible matrix has a non-zero determinant.

🔑 Important: The inverse matrix method provides a unique solution for XX only if AA is invertible.

2.3 Example: Economic equilibrium

Consider a simple two-sector economy with the following equilibrium conditions:

  • Commodity market: Y=C+IY = C + I
  • Money market: M=MT+MSM = M_T + M_S

Given specific functions for consumption (CC), investment (II), transaction demand for money (MTM_T), and speculative demand for money (MSM_S), we can set up a system of linear equations. For instance, if:

  • C=100+0.8YC = 100 + 0.8Y
  • I=50−0.1rI = 50 - 0.1r
  • MT=0.4YM_T = 0.4Y
  • MS=100−0.2rM_S = 100 - 0.2r
  • Total money supply M=200M = 200

We can derive the system:

  • Y−0.8Y=100+I  ⟹  0.2Y=100+IY - 0.8Y = 100 + I \implies 0.2Y = 100 + I
  • 0.4Y+0.1r=200−100  ⟹  0.4Y+0.1r=1000.4Y + 0.1r = 200 - 100 \implies 0.4Y + 0.1r = 100

Substituting II from the first equation into the commodity market equation gives Y=(100+0.8Y)+(50−0.1r)Y = (100 + 0.8Y) + (50 - 0.1r). Rearranging terms leads to:

  • 0.2Y+0.1r=1500.2Y + 0.1r = 150 (Commodity market)
  • 0.4Y+0.1r=1000.4Y + 0.1r = 100 (Money market)

This system can be represented as AX=BAX = B: A=[0.20.10.40.1],X=[Yr],B=[150100]A = \begin{bmatrix} 0.2 & 0.1 \\ 0.4 & 0.1 \end{bmatrix}, \quad X = \begin{bmatrix} Y \\ r \end{bmatrix}, \quad B = \begin{bmatrix} 150 \\ 100 \end{bmatrix}

To solve using the inverse matrix method, we first find the inverse of AA.

2.3.1 Calculating the inverse of a 2x2 matrix

For a general 2x2 matrix A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, its inverse is given by: A−1=1ad−bc[d−b−ca]A^{-1} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} The term ad−bcad - bc is the determinant of matrix AA, denoted as ∣A∣|A|.

For our example matrix A=[0.20.10.40.1]A = \begin{bmatrix} 0.2 & 0.1 \\ 0.4 & 0.1 \end{bmatrix}:

  • Determinant: ∣A∣=(0.2)(0.1)−(0.1)(0.4)=0.02−0.04=−0.02|A| = (0.2)(0.1) - (0.1)(0.4) = 0.02 - 0.04 = -0.02
  • Inverse: A−1=1−0.02[0.1−0.1−0.40.2]=−50[0.1−0.1−0.40.2]=[−5520−10]A^{-1} = \frac{1}{-0.02} \begin{bmatrix} 0.1 & -0.1 \\ -0.4 & 0.2 \end{bmatrix} = -50 \begin{bmatrix} 0.1 & -0.1 \\ -0.4 & 0.2 \end{bmatrix} = \begin{bmatrix} -5 & 5 \\ 20 & -10 \end{bmatrix}

2.3.2 Finding the solution

Now, we multiply A−1A^{-1} by BB to find XX: X=A−1B=[−5520−10][150100]X = A^{-1}B = \begin{bmatrix} -5 & 5 \\ 20 & -10 \end{bmatrix} \begin{bmatrix} 150 \\ 100 \end{bmatrix} X=[(−5)(150)+(5)(100)(20)(150)+(−10)(100)]=[−750+5003000−1000]=[−2502000]X = \begin{bmatrix} (-5)(150) + (5)(100) \\ (20)(150) + (-10)(100) \end{bmatrix} = \begin{bmatrix} -750 + 500 \\ 3000 - 1000 \end{bmatrix} = \begin{bmatrix} -250 \\ 2000 \end{bmatrix}

The solution is Y=−250Y = -250 and r=2000r = 2000. A negative value for YY might indicate an issue with the model's assumptions or parameters for this specific scenario.

📝 Example: If the commodity market was Y=C+I+GY = C + I + G and G=50G = 50, the BB 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=BAX=B using the inverse matrix method:

StepActionFormula/Description
1Formulate the systemWrite equations in the form AX=BAX=B.
2Find the inverse of AACalculate A−1A^{-1}. Ensure $
3Calculate the solutionMultiply A−1A^{-1} by BB to get XX.
4Interpret resultsIdentify the values of the variables in XX.

🔑 Important: Always check that the coefficient matrix AA 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=BAX = B. Here, AA is the coefficient matrix, XX is the variable matrix, and BB is the constant matrix.

The solution is found by multiplying both sides by the inverse of matrix AA, denoted as A−1A^{-1}.

AX=BAX = B A−1AX=A−1BA^{-1}AX = A^{-1}B IX=A−1BIX = A^{-1}B X=A−1BX = A^{-1}B

The solution vector XX 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=BAX = B, where AA is an n×nn \times n matrix with a non-zero determinant, the solution for each variable xix_i is given by the ratio of two determinants.

xi=det⁡(Ai)det⁡(A)x_i = \frac{\det(A_i)}{\det(A)}

Here, det⁡(A)\det(A) is the determinant of the coefficient matrix AA. The matrix AiA_i is formed by replacing the ii-th column of AA with the constant matrix BB.

🔑 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=72x + 3y = 7 x−y=1x - y = 1

In matrix form, this is: (231−1)(xy)=(71)\begin{pmatrix} 2 & 3 \\ 1 & -1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 7 \\ 1 \end{pmatrix}

Inverse Matrix Method: First, find the inverse of A=(231−1)A = \begin{pmatrix} 2 & 3 \\ 1 & -1 \end{pmatrix}. The determinant of AA is det⁡(A)=(2)(−1)−(3)(1)=−2−3=−5\det(A) = (2)(-1) - (3)(1) = -2 - 3 = -5.

The inverse matrix A−1A^{-1} is: A−1=1−5(−1−3−12)=(1/53/51/5−2/5)A^{-1} = \frac{1}{-5} \begin{pmatrix} -1 & -3 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 1/5 & 3/5 \\ 1/5 & -2/5 \end{pmatrix} Now, calculate X=A−1BX = A^{-1}B: X=(1/53/51/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)X = \begin{pmatrix} 1/5 & 3/5 \\ 1/5 & -2/5 \end{pmatrix} \begin{pmatrix} 7 \\ 1 \end{pmatrix} = \begin{pmatrix} (1/5)(7) + (3/5)(1) \\ (1/5)(7) + (-2/5)(1) \end{pmatrix} = \begin{pmatrix} 7/5 + 3/5 \\ 7/5 - 2/5 \end{pmatrix} = \begin{pmatrix} 10/5 \\ 5/5 \end{pmatrix} = \begin{pmatrix} 2 \\ 1 \end{pmatrix} So, x=2x = 2 and y=1y = 1.

Cramer's Rule: det⁡(A)=−5\det(A) = -5 (calculated above). To find xx, replace the first column of AA with BB: Ax=(731−1)A_x = \begin{pmatrix} 7 & 3 \\ 1 & -1 \end{pmatrix} det⁡(Ax)=(7)(−1)−(3)(1)=−7−3=−10\det(A_x) = (7)(-1) - (3)(1) = -7 - 3 = -10.

x=det⁡(Ax)det⁡(A)=−10−5=2x = \frac{\det(A_x)}{\det(A)} = \frac{-10}{-5} = 2 To find yy, replace the second column of AA with BB: Ay=(2711)A_y = \begin{pmatrix} 2 & 7 \\ 1 & 1 \end{pmatrix} det⁡(Ay)=(2)(1)−(7)(1)=2−7=−5\det(A_y) = (2)(1) - (7)(1) = 2 - 7 = -5. y=det⁡(Ay)det⁡(A)=−5−5=1y = \frac{\det(A_y)}{\det(A)} = \frac{-5}{-5} = 1 Both methods yield the same solution: x=2,y=1x = 2, y = 1.

📝 Example: A simple two-sector economy is in equilibrium when Y=C+IY = C + I. The money market is in equilibrium when money supply equals money demand. If the equations are Y=200+0.8(C+I)Y = 200 + 0.8(C+I) and Md=50+0.2YM_d = 50 + 0.2Y, and Ms=100M_s = 100, solve for equilibrium YY using Cramer's rule.

First, rewrite the system to isolate variables: Y−0.8(C+I)=200Y - 0.8(C+I) = 200 0.2Y=500.2Y = 50 (This seems incomplete, assuming Ms=MdM_s = M_d)

Let's use a more standard system for demonstration: 2x+3y=72x + 3y = 7 x−y=1x - y = 1

As shown above, Cramer's rule is applied by forming matrices AA, AxA_x, and AyA_y and calculating their determinants.

3.2 Applications in economics

These matrix methods are crucial for solving economic models that involve multiple interacting variables.

Application AreaDescriptionMatrix Method Use
System equilibriumFinding equilibrium prices or quantities in market models.Solving systems of supply and demand equations.
National incomeDetermining equilibrium levels of national income (Y) and consumption (C).Solving systems of equations representing consumption, investment, and income.
Money marketEquilibrating money supply and money demand.Solving systems involving interest rates and income.
Production planningOptimizing 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.

See also