Advanced Applications and Mathematical Connections

5. Comprehensive Problem Solving

Learning outcomes
  • I can solve complex multi-step problems involving vectors and matrices.
  • I can integrate concepts from throughout the course.
  • I can select efficient mathematical methods.
  • I can justify mathematical reasoning.
  • I can communicate complete mathematical solutions.

Introduction

Vectors and matrices are among the most powerful tools in mathematics because they allow us to represent, analyse, and solve problems involving several quantities simultaneously.

Throughout this course, we have explored how vectors describe magnitude and direction, how matrices represent transformations and systems of equations, and how linear algebra supports applications in science, engineering, computer graphics, data science, and artificial intelligence.

However, real-world mathematical problems rarely require just one isolated technique.

A navigation problem might combine vector addition, trigonometry, and simultaneous equations. An engineering problem might involve matrices, forces, and equilibrium conditions. A computer graphics problem may require several transformations applied in a particular order. A data science problem may combine matrix multiplication, regression, and optimisation.

Comprehensive problem solving involves recognising these connections and selecting the most appropriate mathematical tools.

In this lesson, we will integrate the major concepts from vectors and matrices, develop systematic problem-solving strategies, examine challenging multi-step applications, and practise communicating complete mathematical solutions.

 

The Mathematical Problem-Solving Process

Complex mathematical problems become more manageable when approached systematically.

A useful strategy involves six stages.

  1. Understand the problem. Identify the known information, unknown quantities, units, and required result.

  2. Construct a mathematical representation. Choose suitable vectors, matrices, equations, diagrams, or coordinate systems.

  3. Select an efficient method. Decide whether vector operations, matrix algebra, determinants, inverses, elimination, or optimisation methods are appropriate.

  4. Carry out the calculations. Work systematically, showing enough intermediate steps to make the solution clear.

  5. Verify the solution. Substitute results into the original equations, check dimensions, and test whether physical constraints are satisfied.

  6. Interpret and communicate. State what the mathematical result means in the original context, including units and limitations.

This process is particularly important when a problem requires several different mathematical ideas.

 

Reviewing the Main Tools of Linear Algebra

Before solving integrated problems, we should recognise the major mathematical techniques available.

Mathematical concept

Main purpose

Typical application

Vector addition

Combine quantities with direction

Displacement and forces

Scalar multiplication

Change vector magnitude

Velocity and scaling

Dot product

Calculate projections, work, or angles

Physics and similarity

Cross product

Find perpendicular vectors and moments

Mechanics and geometry

Matrix multiplication

Combine transformations or relationships

Graphics and data analysis

Determinants

Test invertibility and measure area or volume scaling

Geometry and systems

Inverse matrices

Reverse an invertible transformation

Solving systems

Gaussian elimination

Solve simultaneous linear equations

Engineering and modelling

Eigenvalues and eigenvectors

Identify invariant directions and scaling factors

Dynamics and data science

Matrix modelling

Represent relationships between variables

Economics and science

Optimisation

Find the best feasible solution

Production and resource allocation

The key skill is not simply remembering these techniques. It is recognising which technique is appropriate and why.

 

Choosing an Efficient Mathematical Method

Different mathematical problems suggest different approaches.

Interactive method selector

Choose the type of problem you need to solve.

 
 
 
 
 
 
 

Recommended approach: Gaussian elimination or matrix methods

Represent the equations as A x = b. Row reduction is generally reliable, including when a matrix is singular. For a small invertible system, an inverse may also be useful.

Verification: Substitute the solution into every original equation.

A good mathematician selects a method based on the structure of the problem rather than applying the same procedure to every situation.

 

Integrated Problem 1: Navigation Using Vectors

A rescue boat travels 12 km east and then 9 km north.

A current subsequently causes an additional displacement of 3 km west and 4 km south.

Determine the boat's final displacement from its starting position.

Step 1: Choose a Coordinate System

Let:

  • East be the positive x-direction.

  • North be the positive y-direction.

The first displacement is:

\[ \mathbf a= \begin{bmatrix} 12\\0 \end{bmatrix} \]

The second displacement is:

\[ \mathbf b= \begin{bmatrix} 0\\9 \end{bmatrix} \]

The current produces:

\[ \mathbf c= \begin{bmatrix} -3\\-4 \end{bmatrix} \]

Step 2: Add the Displacement Vectors

\[ \mathbf R=\mathbf a+\mathbf b+\mathbf c \]
\[ \mathbf R= \begin{bmatrix} 12\\0 \end{bmatrix} + \begin{bmatrix} 0\\9 \end{bmatrix} + \begin{bmatrix} -3\\-4 \end{bmatrix} \]
\[ \boxed{ \mathbf R= \begin{bmatrix} 9\\5 \end{bmatrix} } \]

The boat finishes 9 km east and 5 km north of its starting position.

Step 3: Calculate the Magnitude

\[ |\mathbf R|=\sqrt{9^2+5^2} \]
\[ =\sqrt{106} \]
\[ \boxed{|\mathbf R|\approx10.30\text{ km}} \]

Step 4: Calculate the Direction

\[ \tan\theta=\frac59 \]
\[ \theta=\tan^{-1}\left(\frac59\right) \]
\[ \boxed{\theta\approx29.1^\circ} \]

The direction is 29.1° north of east.

Final Answer

The resultant displacement is approximately 10.30 km at 29.1° north of east.

Verification

The horizontal displacement is:

12 − 3 = 9 km east.

The vertical displacement is:

9 − 4 = 5 km north.

Both components agree with the resultant vector.

 

Integrated Problem 2: Forces and Equilibrium

A sign with weight 120 N hangs from two cables.

