Formula & Calculator
Slope-Intercept Form of a Line
Expresses the equation of a straight line in terms of its slope and y-intercept, the most common way to write a linear equation.
Interpretation
y = mx + b. Equation of a line with slope m and y‑intercept b. Used for graphing and linear modelling. Basis of linear functions.
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| y | Dependent variable (output) | |
| m | Slope of the line | |
| x | Independent variable (input) | |
| b | y-intercept (value of y when x = 0) |
What it means
The slope‑intercept form is the most common way to write the equation of a straight line. Here, m is the slope and b is the y‑intercept (the point where the line crosses the y‑axis). This form is convenient for graphing because you can easily plot the intercept and use the slope to find other points. It is used in linear regression (y = mx + b for best‑fit lines), in physics (linear equations of motion), and in economics (demand/supply curves). Understanding this form is essential for algebra and for any field that uses linear relationships.
Worked example
Slope‑Intercept Form – Two Examples
Real‑World| Parameter | Value |
|---|---|
| m | 5 |
| x | 10 |
| b | 100 |
| Parameter | Value |
|---|---|
| m | 2 |
| x | 4 |
| b | 3 |
Common mistakes
- Slope‑intercept form: y = m·x + b – m is slope, b is y‑intercept.
- Intercept: b is the value of y when x = 0 – not the x‑intercept.
- Rearrangement: Any linear equation can be written in this form (solve for y).
- Parallel lines: Have the same slope m.
- Perpendicular lines: Slopes multiply to −1 (if both defined).
Applications
The slope‑intercept form of a line, y = mx + b, expresses a linear relationship with slope m and y‑intercept b. This form is used extensively to model linear trends in data, to design control systems, and to represent constraints in optimisation. Engineers use it to model sensor calibrations, to forecast demand, and to analyse stress‑strain relationships. In economics, it represents supply and demand curves. This simple equation is the backbone of linear models, enabling quick interpretation of parameters and predictions. By using this form, professionals can easily visualise and communicate linear relationships, making it indispensable in any field that deals with quantitative data.
- Linear regression and trend line fitting
- Sensor calibration and linear interpolation
- Economic supply and demand analysis
- Mechanical stress‑strain relationships (elastic region)
- Control system set‑point and error analysis
Frequently Asked Questions
The slope‑intercept form is y = mx + b, where m is the slope and b is the y‑intercept (the value of y when x = 0).
Confusing this form with point‑slope form, which is built from a specific point on the line rather than the y‑intercept.
The slope is the coefficient of x (m).
Set x = 0; then y = b.
Plot the y‑intercept (0, b), then use the slope m to find another point (run over rise).
The x‑intercept is found by setting y = 0 and solving for x: x = –b/m (if m ≠ 0).
y = b (m = 0).
A vertical line cannot be written in slope‑intercept form (m is undefined).
Solve for y: y = (–A/B)x + (C/B), so m = –A/B, b = C/B.
- Quickly graphing lines.
- Finding intercepts.
- Comparing lines.