01.7.1 Essential Review: Sets and Inequality Notation

Before attempting mixed problems, students should review the mathematical symbols introduced in earlier lessons.

Set notation

A set is a well-defined collection of distinct objects or elements.

For example:

\[ A=\{1,2,3,4,5\} \]

The numbers 1, 2, 3, 4, and 5 are the elements of set \(A\).

If an element belongs to a set, we write:

\[ 3\in A \]

If an element does not belong to a set, we write:

\[ 7\notin A \]

Main set operations

Suppose:

\[ A=\{1,2,3,4\} \]
\[ B=\{3,4,5,6\} \]

The union of \(A\) and \(B\) contains every element appearing in at least one of the sets.

\[ A\cup B=\{1,2,3,4,5,6\} \]

The intersection contains elements common to both sets.

\[ A\cap B=\{3,4\} \]

The difference \(A\setminus B\) contains elements belonging to \(A\) but not \(B\).

\[ A\setminus B=\{1,2\} \]

The complement \(A^c\) contains the elements of a specified universal set \(U\) that do not belong to \(A\).

For example, if:

\[ U=\{1,2,3,4,5,6,7,8\} \]

Then:

\[ A^c=\{5,6,7,8\} \]

The complement depends on the universal set. Without knowing the relevant universe, it may be impossible to determine a complement exactly.

Set Notation Reference

Symbol Meaning Example
∈ Belongs to 3 ∈ A
∉ Does not belong to 7 ∉ A
⊆ Subset of A ⊆ B
∪ Union A ∪ B
∩ Intersection A ∩ B
∖ Set difference A ∖ B
Ac Complement relative to U U ∖ A
∅ Empty set A ∩ B = ∅

01.7.2 Connecting Set Operations with Inequalities

A central idea of this lesson is that the solution to an inequality can itself be treated as a set.

For example:

\[ x>2 \]

defines the solution set:

\[ A=(2,\infty) \]

And:

\[ x\leq5 \]

defines:

\[ B=(-\infty,5] \]

We can use set operations to combine these inequalities.

Case 1: AND means intersection

Suppose we require:

\[ x>2\quad\text{AND}\quad x\leq5 \]

Both conditions must hold simultaneously.

Therefore:

\[ A\cap B=(2,5] \]

Equivalent inequality notation:

\[ 2<x\leq5 \]

Case 2: OR means union

Now suppose we require:

\[ x>2\quad\text{OR}\quad x\leq5 \]

A number satisfies the condition if it belongs to at least one of the solution sets.

Since every real number satisfies at least one of these two conditions:

\[ A\cup B=\mathbb R \]

Important: The words AND and OR describe different mathematical operations. Confusing them may produce an entirely different answer.

AND vs. OR reference table

Connection Set operation Requirement
AND Intersection (∩) Both conditions must hold
OR Union (∪) At least one condition must hold

01.7.3 Worked Example 1 — Mixed Set Operations

Let the universal set be:

\[ U=\{1,2,3,4,5,6,7,8,9,10,11,12\} \]

Let:

\[ A=\{1,2,3,5,8,11\} \]
\[ B=\{2,4,5,8,10\} \]

Find:

  1. \(A\cap B\)

  2. \(A\cup B\)

  3. \(A\setminus B\)

  4. \((A\cup B)^c\)

Solution

Part 1. Intersection

Find the elements appearing in both sets.

The common elements are 2, 5, and 8.

Therefore:

\[ A\cap B=\{2,5,8\} \]

Part 2. Union

Collect every distinct element belonging to either set.

\[ A\cup B=\{1,2,3,4,5,8,10,11\} \]

Remember that repeated elements are written only once in a set.

Part 3. Set difference

We need elements belonging to \(A\) but not \(B\).

\[ A\setminus B=\{1,3,11\} \]

Notice that \(A\setminus B\) is not generally the same as \(B\setminus A\).

Part 4. Complement of the union

First identify:

\[ A\cup B=\{1,2,3,4,5,8,10,11\} \]

Now find the elements in \(U\) that do not appear in this union.

\[ (A\cup B)^c=\{6,7,9,12\} \]

Exam strategy

For problems involving several set operations, work from the innermost parentheses outward.

For example, in:

\[ (A\cup B)^c \]

calculate \(A\cup B\) first, then take its complement relative to \(U\).

 

01.7.4 Worked Example 2 — Venn Diagram and Counting

