Why do we care about y = mx + b?
A small robot starts three meters along a straight track and moves forward two meters each second. After four seconds, where is it? The calculation needs both the starting position and the change over time. Multiplying speed by time alone would leave out where the robot began.
The equation y = mx + b records both pieces. In this lesson, x is time in seconds, y is position in meters, m is constant velocity in meters per second, and b is starting position in meters. The same structure can describe other quantities with different units.
Try it yourself
Begin with m = 2, b = 3, and x = 4. Predict the position and compare the equation, table, and graph. Change m while holding b fixed. Then change b while holding m fixed. Each change answers a different question about the motion.
Change a rate and a starting value
In this model x is time in seconds and y is position in meters. The starting position is b; constant velocity is m. A negative velocity moves toward smaller positions.
What’s Going On?
At four seconds, y = 2 × 4 + 3 = 11 meters. The slope m tells how much y changes for each one-unit increase in x. Adding one second adds two meters to the position, so the rate is constant throughout the model.
The intercept b is the value of y when x = 0. It shifts the starting position without changing the rate. On the graph, the line crosses the vertical axis at b. Lines with the same slope and different intercepts are parallel because they gain or lose the same amount over equal time intervals.
Slope can be calculated from two points: change in y divided by change in x. The points (0, 3) and (4, 11) give m = (11 − 3)/(4 − 0) = 2. The units are meters per second. The intercept has position units; it is not another velocity.
Let’s Run the Numbers
Set m = 0 while keeping b = 3. Every time has position three, so the graph is horizontal. Now set m = −2. The position decreases by two meters each second. At x = 4 it is −5. A negative position means the robot has crossed the chosen zero reference; it does not mean a negative elapsed time.
Set b = 0 and m = 2. Now y = 2x is proportional: the ratio y/x is two whenever x is nonzero. With b = 3, y = 2x + 3 is still linear but is not proportional. Doubling time does not generally double the whole position because the starting amount is added only once.
Your math challenge
Choose two times in the table and calculate the slope from their positions. Check that it matches the chosen m. Then write two equations that have the same starting position and different velocities, and describe where their graphs meet.
Stretch question: one robot follows y = 2x + 3 and another follows y = x + 7. Equal positions require 2x + 3 = x + 7, giving x = 4. Both are at position eleven then. Explain what equal position means and what it does not tell you about their velocities.
So When Would You Actually Use This?
Pick a real-world situation to see how this lesson can help.
Where will the robot be?
A robot starts 3 meters from a marker and moves steadily at 2 meters per second.
Why it helps: The slope is the rate of change; the intercept is the starting value.
This form is useful for a fixed starting amount plus a constant change: a tank’s starting volume plus a steady inflow, for example. It connects a verbal description, a table, a graph, and an equation so you can check that they tell the same story.
The assumptions and domain matter. The robot model covers zero to six seconds and assumes constant velocity on a straight track. Acceleration, a stop, or a turn would require a different description. Extending the line far beyond the modeled interval is a prediction whose assumptions need checking.
So, What’s the Point?
Slope and intercept are useful because they have distinct meanings. Defining variables, units, and the interval of use turns y = mx + b into a practical model rather than a formula to memorize.
The featured scene is a realistic illustration created for this lesson. Use the interactive model and worked examples for exact quantities.