Variables and What They Represent
A variable is a letter (like , , or ) that stands for a number we do not know yet, or a number that can change. Instead of writing “some number,” we just write a letter. The same letter always stands for the same value within one problem.
Algebra is arithmetic with a placeholder. A variable stands for a number, an expression is a calculation written with it, and evaluating means putting a number in. Translating words into symbols is the skill: "three more than twice a number" is , and the order of the words is not always the order of the symbols.
Why use a letter at all? Because one expression can then describe every case at once. The sentence "the bag holds three more than it did" is true whether the bag started with marbles or ; the expression captures exactly that sentence and nothing else. The one promise a variable makes is consistency: inside one problem, every means the same number.
If a bag holds marbles and you add more, the bag now holds marbles. Here could be (giving ) or (giving )—the letter lets us describe every case at once.
Reading as a two-digit number when : "". Written next to each other, a number and a letter are multiplied, so .
Tip: A number written right next to a variable means multiply. So means “ times ,” never “forty-something.”
A movie ticket costs and a snack costs . Write an expression for the cost of one ticket and one snack, then find the cost when .
Show the answerHide the answer
The ticket is a fixed and the snack is the unknown , so together they cost dollars. When : , so .
Expressions vs. Equations
An expression is a combination of numbers, variables, and operations with no equals sign, such as . An equation says two expressions are equal and does have an equals sign, such as . You simplify or evaluate an expression; you solve an equation.
The difference matters because it decides what you are allowed to do. An expression is a single quantity, so the only honest moves are ones that keep its value the same: rewriting, simplifying, evaluating. An equation is a claim that two quantities are equal, so you may change both sides together, as long as they stay equal, and the goal becomes finding which values make the claim true.
Consider .
- A term is a piece separated by or signs: the terms are , , and .
- A coefficient is the number multiplied by a variable: is the coefficient of , and is the coefficient of .
- A constant is a term that is just a number, with no variable: here the constant is .
In : the terms are , , and . The coefficient of the first term is ; the coefficient of (the last term) is , because means . The constant is .
Calling in "". A term carries the sign in front of it, so the constant is . The same goes for coefficients: in , the coefficient of is .
Tip: A lone variable like has a coefficient of , and has a coefficient of , even though the is invisible.
For : list the terms, give the coefficient of and of , and name the constant. Is it an expression or an equation?
Show the answerHide the answer
Split at the and signs, keeping each sign with its term: the terms are , and . The coefficient of is (the sign belongs to it), the coefficient of is (nothing written means ), and the constant is . There is no equals sign, so it is an expression.
Writing Expressions from Word Phrases
Certain words signal each operation:
- Addition: sum, plus, more than, increased by, total
- Subtraction: difference, minus, less than, decreased by, fewer
- Multiplication: product, times, of, twice, double, triple
- Division: quotient, divided by, per, split equally
Translating is reading the phrase in the order the arithmetic happens, which is not always the order of the words. " less than a number" describes starting with the number and then taking away, so the number is written first: . Subtraction and division are the operations where this matters, because they are the ones where swapping the order changes the answer ().
“The sum of a number and ” . “Three times a number” . “The quotient of a number and ” . “ more than twice a number” .
Translating "twice the sum of a number and " as . "The sum of a number and " is one quantity, , and "twice" applies to all of it: . Test with : twice the sum is , while .
“ less than a number” means you start with the number and take away: , not . The number you subtract comes after the minus sign. Same idea with “more than”: “ more than ” is .
Order trap: “less than” and “subtracted from” reverse the order. “ less than ” is . Read carefully!
Write expressions for: (a) fewer than a number ; (b) the quotient of and , increased by ; (c) times the difference of and .
Show the answerHide the answer
(a) Start with and remove : . (b) The quotient comes first, then is added: . (c) "The difference of and " is one quantity, , and all of it is tripled: .
Evaluating Expressions by Substitution
To evaluate an expression, replace each variable with its given value and follow the order of operations (PEMDAS). Wrap negative values in parentheses so you do not lose a sign.
Substitution works because a variable is only a stand-in: once its value is known, the expression is plain arithmetic, and the order of operations decides it. The parentheses around a substituted value are not decoration. They keep the value together as one number, so that squared is read as and not as .
Evaluate when .
Evaluating at as . The exponent applies to what it touches, and without parentheses it touches only the . Substituting as gives the right value.
Evaluate when and .
A third example with an exponent: evaluate at . Substitute with parentheses: . Exponent first: . Then the product: . Finally .
Tip: Always put a substituted number in parentheses, especially a negative one. Writing keeps you from misreading .
Evaluate when and .
Show the answerHide the answer
Substitute with parentheses: . The exponent comes first: . Then the product . Last, .
The Properties of Operations
- Commutative (order can swap): and .
- Associative (regroup with parentheses): and .
- Distributive (multiply across a sum): .
- Identity (leaves a number unchanged): and .
These properties are why algebra is possible: they are the only moves that are guaranteed never to change a value. Each one can be seen with objects. Three rows of four chairs is the same as four rows of three (commutative); stacking blocks next to is the same pile as next to (associative); and a -by- rectangle is the -by- piece plus the -by- piece (distributive).
shows the commutative property of addition. shows the associative property of multiplication. shows the distributive property. shows the identity property of multiplication.
Using a property on subtraction as if it held: , but . Subtraction is not associative, so regrouping it changes the answer. Rewrite subtraction as adding the opposite, , and then you may regroup freely.
Watch out: subtraction and division are not commutative or associative. , and .
Name the property, or say "not a property" if the statement is false in general: (a) ; (b) ; (c) .
Show the answerHide the answer
(a) Only the grouping changed, so it is the associative property of multiplication (and it lets you write ). (b) Adding leaves unchanged: the identity property of addition. (c) False: but . Division is not commutative.
Using the Distributive Property to Expand
To expand, multiply the number outside the parentheses by each term inside, keeping track of signs:
The distributive property is a statement about area. A rectangle tall and wide can be measured all at once, , or as two smaller rectangles, and . The total area is the same either way, so . That is also why the outside number must reach every term: each term inside the parentheses is one piece of the width, and each piece gets its own rectangle.
. . . (The negative multiplies both terms.)
Writing . The multiplies both terms, including : . So . Checking with catches it: the left side is .
Tip: A negative in front distributes to every term. Forgetting the second sign is the most common mistake—, not .
Expand and .
Show the answerHide the answer
Multiply the outside number into each term. and , so . Next, and , so .
Combining Like Terms
Like terms have the exact same variable part (same letter, same power). You combine them by adding or subtracting their coefficients. Constants are like terms with each other. You may not combine terms with different variables.
Combining like terms is the distributive property read backward: . It works only when the variable parts match, because only then is there a common factor to pull out. Three 's and five 's are eight 's, just as three apples and five apples are eight apples; three 's and five 's stay as they are.
(like terms: both have ). (combine the -terms; the stays). cannot be combined— and are different variables.
Writing . The is a constant, not a group of 's, so it cannot join them. With : , but only by coincidence; with the two sides are and .
Key idea: Only like terms combine. Add the coefficients but keep the variable the same: , never .
Simplify .
Show the answerHide the answer
Group the like terms: the -terms , the -term (alone), and the constants . So the expression is .
Simplifying: Distribute, Then Combine
To fully simplify an expression: first use the distributive property to remove any parentheses, then combine all like terms. Work carefully with signs at each step.
The order is forced by the order of operations: the parentheses hide a multiplication, and it has to be done before anything inside can join terms outside. Once the parentheses are gone, every term is exposed and the like terms can be gathered. A quick way to trust the result is to substitute a small number into the original and into the answer; if they differ, a sign went wrong.
Simplify .
Simplifying as . Subtracting first ignores the order of operations: the multiplies before anything is subtracted. Correct: . Check with : the original is , which matches , while does not.
Simplify .
Notice multiplied both and , giving .
Tip: Distribute first, then combine. Line up like terms and watch every sign, especially after a minus sign in front of parentheses.
Simplify and check your answer at .
Show the answerHide the answer
The minus sign in front of the second parentheses is a multiplication by . Distribute: . Combine: and , giving . Check at : the original is and .
Going Deeper: Toward Real Algebra
A function is a rule that takes an input and produces exactly one output. Instead of naming the rule “the expression ,” we give it a name and write function notation: . Read this as “ of .” The letter inside the parentheses is the input; the whole symbol stands for the output. Note that does not mean times —it is the single value the rule returns.
Let . To find , substitute for every and compute.
So . Likewise . Each input gives exactly one output.
A literal equation has several letters, and we solve for one of them in terms of the others. The strategy is the same as solving a numerical equation: use inverse operations to isolate the wanted letter, treating every other letter as if it were a known number.
The perimeter of a rectangle is . Solve for the width .
So . Now any values of and give directly, no re-solving needed.
An inequality uses , , , or instead of an equals sign, and describes a whole range of values. You solve it almost exactly like an equation—add, subtract, multiply, and divide on both sides—with one crucial exception: whenever you multiply or divide both sides by a negative number, you must reverse the inequality symbol.
Solve .
The solution is every number greater than . Check with : . ✓
Sign-flip trap: Adding or subtracting never changes the direction. Only multiplying or dividing by a negative flips to (or to ). Dividing by a positive leaves it alone.
The distributive property can be run backward. Factoring means pulling out a common factor shared by every term: . To factor, find the greatest common factor (GCF) of all the terms, write it outside the parentheses, and put what remains inside.
Expanding removes parentheses; factoring restores them.
To factor , the GCF of and is , so . Check by re-distributing: . ✓
Real problems become algebra in three moves: (1) let a letter stand for the unknown quantity; (2) translate each sentence into an expression or equation; (3) solve, then check the answer against the words. When two quantities are related, define both in terms of the same variable.
A shirt costs more than a hat. Together they cost . Find each price. Let be the hat's price; then the shirt costs .
The hat is and the shirt is . Check: . ✓
Many number patterns grow by the same amount each step. If a sequence starts at a first value and adds a fixed amount every term, the th term has a closed-form rule: (first term) . A closed form lets you jump straight to any term without listing them all.
The pattern starts at and adds each step. Its rule is
Check: gives ; gives . ✓ The th term is —found instantly, with no counting.
Big picture: A formula, a function, and a pattern's closed form are all the same idea—a compact rule that turns any input into its output. Learning to build these rules is what algebra is really about.
Why It Works
Expressions obey the same laws as numbers because a variable IS a number — just one we have not named. So for the same reason , and by the distributive property. Every algebraic move must remain true when a specific number is substituted for the variable, which is why substituting a value is a reliable check on any simplification.
Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.
Formulas, Proofs & Tips
What it means. A fixed order so every reader of an expression gets the same value.
Example. (multiply before adding), not .
Why it works. Multiplication is repeated addition and exponents are repeated multiplication, so each level is a shorthand for the one below it and must be unpacked first. Parentheses override the order by grouping explicitly.
Tip. Multiply/divide are one level worked left to right, and so are add/subtract. is , not .
What it means. Multiplying a sum multiplies each piece of it.
Example. .
Why it works. is added times. Regrouping those copies gives added times plus added times, i.e. . It is also the area of an rectangle split into two.
Tip. Distribute the sign too: . Run it backwards to factor.