Linear Equations

Guess and Check Compared With Solving Algebraically

See when guess and check works well, where it breaks down, how algebra differs, and how the two methods can support each other.

Key takeaways

  • Guess and check is a legitimate method, because any value that satisfies the equation is a real solution.
  • Organizing guesses in a table and watching the gap turns random trials into a directed search.
  • Fractions, large numbers and irrational answers make guessing slow or unable to finish.
  • Algebra produces exact answers and, with reversible steps, shows that the list of solutions is complete.
  • Each method can check the other, which is a good reason to learn both.

Guess and check means trying values in an equation until one makes both sides equal. Solving algebraically means rewriting the equation with moves that keep its solutions until the unknown stands alone. Guessing is quick when the answer is a small whole number. Algebra works for any numbers and also tells you that nothing was missed.

You do not have to pick a side for good. A strong solver uses guessing to understand a problem and estimate an answer, then uses algebra to pin it down.

One problem, both ways

Solve 8x + 15 = 111.

With guess and check, start somewhere reasonable and adjust.

Guess 8x + 15 Compared with 111
5 55 too small
15 135 too large
10 95 too small
12 111 exact

Four trials and you have x = 12. Now the algebra.

8x + 15 = 111
8x = 96          (subtract 15)
x = 12           (divide by 8)

Two lines. For this problem both are comfortable. The difference shows up when the numbers change.

Replace 111 with 110. The algebra is just as short: 8x = 95, so x = 95/8, or 11.875. A guesser would try 11, then 12, then 11.5, then 11.75, and would need persistence and some luck to land exactly.

Guessing with a plan

Good guess and check is not random. Each result should decide the next guess.

  1. Make a first guess that is easy to compute, such as 10.
  2. Evaluate both sides and note which is larger and by how much.
  3. Try a second value and see how the gap changed.
  4. Move toward the value where the gap would be zero.
  5. When two guesses give gaps of opposite sign, search between them.

Step 5 relies on the sides changing smoothly, with no jumps. Linear expressions behave that way. An expression such as 1/x does not, because it is undefined at 0 and jumps from large negative to large positive values there.

The loop of organized guessing
Adjust Move in the direction that shrinks the gap. Compare Note the sign and size of the gap. Guess Choose a value that is easy to test. Evaluate Work out each side separately. 1 2 3 4 Guess Choose a value that is easy to test. 1 Evaluate Work out each side separately. 2 Compare Note the sign and size of the gap. 3 Adjust Move in the direction that shrinks the gap. 4

Turning two guesses into the exact answer

For a linear equation there is a neat shortcut. Because the gap between the sides changes at a constant rate, two guesses determine where it reaches zero.

Take 8x + 15 = 110 and define the gap as left side minus right side.

x = 10:   gap = 95 − 110 = −15
x = 15:   gap = 135 − 110 = 25
The gap rose by 40 while x rose by 5, so it rises 8 per unit.
To close −15 from x = 10, move 15/8 = 1.875.
x = 11.875

This idea is very old and is known as the method of false position. It appears in various forms in ancient and medieval problem collections, long before today's symbolic notation. It is exact only when the gap is linear. For curved relationships it gives an approximation that can be repeated and refined.

Where guessing runs into trouble

Fractions. The solution of 7x = 3 is 3/7, a repeating decimal. No list of tidy guesses will hit it.

Irrational numbers. The positive solution of x² = 2 is √2. Guessing 1.4, then 1.41, then 1.414 gets closer forever without arriving.

Large or unfamiliar ranges. If the answer is −3,482, starting at 1 and creeping along is hopeless, although doubling your steps would help.

Several solutions. The equation x² + 12 = 7x has solutions 3 and 4. A guesser who finds 3 may stop, never learning about 4.

No solution. For 2x + 1 = 2x + 5, every guess misses by exactly 4. A thousand failures strongly suggest there is no answer, but they do not prove it. Algebra settles it in one step: subtracting 2x leaves 1 = 5.

What algebra adds

Algebra works with the unknown itself, so each line is a statement about all possible values at once. When every step can be reversed, the first equation and the last have exactly the same solutions.

That is what lets you claim completeness. For 8x + 15 = 111, the final line x = 12 says both that 12 works and that no other number does.

Algebra also scales to general problems. Solving ax + b = c with a ≠ 0 once gives x = (c − b)/a, which answers every equation of that form. Guessing would have to begin again for each new set of numbers. See equations with letter coefficients for that step.

