Linear function

A function where yy is a first-degree expression in xx, like y=ax+by = ax + b, is a linear function, and its graph is a straight line. aa is the slope, the amount yy increases when xx increases by 1. bb is the yy-intercept, the yy-coordinate where the graph crosses the yy-axis (US textbooks often write this as y=mx+by = mx + b).

Chalcack concept card · Reviewed by the Chalcack team ·

y = 2x + 1 passes through the y-intercept 1 and rises 2 units for every 1 unit to the right.

Formulas

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

When to use it

Use it when you need to read the slope and yy-intercept from an equation, or use them to graph a line or write its equation.

Worked example

Graph y=2x+1y = 2x + 1. Step 1: The slope is 2 and the yy-intercept is 1, so plot (0,1)(0, 1). Step 2: When xx increases by 1, yy increases by 2, so the next point is (1,3)(1, 3). Step 3: Draw a straight line through the two points to get the graph.

Common mistake

A common mistake is saying the yy-intercept of y=2x−3y = 2x - 3 is 3. Read the sign too: it is −3-3. Also, if a=0a = 0, it is not a linear function in this sense.

Related concepts

All 181 math concepts