June 1, 2026
At our last meeting, we discussed each of the following:
Try the following warm-up problems.
Problem 1: Expand and simplify \(\left(x^2 - 5x + 2\right)\left(2x - 3x^2\right)\)
Problem 2: Simplify \(\displaystyle{\frac{x^3 - 7x^2 + 12x}{3x - x^2}}\)
Problem 3: Simplify \(\displaystyle{\frac{5}{x + 3} - \frac{x - 8}{x + 2}}\)
Problem 4: Simplify \(\displaystyle{\frac{x - \frac{1}{4}}{\frac{1}{x} + 2}}\)
Today, we’ll work with two main topics: describing intervals of real numbers, and an introduction to functions and function notation.
After today’s class meeting, you should be able to:
Before diving into interval notation, we’ll build some intuition by reading information directly from function graphs.
For any function we study, we’ll want to be able to identify the following landmarks:
Consider the function graphed on the right. Answer each of the following.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Consider the function graphed on the right. Answer each of the following.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Consider the function graphed on the right. Answer each of the following.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Consider the function graphed on the right. Answer each of the following.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Consider the function graphed on the right. Answer each of the following.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Consider the function graphed on the right. Answer each of the following.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Consider the function graphed below. Answer each of the following.
It is useful to have a standard mathematical notation for describing intervals of real numbers. We’ll make use of the following conventions.
Open intervals use parentheses and exclude the endpoints:
\[\left(a, b\right) = \text{all real numbers strictly between } a \text{ and } b\]
Closed intervals use square brackets and include the endpoints:
\[\left[a, b\right] = \text{all real numbers between } a \text{ and } b, \text{ including } a \text{ and } b\]
Half-open intervals mix the two:
\[\left(a, b\right] = \text{includes } b \text{ but not } a \qquad \left[a, b\right) = \text{includes } a \text{ but not } b\]
Overloaded Notation
The notation \(\left(a, b\right)\) is overloaded – it can mean an open interval or a point in the coordinate plane. Context makes the meaning clear.
The union operator \(\cup\) lets us describe a collection of disjoint intervals:
\[\left(a, b\right) \cup \left(c, d\right) = \text{all real numbers in } \left(a,b\right) \text{ or in } \left(c, d\right)\]
We can chain as many unions together as needed.
For unbounded intervals, we use \(\infty\) and \(-\infty\). The unbounded end of an interval is always accompanied by parentheses (never brackets), since infinity is not a number that can be reached.
\[\begin{array}{ccccc} \left(-\infty, a\right) & & \left(a, \infty\right) & & \left(-\infty, \infty\right)\\[6pt] \left(-\infty, a\right] & & \left[a, \infty\right) & & \end{array}\]
For a comprehensive review of interval notation, check out this video from The Organic Chemistry Tutor.
Rewrite your answers below, using interval notation where appropriate.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Rewrite your answers below, using interval notation where appropriate.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Rewrite your answers below, using interval notation where appropriate.

Solutions. By inspecting the graph (we’ll develop exact methods later in the course).
Rewrite your answers, using interval notation where appropriate.
Definition (Function): A function is a rule that assigns exactly one output for any given input value from its domain.
In PreCalculus, we’ll be interested in functions that take a real-valued input \(x\) and assign a real-valued output \(y\).
The key phrase is exactly one. For any input we plug in, there can only be one corresponding output.
The graphs below illustrate the difference between a function and a non-function:


Definition (Function): A function is a rule that assigns exactly one output for any given input value from its domain.
In PreCalculus, we’ll be interested in functions that take a real-valued input \(x\) and assign a real-valued output \(y\).
The key phrase is exactly one. For any input we plug in, there can only be one corresponding output.
The graphs below illustrate the difference between a function and a non-function:


A common method for testing whether a graph corresponds to a function is called the vertical line test. A graph passes (and is a function) if any vertical line drawn intersects the function at most once.
Definition (Function): A function is a rule that assigns exactly one output for any given input value from its domain.
In PreCalculus, we’ll be interested in functions that take a real-valued input \(x\) and assign a real-valued output \(y\).
The key phrase is exactly one. For any input we plug in, there can only be one corresponding output.
The graphs below illustrate the difference between a function and a non-function:


