Gaussian Elimination Calculator
Solve a 3×3 System of Linear Equations using Row Echelon Form and Back Substitution.
x
y
z
Constant (b)
Eq1
Eq2
Eq3
Solution Results:
Understanding Gaussian Elimination
Gaussian elimination, also known as row reduction, is an algorithm in linear algebra used for solving systems of linear equations. It operates on an augmented matrix where the coefficients of the variables and the constants on the right side of the equations are listed in rows.
The Three Elementary Row Operations
To reach the Row Echelon Form (REF), the calculator performs three types of operations:
- Swapping: Interchanging two rows if a pivot element is zero.
- Scaling: Multiplying a row by a non-zero scalar.
- Pivoting (Addition): Adding a multiple of one row to another row to create zeros beneath the leading coefficient.
A Step-by-Step Example
Consider the following 3×3 system:
2x + 1y – 1z = 8
-3x – 1y + 2z = -11
-2x + 1y + 2z = -3
-3x – 1y + 2z = -11
-2x + 1y + 2z = -3
- Forward Elimination: We use the first row to eliminate the 'x' terms in the second and third rows. Then use the second row to eliminate the 'y' term in the third row.
- Back Substitution: Once we have a triangular form, we solve for 'z' first, then substitute 'z' back into the second equation to find 'y', and finally substitute both into the first equation to find 'x'.
Applications of Gaussian Elimination
This method is fundamental in various fields, including:
- Engineering: Solving structural analysis problems and electrical circuit networks.
- Physics: Determining balancing forces in static equilibrium.
- Computer Science: Used in 3D graphics and machine learning algorithms for weight optimization.
- Economics: Input-output models for analyzing industrial dependencies.