Linear Equations

What a Solution to an Equation Really Is

A solution is a value that makes an equation true. Learn to test one, count them, and see why the number system matters.

Key takeaways

  • A solution is a value that turns an equation into a true statement when substituted for the unknown.
  • You can test a proposed solution by evaluating each side separately and comparing the results.
  • An equation may have one solution, several, infinitely many, or none at all.
  • Whether a solution exists depends on which numbers you allow, such as integers or real numbers.
  • Solving means finding every solution and showing that no others exist.

A solution to an equation is a value you can put in place of the unknown so that the two sides come out equal. For 3x + 4 = 19, the number 5 is a solution because 3 · 5 + 4 really is 19. The number 4 is not, because 3 · 4 + 4 is 16.

That is the whole definition, and it is more useful than it looks. It lets you test any proposed answer without knowing any solving technique, and it explains what every technique is trying to do.

An equation is a question

An equation is a statement that two expressions are equal, and an expression is a combination of numbers, letters and operations that stands for a value. If you want the distinction spelled out, see how expressions, equations and formulas differ.

When a statement contains only numbers, it is already true or false. The line 2 + 3 = 5 is true, and 2 + 3 = 6 is false. Both are perfectly good statements.

Once a letter appears, the statement is neither true nor false yet. The line x + 3 = 5 depends on what x stands for. You can read it as a question: which values of x make this true? Here the letter is playing the role of an unknown, one of the several jobs that a variable can do.

Each value you try turns the question into a plain numerical statement. With x = 7 you get 10 = 5, which is false. With x = 2 you get 5 = 5, which is true. So 2 is a solution, and we say that 2 satisfies the equation.

How to test a value

Testing takes three moves, and keeping them separate prevents most errors.

  1. Replace every copy of the unknown with the proposed value, using parentheses around it.
  2. Work out the left side on its own, following the order of operations.
  3. Work out the right side on its own, then compare the two numbers.

Say you want to know whether x = −2 solves 5x + 1 = 3x − 3.

Left side:   5(−2) + 1 = −10 + 1 = −9
Right side:  3(−2) − 3 = −6 − 3 = −9
Both sides equal −9, so x = −2 is a solution.

The parentheses matter most with negative numbers and powers. If x = −3, then x² means (−3)², which is 9. Writing −3² instead gives −9 under the usual convention. The habits in substituting values without sign errors apply directly here.

Every occurrence of the letter must get the same value. You cannot use x = 1 on the left and x = 4 on the right of one equation.

Testing whether a number is a solution
1 Substitute Put the value in every place the unknown appears, inside parentheses. 2 Evaluate left Simplify the left side alone. 3 Evaluate right Simplify the right side alone. 4 Compare Equal numbers: a solution. Different numbers: not a solution. Substitute Put the value in every place the unknown appears, inside parentheses. 1 Evaluate left Simplify the left side alone. 2 Evaluate right Simplify the right side alone. 3 Compare Equal numbers: a solution. Different numbers: not a solution. 4

One solution, two, many or none

Beginning equations often have exactly one solution, so it is easy to assume that all equations do. They do not.

Consider x² + 2 = 3x. Try a few whole numbers and record both sides.

x x² + 2 3x Solution?
0 2 0 no
1 3 3 yes
2 6 6 yes
3 11 9 no

Both 1 and 2 work. If you had stopped at the first success, you would have missed half of the answer.

At the other extreme, x = x + 1 has no solution, because no number equals one more than itself. And 2(x + 3) = 2x + 6 is true for every number you could try, since the two sides are the same expression written two ways. An equation like that is called an identity, and identities and conditional equations behave very differently when you try to solve them.

The solution set

The collection of all solutions is called the solution set. It is written with braces. For x² + 2 = 3x, the solution set is {1, 2}. For x + 3 = 5 it is {2}. For x = x + 1 it is the empty set, written ∅ or { }.

The empty set is a complete, legitimate answer. Writing "no solution" says something definite about the equation. It is different from writing x = 0, which claims that zero works.

Larger solution sets need other notation, because you cannot list infinitely many numbers one at a time. The article on solution sets and set-builder notation shows how to describe them precisely.

The numbers you allow change the answer

A question about solutions is incomplete until you say which numbers are candidates. This collection is sometimes called the domain or replacement set.

