Linear Algebra 1 B
Linear Algebra 1 B
Introduction
A system of linear equations consists of two or more linear equations
involving the same set of variables.
Solving a system of linear equations means finding values of the
variables that satisfy all the equations simultaneously.
Systems of linear equations are fundamental in various fields such as
physics, engineering, economics, and computer science.
a11 x1 + a12 x2 + · · · + a1n xn = b1
a21 x1 + a22 x2 + · · · + a2n xn = b2
..
.
am1 x1 + am2 x2 + · · · + amn xn = bm
where:
aij are the coefficients of the variables xi in each equation.
bi are the constants on the right-hand side of each equation.
x1 , x2 , . . . , xn are the variables of the system.
There are m equations in the system.
Systems of Linear Equations 2 / 36
Basic Properties
Basic Properties
Example: No solution
Definition
A system of linear equations is said to be homogeneous if all the constant
terms on the right-hand side are zero.
Example
2x + 3y − z = 0
4x − 2y + 2z = 0
−x + 5y + 3z = 0
Basic Properties
A homogeneous system always has at least one solution: the trivial
solution where all variables are zero.
If a non-trivial solution exists, the system has infinitely many
solutions.
The sum of two solutions to a homogeneous system is also a solution.
The scalar multiple of a solution to a homogeneous system is also a
solution.
Augmented Matrix
2x + 3y = 7
4x − 2y = 6
Types of Operations
Example
The leading entry (that is, the left-most nonzero entry) of every nonzero row,
called the pivot, is on the right of the leading entry of every row above
1 Choose the leftmost nonzero element in the first column as the pivot
element. Divide the first row by 2 to make the pivot element 1:
1 32 | 72
4 −2 | 6
0 −8 | −8
1 − 32 13 | 43
2 1 −1 | 3
1 3 −2 | 1
Homework Exercises
1 Given the matrix
1 0 2
D = 0 2 3
0 1 0
perform row operations to convert it to REF.
2 Convert the matrix
3 6 9
E = 0 2 4
0 0 5
to RREF.
3 Solve the following system of equations using the Gauss-Jordan
elimination method:
2x + 3y = 7
4x − 2y = 10