Turning Word Problems into Equations

A word problem is just an equation wearing a story. The hard part is not the algebra — it is deciding what the unknown is and how the words map onto operations. Once you have a clean equation, the Linear Equation Solver does the rest.

The method is to name the unknown with a letter, translate the sentences one phrase at a time into operations on that letter, and write an equation that says two quantities are equal. Translate literally first; tidy afterwards. If the equation has an x² in it, you have met a quadratic, not a linear problem, and you should switch tools.

Open the matching Linear Equation Solver

Key formula

Define a variable for the unknown → translate phrases to operations → write “left side = right side” → solve.

Defining the variable and translating phrases

Start by naming what you are asked to find. “A number” becomes x. “Three more than a number” becomes x + 3. “Twice a number” becomes 2x. Write the definition down so you remember what x represents when you reach the answer — the most common slip is solving correctly then forgetting what the question asked for.

Common translations: “sum” means +, “difference” means −, “product” means ×, “quotient” means ÷, “is” or “equals” means =. “Of” usually means multiply, especially with percentages: “15% of x” is 0.15 × x. Translate phrase by phrase rather than trying to hold the whole sentence at once.

Writing and balancing the equation

Once the phrases are translated, the word “is” (or “equals”, “gives”, “makes”) splits the sentence into two sides. “Three more than twice a number is 17” becomes 2x + 3 = 17. The equation is a balance: whatever is on the left equals whatever is on the right.

If the unknown appears on both sides, collect the x terms onto one side and the constants onto the other before solving. “Twice a number plus 5 equals the number plus 11” gives 2x + 5 = x + 11, which becomes x + 5 = 11 after subtracting x from both sides. The Linear Equation Solver performs these moves and shows each one.

Checking the answer against the question

Always substitute your answer back into the original word problem, not just the equation. If x = 7 solves 2x + 3 = 17, check that “three more than twice 7” really is 17: 2 × 7 + 3 = 17. ✓ Substitution catches arithmetic slips that survive the algebra.

Some problems produce two algebraic solutions but only one real-world answer. A length cannot be negative, a number of people cannot be a fraction, and a time cannot be before the event started. State which root you reject and why, so the reader knows you checked the context, not just the maths.

Choosing one variable when two are related

When a problem mentions two related quantities — “two numbers whose sum is 20” — define one as x and write the other in terms of x. If the sum is 20, the second number is 20 − x. This keeps you to one variable and one equation, instead of a system you then have to solve.

The same trick handles “three more than the other” and similar phrasings. Let the smaller be x; then the larger is x + 3. The equation comes from the other condition in the problem, such as their sum or product. One variable, one equation, one answer.

Worked example

Five more than three times a number is 23. What is the number?

  1. 1Let the number be x.
  2. 2Translate: “three times a number” is 3x; “five more than” that is 3x + 5; “is 23” gives the equation 3x + 5 = 23.
  3. 3Subtract 5 from both sides: 3x = 18.
  4. 4Divide by 3: x = 6.
  5. 5Check in the original words: three times 6 is 18, and five more than 18 is 23. ✓

Answer: The number is 6.

Another worked example

The sum of two numbers is 30. One number is 4 less than the other. Find both numbers.

  1. 1Let the larger number be x. Then the smaller is x − 4.
  2. 2Their sum is 30: x + (x − 4) = 30.
  3. 3Combine like terms: 2x − 4 = 30.
  4. 4Add 4: 2x = 34. Divide by 2: x = 17.
  5. 5The smaller is x − 4 = 13. Check: 17 + 13 = 30. ✓

Answer: The numbers are 17 and 13.

Another worked example

A rectangle has a perimeter of 40 m and its length is 4 m more than its width. Find the dimensions.

  1. 1Let the width be w. Then the length is w + 4.
  2. 2Perimeter = 2 × length + 2 × width: 2(w + 4) + 2w = 40.
  3. 3Distribute: 2w + 8 + 2w = 40. Combine: 4w + 8 = 40.
  4. 4Subtract 8: 4w = 32. Divide by 4: w = 8.
  5. 5Length = w + 4 = 12. Check: 2(12) + 2(8) = 24 + 16 = 40. ✓

Answer: Width 8 m, length 12 m.

How to read the result

A correctly set-up equation is one where the question’s unknown maps onto exactly one variable, and every number in the equation came from the problem statement. If your equation contains a number you cannot point to in the words, you have imported an assumption — re-read the problem and remove it.

The answer you compute is the value of the variable, which is not always the value the question asks for. Read the last sentence of the problem before you stop: if it asks for “the larger number” and your variable was the smaller, substitute to find the larger before answering.

Limits of this method

This translation method produces linear equations when the unknown appears to the first power. If the problem involves area, speed combined with time over a squared distance, or “the product of two numbers”, the equation may be quadratic — switch to the Quadratic Equation Solver.

Some word problems contain more information than needed, or ask for several related quantities. Define one variable and express the others in terms of it, rather than introducing a separate letter for each unknown, so the equation stays solvable.

Common mistakes

  • Solving for x but answering the wrong quantity — if x is “the smaller number” and the question asks for the larger, substitute back before answering.
  • Translating “three less than a number” as 3 − x — it is x − 3, because you start with the number and take three away.
  • Forgetting that “is” means equals — the word that splits the sentence into two sides is the equals sign in the equation.
  • Using the Linear Equation Solver on an x² problem — if the unknown is squared, switch to the Quadratic Equation Solver.

Frequently asked questions

How do I know which letter to use for the variable?

It does not matter — x is conventional, but any letter works. What matters is that you define it clearly: “let x be the number”. Write the definition down so you remember what x represents when you reach the answer.

What does “three less than a number” translate to?

x − 3, not 3 − x. You start with the number and take three away. The order matters because subtraction is not commutative.

When should I use the quadratic solver instead?

When the unknown is squared, multiplied by itself, or appears in a product of two unknowns. If the equation has an x² term after translating, it is not linear and the Linear Equation Solver will not find the answer.

Should I use two variables for a problem with two unknowns?

Usually not. If the unknowns are related (“one is 4 less than the other”), define one as x and write the other in terms of x. That keeps you to a single equation you can solve directly.

The problem mentions area — is that still linear?

Area involves length × width, which is a product of two unknowns and is usually quadratic. If your equation ends up with an x² term after translating, switch to the Quadratic Equation Solver.

Try it yourself

Put the method into practice with the matching calculator.

Open the Linear Equation Solver

Related guides