The left cable makes an angle of 30° above the horizontal.

The right cable makes an angle of 60° above the horizontal.

Determine the tension in each cable.

Step 1: Define the Unknowns

Let:

T₁ = tension in the left cable.

T₂ = tension in the right cable.

The sign is stationary, so the net force is zero.

Step 2: Resolve Horizontal Forces

The horizontal components must balance:

\[ T_1\cos30^\circ=T_2\cos60^\circ \]

Therefore:

\[ \frac{\sqrt3}{2}T_1-\frac12T_2=0 \]

Multiplying by 2:

\[ \sqrt3T_1-T_2=0 \]

Step 3: Resolve Vertical Forces

The upward forces must balance the weight:

\[ T_1\sin30^\circ+T_2\sin60^\circ=120 \]

Therefore:

\[ \frac12T_1+\frac{\sqrt3}{2}T_2=120 \]

Multiplying by 2:

\[ T_1+\sqrt3T_2=240 \]

Step 4: Express as a Matrix Equation

\[ \boxed{ \begin{bmatrix} \sqrt3&-1\\ 1&\sqrt3 \end{bmatrix} \begin{bmatrix} T_1\\T_2 \end{bmatrix} = \begin{bmatrix} 0\\240 \end{bmatrix} } \]

Step 5: Solve the System

From the first equation:

\[ T_2=\sqrt3T_1 \]

Substitute:

\[ T_1+\sqrt3(\sqrt3T_1)=240 \]
\[ T_1+3T_1=240 \]
\[ 4T_1=240 \]
\[ \boxed{T_1=60\text{ N}} \]

Then:

\[ T_2=60\sqrt3 \]
\[ \boxed{T_2\approx103.9\text{ N}} \]

Step 6: Verify

Horizontal components:

\[ 60\cos30^\circ\approx51.96 \]
\[ 103.9\cos60^\circ\approx51.96 \]

Vertical components:

\[ 60\sin30^\circ+103.9\sin60^\circ \]
\[ \approx30+90=120 \]

Both equilibrium conditions are satisfied.

Interpretation

The right cable has greater tension because it provides a larger share of the upward force.

This problem integrates vector resolution, trigonometry, matrix representation, and simultaneous equations.

 

Integrated Problem 3: Solving an Engineering System

An electrical network is modelled by three simultaneous equations:

\[ 3I_1-I_2=7 \]
\[ -I_1+4I_2-I_3=4 \]
\[ -I_2+3I_3=5 \]

where I₁, I₂, and I₃ are currents measured in amperes.

Find the three currents.

Step 1: Construct the Matrix Equation

\[ A\mathbf I=\mathbf b \]

where:

\[ A= \begin{bmatrix} 3&-1&0\\ -1&4&-1\\ 0&-1&3 \end{bmatrix} \]
\[ \mathbf I= \begin{bmatrix} I_1\\I_2\\I_3 \end{bmatrix} \]
\[ \mathbf b= \begin{bmatrix} 7\\4\\5 \end{bmatrix} \]

Step 2: Use Substitution or Elimination

From the first equation:

\[ I_2=3I_1-7 \]

From the third:

\[ I_2=3I_3-5 \]

Therefore:

\[ 3I_1-7=3I_3-5 \]
\[ 3I_1-3I_3=2 \]
\[ I_1=I_3+\frac23 \]

Substitute into the middle equation:

\[ -I_1+4I_2-I_3=4 \]

Using I₂ = 3I₃ − 5:

\[ -\left(I_3+\frac23\right)+4(3I_3-5)-I_3=4 \]
\[ 10I_3-\frac{62}{3}=4 \]
\[ 10I_3=\frac{74}{3} \]
\[ \boxed{I_3=\frac{37}{15}\text{ A}} \]

Then:

\[ I_1=\frac{37}{15}+\frac{10}{15} \]
\[ \boxed{I_1=\frac{47}{15}\text{ A}} \]

And:

\[ I_2=3\left(\frac{37}{15}\right)-5 \]
\[ =\frac{111}{15}-\frac{75}{15} \]
\[ \boxed{I_2=\frac{12}{5}\text{ A}} \]

Final Answer

\[ \boxed{ \mathbf I= \begin{bmatrix} 47/15\\ 12/5\\ 37/15 \end{bmatrix}\text{ A} } \]

Approximately:

I₁ = 3.13 A

I₂ = 2.40 A

I₃ = 2.47 A

Verification

First equation:

\[ 3\left(\frac{47}{15}\right)-\frac{12}{5} =\frac{47}{5}-\frac{12}{5}=7 \]

Second equation:

\[ -\frac{47}{15}+4\left(\frac{12}{5}\right)-\frac{37}{15} =-\frac{84}{15}+\frac{48}{5}=4 \]

Third equation:

\[ -\frac{12}{5}+3\left(\frac{37}{15}\right) =-\frac{12}{5}+\frac{37}{5}=5 \]

All equations are satisfied.

 

Integrated Problem 4: Determinants and Inverse Matrices

Consider the matrix:

\[ A= \begin{bmatrix} 4&2\\ 1&3 \end{bmatrix} \]

We want to determine whether A is invertible and use it to solve:

\[ A\mathbf x= \begin{bmatrix} 10\\7 \end{bmatrix} \]

Step 1: Calculate the Determinant

For a 2 × 2 matrix:

\[ \det(A)=ad-bc \]

Therefore:

\[ \det(A)=4(3)-2(1) \]
\[ \boxed{\det(A)=10} \]

Since the determinant is nonzero, A is invertible.

Step 2: Find the Inverse