Two methods side by side
Guess and check Needs only arithmetic Builds a feel for the problem Best with small whole answers Cannot by itself show completeness Algebraic solving Needs rules of equality Gives exact fractions Handles letters and general cases Reversible steps show nothing is missed VS Guess and check Needs only arithmetic Builds a feel for the problem Best with small whole answers Cannot by itself show completeness Algebraic solving Needs rules of equality Gives exact fractions Handles letters and general cases Reversible steps show nothing is missed

Where guessing shines

Guessing is more than a beginner's crutch.

  • Understanding a word problem. Trying a number shows how the quantities relate. The arithmetic you perform on a guess is often the equation you need, with the number replaced by a letter.
  • Estimating. A rough answer protects you against slips, as discussed in estimating before solving.
  • Problems with no neat formula. For many equations, such as x + 2ˣ = 10, school algebra offers no direct rearrangement. Systematic trials give an answer to whatever accuracy you need.
  • Computers. Many numerical methods are refined versions of guess, measure the error and improve.

Here is the first point in action. Say tickets cost 9 dollars for adults and 5 dollars for children, 20 tickets were sold, and the total was 144 dollars. Guess 10 adults: 90 + 5(10) = 140. Replacing 10 with a gives 9a + 5(20 − a) = 144, so 4a + 100 = 144 and a = 11.

Halving the interval

When you know the solution lies between two values and no shortcut is at hand, test the midpoint and keep the half that still contains the solution. This procedure is called bisection.

Take x³ + x = 5. The left side grows steadily as x grows, so there is only one real solution. At x = 1 the left side is 2, too small. At x = 2 it is 10, too large.

x = 1.5:     3.375 + 1.5 = 4.875          too small
x = 1.75:    5.359375 + 1.75 ≈ 7.11       too large
x = 1.625:   about 4.29 + 1.625 ≈ 5.92    too large
x = 1.5625:  about 3.81 + 1.56 ≈ 5.38     too large

The solution is now trapped between 1.5 and 1.5625. Each round cuts the width of the interval in half, so you can reach any accuracy you want with enough rounds. What you get is an approximation with a known margin, not an exact symbolic answer.

This is guess and check made reliable. It depends on the expression having no breaks across the interval, and on the gap changing sign between the two ends.

Comparing the effort

Situation Better first choice Reason
Small whole-number answer either both are quick
Fractional answer algebra gives the exact value at once
Unfamiliar word problem guessing, then algebra trials reveal the relationship
Equation with no simple rearrangement organized trials an approximation is reachable
Need to show all solutions algebra with reversible steps trials cannot cover every number

The table is a guide, not a rule. Experience will give you a sense of which tool fits.

Using both together

A sensible routine looks like this. First try a value or two to see which way the quantities move. Then write the equation and solve it. Finally, compare the exact answer with your early trials and substitute it back, as in checking a solution.

If the algebra says x = 2 but your trials showed the solution lay between 10 and 15, something is wrong, and you know it right away.

On a multiple-choice question, substituting the offered values can be faster than solving. Remember that this relies on the choices being provided, and open-ended questions will not offer them.

Common questions

Is guess and check cheating?

No. A value that makes the equation true is a solution regardless of how you found it. A teacher may still ask for an algebraic method, because the goal of the exercise is to practice a technique that works when guessing fails.

How do I know when to stop guessing?

If a few organized trials have not found an exact value, switch to algebra, or use the false position idea above for a linear case. If you only need an approximation, stop when the answer is accurate enough for the purpose.

Should beginners learn guessing first?

Many courses start there, since testing values makes the meaning of a solution concrete. The aim is to move on once the idea is clear, so that guessing becomes one tool among several.

Common traps in guessing

Stopping at "close enough". A guess that misses by a small amount is not a solution. If 8x + 15 = 110, then x = 12 gives 111, which is near but wrong.

Changing both the guess and the target. Keep the equation fixed. Only the trial value should change from row to row.

Assuming only positive values. If every positive guess gives a left side that is too large, try zero and negative numbers. In 3x + 20 = 5, the solution is −5.

Losing track of trials. A table with the guess, both sides and the gap keeps you from testing the same value twice and shows the pattern at a glance.

Reading a trend too far. A gap that shrinks steadily in a linear equation will keep shrinking at the same rate. In curved equations it may slow down, turn around and shrink again later.

Try it yourself

Solve each by guessing, then by algebra, and compare the effort.

  1. 3x + 4 = 25
  2. 5x − 2 = 21
  3. 100 − 6x = 34
1. x = 7
2. x = 23/5 = 4.6
3. x = 11

The second one shows the contrast clearly: algebra reaches 23/5 immediately, while whole-number guesses only trap it between 4 and 5.

Written for 4Algebra with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 36 articles in Linear Equations →

Latest news on this topic