Skip to content
Lesson 2 of 12 · CSCA Mathematics

Sets and inequalities

Work with sets and their operations, count with a Venn diagram, and solve quadratic, rational and absolute-value inequalities with a sign chart.

20 min

Sets

A set is a collection of distinct objects. Write it with braces: A = {1, 2, 3}. Say x ∈ A for "x is in A" and x ∉ A for "not in A". The empty set is ∅.

SymbolMeaningExample with A = {1, 2, 3, 4}, B = {3, 4, 5}
A ∩ Bin both{3, 4}
A ∪ Bin at least one{1, 2, 3, 4, 5}
A ∖ Bin A but not in B{1, 2}
A ⊆ Bevery element of A is in Bfalse here
complement of Aeverything in the universal set U not in Adepends on U

Two counting facts you will use constantly:

  • A set with n elements has 2ⁿ subsets (and 2ⁿ − 1 non-empty ones, 2ⁿ − 1 proper ones).
  • |A ∪ B| = |A| + |B| − |A ∩ B|. You subtract the overlap because it was counted twice.

Sets are often written by a condition, such as {x | x² − 3x + 2 < 0}. The work is then to solve the inequality, which is why sets and inequalities are one module.

In a class of 40 students, 25 study French, 18 study German, and 6 study neither. How many study both?

  1. 1

    40 − 6 = 34

    34 students study at least one language.

1/4

Quadratic inequalities

To solve ax² + bx + c > 0 (or <, ≥, ≤):

  1. 1.Make a positive. If a < 0, multiply by −1 and flip the inequality sign.
  2. 2.Find the roots by factoring or the formula x = (−b ± √(b² − 4ac)) / 2a.
  3. 3.Picture the parabola opening upward. It is below the x-axis between the roots and above it outside them.

So for roots r₁ < r₂ and a > 0:

  • ax² + bx + c < 0 gives r₁ < x < r₂
  • ax² + bx + c > 0 gives x < r₁ or x > r₂

If the discriminant b² − 4ac is negative there are no roots: the parabola stays above the axis (for a > 0), so "> 0" is true for all real x and "< 0" for none.

Never multiply both sides by an expression whose sign you do not know. Move everything to one side, factor, and use a sign chart: mark each zero of the numerator and each zero of the denominator on a number line, test one point in every interval. Zeros of the denominator are always excluded.

For absolute values: |x − a| < r means a − r < x < a + r, and |x − a| > r means x < a − r or x > a + r.

Solve (x − 3)/(x + 1) ≤ 0.

  1. 1

    Critical points: x = 3 (numerator) and x = −1 (denominator)

    They split the line into x < −1, −1 < x < 3 and x > 3.

1/4
Try it

The solution of x² + bx + c < 0 is the gap between the roots, and its length is √(b² − 4c). Set b = −5, c = 6 (roots 2 and 3): the length is 1. Now raise c until the answer drops to 0. What does that tell you about the discriminant?

-5
6

Length of the interval where x² + bx + c < 0

—

  • A set with n elements has 2ⁿ subsets; |A ∪ B| = |A| + |B| − |A ∩ B|.
  • For a > 0, ax² + bx + c < 0 holds between the roots and > 0 outside them.
  • Flip the inequality sign when you multiply or divide by a negative number.
  • For rational inequalities use a sign chart and exclude zeros of the denominator.
  • |x − a| < r is a − r < x < a + r.
Check yourself

Four checks.

1Multiple choice

A = {1, 2, 3, 4}, B = {3, 4, 5}. What is A ∩ B?

  • A{3, 4}
  • B{1, 2, 3, 4, 5}
  • C{1, 2}
  • D{5}
2Numeric answer

How many subsets does a set with 5 elements have?

3Multiple choice

Solve x² − x − 6 > 0.

  • A−2 < x < 3
  • Bx < −2 or x > 3
  • Cx < −3 or x > 2
  • D−3 < x < 2
4Multiple choice

Solve (x − 3)/(x + 1) < 0.

  • Ax < −1 or x > 3
  • B−1 < x < 3
  • Cx > −1
  • Dx < 3
5Multiple choice

Solve |x − 2| ≤ 3.

  • Ax ≤ 5
  • B−1 ≤ x ≤ 5
  • Cx ≤ −1 or x ≥ 5
  • D−5 ≤ x ≤ 1

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of CSCA Mathematics is planned around your week. Free.