ConceptStep · learning platform for computer science

Linear function y=ax+b

Mathematics — first biennium · Lesson

First year · Flex

Linear function y=ax+b

In y=ax+b, a controls slope and b is the y-intercept. A point lies on the line if its coordinates satisfy the formula.

Key idea
Formula matematica
Similar example
Formula matematica

Prerequisites: Functions, coordinates and equations

Goal: Read slope and intercept and construct points on a line.

What you need to know before the exercises

In this lesson: Read slope and intercept and construct points on a line.

New concept: In the line y=ax+b, a is the slope: it measures the change in y when x increases by 1 (more generally a=Δy/Δx). If a>0 the line rises from left to right, if a<0 it falls, and if a=0 it is horizontal. b is the y-intercept: the value of y when x=0, hence where the line meets the y-axis. To find a point, substitute x into the formula, calculate y, and write the ordered pair (x,y).

How to proceed: Do not swap a and b: a multiplies x; b is the value of y when x=0.

You can already assume: Functions, coordinates and equations.

Explore the parameters

Explore the line y = mx + q

Move m to change the line's slope and direction; change q to move the y-intercept.

INTERACTIVE
y = mx + q
Interactive Cartesian graph Move m to change the line's slope and direction; change q to move the y-intercept. -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 -8 -6 -4 -2 0 2 4 6 8 x y
1
0
Graph view

Function graph

SVG
Cartesian graph of the function The graph connects slope, intercept and points on the line to the formula y=ax+b. -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 -10 -8 -6 -4 -2 0 2 4 6 8 10 x y x=2 (0; -2)

The graph connects slope, intercept and points on the line to the formula y=ax+b.

Try it now

Read the parameters and calculate a point on the line.

Guided

Completed exercises: 0/5 · Correct on first attempt: 0

How to reason

Do not swap a and b: a multiplies x; b is the value of y when x=0.

Data / situation: y=1x-2; use x=2.

Formula matematica
Your competency map

What you need to know for Linear function y=ax+b

ConceptStep separates what is required from what is recommended or useful as reinforcement. Only required prerequisites block your progress.

Current topic Strong skill Review due Needs reinforcement To be mastered Optional support

Relationships: solid line = required · dashed line = recommended · dotted line = reinforcement.

GUIDED LEARNING PATHS

Want to choose the next skill to develop?