Free preview
82 lessons
Mathematical Foundations for ML
Free preview
Mathematical Foundations for ML · 82 lessons
No surprise gaps
Actually remember it
Skip what you know
One subscription. All learning paths included.
Our content is best on a larger screen
Bounded intervals
An inequality like describes a range of values. Interval notation is a compact way to write these ranges without repeating the variable.
We write the two endpoints separated by a comma, and use brackets to show whether each endpoint is included or excluded.
This gives us four types of bounded interval:
| Interval | Inequality | Name |
|---|---|---|
| Closed | ||
| Open | ||
| Half-open (closed-open) | ||
| Half-open (open-closed) |
The left endpoint must always be less than the right endpoint. For example, is valid but is not.
Gotcha
The interval contains just one value, itself, since forces . However, is empty because no number is strictly between and .
Convert the compound inequality into interval notation. Then convert the interval back into an inequality.
Solution
Part 1: Inequality to interval
The inequality has two endpoints: and .
Putting them together:
Part 2: Interval to inequality
The interval has endpoints and .
Combining these:
Practice questions
4 questions
Which interval notation represents the inequality ?
Select the correct answer:
+ 3 more questions
Unbounded intervals
Not every range has both endpoints. The inequality has no upper bound - the values extend indefinitely. We handle this with the symbol (infinity) and its counterpart .
Key Point
and are not numbers. They are symbols representing unboundedness. Because we can never reach or equal infinity, it always gets a round bracket - never a square bracket.
The unbounded forms are:
| Interval | Inequality | Meaning |
|---|---|---|
| All values greater than . | ||
| All values greater than or equal to . | ||
| All values less than . | ||
| All values less than or equal to . | ||
| All | Every number on the number line. |
The bracket at the finite endpoint follows the same rule as before: square for included ( or ), round for excluded ( or ). The bracket next to or is always round.
Gotcha
Writing with a square bracket at infinity is incorrect notation. Since is not a value that can equal, it must always be paired with a round bracket.
Express "all real numbers greater than or equal to " in interval notation.
Solution
The phrase "greater than or equal to" tells us the inequality is . There is no upper bound - the range extends indefinitely to the right.
Putting them together:
The square bracket confirms that itself belongs to this interval. The round bracket at is mandatory because is not a real number - it cannot be included.
Practice questions
4 questions
Which interval notation represents the inequality ?
Select the correct answer:
+ 3 more questions