Graphing linear functions

The graph of a linear function y=ax+by = ax + b is a straight line. The slope aa is how much yy goes up when xx goes up by 1, and bb is the height where the line crosses the yy-axis (the yy-intercept). If aa is positive the line rises to the right; if it is negative it falls to the right.

Chalcack concept card · Reviewed by the Chalcack team ·

y = 2x − 3 starts at (0, −3) and goes up 2 for every 1 step to the right.

Formulas

  • y=ax+b(a≠0)y = ax + b \quad (a \ne 0)
  • slope=a=change in ychange in x\text{slope} = a = \frac{\text{change in } y}{\text{change in } x}
  • y-intercept=b\text{y-intercept} = b

When to use it

Use it when you need to graph a linear function from its equation, or read the slope and intercept off a graph to write the equation.

Worked example

Graph y=2x−3y = 2x - 3. The yy-intercept is −3-3, so plot the point (0,−3)(0, -3). The slope is 2, so move right 1 and up 2 to plot (1,−1)(1, -1), then draw the straight line through the two points.

Common mistake

Many students read the yy-intercept of y=2x−3y = 2x - 3 as 3. Read the sign too: the yy-intercept is −3-3, and the graph passes through (0,−3)(0, -3).

Related concepts

All 181 math concepts