Equation In the whole numbers (0, 1, 2, ...) In a larger system
x + 5 = 2 no solution x = −3 in the integers
2x = 7 no solution x = 7/2 in the rational numbers
x² = 2 no solution x = √2 or −√2 in the real numbers
x² = −4 no solution x = 2i or −2i in the complex numbers

Here i is the number defined so that i² = −1. Unless a course or problem says otherwise, early algebra usually works in the real numbers.

Context can restrict the candidates too. Suppose a hypothetical problem says that 4n = 10, where n counts people in each row. The equation has the real solution 2.5, but you cannot seat half a person, so the problem has no valid answer. The equation was solved correctly, and the situation rejected the result.

Some equations exclude values by their form. In 6/(x − 2) = 3, the value x = 2 is not even eligible, since it would require division by zero. The solution is x = 4, because 6/2 = 3.

What solving adds to testing

Testing tells you about one value at a time. There are infinitely many real numbers, so testing alone can never show that you have found all the solutions.

Solving closes that gap. You rewrite the equation as a chain of simpler equations that have exactly the same solution set, until the set is obvious.

3x + 4 = 19
3x = 15        (subtract 4 from both sides)
x = 5          (divide both sides by 3)

The last line has an obvious solution set, {5}. Because each step can be reversed, the first line has the same set. That gives you two facts at once: 5 works, and nothing else does. The moves that keep the set unchanged are described under equivalent equations.

Not every move is safe. Multiplying both sides by zero turns any equation into 0 = 0, which every number satisfies. Squaring both sides can add values that never solved the original. This is why you still substitute your answer back, a routine covered in checking a solution.

Narrowing in on a solution by testing

Testing can also guide you toward a value you have not guessed yet. The trick is to watch how the gap between the two sides changes.

Take 7x − 5 = 40 and try x = 4. The left side is 23, which is too small. Try x = 8 and the left side is 51, which is too large. A solution must lie between them, because 7x − 5 grows steadily as x grows.

Try x = 6 and you get 37, still a little short. Try x = 7 and you get 44, a little over. So the solution sits between 6 and 7, and algebra shows it is 45/7.

This example explains the limit of trial and error. Whole-number guesses would never land exactly on 45/7, however many you made. Testing is excellent for confirming a value and for estimating one, while an exact fraction usually calls for solving.

It also pays to look at the structure before you calculate. In x² + 10 = 6, a square of a real number is never negative, so the left side is at least 10. No real number can work, and you know it without trying a single one. In x + 100 = 3, a positive x only makes the left side bigger, so any solution has to be negative.

Solutions with more than one unknown

When an equation has two unknowns, one number is no longer enough. A solution of x + y = 10 is a pair of values, usually written (x, y). The pair (3, 7) is a solution, and so is (12, −2). The pair (7, 4) is not, since 7 + 4 = 11.

This equation has infinitely many solutions, and plotted on a coordinate grid they form a straight line. The graph of an equation is simply a picture of its solution set.

Order matters in the pair. For y = 2x, the pair (1, 2) is a solution, but (2, 1) is not.

How many real solutions can an equation have?
None x = x + 1 Exactly one 3x + 4 = 19 gives x = 5 Several x² = 9 gives 3 and −3 Every real number 2(x + 3) = 2x + 6 None x = x + 1 Exactly one 3x + 4 = 19 gives x = 5 Several x² = 9 gives 3 and −3 Every real number 2(x + 3) = 2x + 6

Common questions

Is the solution the same as the answer?

Often, but the words are not identical. A solution belongs to an equation. The answer to a word problem may need an extra step, such as computing a length from the value of x, or discarding a negative value that makes no sense.

Why does an equation like x² = 9 have two solutions?

Both 3² and (−3)² equal 9. The symbol √9 means only the principal root, 3, so solving x² = 9 gives x = ±√9, which stands for 3 or −3.

Can I find a solution just by looking?

Yes, and it counts. If you see that x = 6 makes x + x/2 = 9 true, you have a genuine solution. What you have not yet shown is that it is the only one. For a linear equation like this, a short algebraic argument settles it: (3/2)x = 9 forces x = 6.

What should I write when nothing works?

First make sure you have argued it instead of giving up after a few trials. If your algebra reaches a false statement such as 4 = 7 through reversible steps, write that there is no solution, or that the solution set is ∅.

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