A common method for testing whether a graph corresponds to a function is called the vertical line test. A graph passes (and is a function) if any vertical line drawn intersects the function at most once.
Definition (Function Notation): We use function notation \(f\left(x\right)\) to denote functions. This replaces “\(y =\)” with “\(f\left(x\right) =\)”.
For example, we can write \(y = 5x + 4\) as \(f\left(x\right) = 5x + 4\).
This notation is compact and informative – \(f\left(x\right) = 5x + 4\) tells us exactly what happens to the input: multiply by 5, then add 4.
You can think of the function name \(f\) as the name of a machine, and \(f\left(x\right)\) as the output of that machine when you feed it \(x\):
\[\text{Input: } x \longrightarrow \boxed{~~f~~} \longrightarrow \text{Output: } f\left(x\right)\]
We’re not limited to the name \(f\) – we can use \(g\), \(h\), \(j\), \(k\), or any other letter we like. The name is just a label for the rule.
Problem: Consider the function \(f\left(x\right) = x^2 - 4x + 3\). Evaluate each of the following.
\[\left(a\right)~f\left(2\right) \qquad \left(b\right)~f\left(0\right) \qquad \left(c\right)~f\left(-3\right) \qquad \left(d\right)~f\left(\pi\right) \qquad \left(e\right)~f\left(\heartsuit\right) \qquad \left(f\right)~f\left(x + h\right)\]
Solution.
\[\begin{align} f\left(2\right) &= \left(2\right)^2 - 4\left(2\right) + 3 = 4 - 8 + 3 = \boxed{~-1~} \end{align}\]
\[\begin{align} f\left(0\right) &= \left(0\right)^2 - 4\left(0\right) + 3 = \boxed{~3~} \end{align}\]
\[\begin{align} f\left(-3\right) &= \left(-3\right)^2 - 4\left(-3\right) + 3 = 9 + 12 + 3 = \boxed{~24~} \end{align}\]
\[\begin{align} f\left(\pi\right) &= \left(\pi\right)^2 - 4\left(\pi\right) + 3 = \boxed{~\pi^2 - 4\pi + 3~} \end{align}\]
\[\begin{align} f\left(\heartsuit\right) &= \left(\heartsuit\right)~^2 - 4\left(\heartsuit\right) + 3 = \boxed{~\heartsuit~^2 - 4\heartsuit + 3~} \end{align}\]
Problem: Consider the function \(f\left(x\right) = x^2 - 4x + 3\). Evaluate \(f\left(x + h\right)\).
Solution. Replace every \(x\) with \(\left(x + h\right)\):
\[\begin{align} f\left(x + h\right) &= \left(x + h\right)^2 - 4\left(x + h\right) + 3 \end{align}\]
Problem: Consider the function \(f\left(x\right) = x^2 - 4x + 3\). Evaluate \(f\left(x + h\right)\).
Solution. Replace every \(x\) with \(\left(x + h\right)\):
\[\begin{align} f\left(x + h\right) &= \left(x + h\right)^2 - 4\left(x + h\right) + 3\\ &= \left(x + h\right)\left(x + h\right) - 4x - 4h + 3 \end{align}\]
Problem: Consider the function \(f\left(x\right) = x^2 - 4x + 3\). Evaluate \(f\left(x + h\right)\).
Solution. Replace every \(x\) with \(\left(x + h\right)\):
\[\begin{align} f\left(x + h\right) &= \left(x + h\right)^2 - 4\left(x + h\right) + 3\\ &= \left(x + h\right)\left(x + h\right) - 4x - 4h + 3\\ &= x^2 + 2xh + h^2 - 4x - 4h + 3 \end{align}\]
Problem: Consider the function \(f\left(x\right) = x^2 - 4x + 3\). Evaluate \(f\left(x + h\right)\).
Solution. Replace every \(x\) with \(\left(x + h\right)\):
\[\begin{align} f\left(x + h\right) &= \left(x + h\right)^2 - 4\left(x + h\right) + 3\\ &= \left(x + h\right)\left(x + h\right) - 4x - 4h + 3\\ &= \boxed{~x^2 + 2xh + h^2 - 4x - 4h + 3~} \end{align}\]
Importance of \(f\left(x + h\right)\)
You’ll see \(f\left(x + h\right)\) often because it shows up in an extremely important quantity called the difference quotient in Calculus. Developing an ability to plug “\(x + h\)” into a function, expand it, and simplify will be critical to your success.
We’ll preview the difference quotient later in our course.
Some functions behave differently on different intervals. We call these piecewise-defined functions.
Definition (Piecewise-Defined Function): A piecewise-defined function is defined by different rules on different pieces of its domain:
\[f\left(x\right) = \left\{\begin{array}{rcl} f_1\left(x\right) & ; & x \text{ in Interval 1}\\ f_2\left(x\right) & ; & x \text{ in Interval 2}\\ \vdots & & \vdots \\ f_k\left(x\right) & ; & x \text{ in Interval } k \end{array}\right.\]
To evaluate a piecewise-defined function at a given input: first determine which interval the input falls in, then apply the corresponding rule.
Problem: Consider the piecewise-defined function
\[f\left(x\right) = \left\{\begin{array}{rcl} x^2 - 4 & ; & x < -2\\ x + 5 & ; & -2 \leq x < 7\\ \sqrt{\left(x - 7\right)} + 12 & ; & x \geq 7 \end{array}\right.\]
Evaluate \(\left(a\right)~f\left(0\right)\), \(\quad\left(b\right)~f\left(11\right)\), \(\quad\left(c\right)~f\left(-5\right)\).
Solution.
\(\left(a\right)\) Since \(x = 0\) satisfies the inequality \(-2 \leq x < 7\), we use the second piece:
\[\begin{align} f\left(0\right) &= 0 + 5 = \boxed{~5~} \end{align}\]
\(\left(b\right)\) Since \(x = 11\) satisfies \(x \geq 7\), we use the third piece:
\[\begin{align} f\left(11\right) &= \sqrt{\left(11 - 7\right)} + 12 = \sqrt{4} + 12 = 2 + 12 = \boxed{~14~} \end{align}\]
\(\left(c\right)\) Since \(x = -5\) satisfies \(x < -2\), we use the first piece:
\[\begin{align} f\left(-5\right) &= \left(-5\right)^2 - 4 = 25 - 4 = \boxed{~21~} \end{align}\]
Try each of the following practice problems.
Try It! 3: Consider \(g\left(x\right) = 8 - 2x^3\). Describe in words how \(g\) transforms its input. Then evaluate \(g\left(-1\right)\), \(g\left(0\right)\), \(g\left(2\right)\), \(g\left(\sqrt{2}\right)\), \(g\left(\heartsuit\right)\), \(g\left(\heartsuit + \diamondsuit\right)\), and \(g\left(x + h\right)\).
Try It! 4: Consider \(h\left(x\right) = \sqrt{x^2 + 9}\). Describe in words how \(h\) transforms its input. Then evaluate \(h\left(5\right)\), \(h\left(0\right)\), \(h\left(-1\right)\), \(h\left(\sqrt{2}\right)\), \(h\left(\heartsuit\right)\), and \(h\left(x + h\right)\).
Try It! 5: Consider \(\displaystyle{j\left(x\right) = \frac{2x}{x^2 - 9}}\). Describe in words how \(j\) transforms its input. Then evaluate \(j\left(0\right)\), \(j\left(5\right)\), \(j\left(-3\right)\), \(j\left(\sqrt{3}\right)\), \(j\left(\heartsuit\right)\), and \(j\left(x + h\right)\).
Try It! 6: Consider \(k\left(x\right) = \left\{\begin{array}{rcl} 8 - x^3 & ; & x \leq 2\\ x & ; & x > 2\end{array}\right.\). Evaluate \(k\left(5\right)\), \(k\left(0\right)\), and \(k\left(2\right)\).
Problem: The amount of garbage \(G\) (in tons per week) produced by a city with population \(p\) (in thousands of people) is given by \(G = f\left(p\right)\).
\(\left(a\right)\) The town of Tola has a population of \(40{,}000\) and produces \(13\) tons of garbage per week. Express this information using function notation.
Solution. Since \(p\) is measured in thousands, \(40{,}000\) people corresponds to \(p = 40\). We have:
\[\boxed{~f\left(40\right) = 13~}\]
\(\left(b\right)\) Explain the meaning of the statement \(f\left(5\right) = 2\).
Solution. A city with a population of \(5{,}000\) people produces \(2\) tons of garbage per week.
Navigate to our MAT142 Exit Ticket Form, answer the questions, and complete the task below.
Note. Today’s discussion is listed as 2. Interval Notation and Functions

Task: Consider the function \(f\left(x\right) = 3x^2 - x + 5\). Evaluate \(f\left(0\right)\), \(f\left(-2\right)\), and \(f\left(x + h\right)\).