2.1.1 · D2Algebra — Introduction & Intermediate

Visual walkthrough — Variables, constants, coefficients — algebraic expressions

1,770 words8 min readBack to topic

We use only one small example story all the way through: boxes of marbles. Each box has the same unknown number of marbles inside. That unknown is what will become our variable.


Step 1 — The mystery box: where a variable comes from

WHAT. Draw a single closed box. Inside it are some marbles, but the lid is shut, so we do not know how many. Call that unknown count .

WHY. Every algebra symbol has to be earned. Before means anything, it must stand for a real quantity we cannot yet name. A box with a shut lid is exactly that: a number that exists but is hidden. The letter is just a nickname for "however many marbles are in one box."

PICTURE. In the figure, the pale-yellow box has a "?" where the count should be. Beside it we write the rule .

Figure — Variables, constants, coefficients — algebraic expressions

Step 2 — Three boxes: where a coefficient is born

WHAT. Now line up three identical boxes. Each holds marbles. The total marble count is .

WHY. Writing is honest but clumsy. Repeated addition of the same thing is exactly what multiplication was invented to shorten: . The little that appears is counting how many boxes we have.

PICTURE. Three blue boxes in a row. Above them a brace labels the count "3 boxes"; below, the shorthand with a chalk-pink arrow pointing from the to the boxes it counts.

Figure — Variables, constants, coefficients — algebraic expressions


Step 3 — A loose handful: where a constant sits

WHAT. Beside the boxes, drop 7 loose marbles that are not in any box. You can see them and count them: exactly , every time.

WHY. These marbles are different in kind from the boxed ones. A boxed marble's count is hidden (); a loose marble's count is known and fixed (). A number that is pinned down like this is called a constant — it does not depend on the mystery.

PICTURE. Three boxes (still each) on the left; seven separate pink marbles on the right under the label "constant = 7". Notice they are drawn outside every box on purpose.

Figure — Variables, constants, coefficients — algebraic expressions

Step 4 — Two different piles: the setup for adding

WHAT. Take our and bring in a second delivery: 5 more boxes (each still holding marbles) and 2 more loose marbles. So we now own

WHY. We want the total. But before adding, we must sort by kind: boxed marbles can only be pooled with boxed marbles, loose with loose. The reason is that a box hides an unknown — you cannot merge a hidden count with a known count, because you do not know what number the box will turn out to be.

PICTURE. Two coloured zones. The blue zone gathers all the boxes ( old new boxes). The pink zone gathers all the loose marbles (). A dashed chalk line keeps the two kinds apart.

Figure — Variables, constants, coefficients — algebraic expressions


Step 5 — The merge: why

WHAT. Pool the boxes: boxes plus boxes make boxes, so . Pool the loose marbles: . The total expression is

WHY. Each box carries the same hidden , so counting boxes is just counting how many 's we have: of them plus of them is of them. In symbols this is the distributive law read backwards: The variable is factored out because it is common to every box; only the coefficients and add.

PICTURE. The eight boxes stand together with a single brace "8 boxes "; the nine loose marbles cluster with "constant ". The final line is boxed in yellow.

Figure — Variables, constants, coefficients — algebraic expressions


Step 6 — Degenerate case: what if the boxes are empty?

WHAT. Suppose every box turns out to hold zero marbles, i.e. . Then becomes .

WHY. This is the reason we keep the variable separate from the constant. The boxed part can shrink to nothing (empty boxes) or swell huge (fat boxes), but the loose never moves. This is exactly what evaluating an expression means: slot a value in for and watch the variable part respond while the constant holds firm.

PICTURE. Same eight boxes, now drawn with "0" inside each, collapsing the blue bar to zero height; the pink constant bar stays at . A second panel shows making the blue bar tower to while pink still reads .

Figure — Variables, constants, coefficients — algebraic expressions
(boxes) (constant) total

The one-picture summary

Everything above in a single frame: a mystery box defines ; stacking boxes creates a coefficient; loose marbles are the constant; sorting by kind then merging like piles is the simplification .

Figure — Variables, constants, coefficients — algebraic expressions
Recall Feynman retelling — say it like you're 12

Imagine boxes with the lids taped shut. You don't know how many marbles are inside any box, but every box has the same amount, so you nickname that amount . If you have three such boxes, that's "" — the just counts the boxes, it doesn't peek inside. Now toss some loose marbles on the table that you can count — say . Those are a constant: real, fixed, box-free.

When a friend brings you more boxes and more loose marbles, you sort before you count: all boxes into one heap, all loose marbles into another. Boxes go with boxes because they all hide the same ; loose goes with loose. So boxes boxes boxes (), and loose. You're left with , and it can't shrink further because you can't add boxes to marbles — you'd have "17 of nothing in particular." Finally, if every box turns out empty (), all the boxes vanish and you're left with just the loose marbles. That's why the box part and the loose part live separately: the boxes can change, the never does.


Connections

  • Algebraic Terms and Like Terms — the "sort by kind" rule made formal
  • Evaluating Algebraic Expressions — Step 6, plugging numbers into the boxes
  • Equations vs. Expressions — what happens when we add an sign
  • Linear Expressions — expressions like where is to the first power
  • Polynomials — stacking many variable powers
  • Word Problems in Algebra — turning stories into