Systems of Linear Equations

Introduction

A system of linear equations consists of multiple equations where each equation is linear in the unknown variables.
These systems appear everywhere in engineering: force balance, circuit equations, structural analysis, trajectory calculations, and numerical methods.

A general linear system in n variables has the form:

 \begin{aligned} a_{11}x_1 + a_{12}x_2 + \dots + a_{1n}x_n &= b_1 \\ a_{21}x_1 + a_{22}x_2 + \dots + a_{2n}x_n &= b_2 \\ \vdots \ a_{m1}x_1 + a_{m2}x_2 + \dots + a_{mn}x_n &= b_m \end{aligned}

This can be written compactly as:

 AX = B

where:

  • A is the coefficient matrix
  • X is the column vector of unknowns
  • B is the column vector of constants

Matrix Form of a System

Given the system:

 \begin{aligned} 2x + 3y &= 5 \\ 4x - y &= 1 \end{aligned}

Matrix form:

 \begin{bmatrix} 2 & 3 \\ 4 & -1 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 5 \\ 1 \end{bmatrix}

This compact representation allows us to apply systematic methods for solving the system.


Types of Solutions to a Linear System

A system can have:

1. Unique Solution

This occurs when the determinant of the coefficient matrix is non-zero:

 \det(A) \neq 0

Geometrically: lines/planes intersect at exactly one point.

2. No Solution (Inconsistent System)

Equations contradict each other.

Example:

 \begin{aligned} x + y &= 2 \\ x + y &= 3 \end{aligned}

No point satisfies both.
Occurs when:

  • Rows become contradictory during elimination
  • Rank conditions:

\text{rank}(A) < \text{rank}([A|B])

3. Infinitely Many Solutions

Equations are dependent.

Example:

 \begin{aligned} x + y &= 2 \\ 2x + 2y &= 4 \end{aligned}

Occurs when:

  • Rows become multiples of each other
  • Rank conditions:

\text{rank}(A) = \text{rank}([A|B]) < n


Augmented Matrix

To analyze a system, we construct the augmented matrix [A|B]:

For the system:

 \begin{aligned} x + 2y &= 3 \\ 3x - y &= 4 \end{aligned}

The augmented matrix is:

 \begin{bmatrix} 1 & 2 & | & 3 \\ 3 & -1 & | & 4 \end{bmatrix}

This matrix is used for row operations.


Elementary Row Operations

Three allowed operations:

  1. Swap two rows

R_i \leftrightarrow R_j

Multiply a row by a non-zero constant

R_i \to k R_i

Add a multiple of one row to another

R_i \to R_i + kR_j

Row operations do not change the solution of the system.


Row Echelon Form (REF)

A matrix is in REF if:

  • All non-zero rows are above zero rows
  • Each leading entry (pivot) of a row is to the right of the pivot in the row above

Example REF:

 \begin{bmatrix} 1 & 3 & -1 \\ 0 & 2 & 5 \\ 0 & 0 & 7 \end{bmatrix}


Reduced Row Echelon Form (RREF)

A matrix in RREF satisfies:

  • Leading entry in each row is 1
  • Each leading 1 is the only non-zero entry in that column

Example RREF:

 \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & -3 \\ 0 & 0 & 1 \end{bmatrix}


Solving Systems Using Gaussian Elimination

Example

Solve:

 \begin{aligned} x + y + z &= 6 \\ 2x + 3y + 7z &= 20 \\ x - y + z &= 4 \end{aligned}

Step 1: Write augmented matrix:

 \begin{bmatrix} 1 & 1 & 1 & | & 6 \\ 2 & 3 & 7 & | & 20 \\ 1 & -1 & 1 & | & 4 \end{bmatrix}

Step 2: Eliminate variables below the first pivot.

Step 3: Continue to REF and solve by back-substitution.

(If you want, I can write full worked-out steps.)


Using Matrix Inverse (Only When A is Invertible)

If \det(A) \neq 0, then:

 X = A^{-1} B

This method is practical for 2×2 or 3×3 systems but inefficient for large systems.


Cramer’s Rule (Useful for Small Systems)

For a system of n equations:

 x_i = \frac{\det(A_i)}{\det(A)}

where A_i is the matrix formed by replacing the i-th column of A with B.

Useful for theoretical questions, not for large numerical computation.


Rank Condition for Solutions

  • Unique solution:

\text{rank}(A) = \text{rank}([A|B]) = n

Infinitely many solutions:

\text{rank}(A) = \text{rank}([A|B]) < n

No solution:

\text{rank}(A) < \text{rank}([A|B])

Rank gives the most reliable test for existence and uniqueness of solutions.


Conclusion

Understanding systems of linear equations is crucial for all higher topics in linear algebra.
Methods like Gaussian elimination, rank analysis, and matrix inverses are foundational tools you will repeatedly use in engineering applications such as structural analysis, control systems, circuits, and numerical simulations.

Shopping Cart
Scroll to Top