Graphing Linear Functions Explained Step-by-Step

Learn how to graph lines using slope, intercepts, slope-intercept form, and point-slope form.

Graphing linear functions is one of the most important skills in algebra. Students use linear graphs to understand slope, rate of change, intercepts, equations of lines, word problems, and systems of equations.

What is a linear function?

A linear function is a function whose graph is a straight line. Linear functions usually have a constant rate of change, called the slope.

\[ y = mx + b \]

This is called slope-intercept form.

Slope-intercept form

Slope-intercept form is one of the easiest ways to graph a line.

\[ y = mx + b \]

In this form:

  • \(m\) is the slope
  • \(b\) is the \(y\)-intercept

Example: Graphing from slope-intercept form

Graph:

\[ y = 2x + 3 \]

Step 1: Identify the slope and \(y\)-intercept.

  • Slope: \(m = 2\)
  • \(y\)-intercept: \(b = 3\)

Step 2: Plot the \(y\)-intercept.

\[ (0,3) \]

Step 3: Use the slope to find another point.

Since \(m = 2\), we can write the slope as:

\[ 2 = \frac{2}{1} \]

From \((0,3)\), move up \(2\) and right \(1\). This gives another point, \((1,5)\). Draw a line through the points.

What does slope mean?

Slope measures how steep a line is. It compares the vertical change to the horizontal change.

\[ m = \frac{\text{rise}}{\text{run}} \]

A positive slope rises from left to right. A negative slope falls from left to right.

Point-slope form

Point-slope form is useful when you know one point on the line and the slope.

\[ y - y_1 = m(x - x_1) \]

Here, \(m\) is the slope and \((x_1,y_1)\) is a known point on the line.

Example: Using point-slope form

Write the equation of a line with slope \(3\) passing through \((2,4)\).

Step 1: Start with point-slope form.

\[ y - y_1 = m(x - x_1) \]

Step 2: Substitute \(m = 3\), \(x_1 = 2\), and \(y_1 = 4\).

\[ y - 4 = 3(x - 2) \]

Step 3: Convert to slope-intercept form if needed.

\[ y - 4 = 3x - 6 \] \[ y = 3x - 2 \]

How intercepts help with graphing

Intercepts are points where a graph crosses an axis.

  • The \(y\)-intercept is where the graph crosses the \(y\)-axis
  • The \(x\)-intercept is where the graph crosses the \(x\)-axis

Common mistakes students make

  • Confusing slope with the \(y\)-intercept
  • Forgetting that slope is rise over run
  • Moving in the wrong direction for negative slope
  • Mixing up \(x\)-intercepts and \(y\)-intercepts
  • Making sign errors in point-slope form

Why graphing linear functions matters

Linear functions appear throughout algebra, geometry, statistics, science, economics, and everyday problem-solving. Understanding lines helps students build a strong foundation for systems of equations, functions, and higher-level math.

Need help with graphing linear functions?

Many students struggle with graphing because it combines equations, slope, points, and visual reasoning. Step-by-step practice can make the process much easier to understand.

I provide online algebra tutoring for students learning linear functions, graphing, equations, systems, quadratics, and related algebra topics.

Related Algebra Topics