We need to do something about these problems, which recur all throughout school Algebra.

The original title of this post called them “horrible,” but they’re truly “tragic” – the math education equal to Julius Caesar, Othello, and Hamlet – full of potential but overwhelmed by their nature.

Here’s the thing about variable expressions: they’re used by programmers and students both, but those two groups hold variables in very different regard.

Ask programmers what their work life would be like without variables and they’ll likely respond that their work life would be *impossible*. Variables enable *every single* function of whatever device you’re reading this post on.

But ask students what their school life would be like without variables and they’ll likely respond that their school life would be *great*.

**What can we do?**

The moral of this story isn’t “teach Algebra 1 through programming” or “teach computational thinking.” At least I don’t think so. I’ve been down that road and it’s winding.

But in some way, however small, we should draw closer together the wildly diverging opinions students and programmers have about variables. Ideas? I’ll offer one on Monday.

**2014 Jul 25**. I appreciate how Evan Weinberg has thought through this makeover (now and earlier).

**Featured Comment**

Dylan Kane restates our task here in a useful way:

In terms of making these problems a little better, students should feel a need for the expression. I think this question stinks in part because the expression it’s asking for is so trivial — it’s extra work, compared to just multiplying by 3/4 or doing some simple proportional thinking.

Jennifer offers an example of that kind of need:

I like to introduce the idea of expressions by having the students playing the game of 31 with a deck of cards!their goal- play until they can predict how they can win every time! This will take less than 15 minutes, and a whole class summary of verbal descriptions on ‘how to win’ are shared. Verbal descriptions become cumbersome to write on the board, so ‘shorthand’ in the form of clearly named and defined symbols are used to make the summarising more efficient. the beauty of this is that the idea of equivalent expressions presents itself.

Kate Nerdypoo:

i think the ability to generalize and write a rule with variables is really important, but you can come to that through lots of nice activities and investigations as well.

for example, i did dan’s “taco cart” with my students with a few notable changes. instead of telling the students how fast dan and ben walked, i had each group decide on the speed of the two men themselves and list that along with other assumptions they made in the problem.

when we did the whole class summary, i told them that i had written down a formula on my paper that would allow me to check if their answers were correct and that i needed that since everyone used their own speed. i should’ve asked them all to take a minute to try to come up with the formula i used, but instead i elicited it at that moment and one student gave me the correct formula. the need for two variables (speed on sand and speed on pavement) was obvious.

in part two of taco cart, when the students were trying to figure out where the taco cart should be so that the two men reached it at the same time, one group did seemingly endless guess and checks. i suggested to them that this wasn’t a good method and asked if maybe it wasn’t better to write an equation with a variable. again, they could see the need. once they started with a variable, the rest of the problem started to fall into place.

here’s the thing: these “write an expression” problem want to train students to learn to generalize and write a rule. they want them to be able to see a situation that would best be tackled with a formula of some sort, write said formula with various variables, and use their formula to solve complex problems. but the issue is that these problems don’t actually train students in that way because they’re so artificial and one-dimensional. what they do is teach students to “translate” from english to math (an important step along the way, i do believe), but not to recognize a situation in which a formula would be helpful or necessary or how powerful it can be.

Dan L:

Two thoughts from a computer science teacher’s point of view:

1) When introducing programming to 15 yrs olds for the first time, we use Python interactive prompt as a calculator first. And the first point is to show the advantages. Variables and funstions (one-liner formulas) simply save work. That is it, that is one of the goals of the whole programming topic anyway. When they do quadratic equations in maths at that time, we are headed that way. And students realize pretty fast: aha, I have to understand how to solve them, but once I do and I describe it properly, I never have to do it by hand anymore. Their understanding of q.e. deepened, they interest in programming increased, and I could naturally introduce a load of important CS concepts on the way. In younger age we do simpler formulas, also like BMI calculation (not only the “area of the circle” kind of stuff, which they, um, do not prefer), but the point is the same: the kids need to see at least some hypothetical benefit for themselves. Having to introduce variables in maths, I would in principle search for a similar approach. (Note: for even younger kids, fun and creativity achieved with Scratch, turtle etc. overweigh the “practical benefits”; but when practicality leads to more fun – win-win!).

2) A good and often forgotten tool between calculation on paper and programming is a spreadsheet. It can store lots of numbers in a structured way and perform basic calculations, what is well understood by kids. And when we want to do anything more complex without getting beards grown, we absolutely need formulas and “variables”. Their advantages are imminent. And the whole time, everything is in plain sight, the level of abstraction is way lower than with programming, making it very accessible for kids. I am of course interested in it “from the other side” – after some decent work in spreadsheets, many more advanced concepts are a step away (for-loop, data type, input-output, function, incremental work on more complicated calculations, debugging etc. etc.). But I believe that thoughtful use of spreadsheets can improve understanding in appropriate topics in maths.