The Same Line, Written Two Different Ways Across an Ocean
A student in London learns straight lines as $y = mx + c$. A student in New York learns the identical idea as $y = mx + b$. Both are staring at exactly the same equation, the same graph, the same gradient, and the same crossing point on the vertical axis. The only thing that changed on the flight across the Atlantic was one letter, and that quiet difference trips up more learners than the actual mathematics ever does.
What Is y = mx + c?
y = mx + c is the slope-intercept form of the equation of a straight line, in which m is the gradient of the line and c is the y-intercept, the value of $y$ where the line crosses the y-axis. Give any straight line's gradient and its crossing point, and this single equation draws it.
Keep the definition in view because two symbols carry the whole idea. The gradient $m$ measures steepness: how much $y$ climbs for each step of $1$ in $x$. A positive $m$ slopes up left-to-right; a negative $m$ slopes down. The intercept $c$ is where the line meets the y-axis, the point $(0, c)$.
So what does c actually mean? It is the value of $y$ when $x = 0$. Set $x = 0$ in $y = mx + c$ and you get $y = c$ - the line's starting height on the vertical axis.
Deriving the Equation
The equation is not handed down; it falls straight out of the definition of gradient. The gradient between the y-intercept $(0, c)$ and any general point $(x, y)$ on the line is
$$m = \frac{y - c}{x - 0}$$
Multiply both sides by $x$:
$$mx = y - c$$
Add $c$ to both sides:
$$y = mx + c$$
That is the whole derivation. Every symbol earns its place: $m$ came from the gradient definition, $c$ from the intercept point.
y = mx + c and y = mx + b: The Same Equation
This is the point of this article's differentiation, so let it be blunt: $y = mx + c$ and $y = mx + b$ are identical. The letter for the y-intercept is a regional convention, nothing more.
UK, India, and much of the Commonwealth write the intercept as c - hence $y = mx + c$.
The United States writes the intercept as b - hence $y = mx + b$.
There is no mathematical difference. In both, $m$ is the gradient and the third letter is the y-intercept. If you meet a US textbook using $b$, read $b$ as "the same thing my book calls $c$" and carry on. The full US-notation treatment lives in the y = mx + b article, and both connect to the general slope-intercept form.
UK / India form | US form | |
|---|---|---|
Equation | $y = mx + c$ | $y = mx + b$ |
Gradient symbol | $m$ | $m$ |
Y-intercept symbol | $c$ | $b$ |
The mathematics | identical | identical |
Examples of y = mx + c
Example 1
Write the equation of the line with gradient $m = 3$ and y-intercept $c = -5$.
Substitute directly into $y = mx + c$.
$$y = 3x + (-5)$$
Final answer: $y = 3x - 5$.
Example 2
A line has gradient $4$ and passes through $(0, 2)$. A student writes $y = 4x + 4$ because both numbers are on the line. Correct?
It is tempting to grab both given numbers, the gradient $4$ and the x-coordinate $0$… no, the student grabbed the gradient and reused it as the intercept, which mixes up two completely different roles.
Watch where it breaks: test $x = 0$ in $y = 4x + 4$. You get $y = 4$, but the line is meant to pass through $(0, 2)$, so $y$ should be $2$. The equation is wrong.
The correct way keeps $m$ and $c$ in their proper slots. The gradient is $m = 4$; the intercept $c$ is the $y$-value when $x = 0$, which the point $(0, 2)$ tells us is $2$.
$$y = 4x + 2$$
Check: at $x = 0$, $y = 2$. Final answer: $y = 4x + 2$.
Example 3
Find the gradient and y-intercept of $y = -2x + 7$.
The equation is already in $y = mx + c$ form, so read the values straight off.
$$m = -2, \quad c = 7$$
The line slopes downhill (negative gradient) and crosses the y-axis at $(0, 7)$. Final answer: gradient $-2$, intercept $7$.
Example 4
Rearrange $5x + 4y = 12$ into $y = mx + c$ form and state the gradient and intercept.
Isolate $y$ one step at a time.
$$4y = -5x + 12$$ $$y = -\frac{5}{4}x + 3$$
Now it is in slope-intercept form.
$$m = -\frac{5}{4}, \quad c = 3$$
Final answer: $y = -\frac{5}{4}x + 3$; gradient $-\frac{5}{4}$, intercept $3$.
Example 5
A line passes through $(2, 7)$ with gradient $3$. Find $c$ and write the equation.
Substitute the known point and gradient into $y = mx + c$ and solve for $c$.
$$7 = 3(2) + c$$ $$7 = 6 + c$$ $$c = 1$$
Final answer: $y = 3x + 1$.
Example 6
Find the equation of the line through $(1, 5)$ and $(3, 11)$.
First find the gradient using the gradient of a line formula, $m = \dfrac{y_2 - y_1}{x_2 - x_1}$.
$$m = \frac{11 - 5}{3 - 1} = \frac{6}{2} = 3$$
Now find $c$ by substituting one point, say $(1, 5)$:
$$5 = 3(1) + c$$ $$c = 2$$
Final answer: $y = 3x + 2$.
Why This Form Matters: "Two Numbers Fix A Whole Line"
The power of $y = mx + c$ is that it compresses an infinite line into two numbers you can read at a glance. That compactness is why straight-line models sit under so much everyday reasoning.
Cost with a fixed fee. A taxi that charges a $£3$ flag-drop plus $£2$ per mile is $y = 2x + 3$: the fee is $c$, the rate is $m$. Read the equation and you know the fixed cost and the per-mile rate instantly.
Conversions. Temperature between Celsius and Fahrenheit is a straight line, $F = \frac{9}{5}C + 32$ - the intercept $32$ is where the scales meet, the gradient $\frac{9}{5}$ is the exchange rate.
Trends. A line of best fit through data is reported as $y = mx + c$ so a reader can see the rate of change and the baseline in one line.
The Mistakes Students Make Most Often
Mistake 1: Swapping the gradient and the intercept
Where it slips in: reading $m$ and $c$ off an equation, or building one from a gradient and a point.
Don't do this: treat the number attached to $x$ as the intercept, or the standalone number as the gradient.
The correct way: $m$ is always the coefficient of $x$; $c$ is always the standalone term. The first instinct, especially under time pressure, is to grab whichever number appears first. Anchor it instead: "$m$ sits with the $x$; $c$ sits alone." A student who says the two roles out loud once stops swapping them.
Mistake 2: Reading c wrong when the equation is not yet rearranged
Where it slips in: an equation like $5x + 4y = 12$, where $y$ is not isolated.
Don't do this: call $12$ the intercept because it is the standalone number.
The correct way: you can only read $m$ and $c$ once the equation is genuinely in $y = mx + c$ form. Rearrange first, then read. Skipping the rearrangement is the habit that dividing-through cleanly fixes, as in Example 4.
Mistake 3: Thinking c and b mean different things
Where it slips in: switching between a UK/Indian resource and a US one.
Don't do this: treat $y = mx + b$ as a new, separate formula to relearn.
The correct way: $b$ and $c$ are the same y-intercept; the letter is regional.
Conclusion
y = mx + c is the UK slope-intercept form of a straight line, with $m$ the gradient and $c$ the y-intercept.
$c$ is the value of $y$ at $x = 0$ - the point $(0, c)$ where the line crosses the vertical axis.
$y = mx + c$ and $y = mx + b$ are the same equation; only the intercept letter differs by region.
To use it, put the equation in $y = mx + c$ form, then read $m$ from the $x$-coefficient and $c$ from the standalone term.
To take y = mx + c further with a teacher, explore Bhanzu's geometry tutor, a high school math tutor, or math classes online.
A Practical Next Step
Practice these to solidify your understanding: state the gradient and intercept of $y = \frac{1}{2}x - 4$; write the equation of the line with gradient $-3$ through $(0, 6)$; and rearrange $3x - 2y = 8$ into $y = mx + c$ form. If the rearrangement trips you, return to Example 4 and isolate $y$ one line at a time. Want a live Bhanzu trainer to walk through more straight-line problems? Book a free demo class.
Read More
Equation of a straight line - the family of forms a line's equation can take.
Straight line - the object $y = mx + c$ describes.
Coordinate geometry - the wider toolkit straight lines belong to.
Cartesian plane - the grid every straight line is drawn on.
Coordinate plane - the quadrants a line's gradient and intercept live in.
Was this article helpful?
Your feedback helps us write better content
