Linear Relationship Formula

Linear relationship is a relationship between two variables where the rate of change is constant, producing a straight line when graphed.

The Formula

y=mx+b

Ask yourself: Does each equal step in x add the same fixed amount to y?

Quick example

y=2x+5 For every +1 in x, y increases by 2. Always linear.

Notation

m is the slope (rate of change), b is the y-intercept (starting value)

What this formula means

A relationship between two variables where the rate of change is constant, producing a straight line when graphed. Expressed as y=mx+b where m is the slope.

A linear relationship is a staircase whose steps all have the same height. Know the height of one step and where the stairs begin, and you know the height after any number of steps. Real stairs stop somewhere; the line keeps going in both directions, even to negative inputs.

Formal view

y=mx+b,  m=ΔyΔx=const,  b=y∣x=0

Worked examples

Example 1

easy
A taxi charges a $3 base fee plus $2 per mile. Write the equation for total cost C in terms of miles m. Identify slope and y-intercept.
Show solution

Answer

C=2m+3; slope = 2, y-intercept = 3

First step

1.
Base fee (y-intercept): b=3.

Full solution

  1. 2.
    Cost per mile (slope): mrate=2.
  2. 3.
    Equation: C=2m+3.
  3. 4.
    This is in the form y=mx+b with slope 2 and y-intercept 3.
A linear relationship y=mx+b has constant slope m (rate of change) and y-intercept b (starting value).

Example 2

medium
Two points on a line are (1,5) and (3,11). Find the equation of the line in y=mx+b form.

Example 3

easy
A phone plan costs $25/month plus $0.10 per minute. Write the linear cost equation for m minutes used in a month.

Common mistakes

  • Assuming any increasing pattern is linear - require a constant difference between equal steps, not just growth.
  • Ignoring the y-intercept b - the starting value shifts the whole line up or down even when the rate is right.
  • Reading the rate from a single point - compute it as change-in-y over change-in-x across two points.

Why this formula matters

With m and b you can predict any value without listing every step: a taxi at $3 plus $2 per mile costs 2(15)+3=33 dollars for 15 miles. You can also run the rule backward to find when a quantity reaches a target. Mistake a curve for a line and long-range predictions go badly wrong, so the equal-steps check comes first.

Frequently asked questions

What is the Linear Relationship formula?

A relationship between two variables where the rate of change is constant, producing a straight line when graphed. Expressed as y=mx+b where m is the slope.

How do you use the Linear Relationship formula?

Use a linear model when a quantity changes by the same amount for each equal step: $2 per mile, a drop of 3 degrees every hour, a starting fee plus a rate, or a table whose output differences are all equal. Write y=mx+b, with m the change per step and b the value at zero. If the gaps between outputs grow or shrink, the relationship is nonlinear; if they are equal and the line starts at 0, it is the proportional case y=kx.

What do the symbols mean in the Linear Relationship formula?

m is the slope (rate of change), b is the y-intercept (starting value)

Why is the Linear Relationship formula important in Math?

With m and b you can predict any value without listing every step: a taxi at $3 plus $2 per mile costs 2(15)+3=33 dollars for 15 miles. You can also run the rule backward to find when a quantity reaches a target. Mistake a curve for a line and long-range predictions go badly wrong, so the equal-steps check comes first.

What do students get wrong about Linear Relationship?

The procedure for linear relationship is the easy part; the trap is assuming any increasing pattern is linear. Asking "Does each equal step in x add the same fixed amount to y?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Linear Relationship formula?

Before studying the Linear Relationship formula, you should understand: rate of change.