Slope, intercept and units
Slope m=Δy/Δx measures change in y per change in x. Intercept b is the y-coordinate at x=0. Coordinates may have different units: if x is in minutes and y in litres, m has units litres per minute and b has units litres. Use consistent units and signed differences.[1]
A negative ratio gives a decreasing line; m=0 gives a horizontal line.[1]
The form y=mx+b does not represent a vertical line x=k. Distinct points with the same x-coordinate make the denominator zero, so no finite slope exists. Two identical points do not determine a unique line at all. A horizontal line, by contrast, has a well-defined zero slope.[1]
Why point-slope form follows
For two points on the same line, vertical difference satisfies y2−y1=m(x2−x1). Division gives the constant slope. Any further point satisfies y−y1=m(x−x1). Expanding and collecting the x term leaves the constant part b.[1]
Recovering x requires nonzero slope.[1]
At m=0, y=b for every x. A requested y=b then leaves x undetermined, while any other y is impossible. A line through two points also does not establish that further measurements obey a linear model. A constant process and its valid domain must be justified by context.[1]
Determine a line and solve in reverse
A decreasing line through two points
- Given
- P=(−2,7), Q=(4,−5).
- Find
- Find m and b.
Take differences in the same point order.
Use one point in the intercept rearrangement.
Result: The line is y=−2 x+3.
Check: Substituting x=−2 gives 7 and x=4 gives−5. Setting y=0 gives x=1.5, another point on the same line.
Recover input from a desired output
- Given
- y=(3/4)x−6; find x when y=9.
- Find
- Solve the known line for x.
Move b and divide by m.
Substitute m=3/4, b=−6 and y=9.
Result: The required input is 20.
Check: Forward substitution gives (3/4)·20−6=9. Division by a fraction used multiplication by its reciprocal.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Direction, special cases and model domain
Calculate · Foundation
Find y at x=−3 for y=2.5 x+4.
Show hint
Multiply first, then add the intercept.
Learning goal: Distinguish output and intercept.
Show solution and calculation
y=2.5·(−3)+4=−3.5.
Reverse check: (−3.5−4)/2.5=−3.
Intercept b stays 4 although the output is negative.
Rearrange · Application
Find the line through(1,−1) and(5,7).
Show hint
Use the difference quotient, then b=y−mx.
Learning goal: Determine slope and intercept from two points.
Show solution and calculation
m=(7−(−1))/(5−1)=2; b=−1−2·1=−3.
Thus y=2 x−3.
Both points satisfy it:2−3=−1 and 10−3=7.
Interpret · Application
Compare lines through A=(2,5), B=(7,5) and C=(2,1), D=(2,8).
Show hint
The first has zero rise, the second zero run.
Learning goal: Distinguish zero from undefined slope.
Show solution and calculation
AB has m=0 and y=5.
CD is x=2 and cannot be written y=mx+b.
Undefined is not another finite value alongside zero.
Error analysis · Application
For P=(0,1), Q=(3,7), someone computes m=(7−1)/(0−3)=−2. Correct it.
Show hint
Numerator and denominator must use the same point order.
Learning goal: Keep difference ordering consistent.
Show solution and calculation
Correct slope is m=(7−1)/(3−0)=2.
Reversing both differences gives(1−7)/(0−3)=2 as well.
Line y=2 x+1 increases and fits both points; the incorrect negative slope does not.
Transfer · Application
An ideal vessel holds 80 L and loses 3.2 L/min at a constant rate. Give its linear model and domain until empty.
Show hint
Initial amount is the intercept.
Learning goal: Distinguish a mathematical line from a physical domain.
Show solution and calculation
V(t)=80−3.2 t with t in minutes.
V=0 gives t=25 min, hence 0≤t≤25.
Negative volumes after 25 min do not describe the empty vessel.
At t=20 the volume is 16 L.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Which related formula answers a different question?
Direct proportion is the special case b=0. A difference quotient also compares two points on a curved graph; a local tangent slope instead requires a limit. Right-triangle trigonometry connects the slope ratio to an angle only when coordinate scales are compatible.[1]
Sources for this explanation
Quanta · Updated November 1, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored a full German-English article with an original explanation, two worked examples and five varied exercises.
Cite this reference page
Quanta. Line Equation and Slope. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/geradengleichung-steigung
When citing a specific scientific statement, also cite the specialist source linked to that statement.