A class contains 40 students.

Among them:

  • 24 students study mathematics.

  • 19 students study physics.

  • 8 students study both mathematics and physics.

Find the number of students who study at least one of the two subjects and the number who study neither subject.

Step 1. Define the sets

Let:

\[ M=\{\text{students studying mathematics}\} \]
\[ P=\{\text{students studying physics}\} \]

We are given:

\[ n(M)=24,\qquad n(P)=19 \]
\[ n(M\cap P)=8 \]

Step 2. Apply the inclusion-exclusion principle

For two finite sets:

\[ n(A\cup B)=n(A)+n(B)-n(A\cap B) \]

Substituting:

\[ n(M\cup P)=24+19-8 \]
\[ n(M\cup P)=35 \]

Therefore, 35 students study at least one of the two subjects.

Why do we subtract 8?

Because the students who study both subjects were counted once in the mathematics group and once in the physics group.

Without subtracting the overlap, they would be counted twice.

Step 3. Find the students who study neither subject

Total number of students:

\[ 40 \]

Number studying at least one subject:

\[ 35 \]

Therefore:

\[ 40-35=5 \]

Final answer:

  • Students studying at least one subject: 35

  • Students studying neither subject: 5

Check using the four Venn regions

16 mathematics only, 8 both, 11 physics only, and 5 neither.

Verification:

\[ 16+8+11+5=40 \]

The total matches the original class size.

 

01.7.5 Worked Example 3 — Intervals and Set Operations

Let:

\[ A=(-\infty,5] \]
\[ B=(2,9) \]

Find:

\[ A\cap B,\quad A\cup B,\quad A\setminus B \]

Part 1. Find the intersection

The intersection contains values belonging to both intervals.

The first interval contains all values at most 5.

The second interval contains all values strictly between 2 and 9.

Therefore, the common region is:

\[ A\cap B=(2,5] \]

The value 2 is excluded because it is not in \(B\), while 5 is included because it belongs to both intervals.

Part 2. Find the union

The union contains all values belonging to either interval.

Together, these intervals cover every real number less than 9.

Therefore:

\[ A\cup B=(-\infty,9) \]

The value 9 is excluded.

Part 3. Find the set difference

We need:

\[ A\setminus B \]

These are the values that belong to \(A\) but not \(B\).

The second interval removes all values greater than 2 and less than or equal to 5 from \(A\).

However, \(x=2\) is not in \(B\), so 2 remains in the difference.

Therefore:

\[ A\setminus B=(-\infty,2] \]

Key lesson: When combining intervals, always check whether their endpoints are included or excluded.

 

01.7.6 Worked Example 4 — Compound Linear Inequalities

Solve:

\[ -3\leq2x+1<9 \]

Express the solution in interval notation.

Step 1. Subtract 1 from all three parts

\[ -3-1\leq2x+1-1<9-1 \]

Simplify:

\[ -4\leq2x<8 \]

Step 2. Divide all three parts by 2

Since 2 is positive, the inequality directions remain unchanged.

\[ -2\leq x<4 \]

Step 3. Write the solution in interval notation

\[ [-2,4) \]

Step 4. Verify the endpoints

At \(x=-2\):

\[ 2(-2)+1=-3 \]

This satisfies the original non-strict lower bound, so −2 is included.

At \(x=4\):

\[ 2(4)+1=9 \]

But the original upper bound requires a value strictly less than 9.

Therefore, 4 must be excluded.

Final answer:

\[ [-2,4) \]
 

01.7.7 Worked Example 5 — Intersection of Two Linear Inequalities

Solve the system:

\[ \begin{cases} 3x-5\geq1\\ 2x+1<9 \end{cases} \]

A system of inequalities requires all given conditions to hold simultaneously.

Step 1. Solve the first inequality

\[ 3x-5\geq1 \]

Add 5:

\[ 3x\geq6 \]

Divide by 3:

\[ x\geq2 \]

Its solution set is:

\[ A=[2,\infty) \]

Step 2. Solve the second inequality

\[ 2x+1<9 \]

Subtract 1:

\[ 2x<8 \]

Divide by 2:

\[ x<4 \]

Its solution set is:

\[ B=(-\infty,4) \]

Step 3. Find the intersection

Both conditions must be satisfied.

\[ A\cap B=[2,4) \]

Therefore:

\[ 2\leq x<4 \]

Final answer:

