Sub topic 2
Solutions and Solution Sets
This chapter assumes you can solve linear equations in one variable, place real numbers on a number line, do arithmetic with negative numbers and fractions, and distribute a number over parentheses. It also assumes you know what <, >, ≤, and ≥ mean. Here you learn what it means for a number to solve an inequality, how to describe all such numbers at once, and how to avoid the common errors that come from treating an inequality like an equation.
A solution versus a solution set
A solution of an inequality is a single number that makes the inequality true when you substitute it for the variable. The solution set is the collection of every such number.
An equation like 2x + 1 = 7 usually has one solution, x = 3. An inequality like 2x + 1 < 7 usually has infinitely many solutions. The number 0 works, because 2(0) + 1 = 1 and 1 < 7. The number 2.9 works. The number −1000 works. The number 3 does not work, because 2(3) + 1 = 7 and 7 < 7 is false.
Because you cannot list infinitely many numbers, you describe the solution set with a rule or a picture. The rest of the tutorial covers number line graphs, interval notation, and set-builder notation. This chapter builds the idea they all rely on.
Testing a single number
To test whether a number is a solution, replace the variable with that number and decide whether the resulting statement is true or false. Do not rearrange anything first. Substitution is a direct check on the original inequality.
Consider −3x + 5 > 11 and test x = −3, x = −2, and x = −1.
- For x = −3: −3(−3) + 5 = 9 + 5 = 14, and 14 > 11 is true. So −3 is a solution.
- For x = −2: −3(−2) + 5 = 6 + 5 = 11, and 11 > 11 is false. So −2 is not a solution.
- For x = −1: −3(−1) + 5 = 3 + 5 = 8, and 8 > 11 is false. So −1 is not a solution.
The second test shows how a strict inequality behaves at its boundary. The symbol > does not allow equality, so the value that makes both sides equal is excluded. If the original had been −3x + 5 ≥ 11, then −2 would be a solution.
You can automate this kind of test. The following program checks the same three values.
def satisfies(x):
return -3 * x + 5 > 11
print([x for x in (-3, -2, -1) if satisfies(x)]) # [-3]Only −3 is printed. This works as a spot check, but it cannot prove a whole solution set, because a program can only test finitely many values. You will see later how to choose test values so a finite check is convincing.
The boundary point
Every linear inequality in one variable has a related equation, found by replacing the inequality symbol with an equals sign. The solution of that equation is the boundary point. For −3x + 5 > 11 the related equation is −3x + 5 = 11, which gives x = −2.
The boundary point splits the number line into two regions. On a linear inequality, every number in one region satisfies the inequality and every number in the other region fails it. The boundary point itself is a special case. It satisfies the inequality only when the symbol is ≤ or ≥.
This is the key structural fact about linear inequalities. The solution set is always one of these shapes:
- Everything to the left of the boundary point, with or without the point.
- Everything to the right of the boundary point, with or without the point.
- Every real number, when the variable cancels and the leftover statement is true.
- No real number, when the variable cancels and the leftover statement is false.
The last two shapes are covered in a later chapter on special cases.
Open and closed boundaries
Whether the boundary point belongs to the solution set depends only on the symbol.
| Symbol | Meaning | Boundary point included? |
|---|---|---|
| < | less than | No |
| > | greater than | No |
| ≤ | less than or equal to | Yes |
| ≥ | greater than or equal to | Yes |
A boundary that is not included is called open. A boundary that is included is called closed. Later chapters show these as open and closed circles on a number line and as parentheses and brackets in interval notation.
Describing a solution set in words
Before using any notation, you can state a solution set in plain language. For −3x + 5 > 11, the solution set is "all real numbers less than −2." Notice what that sentence contains: the kind of numbers (real numbers), the direction (less than), and the boundary (−2). Any correct notation must carry the same three pieces of information.
Two inequalities can look different and still have the same solution set. For example, x + 1 > 4 and x > 3 have the same solutions, and so do 2x < 10 and x < 5. Inequalities with the same solution set are called equivalent. Solving an inequality means producing a chain of equivalent inequalities until the variable stands alone and the solution set is visible.
The domain matters
A solution set depends on which numbers you allow the variable to take. Unless stated otherwise, this tutorial uses the real numbers. If the problem restricts the variable, the solution set changes even though the algebra does not.
Take x < 3 under three different rules.
- Over the real numbers, the solution set is every real number less than 3, which is infinite and includes values like 2.999.
- Over the integers, the solution set is {…, −2, −1, 0, 1, 2}. It is still infinite, but it can be listed.
- Over the positive integers, the solution set is {1, 2}. It is finite.
Real situations often impose such a restriction. If x is a number of people, then 2.5 is not a meaningful answer even if it solves the inequality. A later chapter on modeling returns to this.
Common errors
These are the mistakes that most often damage a solution set at this stage.
- Treating the answer as a single value. Writing "x = −2" for the solution of −3x + 5 > 11 confuses the boundary point with the solution set. The boundary is a value you compute along the way. The solution set is a whole region.
- Including a boundary that the symbol excludes. Strict symbols exclude the boundary. Testing the boundary in the original inequality catches this immediately, as in the x = −2 test above.
- Testing only one side. If you test a single number, you learn little. A boundary point is the first test, and a value from each region is the second and third.
- Substituting into a rearranged inequality. If you made an algebra error while rearranging, testing the rearranged form will hide it. Always test the original.
- Confusing "a solution" with "the solution set." One number that works proves that the set is not empty. It does not tell you what the set is.
A reliable testing procedure
This procedure turns the ideas above into steps. It is the basis of the checking chapter that comes later.
- Find the boundary point by solving the related equation.
- Substitute the boundary point into the original inequality. It belongs to the solution set only if the result is true.
- Choose one test value from the region to the left of the boundary and one from the right.
- Substitute each into the original inequality and record which region gives a true statement.
- State the solution set as the region (or regions) that tested true, and include the boundary only if step 2 was true.
Here is the procedure on −1 ≤ 2x + 3 < 9, which is a single chain with two boundary points.
The boundary points come from 2x + 3 = −1 and 2x + 3 = 9, giving x = −2 and x = 3. Those two points split the number line into three regions: x < −2, −2 < x < 3, and x > 3.
| Test value | Substitution | Result |
|---|---|---|
| x = −3 | 2(−3) + 3 = −3, and −1 ≤ −3 is false | Not a solution |
| x = −2 | 2(−2) + 3 = −1, and −1 ≤ −1 < 9 is true | Solution |
| x = 0 | 2(0) + 3 = 3, and −1 ≤ 3 < 9 is true | Solution |
| x = 3 | 2(3) + 3 = 9, and 9 < 9 is false | Not a solution |
| x = 4 | 2(4) + 3 = 11, and 11 < 9 is false | Not a solution |
The middle region passes, the outer regions fail, −2 is included, and 3 is excluded. The solution set is every real number from −2 up to but not including 3. In interval notation that is [−2, 3), which you will meet formally in a later chapter.
With two boundary points you test at least one value in each of the three regions. In general, n boundary points create n + 1 regions.
Why this idea matters for what follows
Every later technique in this tutorial is a way of producing a solution set correctly. The addition and multiplication properties tell you which operations keep the solution set unchanged. The notations tell you how to write the set. Compound and absolute value inequalities combine regions by intersection or union. Checking uses the testing procedure above. If you hold on to the picture of a boundary point and regions, each of these topics becomes a variation on it.
Exercise
Consider the inequality 4 − 2x ≤ 10. (a) Is x = −3 a solution? Is x = −4? (b) Find the boundary point from the related equation. (c) Decide whether the boundary point is a solution, and say how you know. (d) Describe the solution set in words.
Show answer
(a) For x = −3: 4 − 2(−3) = 10, and 10 ≤ 10 is true, so −3 is a solution. For x = −4: 4 − 2(−4) = 12, and 12 ≤ 10 is false, so −4 is not a solution. (b) The related equation 4 − 2x = 10 gives −2x = 6, so x = −3. (c) Substituting x = −3 into the original inequality gives 10 ≤ 10, which is true. The symbol ≤ allows equality, so the boundary point is included. (d) Testing x = 0 gives 4 ≤ 10, which is true, and testing x = −4 failed, so the solution set is all real numbers greater than or equal to −3.
Exercise
The inequality x < 3 is considered over three domains: the real numbers, the integers, and the positive integers. Write the solution set for each, and say which are finite.
Show answer
Over the real numbers, the solution set is all real numbers less than 3, and it is infinite. Over the integers, it is {…, −2, −1, 0, 1, 2}, which is infinite but listable. Over the positive integers, it is {1, 2}, which is the only finite set of the three.
Exercise
A student solves 5x − 2 < 8 and gets the boundary point x = 2. The student then writes "the solution is x = 2." Explain the two mistakes in this answer, and give a correct description of the solution set.
Show answer
The first mistake is naming a single value instead of a set. The value 2 is only the boundary point. The second mistake is that x = 2 is not even a solution: 5(2) − 2 = 8, and 8 < 8 is false. The symbol < excludes the boundary. Testing x = 0 gives −2 < 8, which is true, so the solution set is all real numbers less than 2, with 2 excluded.