System of Equations — Types, Methods, Examples

System of Equations — Types, Methods, Examples

TL;DR
A system of equations is two or more equations sharing the same variables, and its solution is the set of values that make every equation true at once. This article covers the definition, the three solution types (one solution, no solution, infinitely many), how to solve by graphing, substitution, and elimination, and the mistakes that lose marks.

What Is A System Of Equations?

A system of equations is a set of two or more equations that share the same variables. The solution is the collection of values for those variables that makes every equation in the system true simultaneously.

A typical two-variable linear system looks like this, each equation on its own line:

x+y=5
x−y=1

A solution is an ordered pair (x,y) that satisfies both lines. Here it is (3,2), because 3+2=5 and 3−2=1 are both true. Geometrically, each linear equation is a line, and the solution is where the lines meet.

How many solutions can a system have?

A linear system in two variables has exactly one of three outcomes. Knowing which you are in before you start saves time.

The Three Methods For Solving A System

Graphing

Plot each line and read off the intersection point. Graphing makes the meaning of a solution obvious — it is literally the crossing point — but it is imprecise when the answer is not a clean integer pair. Use it to understand, not to get exact non-integer answers.

Substitution

Solve one equation for one variable, then substitute that expression into the other equation. Best when one equation already has a variable isolated, or is easy to isolate.

Elimination

Add or subtract the equations so one variable cancels, leaving a single-variable equation. Best when the equations are in standard form ax+by=c and the coefficients line up neatly.

Matrix methods (for larger systems)

Once a system grows past two variables, the matrix methods take over. A linear system can be written as a single matrix equation AX=B, where A holds the coefficients, X the variables, and B the constants. From there, two standard tools solve it:

Which method should you use?

Choose substitution when a variable is already isolated; choose elimination when both equations are in standard form; reach for the matrix methods when the system has three or more variables. Either of the first two gives the same answer; picking the easier one just reduces the chance of an arithmetic mistake.

Examples of System of Equations

Example 1

Solve by substitution:

y=2x+1
3x+y=11

The first equation gives y directly. Substitute into the second:

3x+(2x+1)=11
5x+1=11
5x=10
x=2

Back-substitute: y=2(2)+1=5. Final answer: (2,5).

Example 2 (where the first instinct goes wrong)

Solve:

2x+3y=12
2x+3y=7

The first instinct is to subtract the equations and start solving. Do it and watch:

(2x+3y)−(2x+3y)=12−7
0=5

Both variables vanished and left a false statement, 0=5. The arithmetic is fine — the result is the answer. When elimination collapses to a false statement, the lines are parallel and the system has no solution.

Example 3

Solve by elimination:

x+y=7
x−y=3

Add the two equations so y cancels:

(x+y)+(x−y)=7+3
2x=10
x=5

Substitute into the first equation:
5+y=7
y=2. Final answer: (5,2).

Example 4

Solve:

x+2y=4
2x+4y=8

The second equation is exactly twice the first. A true statement after both variables cancel means infinitely many solutions. Final answer: infinitely many solutions.

Example 5

A coffee blend mixes a $8/lb bean and a $12/lb bean to make $10/lb selling at $9.99/lb. How much of each?
Let x = pounds of the cheaper bean, y = pounds of the dearer bean.

x+y=10
8x+12y=90

From the first equation y=10−x. Substitute:
8x+12(10−x)=90
8x+120−12x=90
−4x=−30
x=7.5

So y=10−7.5=2.5. Final answer: 7.5 lb of the $8 bean and 2.5 lb of the $12 bean.

Example 6

Solve the three-variable system:

x+y+z=6
x−y+z=2
2x+y−z=1

Add the first two to eliminate y:
2x+2z=8⇒x+z=4

Then substitute into the first equation to find y.
Final answer: (x,y,z)=(1,2,3).

Why Systems Of Equations Matter

The reason systems exist is structural: one equation, two unknowns leaves the answer floating; a second equation locks it down. That principle scales far beyond two lines.

Where Students Trip Up On Systems Of Equations

Mistake 1: Misreading a true or false statement at the end

Don't do this: Treating 0=5 as "I made a mistake".
The correct way: When both variables vanish, a false statement means no solution; a true statement means infinitely many solutions.

Mistake 2: Only checking the answer in one equation

Don't do this: Plugging (2,5) into only the second equation.
The correct way: A solution must satisfy every equation.

Mistake 3: Sign errors when subtracting equations

Don't do this: Subtracting only the first term and forgetting the rest change sign too.
The correct way: When you subtract one equation from another, every term changes sign.

Conclusion