\[ [2,4) \]

Important: Do not write the union of these solution sets. Because both inequalities must hold, we use the intersection.

 

01.7.8 Worked Example 6 — Quadratic Inequality with an Interval Restriction

Find all real values satisfying:

\[ x^2-4x-5\leq0 \]

and:

\[ x>2 \]

Step 1. Factorize the quadratic expression

\[ x^2-4x-5=(x-5)(x+1) \]

Therefore:

\[ (x-5)(x+1)\leq0 \]

Step 2. Find the roots

x − 5 = 0
⟹
x = 5

x + 1 = 0
⟹
x = −1

Step 3. Solve the quadratic inequality

The quadratic opens upward.

Therefore, it is nonpositive between its roots, including both roots.

\[ -1\leq x\leq5 \]

The solution set is:

\[ A=[-1,5] \]

Step 4. Apply the additional restriction

The second condition is:

\[ x>2 \]

Thus:

\[ B=(2,\infty) \]

We need the intersection:

\[ A\cap B=[-1,5]\cap(2,\infty) \]

Therefore:

\[ A\cap B=(2,5] \]

Final answer:

\[ (2,5] \]

Why is this a mixed problem?

It requires three separate skills:

  • Solving a quadratic inequality.

  • Expressing its solution using interval notation.

  • Finding the intersection of two sets.

Students must complete all three operations to obtain the correct answer.

 

01.7.9 Worked Example 7 — Rational Inequality with an Interval Restriction

Find the values satisfying:

\[ \frac{x-1}{x+2}\geq0 \]

subject to:

\[ x\in(-3,5] \]

Step 1. Identify the critical values

Numerator:

x − 1 = 0
⟹
x = 1

Denominator:

x + 2 = 0
⟹
x = −2

The value \(x=-2\) is excluded because the denominator cannot equal zero.

Step 2. Determine the signs

The critical values divide the number line into three intervals.

Rational Inequality Sign Chart

Interval Numerator Denominator Fraction sign
x < −2 Negative Negative Positive
−2 < x < 1 Negative Positive Negative
x > 1 Positive Positive Positive

At x = 1, the fraction is zero. At x = -2,
the fraction is undefined.

Step 3. Solve the rational inequality

The fraction is nonnegative when the numerator and denominator have the same sign, or the numerator is zero and the denominator is nonzero.

Therefore:

\[ x<-2\quad\text{or}\quad x\geq1 \]

Solution set:

\[ A=(-\infty,-2)\cup[1,\infty) \]

Step 4. Apply the interval restriction

We also require:

\[ B=(-3,5] \]

Find:

\[ A\cap B \]

The left portion becomes:

\[ (-\infty,-2)\cap(-3,5]=(-3,-2) \]

The right portion becomes:

\[ [1,\infty)\cap(-3,5]=[1,5] \]

Combine these two regions.

Final answer:

\[ (-3,-2)\cup[1,5] \]

Critical exam reminder

Although the original rational inequality permits all values less than −2, the additional restriction excludes values less than or equal to −3.

The final answer must satisfy every stated condition.

 

01.7.10 Worked Example 8 — A Canceled Factor and Its Original Domain

Solve:

\[ \frac{(x-2)(x+1)}{x-2}\geq0 \]

Step 1. Identify the original denominator restriction

\[ x-2\neq0 \]

Therefore:

\[ x\neq2 \]

Step 2. Simplify the expression

For \(x\neq2\), cancel the common factor:

\[ \frac{(x-2)(x+1)}{x-2}=x+1 \]

The inequality becomes:

\[ x+1\geq0 \]

Step 3. Solve

\[ x\geq-1 \]

Step 4. Apply the original restriction

The value \(x=2\) must remain excluded because the original expression is undefined there.

Therefore:

\[ x\in[-1,\infty),\qquad x\neq2 \]

Final answer:

\[ [-1,2)\cup(2,\infty) \]

This is an important example because a student who forgets the original denominator restriction might incorrectly answer [-1,\infty)” data-math-display=”false”>\([-1,\infty)\).

 

01.7.11 Worked Example 9 — Combining Quadratic and Rational Inequalities

Solve the following system:

 