\[ A^{-1}=\frac1{10} \begin{bmatrix} 3&-2\\ -1&4 \end{bmatrix} \]

Step 3: Solve

\[ \mathbf x=A^{-1}\mathbf b \]
\[ =\frac1{10} \begin{bmatrix} 3&-2\\ -1&4 \end{bmatrix} \begin{bmatrix} 10\\7 \end{bmatrix} \]
\[ =\frac1{10} \begin{bmatrix} 30-14\\ -10+28 \end{bmatrix} \]
\[ =\frac1{10} \begin{bmatrix} 16\\18 \end{bmatrix} \]
\[ \boxed{ \mathbf x= \begin{bmatrix} 1.6\\1.8 \end{bmatrix} } \]

Step 4: Verify

\[ A\mathbf x= \begin{bmatrix} 4(1.6)+2(1.8)\\ 1(1.6)+3(1.8) \end{bmatrix} \]
\[ = \begin{bmatrix} 10\\7 \end{bmatrix} \]

The solution is correct.

Choosing an Efficient Method

For a single system, Gaussian elimination is often more efficient than calculating the inverse explicitly.

However, the inverse is useful when investigating the transformation itself or when studying how solutions depend on different right-hand-side vectors.

 

Integrated Problem 5: Geometric Transformations

A triangle has vertices:

A(1, 1)

B(3, 1)

C(2, 3)

It undergoes the following transformations:

  1. Reflection in the y-axis.

  2. Rotation of 90° anticlockwise about the origin.

  3. Enlargement by scale factor 2.

Determine the final coordinates.

Step 1: Reflection Matrix

Reflection in the y-axis:

\[ F= \begin{bmatrix} -1&0\\ 0&1 \end{bmatrix} \]

Step 2: Rotation Matrix

A 90° anticlockwise rotation:

\[ R= \begin{bmatrix} 0&-1\\ 1&0 \end{bmatrix} \]

Step 3: Enlargement Matrix

Scale factor 2:

\[ S= \begin{bmatrix} 2&0\\ 0&2 \end{bmatrix} \]

Step 4: Combine the Transformations

The transformations are applied in the order:

Reflection, rotation, enlargement.

Therefore:

\[ \boxed{T=SRF} \]

First:

\[ RF= \begin{bmatrix} 0&-1\\ -1&0 \end{bmatrix} \]

Then:

\[ T= \begin{bmatrix} 2&0\\ 0&2 \end{bmatrix} \begin{bmatrix} 0&-1\\ -1&0 \end{bmatrix} \]
\[ \boxed{ T= \begin{bmatrix} 0&-2\\ -2&0 \end{bmatrix} } \]

Step 5: Transform Each Vertex

For any point:

\[ \begin{bmatrix} x'\\y' \end{bmatrix} = \begin{bmatrix} 0&-2\\ -2&0 \end{bmatrix} \begin{bmatrix} x\\y \end{bmatrix} \]

Therefore:

\[ \boxed{x'=-2y,\quad y'=-2x} \]

For A(1, 1):

A′(−2, −2)

For B(3, 1):

B′(−2, −6)

For C(2, 3):

C′(−6, −4)

Final Answer

