Matrix Applications: Transformations and Systems

Master matrix applications: geometric transformations, systems of equations, and practical modeling through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Translation transformation
Exercise 1
Find the new coordinates of point P(3, 2) after translation by vector \(\vec{t} = \langle 4, -1 \rangle\)
Definition:

Translation: A geometric transformation that moves every point by the same distance in the same direction, represented as adding a translation vector

Translation calculation:
  1. Represent the point as a coordinate vector: \(\vec{p} = \langle x, y \rangle\)
  2. Add the translation vector: \(\vec{p'} = \vec{p} + \vec{t}\)
  3. Extract the new coordinates from the result vector
Original Point
\(\vec{p} = \langle 3, 2 \rangle\)
Translation Vector
\(\vec{t} = \langle 4, -1 \rangle\)
Translated Point
\(\vec{p'} = \langle 7, 1 \rangle\)
Step 1: Represent the point as a vector

Point P(3, 2) becomes vector \(\vec{p} = \langle 3, 2 \rangle\)

Step 2: Apply the translation vector

\(\vec{p'} = \vec{p} + \vec{t}\)

\(\vec{p'} = \langle 3, 2 \rangle + \langle 4, -1 \rangle\)

Step 3: Add corresponding components

x-coordinate: \(3 + 4 = 7\)

y-coordinate: \(2 + (-1) = 1\)

Step 4: Extract the new coordinates

Translated point: P'(7, 1)

\(P'(7, 1)\)
Final answer:

After translation by vector \(\vec{t} = \langle 4, -1 \rangle\), point P(3, 2) moves to P'(7, 1)

Applied rules:

• Translation formula: \(\vec{p'} = \vec{p} + \vec{t}\) where \(\vec{t}\) is the translation vector

• Component-wise addition: Add corresponding x and y components separately

• Geometric interpretation: Every point moves the same distance in the same direction

2 Rotation transformation
Exercise 2
Rotate point Q(5, 0) by 90° counterclockwise about the origin
Definition:

Rotation: A transformation that turns a figure about a fixed point (center of rotation) by a specified angle, represented by a rotation matrix

Point Q
\(\langle 5, 0 \rangle\)
Rotation Matrix
\(\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\)
Rotated Point
\(\langle 0, 5 \rangle\)
Step 1: Identify the rotation matrix

For 90° counterclockwise rotation: \(R = \begin{bmatrix} \cos(90°) & -\sin(90°) \\ \sin(90°) & \cos(90°) \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\)

Step 2: Set up the matrix multiplication

\(Q' = R \cdot Q = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} \cdot \begin{bmatrix} 5 \\ 0 \end{bmatrix}\)

Step 3: Calculate the new coordinates

x-coordinate: \((0)(5) + (-1)(0) = 0\)

y-coordinate: \((1)(5) + (0)(0) = 5\)

Step 4: Extract the result

Rotated point: Q'(0, 5)

\(Q'(0, 5)\)
Final answer:

After 90° counterclockwise rotation, point Q(5, 0) becomes Q'(0, 5)

Applied rules:

• Rotation matrix: \(R(\theta) = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}\)

• Matrix multiplication: Multiply the rotation matrix by the coordinate vector

• Trigonometric values: \(\cos(90°) = 0\), \(\sin(90°) = 1\)

3 System of equations application
Exercise 3
A store sells two types of candy. Type A costs $3 per pound and Type B costs $5 per pound. If someone buys 8 pounds total for $30, how many pounds of each did they buy?
Definition:

System modeling: Using matrices to represent and solve real-world problems with multiple constraints

Variables
\(x =\) lbs of A, \(y =\) lbs of B
System
\(x + y = 8\), \(3x + 5y = 30\)
Solution
\(x = 5\), \(y = 3\)
Step 1: Define variables and set up equations

Let x = pounds of Type A candy and y = pounds of Type B candy

Total weight: \(x + y = 8\)

Total cost: \(3x + 5y = 30\)

Step 2: Write in matrix form

\(\begin{bmatrix} 1 & 1 \\ 3 & 5 \end{bmatrix} \cdot \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 8 \\ 30 \end{bmatrix}\)

Step 3: Solve using Gaussian elimination

From first equation: \(x = 8 - y\)

Substitute into second: \(3(8 - y) + 5y = 30\)

\(24 - 3y + 5y = 30\)

\(2y = 6\), so \(y = 3\)

Then \(x = 8 - 3 = 5\)

Step 4: Verify the solution

Total weight: \(5 + 3 = 8\) ✓

Total cost: \(3(5) + 5(3) = 15 + 15 = 30\) ✓

\(x = 5 \text{ lbs}, y = 3 \text{ lbs}\)
Final answer:

The customer bought 5 pounds of Type A candy and 3 pounds of Type B candy

Applied rules:

• Variable definition: Assign variables to unknown quantities

• Constraint formulation: Translate word problem into equations

• Matrix representation: Organize system as \(AX = B\)

Matrix Applications: Transformations and Systems
\(\vec{p'} = T\vec{p} + \vec{t}, \quad A\vec{x} = \vec{b}, \quad R(\theta) = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}\)
Transformation and System Formulas
Translation
\( \vec{p'} = \vec{p} + \vec{t} \)
Move by vector \(\vec{t}\)
Rotation
\( \vec{p'} = R\vec{p} \)
Rotate by angle \(\theta\)
System
\( A\vec{x} = \vec{b} \)
Matrix equation form
Key definitions:

Geometric transformation: A function that maps points in a space to other points, preserving certain properties

Matrix equation: An equation of the form \(A\vec{x} = \vec{b}\) where A is a coefficient matrix, \(\vec{x}\) is the variable vector, and \(\vec{b}\) is the constant vector

Transformation matrix: A matrix that represents a geometric transformation when multiplied by coordinate vectors

System modeling: Using matrices to represent and solve real-world problems with multiple constraints

Application methodology:
  1. Identify the problem type: Determine if it's a transformation or system problem
  2. Set up the mathematical model: Create appropriate matrix equations
  3. Apply transformation rules: Use the correct transformation matrix or vector
  4. Solve the system: Use matrix operations to find the solution
  5. Interpret results: Connect mathematical solution back to the original problem
Tip 1: Always verify that your solution satisfies all original constraints.
Tip 2: Draw diagrams to visualize geometric transformations.
Tip 3: Check that matrix dimensions are compatible before multiplication.
Solution: Exercises 4 to 5
4 Scaling transformation
Exercise 4
Apply a scaling transformation with factor 2 to triangle ABC with vertices A(1, 1), B(3, 1), C(2, 3)
Definition:

Scaling: A transformation that enlarges or reduces a figure by multiplying coordinates by scale factors

Scale Matrix
\(\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}\)
New Vertices
A'(2,2), B'(6,2), C'(4,6)
Step 1: Identify the scaling matrix

Uniform scaling by factor 2: \(S = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}\)

Step 2: Apply to each vertex

Vertex A: \(\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \cdot \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 2 \\ 2 \end{bmatrix}\)

Vertex B: \(\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \cdot \begin{bmatrix} 3 \\ 1 \end{bmatrix} = \begin{bmatrix} 6 \\ 2 \end{bmatrix}\)

Vertex C: \(\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \cdot \begin{bmatrix} 2 \\ 3 \end{bmatrix} = \begin{bmatrix} 4 \\ 6 \end{bmatrix}\)

Step 3: Extract new coordinates

A'(2, 2), B'(6, 2), C'(4, 6)

A'(2,2), B'(6,2), C'(4,6)
Final answer:

After scaling by factor 2, the vertices are A'(2, 2), B'(6, 2), and C'(4, 6)

Applied rules:

• Scaling matrix: For uniform scaling by factor k, use \(\begin{bmatrix} k & 0 \\ 0 & k \end{bmatrix}\)

• Point transformation: Multiply each coordinate vector by the transformation matrix

• Size change: The figure is enlarged by the scale factor

5 Network flow system
Exercise 5
Solve the traffic flow system where roads meet at junctions with the following constraints:
Junction A: \(x_1 + x_2 = 100\)
Junction B: \(x_1 - x_3 = 40\)
Junction C: \(x_2 + x_3 = 60\)
Definition:

Network flow: A system where quantities flow through interconnected nodes, governed by conservation laws

Matrix Form
\(\begin{bmatrix} 1 & 1 & 0 \\ 1 & 0 & -1 \\ 0 & 1 & 1 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 100 \\ 40 \\ 60 \end{bmatrix}\)
Solution
\(x_1 = 70\), \(x_2 = 30\), \(x_3 = 30\)
Step 1: Write the augmented matrix

\(\begin{bmatrix} 1 & 1 & 0 & | & 100 \\ 1 & 0 & -1 & | & 40 \\ 0 & 1 & 1 & | & 60 \end{bmatrix}\)

Step 2: Eliminate below first pivot

Operation: \(R_2 \leftarrow R_2 - R_1\)

New matrix: \(\begin{bmatrix} 1 & 1 & 0 & | & 100 \\ 0 & -1 & -1 & | & -60 \\ 0 & 1 & 1 & | & 60 \end{bmatrix}\)

Step 3: Continue elimination

Operation: \(R_3 \leftarrow R_3 + R_2\)

New matrix: \(\begin{bmatrix} 1 & 1 & 0 & | & 100 \\ 0 & -1 & -1 & | & -60 \\ 0 & 0 & 0 & | & 0 \end{bmatrix}\)

Step 4: Back-substitution

From row 2: \(-x_2 - x_3 = -60\), so \(x_2 + x_3 = 60\)

From row 1: \(x_1 + x_2 = 100\)

From constraint 2: \(x_1 - x_3 = 40\)

Solving: \(x_1 = 70\), \(x_2 = 30\), \(x_3 = 30\)

\(x_1 = 70\), \(x_2 = 30\), \(x_3 = 30\)
Final answer:

The traffic flows are \(x_1 = 70\), \(x_2 = 30\), and \(x_3 = 30\) vehicles per hour

Applied rules:

• Conservation law: Flow into junction equals flow out

• Matrix representation: Organize network constraints as linear system

• System solution: Use Gaussian elimination or substitution

Comprehensive Guide: Matrix Applications
\(T_{\text{combined}} = T_2 \cdot T_1, \quad \text{det}(A) \neq 0 \Rightarrow A^{-1} \text{ exists}\)
Combined Transformations and Invertibility
Key definitions:

Transformation composition: Applying multiple transformations in sequence, represented by matrix multiplication

Invertible matrix: A square matrix with a non-zero determinant, allowing for unique solutions to matrix equations

Application modeling: Using matrices to represent real-world systems with multiple constraints

Application methodology:
  1. Problem identification: Recognize whether to use transformations or systems
  2. Model construction: Create appropriate matrix representations
  3. Operation selection: Choose the right matrix operation for the task
  4. Calculation: Perform the matrix operations accurately
  5. Interpretation: Connect results back to the original problem context
Tip 1: Order matters in transformation composition: \(T_2 \circ T_1 \neq T_1 \circ T_2\) in general.
Tip 2: Always verify that your matrix equation solution satisfies all original constraints.
Tip 3: Draw diagrams for geometric transformations to visualize the changes.
Common errors: Incorrect matrix dimensions, arithmetic mistakes, misinterpreting results in problem context.
Exam preparation: Practice both transformation and system applications, memorize key transformation matrices.
Important properties and applications:

• Transformation preservation: Certain properties like parallelism are preserved under linear transformations

• System solvability: A system has a unique solution if and only if the coefficient matrix is invertible

• Real-world modeling: Many practical problems can be formulated as matrix equations

Visualization: Matrix Transformation Effects
Understanding How Matrices Transform Space
Visualizing different matrix transformations:
1. Identity transformation (no change)
2. Scaling transformation (enlargement/reduction)
3. Rotation transformation (turning)
4. Shear transformation (slanting)

Analysis: The visualization shows how different matrices transform geometric figures.

  • Identity matrix preserves original shape
  • Scaling matrix changes size proportionally
  • Rotation matrix turns the figure around origin
  • Shear matrix skews the figure

Questions & Answers

Question: How do I know which transformation matrix to use for different geometric transformations?

Answer: Here are the standard 2×2 transformation matrices:

  • Identity: \(\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\) (no change)
  • Scaling: \(\begin{bmatrix} k & 0 \\ 0 & k \end{bmatrix}\) (uniform), \(\begin{bmatrix} k_x & 0 \\ 0 & k_y \end{bmatrix}\) (non-uniform)
  • Rotation: \(\begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}\)
  • Reflection: \(\begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}\) (across x-axis), \(\begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}\) (across y-axis)

Memorize these basic forms and understand how each parameter affects the transformation.

Question: Can I use matrices to solve any system of equations?

Answer: Matrices can only be used for systems of linear equations. The system must be in the form \(Ax = b\) where A is a coefficient matrix, x is a variable vector, and b is a constant vector.

For the system to have a unique solution, the coefficient matrix A must be square and invertible (its determinant must be non-zero). If the system is non-linear (contains terms like \(x^2\), \(xy\), \(\sin(x)\), etc.), matrix methods won't work.

Question: What happens if I try to apply a transformation matrix to a non-square matrix?

Answer: Geometric transformation matrices are typically square (2×2 for 2D, 3×3 for 3D) and are designed to operate on coordinate vectors or matrices representing points in the same dimensional space.

If you have a matrix representing multiple points (like a 2×n matrix for n points in 2D), you can multiply the transformation matrix on the left: \(T_{2×2} \cdot P_{2×n} = P'_{2×n}\).

The key is ensuring that the number of columns in the first matrix equals the number of rows in the second matrix, following standard matrix multiplication rules.