{

 

x2 − x − 6 ≥ 0

x + 1 x − 4

 

< 0

This problem combines two different inequality-solving techniques.

Step 1. Solve the quadratic inequality

\[ x^2-x-6\geq0 \]

Factorize:

\[ (x-3)(x+2)\geq0 \]

The roots are:

\[ x=3,\quad x=-2 \]

The quadratic opens upward, so its value is nonnegative outside the roots.

Therefore:

\[ x\leq-2\quad\text{or}\quad x\geq3 \]

Solution set:

\[ A=(-\infty,-2]\cup[3,\infty) \]

Step 2. Solve the rational inequality

\[ \frac{x+1}{x-4}<0 \]

Critical values:

\[ x=-1,\quad x=4 \]

The numerator and denominator have opposite signs between −1 and 4.

Therefore:

\[ -1<x<4 \]

Solution set:

\[ B=(-1,4) \]

Step 3. Find the intersection

We need:

\[ A\cap B \]

Substitute:

\[ \bigl((-\infty,-2]\cup[3,\infty)\bigr)\cap(-1,4) \]

The first branch \(x\leq-2\) does not overlap \((-1,4)\).

The second branch \(x\geq3\) overlaps it from 3 to 4.

Therefore:

\[ 3\leq x<4 \]

Final answer:

\[ [3,4) \]

Verification

At \(x=3\):

\[ 3^2-3-6=0\geq0 \]

And:

\[ \frac{3+1}{3-4}=-4<0 \]

Thus, 3 is included.

At \(x=4\), the rational expression is undefined, so 4 is excluded.

 

01.7.12 Worked Example 10 — Integer Solution Sets

Find all integers satisfying:

\[ -5\leq x<4 \]

and:

\[ x^2-4>0 \]

Step 1. Solve the quadratic inequality

\[ x^2-4>0 \]

Factorize:

\[ (x-2)(x+2)>0 \]

Therefore:

\[ x<-2\quad\text{or}\quad x>2 \]

Step 2. Apply the interval restriction

The additional condition is:

\[ -5\leq x<4 \]

Intersecting the solution sets gives:

\[ [-5,-2)\cup(2,4) \]

Step 3. Apply the integer restriction

The problem asks for integers only.

The integers in these intervals are:

\[ -5,-4,-3,3 \]

Final answer:

\[ \{-5,-4,-3,3\} \]

Important distinction

If the problem asks for real solutions, the interval answer is correct.

If it asks for integer solutions, the answer must contain only integers satisfying all conditions.

Always check the required number domain:

\[ \mathbb R,\quad\mathbb Z,\quad\mathbb N \]

The notation \(\mathbb N\) is not universal: some textbooks include 0, while others begin at 1. Follow the convention stated in the question.

 

01.7.13 Worked Example 11 — Recognizing an Empty Intersection

Solve both conditions:

\[ x^2-4<0 \]

and:

\[ x\geq3 \]

Step 1. Solve the quadratic inequality

\[ (x-2)(x+2)<0 \]

The expression is negative between its roots.

Therefore:

\[ -2<x<2 \]

Solution set:

\[ A=(-2,2) \]

Step 2. Express the second condition

\[ B=[3,\infty) \]

Step 3. Find the intersection

\[ A\cap B=(-2,2)\cap[3,\infty) \]

There is no overlap between the two intervals.

Therefore:

A ∩ B = ∅

Final answer: No real solution.

Important: A mixed inequality problem may have no solution even when each individual inequality has infinitely many solutions.

 

01.7.14 Worked Example 12 — Word Problem with an Integer Restriction

A student has a maximum budget of $60 for examination preparation materials.

The student must pay a fixed registration fee of $12. Each additional practice workbook costs $7.

Find the possible numbers of workbooks the student can buy without exceeding the budget.

Step 1. Define the variable

Let \(n\) be the number of workbooks.

Since the number of workbooks must be a nonnegative integer:

\[ n\in\{0,1,2,3,\ldots\} \]

Step 2. Construct the inequality

Fixed registration fee:

\[ 12 \]

Cost of \(n\) workbooks:

\[ 7n \]

Total cost cannot exceed $60.

Therefore:

\[ 12+7n\leq60 \]

Step 3. Solve

Subtract 12:

\[ 7n\leq48 \]

Divide by 7:

\[ n\leq\frac{48}{7} \]

Since:

\[ \frac{48}{7}\approx6.857 \]

the maximum possible integer value is 6.

Step 4. Express the final solution set

\[ n\in\{0,1,2,3,4,5,6\} \]

Final answer: The student may buy up to 6 workbooks.

Verify the maximum value

For 6 workbooks:

\[ 12+7(6)=54\leq60 \]

For 7 workbooks:

\[ 12+7(7)=61>60 \]

Therefore, 6 is the greatest permissible number.

 

01.7.15 Common Mistakes in Mixed Problems

Mixed problems are challenging because students may correctly solve the individual equations or inequalities but combine their solutions incorrectly.

Mistake 1: Confusing union and intersection

Suppose:

\[ A=(-\infty,3) \]
\[ B=[1,\infty) \]

If the question asks for \(A\cap B\), the answer is:

\[ [1,3) \]

If it asks for \(A\cup B\), the answer is:

\[ \mathbb R \]

These are very different solution sets.

Mistake 2: Ignoring endpoint inclusion

Suppose:

\[ A=[-2,5] \]
\[ B=(5,8) \]

There is no common value because 5 is excluded from \(B\).

Therefore:

A ∩ B = ∅

Even though the intervals touch at 5 on a number line, their intersection is empty.

Mistake 3: Forgetting a rational denominator restriction

Consider:

\[ \frac{x^2-4}{x-2}\geq0 \]

The expression simplifies to \(x+2\), but only when \(x\neq2\).

Therefore, the answer is:

\[ [-2,2)\cup(2,\infty) \]

not \([-2,\infty)\).

Mistake 4: Selecting quadratic roots instead of intervals

Solve:

\[ x^2-6x+8<0 \]

The roots are 2 and 4.

But the solution set is:

\[ (2,4) \]

The roots identify boundaries; they are not automatically the solution set.

Mistake 5: Treating an integer problem as a real-number problem

Suppose:

\[ 1<x<5 \]

If \(x\in\mathbb R\), the solution is:

\[ (1,5) \]

If \(x\in\mathbb Z\), the solution is:

\[ \{2,3,4\} \]

The number domain changes the form of the final answer.

Mistake 6: Forgetting that a system can have no solution

Consider:

\[ x<-3 \]

and:

\[ x>2 \]

No real number satisfies both conditions.

Therefore:

∅

Students should not automatically join these two intervals using a union symbol.

Choosing the Correct Solving Method

Problem type Main technique Final step
Two finite sets Set operations List distinct elements
Counting overlapping groups Inclusion-exclusion Check the total
Two intervals Union or intersection Check endpoints
Linear inequality system Algebraic solving Intersect solution sets
Quadratic and interval Factorization or roots Apply restriction
Rational and interval Sign chart Exclude undefined values
Quadratic and rational Solve separately Intersect results
Integer-restricted inequality Solve over real numbers Select permitted integers
Practical word problem Construct inequalities Apply context restrictions

Final answer checklist

Before submitting any mixed problem, students should verify:

  • Have all individual inequalities been solved correctly?

  • Does the question require a union or an intersection?

  • Are all interval endpoints included or excluded correctly?

  • Have all denominator zeros been excluded?

  • Have integer or other domain restrictions been applied?

  • Does the final answer satisfy every original condition?

 

01.7.17 Lesson Summary

This mixed practice lesson connects the concepts learned throughout Module 01.

The most important ideas are:

  1. Sets allow us to describe and combine collections of possible solutions.

  2. Union includes elements belonging to at least one set.

  3. Intersection includes only elements common to all required sets.

  4. Linear inequalities are solved using equivalent algebraic operations.

  5. Quadratic inequalities require locating roots and determining the sign of an expression.

  6. Rational inequalities require sign analysis and strict attention to denominator restrictions.

  7. Interval notation expresses solution sets compactly and precisely.

  8. Additional restrictions can reduce a solution set or make it empty.

  9. Integer restrictions require selecting only the permitted integer values.

  10. Correct mathematical reasoning is more important than choosing an answer based only on the roots.

Essential formulas

Inclusion-exclusion for two finite sets:

\[ n(A\cup B)=n(A)+n(B)-n(A\cap B) \]

Intersection of solution sets:

\[ S=S_1\cap S_2 \]

Union of solution sets:

\[ S=S_1\cup S_2 \]

Rational expression restriction:

\[ \frac{P(x)}{Q(x)},\qquad Q(x)\neq0 \]

General solution strategy:

Solve each mathematical condition, represent its solution as a set, combine the sets according to the logical requirements, and verify the final domain and endpoints.

This completes the written review portion of Lesson 01.7.