\[ \boxed{A'(-2,-2)} \]
\[ \boxed{B'(-2,-6)} \]
\[ \boxed{C'(-6,-4)} \]

Step 6: Verify Using the Determinant

\[ \det(T)=0(0)-(-2)(-2) \]
\[ \boxed{\det(T)=-4} \]

The absolute determinant is 4.

Therefore, areas are multiplied by 4.

The negative sign indicates a reversal of orientation.

This is consistent with the reflection.

 

Integrated Problem 6: Eigenvalues and Long-Term Behaviour

Consider a system described by:

\[ \mathbf x_{n+1}=A\mathbf x_n \]

where:

\[ A= \begin{bmatrix} 0.8&0.3\\ 0.2&0.7 \end{bmatrix} \]

The matrix represents movement between two categories.

Each column sums to 1, so A is a column-stochastic transition matrix.

Suppose:

\[ \mathbf x_0= \begin{bmatrix} 100\\0 \end{bmatrix} \]

Step 1: Calculate the First State

\[ \mathbf x_1=A\mathbf x_0 \]
\[ = \begin{bmatrix} 0.8&0.3\\ 0.2&0.7 \end{bmatrix} \begin{bmatrix} 100\\0 \end{bmatrix} \]
\[ \boxed{ \mathbf x_1= \begin{bmatrix} 80\\20 \end{bmatrix} } \]

Step 2: Calculate the Second State

\[ \mathbf x_2=A\mathbf x_1 \]
\[ = \begin{bmatrix} 0.8(80)+0.3(20)\\ 0.2(80)+0.7(20) \end{bmatrix} \]
\[ \boxed{ \mathbf x_2= \begin{bmatrix} 70\\30 \end{bmatrix} } \]

Step 3: Find the Steady State

A steady-state vector satisfies:

\[ A\mathbf v=\mathbf v \]

Therefore:

\[ (A-I)\mathbf v=\mathbf0 \]

Let:

\[ \mathbf v= \begin{bmatrix} a\\b \end{bmatrix} \]

Then:

\[ 0.8a+0.3b=a \]
\[ -0.2a+0.3b=0 \]

Therefore:

\[ 0.3b=0.2a \]
\[ b=\frac23a \]

The total population is 100:

\[ a+b=100 \]
\[ a+\frac23a=100 \]
\[ \frac53a=100 \]
\[ a=60 \]
\[ b=40 \]

Final Answer

\[ \boxed{ \mathbf v= \begin{bmatrix} 60\\40 \end{bmatrix} } \]

The system approaches a steady-state distribution of 60 in the first category and 40 in the second.

Interpretation

The steady-state vector is an eigenvector associated with eigenvalue 1.

The other eigenvalue is 0.5, so deviations from the steady state decrease over time.

This connects matrix multiplication, eigenvalues, eigenvectors, and mathematical modelling.

 

Integrated Problem 7: Data Science and Least Squares

A scientist measures how a quantity y changes with x.

The observations are:

x

y

1

3

2

5

3

7

The scientist wants to fit a linear model:

\[ y=mx+b \]

Step 1: Construct the Design Matrix

\[ A= \begin{bmatrix} 1&1\\ 2&1\\ 3&1 \end{bmatrix} \]

The parameter vector is:

\[ \boldsymbol\beta= \begin{bmatrix} m\\b \end{bmatrix} \]

The observation vector is:

\[ \mathbf y= \begin{bmatrix} 3\\5\\7 \end{bmatrix} \]

Step 2: Form the Normal Equations

\[ A^TA\boldsymbol\beta=A^T\mathbf y \]

Calculate:

\[ A^TA= \begin{bmatrix} 14&6\\ 6&3 \end{bmatrix} \]

and:

\[ A^T\mathbf y= \begin{bmatrix} 34\\15 \end{bmatrix} \]

Therefore:

\[ \begin{bmatrix} 14&6\\ 6&3 \end{bmatrix} \begin{bmatrix} m\\b \end{bmatrix} = \begin{bmatrix} 34\\15 \end{bmatrix} \]

Step 3: Solve

The equations are:

\[ 14m+6b=34 \]
\[ 6m+3b=15 \]

Multiply the second equation by 2:

\[ 12m+6b=30 \]

Subtract:

\[ 2m=4 \]
\[ m=2 \]

Then:

\[ 6(2)+3b=15 \]
\[ 3b=3 \]
\[ b=1 \]

Final Model

\[ \boxed{y=2x+1} \]

Step 4: Verify

For x = 1:

y = 3

For x = 2:

y = 5

For x = 3:

y = 7

All observations lie exactly on the fitted line.

The residuals are all zero.

Therefore:

\[ \boxed{SSE=0} \]

This example integrates matrices, simultaneous equations, and statistical modelling.

 

Integrated Problem 8: Optimisation and Resource Allocation

A company produces two products.

Product A earns $30 profit per unit.

Product B earns $50 profit per unit.

The constraints are:

\[ 2x+y\leq100 \]
\[ x+2y\leq80 \]
\[ x,y\geq0 \]

Find the maximum profit.

Step 1: Write the Objective Function

\[ \boxed{P=30x+50y} \]

Step 2: Determine the Vertices

The feasible region has vertices:

(0, 0)

(50, 0)

(0, 40)

and the intersection of:

2x + y = 100

x + 2y = 80

Solving gives:

\[ x=40,\quad y=20 \]

Step 3: Evaluate the Objective

Vertex

Profit

(0, 0)

$0

(50, 0)

$1,500

(0, 40)

$2,000

(40, 20)

$2,200

Final Answer

\[ \boxed{x=40,\quad y=20} \]
\[ \boxed{P_{\max}=\$2200} \]

Interpretation

The company should produce 40 units of A and 20 units of B.

Both constraints are active at the optimum:

\[ 2(40)+20=100 \]
\[ 40+2(20)=80 \]

The solution is feasible and maximises the linear objective.

 

Integrated Problem 9: Three-Dimensional Geometry

Consider the vectors:

\[ \mathbf a= \begin{bmatrix} 2\\1\\3 \end{bmatrix} \]
\[ \mathbf b= \begin{bmatrix} 1\\4\\-2 \end{bmatrix} \]

Find:

  1. Their dot product.

  2. The angle between them.

  3. Their cross product.

  4. The area of the parallelogram they form.

Step 1: Dot Product

\[ \mathbf a\cdot\mathbf b=2(1)+1(4)+3(-2) \]
\[ =2+4-6 \]
\[ \boxed{\mathbf a\cdot\mathbf b=0} \]

Therefore, the vectors are perpendicular.

Step 2: Angle

\[ \cos\theta=\frac{\mathbf a\cdot\mathbf b}{|\mathbf a||\mathbf b|} \]

Since the dot product is zero:

\[ \cos\theta=0 \]
\[ \boxed{\theta=90^\circ} \]

Step 3: Cross Product

\[ \mathbf a\times\mathbf b= \begin{vmatrix} \mathbf i&\mathbf j&\mathbf k\\ 2&1&3\\ 1&4&-2 \end{vmatrix} \]

Calculate:

\[ \mathbf a\times\mathbf b= \begin{bmatrix} 1(-2)-3(4)\\ 3(1)-2(-2)\\ 2(4)-1(1) \end{bmatrix} \]
\[ \boxed{ \mathbf a\times\mathbf b= \begin{bmatrix} -14\\7\\7 \end{bmatrix} } \]

Step 4: Parallelogram Area

\[ A=|\mathbf a\times\mathbf b| \]
\[ =\sqrt{(-14)^2+7^2+7^2} \]
\[ =\sqrt{294} \]
\[ \boxed{A=7\sqrt6\approx17.15} \]

The parallelogram has an area of approximately 17.15 square units.

Verification

Because the vectors are perpendicular:

\[ A=|\mathbf a||\mathbf b| \]
\[ |\mathbf a|=\sqrt{14} \]
\[ |\mathbf b|=\sqrt{21} \]

Therefore:

\[ A=\sqrt{14}\sqrt{21}=\sqrt{294} \]

Both methods agree.

 

Integrated Problem 10: A Mathematical Modelling Investigation

A delivery drone must travel from a warehouse to a destination.

The destination is located:

  • 6 km east.

  • 8 km north.

A steady wind produces a velocity of:

\[ \mathbf w= \begin{bmatrix} -2\\1 \end{bmatrix}\text{ km/h} \]

The drone must arrive in exactly 1 hour.

Determine the required air-velocity vector and its magnitude.

Step 1: Define the Required Ground Velocity

The displacement vector is:

\[ \mathbf d= \begin{bmatrix} 6\\8 \end{bmatrix}\text{ km} \]

Since the journey takes 1 hour:

\[ \mathbf v_g=\frac{\mathbf d}{t} \]
\[ \boxed{ \mathbf v_g= \begin{bmatrix} 6\\8 \end{bmatrix}\text{ km/h} } \]

Step 2: Relate Ground Velocity, Air Velocity, and Wind

\[ \boxed{\mathbf v_g=\mathbf v_a+\mathbf w} \]

Therefore:

\[ \mathbf v_a=\mathbf v_g-\mathbf w \]

Step 3: Calculate Air Velocity

\[ \mathbf v_a= \begin{bmatrix} 6\\8 \end{bmatrix} - \begin{bmatrix} -2\\1 \end{bmatrix} \]
\[ \boxed{ \mathbf v_a= \begin{bmatrix} 8\\7 \end{bmatrix}\text{ km/h} } \]

Step 4: Calculate Airspeed

\[ |\mathbf v_a|=\sqrt{8^2+7^2} \]
\[ =\sqrt{113} \]
\[ \boxed{|\mathbf v_a|\approx10.63\text{ km/h}} \]

Step 5: Calculate Heading

\[ \tan\theta=\frac78 \]
\[ \boxed{\theta\approx41.2^\circ} \]

The drone must head approximately 41.2° north of east relative to the air.

Step 6: Verify

\[ \mathbf v_a+\mathbf w= \begin{bmatrix} 8\\7 \end{bmatrix} + \begin{bmatrix} -2\\1 \end{bmatrix} = \begin{bmatrix} 6\\8 \end{bmatrix} \]

Over one hour, this produces the required displacement.

Model Evaluation

This solution assumes:

  • Wind velocity is constant.

  • The drone maintains a constant air velocity.

  • The route is unobstructed.

  • Acceleration and takeoff time are negligible.

  • The drone can maintain the required airspeed.

A more realistic model might include changing wind, energy consumption, battery limits, and flight restrictions.

 

Mathematical Communication and Justification

A complete mathematical solution should communicate more than a final number.

A strong solution contains:

  • Clearly defined variables.

  • Appropriate mathematical representations.

  • A justified choice of method.

  • Correct algebraic or numerical working.

  • Suitable units.

  • Verification of results.

  • Interpretation in context.

  • Recognition of assumptions and limitations.

Example: Weak and Strong Communication

Weak response:

x = 40, y = 20.

Stronger response:

Let x and y represent the numbers of units of Products A and B. The objective is to maximise P = 30x + 50y subject to the production constraints. Evaluating the objective at the feasible vertices gives the maximum profit of $2,200 at (40, 20). Therefore, the company should produce 40 units of A and 20 units of B. Both resource constraints are satisfied with equality.

The second response explains the meaning of the variables, the mathematical method, the result, and its interpretation.

 

Common Mistakes

Mistake 1: Choosing a method before understanding the problem

Always identify the mathematical structure before deciding on a technique.

Mistake 2: Confusing scalar and vector quantities

Vectors have magnitude and direction, while scalars have magnitude only.

Mistake 3: Adding vectors without considering direction

Vector components must be added using a consistent coordinate system.

Mistake 4: Using the wrong matrix multiplication order

In general:

AB ≠ BA

For column vectors, the rightmost transformation matrix acts first.

Mistake 5: Assuming every square matrix is invertible

A matrix is invertible only when its determinant is nonzero.

Mistake 6: Using an inverse without checking dimensions

The inverse method requires an appropriate square, invertible coefficient matrix.

Mistake 7: Confusing dot products and cross products

A dot product produces a scalar. A three-dimensional cross product produces a vector.

Mistake 8: Misinterpreting eigenvectors

Eigenvectors retain their direction or line under a transformation, but may change magnitude or reverse orientation.

Mistake 9: Forgetting constraints in optimisation

An unconstrained solution may not be feasible.

Mistake 10: Assuming numerical results are automatically meaningful

A mathematical solution must be interpreted in the original context.

Mistake 11: Rounding too early

Keep exact values or sufficient decimal precision during intermediate calculations.

Mistake 12: Failing to verify solutions

Substitution and alternative methods help identify mistakes.

Mistake 13: Ignoring units

Physical quantities must be reported using appropriate units.

Mistake 14: Confusing local and global solutions

A local optimum may not be the best solution over the entire feasible region.

Mistake 15: Presenting answers without justification

Mathematical communication should explain why the method works and what the result means.

 

Key Terms

  • Vector: Quantity represented by magnitude and direction, or more generally an element of a vector space.

  • Scalar: Single numerical quantity.

  • Component: Coordinate of a vector along a specified axis.

  • Resultant Vector: Vector obtained by combining two or more vectors.

  • Magnitude: Length or size of a vector.

  • Unit Vector: Vector with magnitude 1.

  • Dot Product: Scalar obtained from corresponding vector components.

  • Cross Product: Vector perpendicular to two three-dimensional vectors.

  • Projection: Component of one vector along another direction.

  • Matrix: Rectangular arrangement of numerical entries.

  • Matrix Multiplication: Operation combining rows and columns of compatible matrices.

  • Transpose: Matrix obtained by interchanging rows and columns.

  • Determinant: Scalar associated with a square matrix that indicates invertibility and geometric scaling.

  • Inverse Matrix: Matrix that reverses the effect of an invertible matrix.

  • Identity Matrix: Matrix that leaves vectors unchanged under multiplication.

  • Gaussian Elimination: Method of solving linear systems using row operations.

  • Rank: Number of linearly independent rows or columns of a matrix.

  • Linear Independence: Condition where no vector in a collection can be formed as a linear combination of the others.

  • Basis: Linearly independent set of vectors spanning a vector space.

  • Eigenvalue: Scalar describing how an eigenvector is scaled by a transformation.

  • Eigenvector: Nonzero vector whose direction remains along the same line under a linear transformation.

  • Transformation Matrix: Matrix representing a linear transformation.

  • Composite Transformation: Combination of two or more transformations.

  • Equilibrium: State in which the resultant force is zero.

  • Steady State: State unchanged by repeated application of a transition model.

  • Transition Matrix: Matrix describing movement between states.

  • Least Squares: Method that minimises the sum of squared residuals.

  • Residual: Difference between an observed and predicted value.

  • Optimisation: Process of finding the best value of an objective.

  • Objective Function: Function to be maximised or minimised.

  • Constraint: Restriction on possible solutions.

  • Feasible Region: Set of all solutions satisfying the constraints.

  • Mathematical Model: Mathematical representation of a real system.

  • Verification: Process of checking whether a result satisfies the original conditions.

  • Mathematical Justification: Explanation showing why a method or conclusion is valid.

 

Key Takeaways

  • Complex problems often require several mathematical concepts to be combined.

  • The first step is to understand the problem and identify the relevant variables.

  • Vectors are useful for representing displacement, velocity, force, and other multicomponent quantities.

  • Dot products help calculate angles, projections, and physical work.

  • Cross products help calculate perpendicular directions, areas, and moments.

  • Matrices provide compact representations of simultaneous equations and transformations.

  • Gaussian elimination is a versatile method for solving linear systems.

  • Determinants help determine whether square matrices are invertible.

  • Matrix multiplication allows transformations to be combined.

  • The order of transformations matters.

  • Eigenvalues and eigenvectors describe important properties of repeated linear transformations.

  • Matrix models are useful for analysing systems that evolve over time.

  • Least-squares methods use matrices to fit mathematical models to data.

  • Optimisation identifies the best feasible solution to a mathematical problem.

  • Efficient problem solving involves selecting methods suited to the mathematical structure.

  • Verification is essential for detecting errors and confirming results.

  • Mathematical communication should include definitions, reasoning, calculations, and interpretations.

  • Real-world models must be evaluated for assumptions, limitations, and practical usefulness.

 

Check Your Understanding

Questions

Question 1: Vector Addition

Given:

\[ \mathbf a= \begin{bmatrix} 4\\-2 \end{bmatrix} \]

and:

\[ \mathbf b= \begin{bmatrix} -1\\5 \end{bmatrix} \]

Calculate 2a + b.

Question 2: Resultant Displacement

A person walks 8 km east and 6 km north.

Calculate the magnitude and direction of the resultant displacement.

Question 3: Dot Product

Given:

\[ \mathbf a= \begin{bmatrix} 3\\4 \end{bmatrix} \]

and:

\[ \mathbf b= \begin{bmatrix} 4\\-3 \end{bmatrix} \]

Calculate their dot product and determine the angle between them.

Question 4: Cross Product

Calculate:

\[ \begin{bmatrix} 1\\2\\3 \end{bmatrix} \times \begin{bmatrix} 2\\0\\1 \end{bmatrix} \]

Question 5: Matrix Multiplication

Calculate:

\[ \begin{bmatrix} 2&1\\ 3&4 \end{bmatrix} \begin{bmatrix} 1&2\\ 0&3 \end{bmatrix} \]

Question 6: Determinants

Calculate the determinant of:

\[ A= \begin{bmatrix} 5&2\\ 3&4 \end{bmatrix} \]

Determine whether A is invertible.

Question 7: Inverse Matrix

Find the inverse of:

\[ A= \begin{bmatrix} 2&1\\ 1&1 \end{bmatrix} \]

Question 8: Solving Systems

Solve:

\[ 2x+y=7 \]
\[ x+3y=11 \]

Question 9: Geometric Transformations

A point P(2, 3) is reflected in the x-axis and then rotated 90° anticlockwise.

Find its final coordinates.

Question 10: Eigenvalues

Find the eigenvalues of:

\[ A= \begin{bmatrix} 3&0\\ 0&5 \end{bmatrix} \]

Question 11: Matrix Modelling

Given:

\[ A= \begin{bmatrix} 0.7&0.2\\ 0.3&0.8 \end{bmatrix} \]

and:

\[ \mathbf x_0= \begin{bmatrix} 60\\40 \end{bmatrix} \]

Calculate the next state.

Question 12: Least Squares

A model predicts:

5, 7, 9

Actual observations are:

6, 8, 8

Calculate the sum of squared errors.

Question 13: Optimisation

Maximise:

\[ P=4x+3y \]

subject to:

\[ x+y\leq8 \]
\[ x\leq5 \]
\[ y\leq6 \]
\[ x,y\geq0 \]

Question 14: Engineering Equilibrium

Two horizontal forces act on an object:

\[ \mathbf F_1= \begin{bmatrix} 20\\0 \end{bmatrix}\text{ N} \]
\[ \mathbf F_2= \begin{bmatrix} -8\\12 \end{bmatrix}\text{ N} \]

Find the third force required for equilibrium.

Question 15: Comprehensive Integrated Challenge

A robot operates in a two-dimensional coordinate system.

Its initial position is:

\[ \mathbf p= \begin{bmatrix} 3\\2 \end{bmatrix} \]

The robot performs the following operations:

  1. Rotates 90° anticlockwise about the origin.

  2. Enlarges its position vector by scale factor 2.

  3. Moves 4 units east and 3 units north.

a) Write the rotation matrix.

b) Write the scaling matrix.

c) Calculate the composite linear transformation matrix.

d) Find the position after the first two transformations.

e) Find the final position after translation.

f) Calculate the distance from the origin to the final position.

