Matrix Operations and Applications
Perform matrix addition, multiplication, find determinants and inverses, and solve systems using matrices.
Matrix Operations and Applications
Introduction to Matrices
A matrix is a rectangular array of numbers arranged in rows and columns.
This is a matrix (2 rows, 3 columns).
Matrix Notation
- Dimension: (m rows, n columns)
- Element: is the element in row , column
- Square matrix: (same number of rows and columns)
Matrix Addition and Subtraction
Matrices can be added or subtracted only if they have the same dimensions.
Properties:
- Commutative:
- Associative:
- Identity: (where is the zero matrix)
Scalar Multiplication
Multiply each element by the scalar:
Matrix Multiplication
For and , the product is an matrix.
Note: The number of columns in must equal the number of rows in .
The element in row , column of is:
Example (2×2 matrices):
Properties:
- NOT commutative: in general
- Associative:
- Distributive:
Identity Matrix
The identity matrix is an matrix with 1s on the diagonal and 0s elsewhere:
Property:
Determinant (2×2 matrices)
For a matrix:
Determinant (3×3 matrices)
For a matrix, use cofactor expansion:
Properties:
- If , the matrix is singular (not invertible)
- If , the matrix is invertible
Matrix Inverse (2×2)
For , if :
Property:
Solving Systems with Matrices
A system of linear equations can be written as where:
- is the coefficient matrix
- is the variable matrix
- is the constant matrix
Example:
Can be written as:
Solution: (if is invertible)
Applications
- Systems of equations: Solve
- Transformations: Represent rotations, reflections, scaling
- Cryptography: Encode and decode messages
- Economics: Input-output models
- Computer graphics: 3D transformations
📚 Practice Problems
1Problem 1easy
❓ Question:
Given and , find .
💡 Show Solution
Solution:
Given:
Matrix multiplication formula: For element in : multiply row of by column of .
Calculate each element:
First row, first column:
First row, second column:
Second row, first column:
Second row, second column:
Answer:
Note: Matrix multiplication is not commutative. would give a different result!
2Problem 2medium
❓ Question:
Find the inverse of .
💡 Show Solution
Solution:
Given:
Step 1: Calculate the determinant
Since , the matrix is invertible.
Step 2: Use the inverse formula for 2×2 matrices
For :
Step 3: Apply the formula
Answer:
Verification: Check that ✓
3Problem 3hard
❓ Question:
Use matrices to solve the system:
💡 Show Solution
Solution:
Step 1: Write in matrix form
Where , ,
Step 2: Find
Calculate determinant:
Since , is invertible.
Step 3: Solve
Answer: ,
Verification:
- ✓
- ✓
4Problem 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]
5Problem 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
Practice with Flashcards
Review key concepts with our flashcard system
Browse All Topics
Explore other calculus topics