Linear Equations in Linear Algebra Academic Study Notes
Linear Equations and Systems of Linear Equations
A linear equation is an equation that can be written in the form: where and are real or complex numbers.
The variables represent the unknowns of the linear equation.
An equation is non-linear if any variable is modified by non-linear operations, such as being enclosed inside a square root (for example, ).
A system of linear equations (or linear system) is a collection of one or more linear equations involving the same set of variables .
A real-life application of linear systems includes determining unknown quantities when several simultaneous conditions must be satisfied, such as calculating the amounts of different ingredients in a mixture when total quantities of specific constituent elements are known.
A solution of a system of linear equations is a set of specific values assigned to the variables that satisfies every equation in the system simultaneously.
A linear system is classified according to the existence and number of its solutions:
Consistent system: A linear system that has either a unique solution or infinitely many solutions.
Inconsistent system: A linear system that has no solution.
Echelon Form and Row Reduced Echelon Form (RREF)
A matrix is in Echelon Form if it satisfies the following three conditions:
All non-zero rows are located above any all-zero rows (all zero rows are grouped at the bottom of the matrix).
The leading entry (the first non-zero element from the left) of each non-zero row is in a column strictly to the right of the leading entry of the row directly above it.
All entries in a column below a leading entry are equal to
A matrix is in Row Reduced Echelon Form (RREF) if it satisfies all three conditions of Echelon Form plus the following two additional conditions:
The leading entry in every non-zero row is equal to
Each leading entry is the only non-zero entry in its column (all other entries in that column are
Key Definitions:
Pivot Element (or Pivot): The first non-zero entry in a non-zero row of a matrix in echelon form.
Pivot Column: A column in a matrix that contains a pivot element.
Basic Variable: A variable corresponding to a pivot column in the matrix.
Free Variable: A variable corresponding to a non-pivot column in the matrix.
Elementary Row Operations and Matrix Reduction
Three elementary row operations can be performed on a matrix to transform it into echelon form or row reduced echelon form without altering the solution set of the corresponding linear system:
Interchange: Swap the positions of any two rows and (denoted ).
Scaling: Multiply all entries of a row by a non-zero scalar (denoted ).
Replacement: Replace a row with the sum of itself and a scalar multiple of another row (denoted ).
Two matrices are row equivalent if one can be transformed into the other via a sequence of elementary row operations. Row equivalent augmented matrices represent linear systems with identical solution sets.
Step-by-Step Matrix Reduction Example
Consider the matrix reduction process to obtain Echelon Form and Row Reduced Echelon Form:
Initial Matrix:
Step 1: Interchange row and row ():
Step 2: Interchange row and row ():
Step 3: Eliminate lower entries in column using replacement operations and :
Step 4: Eliminate lower entries in column using replacement operations and :
Step 5: Eliminate lower entries in column using replacement operation : This matrix is in Echelon Form.
Step 6: Scale row by ():
Step 7: Eliminate non-zero entries above the third pivot in column using and :
Step 8: Eliminate non-zero entries above the second pivot in column using :
Step 9: Scale row by (): This matrix is in Row Reduced Echelon Form (RREF), where all pivot entries equal and all other entries in the pivot columns equal
General Procedure for Solving Systems of Linear Equations
Step 1: Construct the augmented matrix representing the system of linear equations.
Step 2: Perform elementary row operations (interchange, scaling, and replacement) to reduce the augmented matrix to echelon form.
Step 3: Test for consistency:
If the rightmost column (the column of constants) contains a pivot position, the system contains an equation of the form where , so no solution exists (inconsistent).
Otherwise, no pivot exists in the rightmost column, so a solution exists (consistent).
Step 4: Continue row reduction until the matrix is in Row Reduced Echelon Form (RREF).
Step 5: Write the simplified system of equations corresponding to the RREF matrix. Express basic variables in terms of any free variables to determine the general solution.
Systems of Linear Equations Solved Examples
Example 1: System with a Unique Solution
Consider solving a linear system via augmented matrix reduction:
Interchange row and row ():
Apply :
Scale row by ():
Apply :
Eliminate entries above pivot ( and ):
Eliminate entry above pivot ():
The system yields a unique solution:
Example 2: System with Infinitely Many Solutions
Consider solving a linear system with augmented matrix:
Apply :
Apply to reach RREF:
Corresponding linear equations:
The variable is a free variable.
The general solution is:
Since can take any value, the system has infinitely many solutions.
Example 3: Homogeneous System with Infinitely Many Solutions
Consider a homogeneous system with 4 variables
After performing row operations, the augmented matrix reduces to RREF:
Columns , , and are pivot columns, corresponding to basic variables
Column has no pivot, so is a free variable.
Corresponding equations:
Vector form of the general solution:
Because is free, the homogeneous system has infinitely many solutions.
Homogeneous and Non-Homogeneous Linear Systems
A system of linear equations written in matrix form as is classified based on the vector of constants :
Homogeneous System: A system where , giving
Non-Homogeneous System: A system where
Properties of Homogeneous Systems:
Every homogeneous system is consistent because is always a solution. This solution is called the trivial solution.
A solution vector with at least one non-zero component () is called a non-trivial solution.
A homogeneous system has a non-trivial solution if and only if the system has at least one free variable.
Application of Linear Systems: Balancing Chemical Reactions
Systems of linear equations can be used to balance chemical reactions by ensuring atom conservation across all elements.
General Balancing Method:
Assign variables to represent the number of molecules of each reactant and product.
Represent each molecule as a vector of atom counts for each element.
Set up a vector equation equating reactants to products, forming a homogeneous linear system.
Construct the augmented matrix and reduce it to RREF.
Select the smallest positive integer for the free variable to yield whole-number stoichiometric coefficients.
Reaction 1: Synthesis of Water ()
Assign variables:
Atom vectors ordered as :
Hydrogen ():
Oxygen ():
Water ():
Vector Equation:
Augmented Matrix:
Scale rows by :
Equations:
Choose to secure whole numbers, yielding , ,
Balanced Reaction:
Reaction 2: Aluminum Oxidation ()
Assign variables:
Atom vectors ordered as :
Aluminum ():
Oxygen ():
Aluminum Oxide ():
Vector Equation:
Augmented Matrix:
Scale row 2 by :
Equations:
Choose to avoid fractional coefficients, yielding , ,
Balanced Reaction:
Linearly Dependent and Independent Vectors
Linearly Dependent Vectors:
A set of vectors in a vector space is linearly dependent if their linear combination can equal zero while at least one scalar is non-zero ():
Equivalently, a set is linearly dependent if there exists a non-trivial solution to the vector equation
Linearly Independent Vectors:
A set of vectors in a vector space is linearly independent if their linear combination equals zero only when every scalar is zero:
Key Principles of Linear Dependence and Independence:
A set consisting of a single zero vector is always linearly dependent.
A set containing two or more vectors is linearly dependent if and only if at least one vector in the set can be expressed as a linear combination of the remaining vectors.
Introducing (including) a zero vector into any set of vectors makes the entire set linearly dependent.
The central test for linear dependence or independence is determining whether permits a non-trivial solution.
Examples:
Example 1: Consider vectors and . Setting up the combination: Since non-zero scalars and produce the zero vector, the vectors are linearly dependent.
Example 2: Consider a set containing a zero vector, such as . Choosing , , and gives: The zero vector itself allows a non-trivial coefficient choice, making the set linearly dependent.