g) Explain why translation cannot be represented by a standard 2 × 2 linear transformation matrix.

h) Explain how homogeneous coordinates could represent all three transformations using matrices.

 

Fully Worked Answers

Answer 1: Vector Addition

\[ 2\mathbf a+\mathbf b= 2\begin{bmatrix} 4\\-2 \end{bmatrix} + \begin{bmatrix} -1\\5 \end{bmatrix} \]
\[ = \begin{bmatrix} 8\\-4 \end{bmatrix} + \begin{bmatrix} -1\\5 \end{bmatrix} \]
\[ \boxed{ 2\mathbf a+\mathbf b= \begin{bmatrix} 7\\1 \end{bmatrix} } \]

Answer 2: Resultant Displacement

The resultant vector is:

\[ \mathbf R= \begin{bmatrix} 8\\6 \end{bmatrix} \]

Magnitude:

\[ |\mathbf R|=\sqrt{8^2+6^2} \]
\[ =\sqrt{100} \]
\[ \boxed{|\mathbf R|=10\text{ km}} \]

Direction:

\[ \tan\theta=\frac68 \]
\[ \boxed{\theta\approx36.9^\circ} \]

The displacement is 10 km at 36.9° north of east.

Answer 3: Dot Product

\[ \mathbf a\cdot\mathbf b=3(4)+4(-3) \]
\[ =12-12 \]
\[ \boxed{\mathbf a\cdot\mathbf b=0} \]

