Graphs of Linear Equations

A linear equation in two variables, such as 2x + 3y = 6, describes a relationship between two quantities x and y. When we plot all the ordered pairs (x, y) that satisfy this equation on a coordinate plane, the result is always a straight line — which is precisely why these equations are called 'linear.' Every point on that line is a solution to the equation, and every solution is a point on the line. Graphs of linear equations are fundamental tools in mathematics and science. They allow us to visualize how two quantities relate, find solutions quickly by reading off coordinates, and compare multiple relationships at once. The steepness and direction of the line convey instant information about the rate of change between the variables, while where the line crosses the axes tells us about boundary conditions and starting values. Understanding how to draw and interpret these graphs is a core skill that underpins algebra, coordinate geometry, statistics (scatter plots and trend lines), physics (distance-time graphs), and economics (supply and demand curves). Mastering the graphical representation of linear equations prepares you to tackle systems of equations, inequalities, and more complex functions in later mathematics.

Key takeaways
  • Recognize the Standard Forms
  • Identify the Slope and Y-Intercept
  • Plot at Least Two Points
  • Draw the Line
  • Find x- and y-Intercepts (Intercept Method)

Recognize the Standard Forms

Linear equations in two variables can appear in several forms. Standard form is Ax + By = C, where A, B, C are integers. Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. Point-slope form is y − y₁ = m(x − x₁). Each form is equivalent; you can convert between them using algebraic manipulation. For graphing, slope-intercept form y = mx + b is usually the most convenient.

Identify the Slope and Y-Intercept

Once the equation is in the form y = mx + b, read off m (slope) and b (y-intercept). The y-intercept b tells you where the line crosses the y-axis: the point (0, b). The slope m = rise/run tells you how many units y changes for each unit x increases. For example, in y = 2x − 3, the slope is 2 (rise 2, run 1) and the y-intercept is −3, so the line crosses the y-axis at (0, −3).

Plot at Least Two Points

Start by plotting the y-intercept (0, b). Then use the slope to find a second point: from (0, b), move right by the denominator of m and up (or down if m is negative) by the numerator. For y = 2x − 3 with m = 2/1: start at (0, −3), move right 1 unit and up 2 units to reach (1, −1). You can verify with a third point by substituting x = 2: y = 2(2) − 3 = 1, giving (2, 1). All three points should be collinear.

Draw the Line

Place a ruler through your plotted points and draw a straight line extending in both directions, adding arrows at each end to show the line continues infinitely. Label the line with its equation. Check your graph by substituting a point not used in plotting: if it satisfies the equation, your graph is correct. Special cases: if m = 0 the line is horizontal (y = b); if the equation is x = c (undefined slope) the line is vertical.

Find x- and y-Intercepts (Intercept Method)

An alternative graphing method uses both intercepts. The y-intercept is found by setting x = 0 and solving for y. The x-intercept is found by setting y = 0 and solving for x. For 3x + 2y = 12: setting x = 0 gives 2y = 12, so y = 6, yielding point (0, 6). Setting y = 0 gives 3x = 12, so x = 4, yielding point (4, 0). Plot (0, 6) and (4, 0) and draw the line through them. This method works especially well for equations in standard form.

The Key Equation

y=mx+by = mx + b
  • y — Dependent variable (units (vertical axis)): The output value; its value depends on the chosen value of x.
  • x — Independent variable (units (horizontal axis)): The input value; you choose x freely and compute the corresponding y.
  • m — Slope (dimensionless ratio): The rate of change; equals rise over run, or (y₂ − y₁)/(x₂ − x₁) for any two points on the line. A positive m means the line rises left to right; negative m means it falls.
  • b — Y-intercept (units (same as y)): The value of y when x = 0; the point where the line crosses the vertical y-axis, written as the coordinate (0, b).

Worked Example

Problem. Graph the equation 3x − 2y = 8. Identify the slope, x-intercept, and y-intercept.

y=32x−4,m=32,(0, −4),(83, 0)y = \frac{3}{2}x - 4,\quad m = \frac{3}{2},\quad (0,\,-4),\quad \left(\frac{8}{3},\,0\right)

Answer. Slope = 3/2; y-intercept = (0, −4); x-intercept = (8/3, 0) ≈ (2.67, 0). The line rises from left to right.

Figure
Diagram
xy123456-11357-20(0, −4)(8/3, 0)(3, 0.5)y = ³⁄₂x − 4(4, 2)run = 2rise = 3Graphing y = (3/2)x − 4
Origins · 1 minRené Descartes and how this was discovered
RD
René Descartes
1596–1650 · French

Descartes invented the Cartesian coordinate system (named in his honor) in his 1637 work La Géométrie, an appendix to his philosophical Discourse on the Method. By assigning numerical coordinates to geometric points, he unified algebra and geometry, making it possible to represent equations like y = mx + b as geometric lines — the foundation of graphing linear equations. Legend holds that Descartes conceived the idea of coordinates while lying in bed watching a fly on the ceiling, realizing he could describe its position using two numbers — its distances from two walls.

  • Slope of a Line — Slope m = (y₂−y₁)/(x₂−x₁) determines the steepness and direction of a linear graph; understanding slope is essential to drawing and interpreting these graphs.
  • Systems of Linear Equations — Graphing two or more linear equations on the same axes lets you find their intersection point, which is the solution to the system — a direct application of graphing linear equations.
  • Linear Inequalities in Two Variables — Graphing linear inequalities extends the concept of graphing equations by shading a half-plane on one side of the line, making mastery of linear equation graphs a prerequisite.
  • Introduction to Functions — Every non-vertical linear equation defines a function; understanding function notation and the vertical line test connects directly to interpreting linear graphs.