Systems of Linear Equations: Definition and Graphical Method

A system of linear equations is a set of two or more linear equations with the same unknowns, and a solution is a set of values that satisfies all the equations at once. In brief: the system y = x + 1 and y = −x + 5 has the solution (2, 3), because both equations are true for x = 2 and y = 3. Graphically, the solution is the point where the two lines intersect.

Systems appear whenever two conditions must hold together: two prices, two constraints, two meeting paths. The graphical method is the most visual way to solve a system of two equations and helps to understand why some systems have no solution or infinitely many. This guide explains the definition, shows the graphical method step by step with a figure and explains how to check the solution.

What is a system of linear equations?

A linear equation in two unknowns has the form ax + by = c. A system of two such equations is written with a brace:

x + y = 6
x − y = 2

The ordered pair (x, y) is a solution of the system if it satisfies every equation. Here (4, 2) works, since 4 + 2 = 6 and 4 − 2 = 2. A pair that fits only one equation, such as (3, 3), is not a solution of the system. Each linear equation describes a line, so a solution is a point lying on both lines.

How does the graphical method work?

  1. Rewrite each equation in slope-intercept form y = mx + b, or find two points of each line.
  2. Draw both lines on the same coordinate system with the same scale.
  3. Read the coordinates of the intersection point.
  4. Check by substituting the coordinates into both original equations.

The method relies on the ability to graph a line quickly.

Worked example with a graph

Solve y = x + 1 and y = −x + 5.

The first line has slope 1 and passes through (0, 1). The second has slope −1 and passes through (0, 5). Plot (0, 1), (1, 2), (2, 3) for the first line and (0, 5), (1, 4), (2, 3) for the second. Both lines contain the point (2, 3).

Two lines y equals x plus 1 and y equals minus x plus 5 intersecting at the point (2, 3) (2, 3) y = x + 1 y = −x + 5
Sketch of the system with 30 pixels per unit on both axes and the origin at the lower left. The lines cross at (2, 3).

Check: 3 = 2 + 1 ✓ and 3 = −2 + 5 ✓. The solution is x = 2 and y = 3.

What can the graph of a system look like?

For instance, y = 2x + 1 and y = 2x − 3 have the same slope and different intercepts, so they never meet.

Value table for the example

Values of the two lines for x from 0 to 4
x y = x + 1 y = −x + 5 Equal?
015No
124No
233Yes
342No
451No

The outputs are equal only at x = 2. The first line rises and the second falls, so the lines can only cross once.

When is the graphical method not enough?

Reading coordinates from a drawing is accurate only if the solution is a whole number or a simple fraction. For lines intersecting at (1.37, 2.81) a graph can only give an estimate. The graph is still a useful check, since a quick sketch shows how many solutions to expect and roughly where they are.

Where do systems of equations come from?

Problems that lead to two linear equations appear in ancient Babylonian tablets and in the Chinese text The Nine Chapters on the Mathematical Art, which describes a method similar to elimination for systems with several unknowns. The graphical interpretation became possible after the introduction of coordinates by Descartes and Fermat in the seventeenth century.

Where are systems used today?

A small business can find the break-even point where cost and revenue lines meet. Navigation uses systems to find a position from two distance measurements. Chemists balance chemical equations by solving linear systems, and economists find market equilibrium where a supply line meets a demand line.

Which mistakes are common?

Checking only one equation

A solution must satisfy both equations. Always substitute into both.

Using different scales

If the axes have unequal scales or the lines are not drawn carefully, the intersection is read incorrectly.

Giving only one coordinate

The answer is a pair, such as (2, 3), or x = 2 and y = 3.

Not rewriting before graphing

Rewrite x + y = 6 as y = −x + 6 before reading slope and intercept.