Since both vectors are nonzero and their dot product is zero, they are perpendicular.

\[ \boxed{\theta=90^\circ} \]

Answer 4: Cross Product

Let:

\[ \mathbf a= \begin{bmatrix} 1\\2\\3 \end{bmatrix} \]
\[ \mathbf b= \begin{bmatrix} 2\\0\\1 \end{bmatrix} \]

Then:

\[ \mathbf a\times\mathbf b= \begin{bmatrix} 2(1)-3(0)\\ 3(2)-1(1)\\ 1(0)-2(2) \end{bmatrix} \]
\[ \boxed{ \mathbf a\times\mathbf b= \begin{bmatrix} 2\\5\\-4 \end{bmatrix} } \]

Answer 5: Matrix Multiplication

\[ \begin{bmatrix} 2&1\\ 3&4 \end{bmatrix} \begin{bmatrix} 1&2\\ 0&3 \end{bmatrix} \]

First row:

2(1) + 1(0) = 2

2(2) + 1(3) = 7

Second row:

3(1) + 4(0) = 3

3(2) + 4(3) = 18

Therefore:

\[ \boxed{ \begin{bmatrix} 2&7\\ 3&18 \end{bmatrix} } \]

Answer 6: Determinants

\[ A= \begin{bmatrix} 5&2\\ 3&4 \end{bmatrix} \]
\[ \det(A)=5(4)-2(3) \]
\[ =20-6 \]
\[ \boxed{\det(A)=14} \]

