Allday Education

Writing Equations from Word Problems

Most real problems don't hand you an equation — they hand you a sentence. Writing the equation yourself is a translation job: certain words reliably mean certain operations, and once you know the dictionary, the sentence practically writes the math for you.

After the translation, you solve it like any other equation. This lesson is about the translation step, because that's where the points are won or lost.

The translation dictionary

“Increased by” and “more than” mean addition. “Decreased by” and “fewer than” mean subtraction. “Times”, “twice”, and “product” mean multiplication. “Is”, “was”, and “equals” all mark the equals sign.

“A number” means the variable. So “a number increased by 88 is 2121” translates piece by piece: x+8=21x + 8 = 21.

The “less than” trap

“Seven less than twice a number” is 2x72x - 7, not 72x7 - 2x. “Less than” flips the order: the 77 is taken away from the 2x2x. Read it as “twice a number, minus seven.”

Subtraction order always matters. “A number decreased by 55” is x5x - 5, but “55 decreased by a number” is 5x5 - x — two different expressions with different solutions.

Fee-plus-rate problems

Many word problems combine a one-time amount with a repeating amount: a pickup fee plus a per-mile charge, or a joining fee plus a monthly cost. The repeating amount gets multiplied by the variable; the one-time amount is added once.

A taxi that charges a 3-dollar pickup fee plus 2 dollars per mile costs 2m+32m + 3 dollars for a ride of mm miles. Set that equal to the total spent and solve.

Worked examples

Example 1: translate and solve

A number increased by 77 is 1515. Find the number.

“Increased by 77” means additionx+7x + 7
“is 1515” gives the equals signx+7=15x + 7 = 15
Subtract 77 from both sidesx=8x = 8

Answer: x=8x = 8

Example 2: two operations

Three times a number, decreased by 44, is 1717. Find the number.

“Three times a number” means multiplication3x3x
“decreased by 44, is 1717” finishes the equation3x4=173x - 4 = 17
Add 44 to both sides3x=213x = 21
Divide both sides by 33x=7x = 7

Answer: x=7x = 7

Example 3: a fee plus a rate

A taxi charges a 3-dollar pickup fee plus 2 dollars per mile. Nadia's ride costs 17 dollars. How many miles was the ride?

The fee is paid once; the per-mile charge repeats2m+3=172m + 3 = 17
Subtract 33 from both sides2m=142m = 14
Divide both sides by 22m=7m = 7

Answer: 77 miles

Try one yourself

Common questions

Does the letter I pick matter?

No — any letter works. It helps to pick one that reminds you of the quantity, like mm for miles or cc for classes, so you remember what your answer means.

Does order matter when I translate?

Not for addition: x+8x + 8 and 8+x8 + x are the same. It absolutely matters for subtraction — “seven less than twice a number” is 2x72x - 7, never 72x7 - 2x.

How do I know what the variable stands for?

It stands for the thing the question asks you to find. Write it down before you translate — “let mm be the number of miles” — and the rest of the sentence falls into place around it.

What if the sentence doesn't use keywords?

Ask what is being done to the unknown quantity to produce the total. If each of 44 friends pays the same share ss of a 6060-dollar bill, the total is built by multiplying: 4s=604s = 60.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1