# Explaining to students why $m$ and $b$ are used in the slope-intercept equation of a line

The slope-intercept form of the equation of a line is often presented in textbooks as

$$y = mx + b\,,$$

where $m$ is the slope of the line and $b$ is the $y$-intercept. How did $m$ and $b$ become the standard variables used for the slope and $y$-intercept? What should we tell students $m$ and $b$ represent to help them make sense of the roles of $m$ and $b$ in that equation?

I think some students would benefit from knowing the original ideas, or any concrete idea really, behind choosing $m$ and $b$ when they are learning how to interpret the equation $y=mx+b$. Then this equation can "make sense" to them in the same way that the naming of variables helps them to make sense of some common physics equations ($t$ is for time, $v$ is for velocity, $F$ is for Force, etc).

• In the old newsgroup sci.math, we would get this question like clockwork every fall. The guess that $m$ is for the French monter appears to be without basis. See mathforum.org/library/drmath/view/52477.html and funtrivia.com/askft/question11912.html and madmath.com/2015/12/why-m-for-slope.html – Gerald Edgar Aug 29 '17 at 21:56
• Somewhere I heard: $b$ for $b$egin and $m$ for $m$ove. – Joseph O'Rourke Aug 29 '17 at 23:09
• The symbol $a$ is often used for the $x$-intercept and other values related to $x$, while $b$ is for the $y$-intercept and other values related to $y$. Those letters and their order makes sense. Examples are the intercept-intercept form of the line $\dfrac xa+\dfrac yb=1$ and the axis-aligned ellipse equation $\dfrac{(x-h)^2}{a^2}+\dfrac{(y-k)^2}{b^2}=1$. This explains $b$ but does not explain $m$. – Rory Daulton Aug 30 '17 at 0:17
• To follow up on Rory Daulton's comment: If you look closely in most elementary algebra books, they'll define x-intercepts as points $(a, 0)$, and y-intercepts as points $(0, b)$, on a graph. Assuming that happens before the discussion on slope, then the motivation is clear. – Daniel R. Collins Aug 31 '17 at 4:14
• "m" for "marginal" might be helpful for students who have been exposed to business ideas. Linear cost functions look like $C(x) = mx+b$ with $m$ the marginal cost (and "baseline" for "b" works well for the other parameter) – John Coleman Sep 1 '17 at 15:05

This is also borderline not-an-answer, but it might be a nice broadening of your students' worldview to know that the "$m$" and the "$b$" are not universally accepted. Showing them this map (even though I do not know its original source, so it may not be accurate in its details) could help their thinking out a bit: Substantial edit: I now no longer believe that the above map has very many if any of its details correct, although the general sentiment ("$mx + b$ is not a worldwide convention") is still correct. I went through all the languages of Wikipedia that had an article for Linear_equation and found the first mention of "[variable]x + [variable]" in the article. I kept the same absurd color-coding as the map, even though most of my results disagree with the map, even in Europe where languages map more precisely to countries.

First "$mx+b$-type expression" in each language's Wikipedia page for Linear_equation So anyway, one way or another, even though the map is probably-wrong, there definitely isn't much worldwide agreement on which variables to use in which slot.

• Yeah, finding a good source for this map is tough. I found this thread on Reddit, and this footnote on mathisfun.com, but neither provide a reference (and many of the comments on the Reddit thread seem to disagree). – Mike Pierce Aug 30 '17 at 15:17
• Even in the United States it isn't universal above a certain level. For example, $m$ is seldom used in stats books when they discuss simple linear regression. – John Coleman Aug 30 '17 at 15:20
• @MikePierce Thanks for the link to the reddit thread; I went ahead and just did the Wikipedia research myself since those links are indeed the best sources for the map and neither of them are any good. The map is probably bogus and I've tried to update my answer accordingly. – Chris Cunningham Aug 31 '17 at 23:30
• In Italy, I'd say that $mx+q$ (we use $q$ instead of $b$) is more widespread than $ax+b$. – Massimo Ortolano Sep 2 '17 at 15:41
• Ya, I'd say that I have been unable to find a good way to make any good conclusions about any of the details; the only thing constant I was able to find was that it is definitely not $mx + b$ worldwide. – Chris Cunningham Sep 3 '17 at 1:09

I taught low level algebra for a bit and those students really struggled with knowing what variables were and that they actually stood for numbers. They would see $y=mx+b$ and just not have any idea what it meant or stood for. I've heard the "monter" explanation before, but the students didn't find it helpful (they didn't speak french after all...). What I ended up doing, is replacing a lot of the variables in the class with blanks. So I would write $y=\_\_\,x + \_\_$ and then ask what went in each blank and they would respond with "slope" and "intercept" so I would write $$y=(\text{slope})\,x+(y\text{-intercept})$$ and they seemed to follow that a bit better since they themselves came up with the words to use and didn't have to memorize "m for slope" and "b for y-intercept" since those seem more disconnected.

The "b" for "begin" and "m" for "move" explanation seems like it would have worked for this level of student, I wish I could have tried that.

I would suggest not focusing on the notation "m" and "b" and just explain why they are different in terms of their relationships to x and y.

What's in a name? That which we call a rose by any other name would smell as sweet.

The slope has to interact with `x' because it is describing the relationship between how much y changes when x changes. If x changes by a lot, the slope passes this information on to y.

The intercept sits out there by itself because it is an absolute location on the line. If x changes by a lot, the y-intercept is still just the y-intercept. It doesn't care how x is changing.