Since the determinant is nonzero, A is invertible.

Answer 7: Inverse Matrix

\[ A= \begin{bmatrix} 2&1\\ 1&1 \end{bmatrix} \]

Determinant:

\[ \det(A)=2(1)-1(1)=1 \]

Therefore:

\[ \boxed{ A^{-1}= \begin{bmatrix} 1&-1\\ -1&2 \end{bmatrix} } \]

Answer 8: Solving Systems

Given:

\[ 2x+y=7 \]
\[ x+3y=11 \]

From the first equation:

\[ y=7-2x \]

Substitute:

\[ x+3(7-2x)=11 \]
\[ x+21-6x=11 \]
\[ -5x=-10 \]
\[ x=2 \]

Then:

\[ y=7-2(2)=3 \]
\[ \boxed{x=2,\quad y=3} \]

Answer 9: Geometric Transformations

Initial point:

P(2, 3)

Reflection in the x-axis:

\[ (x,y)\rightarrow(x,-y) \]

Therefore:

P′(2, −3)

Rotation 90° anticlockwise:

\[ (x,y)\rightarrow(-y,x) \]

Therefore:

\[ \boxed{P''(3,2)} \]

Answer 10: Eigenvalues

\[ A= \begin{bmatrix} 3&0\\ 0&5 \end{bmatrix} \]

For a diagonal matrix, the eigenvalues are its diagonal entries.

Therefore:

\[ \boxed{\lambda_1=3,\quad\lambda_2=5} \]

Answer 11: Matrix Modelling

\[ \mathbf x_1=A\mathbf x_0 \]
\[ = \begin{bmatrix} 0.7&0.2\\ 0.3&0.8 \end{bmatrix} \begin{bmatrix} 60\\40 \end{bmatrix} \]

First component:

0.7(60) + 0.2(40) = 42 + 8 = 50

Second component:

0.3(60) + 0.8(40) = 18 + 32 = 50

Therefore:

\[ \boxed{ \mathbf x_1= \begin{bmatrix} 50\\50 \end{bmatrix} } \]

Answer 12: Least Squares

Actual values:

6, 8, 8

Predicted values:

