Interval notation is the method used to describe a set of numbers lying between two endpoints. It’s a concise way to represent all the numbers between a start and end within a function's domain.Types of interval notations include:
- \([a, b]\): a closed interval, including the endpoints \(a\) and \(b\).
- \((a, b)\): an open interval, excluding the endpoints \(a\) and \(b\).
- \((a, b]\) or \([a, b)\): half-open intervals, including only one endpoint.
The exercise uses the interval notation \([0, \pi]\), indicating a closed interval where both \(0\) and \(\pi\) are included. This is essential when evaluating the function for its absolute extrema, as the behavior at the endpoints can affect the evaluation.