Skip to content Study Mondo Free study resources for students from Grade 4 through AP and test prep. 38 courses, 900+ topics.
Courses Features Company Stay Ahead in School Free weekly study tips, practice sets, and exam strategies. No spam, unsubscribe anytime.
ยฉ 2026 Study Mondo. Built for students.
APยฎ is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this website.
Matrix Operations and Applications | Study Mondo
A matrix is a rectangular array of numbers arranged in rows and columns.
A = [ a 11 a 12 a 13 a 21 a 22 a 23 ] A = \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \end{bmatrix} A = [ a 11 โ a 21 โ โ a 12 โ a 22 โ โ a 13 โ a 23 โ โ ]
This is a 2 ร 3 2 \times 3 2 ร 3 matrix (2 rows, 3 columns).
Matrix Notation
Dimension : m ร n m \times n m ร n (m rows, n columns)
Element : a i j a_{ij} a ij โ is the element in row i i i , column j j j
Square matrix : m = n m = n m = n (same number of rows and columns)
Matrix Addition and Subtraction Matrices can be added or subtracted only if they have the same dimensions .
A + B = [ a 11 a 12 a 21 a 22 ] + [ b 11 b 12 b 21 b 22 ] = [ a 11 + b 11 a 12 + b 12 a 21 + b 21 a 22 + b 22 ] A + B = \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix} + \begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} = \begin{bmatrix} a_{11}+b_{11} & a_{12}+b_{12} \\ a_{21}+b_{21} & a_{22}+b_{22} \end{bmatrix} A + B = [ a 11 โ a 21 โ โ
Commutative: A + B = B + A A + B = B + A A + B = B + A
Associative: ( A + B ) + C = A + ( B + C ) (A + B) + C = A + (B + C) ( A + B ) + C = A + ( B + C )
Identity: A + O = A A + O = A A + O = A (where O O O is the zero matrix)
Scalar Multiplication Multiply each element by the scalar:
c A = c [ a 11 a 12 a 21 a 22 ] = [ c a 11 c a 12 c a 21 c a 22 ] cA = c\begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix} = \begin{bmatrix} ca_{11} & ca_{12} \\ ca_{21} & ca_{22} \end{bmatrix} c A = c [ a 11 โ a 21 โ โ a 12 โ a 22 โ โ ] = [ c a 11 โ c a 21 โ โ c a
Matrix Multiplication For A m ร n A_{m \times n} A m ร n โ and B n ร p B_{n \times p} B n ร p โ , the product A B AB A B is an m ร p m \times p m ร p matrix.
Note: The number of columns in A A A must equal the number of rows in B B B .
The element in row i i i , column j j j of A B AB A B is:
( A B ) i j = โ k = 1 n a i k b k j (AB)_{ij} = \sum_{k=1}^{n} a_{ik}b_{kj} ( A B ) ij โ = โ k = 1 n โ a ik โ b kj โ
Example (2ร2 matrices): [ a b c d ] [ e f g h ] = [ a e + b g a f + b h c e + d g c f + d h ] \begin{bmatrix} a & b \\ c & d \end{bmatrix} \begin{bmatrix} e & f \\ g & h \end{bmatrix} = \begin{bmatrix} ae+bg & af+bh \\ ce+dg & cf+dh \end{bmatrix} [ a c โ b d โ ] [ e g โ f h โ ] = [ a e + b g ce + d g โ a f + bh c f + d h โ ]
NOT commutative : A B โ B A AB \neq BA A B ๎ = B A in general
Associative: ( A B ) C = A ( B C ) (AB)C = A(BC) ( A B ) C = A ( BC )
Distributive: A ( B + C ) = A B + A C A(B + C) = AB + AC A ( B + C ) = A B + A C
Identity Matrix The identity matrix I n I_n I n โ is an n ร n n \times n n ร n matrix with 1s on the diagonal and 0s elsewhere:
I 3 = [ 1 0 0 0 1 0 0 0 1 ] I_3 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} I 3 โ = โ 1 0 0 โ 0 1 0 โ 0 0 1 โ โ
Property: A I = I A = A AI = IA = A A I = I A = A
Determinant (2ร2 matrices) For a 2 ร 2 2 \times 2 2 ร 2 matrix:
det โก ( A ) = det โก [ a b c d ] = a d โ b c \det(A) = \det\begin{bmatrix} a & b \\ c & d \end{bmatrix} = ad - bc det ( A ) = det [ a c โ b d โ ] = a d โ b c
Determinant (3ร3 matrices) For a 3 ร 3 3 \times 3 3 ร 3 matrix, use cofactor expansion:
det โก [ a b c d e f g h i ] = a ( e i โ f h ) โ b ( d i โ f g ) + c ( d h โ e g ) \det\begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} = a(ei-fh) - b(di-fg) + c(dh-eg) det โ a d g โ b e h โ c f = a ( e i โ f h ) โ b ( d i โ f g ) + c ( d h โ e g )
If det โก ( A ) = 0 \det(A) = 0 det ( A ) = 0 , the matrix is singular (not invertible)
If det โก ( A ) โ 0 \det(A) \neq 0 det ( A ) ๎ = 0 , the matrix is invertible
det โก ( A B ) = det โก ( A ) โ
det โก ( B ) \det(AB) = \det(A) \cdot \det(B) det ( A B ) = det ( A ) โ
det ( B )
Matrix Inverse (2ร2) For A = [ a b c d ] A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} A = [ a c โ b d โ ] , if det โก ( A ) = a d โ b c โ 0 \det(A) = ad - bc \neq 0 det ( A ) = a d โ b c ๎ = 0 :
A โ 1 = 1 a d โ b c [ d โ b โ c a ] A^{-1} = \frac{1}{ad-bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} A โ 1 = a d โ b c 1 โ [ d โ c โ โ b a โ ]
Property: A A โ 1 = A โ 1 A = I AA^{-1} = A^{-1}A = I A A โ 1 = A โ 1 A = I
Solving Systems with Matrices A system of linear equations can be written as A X = B AX = B A X = B where:
A A A is the coefficient matrix
X X X is the variable matrix
B B B is the constant matrix
Example: { 2 x + 3 y = 7 4 x โ y = 5 \begin{cases} 2x + 3y = 7 \\ 4x - y = 5 \end{cases} { 2 x + 3 y = 7 4 x โ y = 5 โ
Can be written as:
[ 2 3 4 โ 1 ] [ x y ] = [ 7 5 ] \begin{bmatrix} 2 & 3 \\ 4 & -1 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 7 \\ 5 \end{bmatrix} [ 2 4 โ 3 โ 1 โ ] [ x y โ ] = [ 7 5 โ ]
Solution: X = A โ 1 B X = A^{-1}B X = A โ 1 B (if A A A is invertible)
Applications
Systems of equations : Solve A X = B AX = B A X = B
Transformations : Represent rotations, reflections, scaling
Cryptography : Encode and decode messages
Economics : Input-output models
Computer graphics : 3D transformations
๐ Practice Problems
1 Problem 1easy โ Question:Given A = [ 2 โ 1 3 4 ] A = \begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix} A = [ 2 3 โ โ 1 4 โ ] and B = [ 1 5 โ 2 3 ] B = \begin{bmatrix} 1 & 5 \\ -2 & 3 \end{bmatrix} B = [ 1 โ 2 โ 5 3 โ ] , find A B AB A B .
๐ก Show Solution Solution:
Given:
A = [ 2 โ 1 3 4 ] , B = [ 1 5 โ 2 3 ] A = \begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 1 & 5 \\ -2 & 3 \end{bmatrix} A = [
2 Problem 2medium โ Question:Find the inverse of A = [ 3 2 5 4 ] A = \begin{bmatrix} 3 & 2 \\ 5 & 4 \end{bmatrix} A = [ 3 5 โ .
3 Problem 3hard โ Question:Use matrices to solve the system: { 2 x + y = 5 3 x โ 2 y = 4 \begin{cases} 2x + y = 5 \\ 3x - 2y = 4 \end{cases} { 2 x + y = 5
4 Problem 4medium โ Question:Find the product AB where A = [2 1; 3 4] and B = [5 6; 7 8].
๐ก Show Solution Step 1: Check dimensions:
A is 2ร2, B is 2ร2
Product AB will be 2ร2
Step 2: Calculate element (1,1):
Row 1 of A ร Column 1 of B:
2(5) + 1(7) = 10 + 7 = 17
Step 3: Calculate element (1,2):
Row 1 of A ร Column 2 of B:
2(6) + 1(8) = 12 + 8 = 20
Step 4: Calculate element (2,1):
Row 2 of A ร Column 1 of B:
3(5) + 4(7) = 15 + 28 = 43
Step 5: Calculate element (2,2):
Row 2 of A ร Column 2 of B:
3(6) + 4(8) = 18 + 32 = 50
Step 6: Write result matrix:
AB = [17 20]
[43 50]
Answer: [17 20]
[43 50]
5 Problem 5hard โ Question:A company makes two products. Product A requires 2 hours of labor and 3 kg of material. Product B requires 1 hour of labor and 2 kg of material. The company plans to make 50 units of A and 30 units of B. Use matrix multiplication to find total labor hours and material needed.
๐ก Show Solution Step 1: Set up requirement matrix R (resources ร products):
R = [2 1] (hours)
[3 2] (kg)
Step 2: Set up production matrix P (products ร 1):
P = [50] (product A)
[30] (product B)
Step 3: Calculate RP (total resources):
[2 1][50] = [2(50) + 1(30)]
[3 2][30] [3(50) + 2(30)]
Step 4: Compute:
Row 1: 2(50) + 1(30) = 100 + 30 = 130 hours
Row 2: 3(50) + 2(30) = 150 + 60 = 210 kg
Step 5: Result:
[130] (total labor hours)
[210] (total material in kg)
Answer: 130 hours of labor, 210 kg of material
Explain using: ๐ Simple words ๐ Analogy ๐จ Visual desc. ๐ Example ๐ก Explain
โ ๏ธ Common Mistakes: Matrix Operations and ApplicationsAvoid these 4 frequent errors
1 Forgetting the constant of integration (+C) on indefinite integrals
โพ 2 Confusing the Power Rule with the Chain Rule
โพ 3 Not checking continuity before applying the Mean Value Theorem
โพ 4 Dropping negative signs when differentiating trig functions
โพ ๐ Real-World Applications: Matrix Operations and ApplicationsSee how this math is used in the real world
โ๏ธ Optimizing Package Design
Engineering
โพ ๐ฅ Predicting Drug Dosage Decay
Medicine
โพ ๐ฌ Calculating Distance from Velocity
Physics
โพ ๐ฐ Revenue Optimization
Finance
โพ
๐ Worked Example: Related Rates โ Expanding CircleProblem: A stone is dropped into a still pond, creating a circular ripple. The radius of the ripple is increasing at a rate of 2 2 2 cm/s. How fast is the area of the circle increasing when the radius is 10 10 10 cm?
1 Identify the known and unknown rates Click to reveal โ
2 Write the relationship between variables
3 Differentiate both sides with respect to time
๐งช Practice Lab Interactive practice problems for Matrix Operations and Applications
โพ ๐ Related Topics in Functions Involving Parameters, Vectors, and Matricesโ Frequently Asked QuestionsWhat is Matrix Operations and Applications?โพ Perform matrix addition, multiplication, find determinants and inverses, and solve systems using matrices.
How can I study Matrix Operations and Applications effectively?โพ Start by reading the study notes and working through the examples on this page. Then use the flashcards to test your recall. Practice with the 5 problems provided, checking solutions as you go. Regular review and active practice are key to retention.
Is this Matrix Operations and Applications study guide free?โพ Yes โ all study notes, flashcards, and practice problems for Matrix Operations and Applications on Study Mondo are free to access. No account is needed.
What course covers Matrix Operations and Applications?โพ Matrix Operations and Applications is part of the AP Precalculus course on Study Mondo, specifically in the Functions Involving Parameters, Vectors, and Matrices section. You can explore the full course for more related topics and practice resources.
Are there practice problems for Matrix Operations and Applications?โพ Yes, this page includes 5 practice problems with detailed solutions. Each problem includes a step-by-step explanation to help you understand the approach.
๐ก Study Tipsโ Work through examples step-by-step โ Practice with flashcards daily โ Review common mistakes
a 12 โ
a 22 โ
โ
]
+
[ b 11 โ b 21 โ โ b 12 โ b 22 โ โ ] =
[ a 11 โ + b 11 โ a 21 โ + b 21 โ โ a 12 โ + b 12 โ a 22 โ + b ]
12
โ
c a 22 โ
โ
]
i
โ
2
3
โ
โ 1 4 โ
]
,
B
=
[ 1 โ 2 โ 5 3 โ ]
Matrix multiplication formula:
For element ( i , j ) (i,j) ( i , j ) in A B AB A B : multiply row i i i of A A A by column j j j of B B B .
First row, first column: ( 2 ) ( 1 ) + ( โ 1 ) ( โ 2 ) = 2 + 2 = 4 (2)(1) + (-1)(-2) = 2 + 2 = 4 ( 2 ) ( 1 ) + ( โ 1 ) ( โ 2 ) = 2 + 2 = 4
First row, second column: ( 2 ) ( 5 ) + ( โ 1 ) ( 3 ) = 10 โ 3 = 7 (2)(5) + (-1)(3) = 10 - 3 = 7 ( 2 ) ( 5 ) + ( โ 1 ) ( 3 ) = 10 โ 3 = 7
Second row, first column: ( 3 ) ( 1 ) + ( 4 ) ( โ 2 ) = 3 โ 8 = โ 5 (3)(1) + (4)(-2) = 3 - 8 = -5 ( 3 ) ( 1 ) + ( 4 ) ( โ 2 ) = 3 โ 8 = โ 5
Second row, second column: ( 3 ) ( 5 ) + ( 4 ) ( 3 ) = 15 + 12 = 27 (3)(5) + (4)(3) = 15 + 12 = 27 ( 3 ) ( 5 ) + ( 4 ) ( 3 ) = 15 + 12 = 27
Answer:
A B = [ 4 7 โ 5 27 ] AB = \begin{bmatrix} 4 & 7 \\ -5 & 27 \end{bmatrix} A B = [ 4 โ 5 โ 7 27 โ ]
Note: Matrix multiplication is not commutative. B A BA B A would give a different result!
2 4 โ
]
๐ก Show Solution Solution:
Given: A = [ 3 2 5 4 ] A = \begin{bmatrix} 3 & 2 \\ 5 & 4 \end{bmatrix} A = [ 3 5 โ 2 4 โ ]
Step 1: Calculate the determinant
det โก ( A ) = ( 3 ) ( 4 ) โ ( 2 ) ( 5 ) = 12 โ 10 = 2 \det(A) = (3)(4) - (2)(5) = 12 - 10 = 2 det ( A ) = ( 3 ) ( 4 ) โ ( 2 ) ( 5 ) = 12 โ 10 = 2
Since det โก ( A ) = 2 โ 0 \det(A) = 2 \neq 0 det ( A ) = 2 ๎ = 0 , the matrix is invertible.
Step 2: Use the inverse formula for 2ร2 matrices
For A = [ a b c d ] A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} A = [ a c โ b d โ ] :
Step 3: Apply the formula
A โ 1 = 1 2 [ 4 โ 2 โ 5 3 ] = [ 2 โ 1 โ 5 2 3 2 ] A^{-1} = \frac{1}{2}\begin{bmatrix} 4 & -2 \\ -5 & 3 \end{bmatrix} = \begin{bmatrix} 2 & -1 \\ -\frac{5}{2} & \frac{3}{2} \end{bmatrix} A โ 1 =
Answer: A โ 1 = [ 2 โ 1 โ 5 2 3 2 ] A^{-1} = \begin{bmatrix} 2 & -1 \\ -\frac{5}{2} & \frac{3}{2} \end{bmatrix} A โ 1 = [ 2 โ
Verification: Check that A A โ 1 = I AA^{-1} = I A A โ 1 = I
[ 3 2 5 4 ] [ 2 โ 1 โ 5 2 3 2 ] = โ
3
x
โ
2
y
=
4
โ
๐ก Show Solution Solution:
Step 1: Write in matrix form A X = B AX = B A X = B
[ 2 1 3 โ 2 ] [ x y ] = [ 5 4 ] \begin{bmatrix} 2 & 1 \\ 3 & -2 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 5 \\ 4 \end{bmatrix} [ 2 3 โ 1 โ 2 โ ] [ x y โ ] =
Where A = [ 2 1 3 โ 2 ] A = \begin{bmatrix} 2 & 1 \\ 3 & -2 \end{bmatrix} A = [ 2 3 โ 1 โ 2 โ ] , ,
Step 2: Find A โ 1 A^{-1} A โ 1
Calculate determinant:
det โก ( A ) = ( 2 ) ( โ 2 ) โ ( 1 ) ( 3 ) = โ 4 โ 3 = โ 7 \det(A) = (2)(-2) - (1)(3) = -4 - 3 = -7 det ( A ) = ( 2 ) ( โ 2 ) โ ( 1 ) ( 3 ) = โ 4 โ 3 =
Since det โก ( A ) โ 0 \det(A) \neq 0 det ( A ) ๎ = 0 , A A A is invertible.
A โ 1 = 1 โ 7 [ โ 2 โ 1 โ 3 2 ] = [ 2 7 1 7 3 7 โ 2 7 ] A^{-1} = \frac{1}{-7}\begin{bmatrix} -2 & -1 \\ -3 & 2 \end{bmatrix} = \begin{bmatrix} \frac{2}{7} & \frac{1}{7} \\ \frac{3}{7} & -\frac{2}{7} \end{bmatrix} A โ 1 =
Step 3: Solve X = A โ 1 B X = A^{-1}B X = A โ 1 B
X = [ 2 7 1 7 3 7 โ 2 7 ] [ 5 4 ] X = \begin{bmatrix} \frac{2}{7} & \frac{1}{7} \\ \frac{3}{7} & -\frac{2}{7} \end{bmatrix} \begin{bmatrix} 5 \\ 4 \end{bmatrix} X = [ 7
X = [ 10 7 + 4 7 15 7 โ 8 7 ] = [ 14 7 7 7 ] = [ 2 1 ] X = \begin{bmatrix} \frac{10}{7} + \frac{4}{7} \\ \frac{15}{7} - \frac{8}{7} \end{bmatrix} = \begin{bmatrix} \frac{14}{7} \\ \frac{7}{7} \end{bmatrix} = \begin{bmatrix} 2 \\ 1 \end{bmatrix} X = [
Answer: x = 2 x = 2 x = 2 , y = 1 y = 1 y = 1
Verification:
2 ( 2 ) + 1 = 5 2(2) + 1 = 5 2 ( 2 ) + 1 = 5 โ
3 ( 2 ) โ 2 ( 1 ) = 6 โ 2 = 4 3(2) - 2(1) = 6 - 2 = 4 3 ( 2 ) โ 2 ( 1 ) = 6 โ โ
22
โ
โ
A โ 1 = 1 a d โ b c [ d โ b โ c a ] A^{-1} = \frac{1}{ad-bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} A โ 1 = a d โ b c 1 โ [ d โ c โ โ b a โ ] 2 1 โ
[ 4 โ 5 โ โ 2 3 โ ]
=
[ 2 โ 2 5 โ โ โ 1 2 3 โ โ ]
2 5 โ
โ
โ 1 2 3 โ โ
]
[ 6 โ 5 โ 3 + 3 10 โ 10 โ 5 + 6 ] = [ 1 0 0 1 ] \begin{bmatrix} 3 & 2 \\ 5 & 4 \end{bmatrix} \begin{bmatrix} 2 & -1 \\ -\frac{5}{2} & \frac{3}{2} \end{bmatrix} = \begin{bmatrix} 6-5 & -3+3 \\ 10-10 & -5+6 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} [ 3 5 โ 2 4 โ ] [ 2 โ 2 5 โ โ โ 1 2 3 โ โ ] = [ 6 โ 5 10 โ 10 โ โ 3 + 3 โ 5 + 6 โ ] = [ 1 0 โ 0 1 โ ]
[ 5 4 โ ]
X = [ x y ] X = \begin{bmatrix} x \\ y \end{bmatrix} X = [ x y โ ] B = [ 5 4 ] B = \begin{bmatrix} 5 \\ 4 \end{bmatrix} B = [ 5 4 โ ] โ
7
โ 7 1 โ
[ โ 2 โ 3 โ โ 1 2 โ ]
=
[ 7 2 โ 7 3 โ โ 7 1 โ โ 7 2 โ โ ]
2
โ
7 3 โ
โ
7 1 โ โ 7 2 โ โ
]
[ 5 4 โ ]
7 10 โ
+
7 4 โ
7 15 โ โ 7 8 โ
โ
]
=
[ 7 14 โ 7 7 โ โ ] =
[ 2 1 โ ]
2 =
4