A system of linear equations is a collection of two or more linear equations involving the same set of variables. The goal is to find the values of these variables that satisfy all equations simultaneously.
The general form of a system of linear equations is:
a11x1 + a12x2 + ... + a1nxn = b1
a21x1 + a22x2 + ... + a2nxn = b2
...
am1x1 + am2x2 + ... + amnxn = bm
Consider the system:
2x + y = 5
x - y = 1
Solution using elimination:
From 2nd equation: x = 1 + y
Substitute into 1st: 2(1+y) + y = 5 → 2 + 2y + y = 5 → 3y = 3 → y = 1
Then, x = 1 + 1 = 2
Solution: (x, y) = (2, 1)
A system is called homogeneous if all constant terms are zero. General form:
AX = 0
- Always has at least one solution: the trivial solution (X = 0).
- If rank(A) = n (variables), only trivial solution exists.
- If rank(A) < n, infinitely many non-trivial solutions exist.
Example:
x + y = 0
2x + 2y = 0
Here, both equations are multiples → rank(A) = 1, variables = 2 → infinite non-trivial solutions.
A system is called non-homogeneous if the constants are not all zero. General form:
AX = B
The existence of solutions depends on rank conditions:
Example:
x + y = 5
2x + 2y = 10
Here, rank(A) = rank([A|B]) = 1 < 2 → infinitely many solutions.
The existence of solutions depends on the comparison of rank(A) and rank([A|B]):