Sub topic 2
Writing Solution Sets in Set-Builder Notation
This chapter assumes you can solve linear equations in one variable, order real numbers on a number line, and work with negative numbers and fractions.
Writing solution sets in set-builder notation
A solution set is the group of all numbers that make an inequality true. Set-builder notation describes that group with a rule. The form is {x | condition}, read as "the set of all x such that the condition holds."
For x < -2, write {x | x < -2}.
Adding and subtracting on both sides
You can add or subtract the same number on both sides of an inequality without changing its solutions. This works the same way it does for equations.
Multiplying and dividing: when the inequality reverses
Multiplying or dividing both sides by a positive number keeps the symbol. Multiplying or dividing by a negative number reverses it. For example, 2 < 5 is true, but -2 > -5 is also true after multiplying by -1.
Solving one-step inequalities
A one-step inequality needs only one operation to isolate x. For example, solve x / -4 ≥ 3. Multiply both sides by -4 and reverse the symbol to get x ≤ -12.
Solving multi-step inequalities
Solve -3x + 5 > 11 in two steps. First subtract 5 from both sides to get -3x > 6. Then divide by -3 and reverse the symbol to get x < -2.
Check the result with a short program:
def satisfies(x):
return -3 * x + 5 > 11
print([x for x in (-3, -2, -1) if satisfies(x)]) # [-3]Only -3 passes, which matches x < -2.
Exercise
Solve -3x + 5 > 11 and write the solution set in set-builder notation.
Show answer
Subtract 5 to get -3x > 6. Divide by -3 and reverse the symbol to get x < -2. The solution set is {x | x < -2}.