5, 7, 9

Residuals:

6 − 5 = 1

8 − 7 = 1

8 − 9 = −1

Square:

1, 1, 1

Therefore:

\[ SSE=1+1+1 \]
\[ \boxed{SSE=3} \]

Answer 13: Optimisation

Objective:

\[ P=4x+3y \]

Constraints:

\[ x+y\leq8 \]
\[ x\leq5 \]
\[ y\leq6 \]

The feasible vertices are:

(0, 0)

(5, 0)

(5, 3)

(2, 6)

(0, 6)

Evaluate:

Vertex

P

(0, 0)

0

(5, 0)

20

(5, 3)

29

(2, 6)

26

(0, 6)

18

Therefore:

\[ \boxed{P_{\max}=29} \]

at:

\[ \boxed{(x,y)=(5,3)} \]

Answer 14: Engineering Equilibrium

For equilibrium:

\[ \mathbf F_1+\mathbf F_2+\mathbf F_3=\mathbf0 \]

Therefore:

\[ \mathbf F_3=-(\mathbf F_1+\mathbf F_2) \]

Calculate:

\[ \mathbf F_1+\mathbf F_2= \begin{bmatrix} 20\\0 \end{bmatrix} + \begin{bmatrix} -8\\12 \end{bmatrix} \]
\[ = \begin{bmatrix} 12\\12 \end{bmatrix} \]

Therefore:

\[ \boxed{ \mathbf F_3= \begin{bmatrix} -12\\-12 \end{bmatrix}\text{ N} } \]

Its magnitude is:

\[ |\mathbf F_3|=\sqrt{(-12)^2+(-12)^2} \]
\[ =12\sqrt2 \]
\[ \boxed{|\mathbf F_3|\approx16.97\text{ N}} \]

Answer 15: Comprehensive Integrated Challenge

Initial position:

\[ \mathbf p= \begin{bmatrix} 3\\2 \end{bmatrix} \]

Part a: Rotation matrix

A 90° anticlockwise rotation is:

\[ \boxed{ R= \begin{bmatrix} 0&-1\\ 1&0 \end{bmatrix} } \]

Part b: Scaling matrix

Scale factor 2:

\[ \boxed{ S= \begin{bmatrix} 2&0\\ 0&2 \end{bmatrix} } \]

Part c: Composite matrix

Rotation occurs first, followed by scaling.

Therefore:

\[ T=SR \]
\[ T= \begin{bmatrix} 2&0\\ 0&2 \end{bmatrix} \begin{bmatrix} 0&-1\\ 1&0 \end{bmatrix} \]
\[ \boxed{ T= \begin{bmatrix} 0&-2\\ 2&0 \end{bmatrix} } \]

Part d: Position after rotation and scaling

\[ \mathbf p'=T\mathbf p \]
\[ = \begin{bmatrix} 0&-2\\ 2&0 \end{bmatrix} \begin{bmatrix} 3\\2 \end{bmatrix} \]
\[ = \begin{bmatrix} -4\\6 \end{bmatrix} \]
\[ \boxed{\mathbf p'=(-4,6)} \]

Part e: Final position after translation

Translation vector:

\[ \mathbf t= \begin{bmatrix} 4\\3 \end{bmatrix} \]

Therefore:

\[ \mathbf p''=\mathbf p'+\mathbf t \]
\[ = \begin{bmatrix} -4\\6 \end{bmatrix} + \begin{bmatrix} 4\\3 \end{bmatrix} \]
\[ \boxed{ \mathbf p''= \begin{bmatrix} 0\\9 \end{bmatrix} } \]

Final position:

\[ \boxed{(0,9)} \]

Part f: Distance from the origin

\[ d=\sqrt{0^2+9^2} \]
\[ \boxed{d=9\text{ units}} \]

Part g: Why translation cannot be represented by a standard 2 × 2 matrix

A linear transformation must map the zero vector to the zero vector.

However, a translation moves the origin:

\[ \mathbf0\rightarrow\mathbf t \]

Therefore, a nonzero translation is not a linear transformation in ordinary two-dimensional coordinates.

Part h: Homogeneous coordinates

Homogeneous coordinates add a third coordinate:

\[ \begin{bmatrix} x\\y\\1 \end{bmatrix} \]

The rotation, scaling, and translation can be combined into a single 3 × 3 matrix:

\[ \boxed{ H= \begin{bmatrix} 0&-2&4\\ 2&0&3\\ 0&0&1 \end{bmatrix} } \]

Apply H to the initial point:

\[ H \begin{bmatrix} 3\\2\\1 \end{bmatrix} = \begin{bmatrix} 0(3)-2(2)+4\\ 2(3)+0(2)+3\\ 1 \end{bmatrix} \]
\[ = \begin{bmatrix} 0\\9\\1 \end{bmatrix} \]

This confirms the final position:

\[ \boxed{(0,9)} \]
 

Final Reflection

Vectors and matrices provide a unified mathematical language for solving problems across mathematics, physics, engineering, economics, computer science, and artificial intelligence.

Vector operations describe movement, forces, geometry, and spatial relationships. Matrix methods allow simultaneous equations, transformations, and dynamic systems to be represented and solved efficiently. Determinants, inverses, eigenvalues, and eigenvectors reveal deeper structural properties of mathematical systems.

More advanced applications combine these ideas with statistics, calculus, optimisation, and mathematical modelling.

The most important skill is not simply performing calculations correctly. It is recognising the structure of a problem, choosing an appropriate method, explaining the reasoning, checking the solution, and interpreting the result.

Successful comprehensive problem solving requires mathematical knowledge, logical reasoning, efficient strategy selection, and clear communication.