Courses / Computer Science I
Algebra

Systems of Linear Equations

Computer Science I 208 words Free to read

Many Equations at Once

A linear equation relates variables with addition and scalar multiples, like 2x+3y=62x + 3y = 6. A system is several such equations that must hold simultaneously, foundational to computing, economics, and machine learning.

Geometrically, each equation is a line; a solution is a point lying on all lines at once.

OutcomeGeometryMeaning
One solutionLines cross at a pointConsistent & independent
No solutionLines are parallelInconsistent
Infinite solutionsEquations describe the same lineDependent

Common pitfall: Assuming every linear system has a unique solution. Parallel or duplicate equations create edge cases that change this entirely.

A system's fate read off its coefficients, with no line ever drawn

Solving Systems

The systematic solving method is Gaussian elimination: use row operations to eliminate variables until the system is in triangular form, then back-substitute.

Allowed row operations:

The number of solutions connects to independence: a system with as many independent equations as unknowns has a unique solution. Fewer independent equations leave free variables for infinite solutions, while contradictions yield none.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

10practice questions
2interactive scenes

Algebra