Free and Basic Variables of a Matrix - Examples with Solutions
Free and Basic Variables of a Matrix Representing a System of Equations
Definition For a system of equations in row echelon form , which of course may be represented by the augmented matrix, a variable whose coefficient is a leading 1 ( pivot ) is called a basic variable and a varibale without pivot is called a free variable.
Let us consider the following system of equations in row echelon form
The augmented matrix in row echelon of the above system is as follows
According fo the above definition
and
are the basic variables and and are the free variables.
When we solve the above system, we express the basic variables in terms of the free variables
The third equation in the system gives
The second equation gives
The first equation gives
Substitute the basic variables on the right
Simplify
The basic variables are written in terms of the free variables as
where and can be any real numbers hence their names as "free variables".
Definition The use of free variables helps us to write an explicit formula for the solutions of our system.
Questions with Solution
For each of the following augmented matrices in row echelon form, which are basic variables and which are free variables?
-
-
-
-
Solutions to the Above Questions
Being augmented matrices, the number of variables is equal to the number of columns of the given matrix -1.
For examples, for a matrix of 5 columns, the number of variables is 5 - 1 = 4, named as , , and .
- Matrix 1 is has two pivots and 4 variables.
The first pivot at row 1 column 1; hence is a basic variable.
The second pivot is at row 2 column 3; hence is also a basic variable.
The remaining variables: and are free variables.
- Matrix 2 is has two Pivots and 2 variables.
The first pivot is at row 1 column 1; hence hence is a basic variable.
The second pivot is at row 2 column 2; hence is a basic variable.
There are no free variables.
- Matrix 3 has 3 pivots and 5 variables.
The first pivot at row 1 column 1; hence is a basic variable.
The second pivot is at row 2 column 2; hence is a basic variable.
The third pivot is at row 3 column 4; hence is a basic variable.
The remaining variables: and are free variables.
- Matrix 4 has two Pivots and 3 variables.
The first pivot is at row 1 column 1; hence hence is a basic variable.
The second pivot is at row 2 column 3; hence is a basic variable.
The remaining variables: is a free variables.
More References and links
- Pivots of a Matrix in Row Echelon Form
- linear algebra
- Solve a system of linear equations by elimination
- elementary matrices