Linear Algebra Systems Of Equations

Theorem

Linear Algebra - Systems of Linear Equations

Systems of Linear Equations

General System

a11x1+a12x2++a1nxn=b1a_{11}x_1 + a_{12}x_2 + \dots + a_{1n}x_n = b_1 a21x1+a22x2++a2nxn=b2a_{21}x_1 + a_{22}x_2 + \dots + a_{2n}x_n = b_2am1x1+am2x2++amnxn=bma_{m1}x_1 + a_{m2}x_2 + \dots + a_{mn}x_n = b_m

Matrix form: Ax=bAx = b

Solution Methods

Gaussian Elimination: Convert to row echelon form.

  • Swap rows
  • Multiply row by nonzero constant
  • Add multiple of one row to another

Row Echelon Form (REF):

  • Leading entries move right as you go down
  • Zero rows at bottom

Reduced Row Echelon Form (RREF):

  • Leading entries are 1 (called pivot)
  • Pivot columns have single 1, others 0

Solution Structure

For system Ax=bAx = b:

Number of solutions:

  • If rank(A)=rank([Ab])=n\text{rank}(A) = \text{rank}([A|b]) = n: unique solution
  • If rank(A)=rank([Ab])<n\text{rank}(A) = \text{rank}([A|b]) < n: infinitely many (nn - rank free variables)
  • If rank(A)<rank([Ab])\text{rank}(A) < \text{rank}([A|b]): no solution

Homogeneous system Ax=0Ax = 0:

  • Always has solution (trivial x=0x = 0)
  • If det(A)0\det(A) \neq 0: only trivial solution
  • If det(A)=0\det(A) = 0: infinitely many solutions

Linear Dependence

Vectors v1,,vkv_1, \dots, v_k are linearly dependent if there exist scalars (not all zero) such that c1v1++ckvk=0c_1v_1 + \dots + c_kv_k = 0.

Otherwise: linearly independent.

Check: Form matrix with columns as vectors. Linearly independent     \iff columns are pivot columns     \iff null space has only zero vector.