6.1 Function Definitions, Relations, Domain, Range & Notation
Key Takeaways
- A relation is any set of ordered pairs, whereas a function is a well-defined relation where each input in the domain maps to exactly one output in the range, verifiable graphically via the vertical line test.
- The natural domain of an algebraic function requires excluding inputs that yield division by zero, negative radicands under even index roots, and non-positive arguments within logarithmic expressions.
- The difference quotient [f(x+h) - f(x)]/h calculates the average rate of change (secant slope) over an interval of length h and serves as the algebraic foundation for differential calculus.
- Piecewise functions define distinct algebraic sub-rules across disjoint domain partitions, exemplified by step functions such as the greatest integer (floor) function with domain R and range Z.
6.1 Function Definitions, Relations, Domain, Range & Notation
1. Set-Theoretic Foundations: Relations vs. Functions
In secondary mathematics, algebraic reasoning begins with the formal distinction between arbitrary mathematical relations and well-defined functions. Given two non-empty sets $X$ (the set of inputs) and $Y$ (the set of outputs), a relation $R$ from $X$ to $Y$ is formally defined as any subset of the Cartesian product $X \times Y$:
A relation places elements of $X$ in correspondence with elements of $Y$ without restriction. An input may associate with zero, one, or multiple outputs.
A function $f: X \to Y$ is a specialized relation that satisfies a strict uniqueness condition: every element $x$ in the domain $X$ must be paired with exactly one element $y$ in the codomain $Y$. In formal first-order logic:
Equivalently, if $(x, y_1) \in f$ and $(x, y_2) \in f$, then $y_1 = y_2$. The set $X$ is called the domain of $f$ (denoted $\operatorname{dom}(f)$), representing all permissible inputs. The set of all realized outputs in $Y$ is the range (or image) of $f$:
While every function is a relation, not every relation is a function. Secondary educators must train students to distinguish relations from functions across four standard mathematical representations:
- Arrow Mapping Diagrams: In a function mapping, exactly one directed arrow originates from each element of the domain set. If multiple arrows originate from a single input, the relation fails to be a function. If an element in the designated domain has no outgoing arrow, the relation is not fully defined on that domain.
- Sets of Ordered Pairs: A finite set of coordinates represents a function if and only if no two distinct ordered pairs share the same first coordinate. For instance, ${(1, 4), (2, 7), (3, 7)}$ is a function (outputs may repeat), whereas ${(1, 4), (1, 5), (2, 7)}$ is merely a relation because the input $1$ maps to both $4$ and $5$.
- Input-Output Tables: A table represents a function if each unique row in the independent variable column is associated with a single, unambiguous entry in the dependent variable column.
- Cartesian Graphs and the Vertical Line Test (VLT): A geometric curve in the Cartesian coordinate plane represents a single-valued function $y = f(x)$ if and only if every vertical line $x = c$ intersects the graph at no more than one point. If any vertical line intersects the curve at two or more points, the single input $x = c$ produces multiple distinct outputs $y$, violating the function definition. Standard non-functions include circles ($x^2 + y^2 = r^2$), ellipses, and sideways parabolas ($x = y^2$).
2. Implied Algebraic Domain Restrictions
When a function is defined by an algebraic expression $y = f(x)$ without an explicitly stated domain, conventions dictate that the domain is the natural (implied) domain: the maximal subset of real numbers $\mathbb{R}$ for which the expression produces a well-defined real output. Secondary mathematics focuses on three primary domain hazards:
| Hazard Type | Algebraic Condition | Underlying Mathematical Requirement | Target Restriction |
|---|---|---|---|
| Rational Denominator | $\frac{f(x)}{g(x)}$ | Division by zero is undefined over $\mathbb{R}$. | Set $g(x) \neq 0$ |
| Even-Indexed Radical | $\sqrt[2k]{g(x)}, ; k \in \mathbb{N}$ | Roots of negative numbers yield complex quantities, not real outputs. | Set $g(x) \ge 0$ |
| Logarithmic Argument | $\log_b(g(x)), ; b > 0, b \neq 1$ | Exponents of positive bases cannot produce non-positive powers. | Set $g(x) > 0$ |
Odd-indexed radicals, such as $\sqrt[3]{g(x)}$ or $\sqrt[5]{g(x)}$, impose no domain restrictions on their radicands because negative real numbers possess unique real odd roots (e.g., $\sqrt[3]{-8} = -2$). Thus, the domain of $\sqrt[3]{g(x)}$ is simply the domain of $g(x)$.
Comprehensive Multi-Constraint Worked Exemplar
Find the natural domain of the function:
To determine the implied domain, establish and solve each independent algebraic constraint:
- Radicand of the even root: The numerator contains $\sqrt{2x + 10}$. The radicand must be non-negative:
- Argument of the natural logarithm: The denominator contains $\ln(6 - 2x)$. The logarithmic argument must be strictly positive:
- Logarithmic denominator non-zero: The logarithm appears in the denominator, so it cannot equal zero. Since $\ln(u) = 0 \iff u = 1$:
- Rational denominator non-zero: The second term has denominator $x^2 - 4$. Setting $x^2 - 4 \neq 0$:
Now intersect all four solution sets on the real number line:
- From constraints 1 and 2: $x \in [-5, 3)$.
- Exclude internal boundary points from constraints 3 and 4: $x \neq -2$, $x \neq 2$, and $x \neq \frac{5}{2} = 2.5$. All three excluded points lie strictly within $[-5, 3)$.
Expressing the intersection in standard union-of-intervals notation:
3. Function Evaluation and the Difference Quotient
Evaluating functions requires substituting numeric values or variable expressions into every instance of the independent variable $x$. A ubiquitous misconception among secondary algebra students is the distributive misinterpretation of function notation, where students treat $f(x + h)$ as multiplication: $f \cdot (x + h) = f(x) + f(h)$ or $f(x) + h$.
The foundational algebraic construct connecting function evaluation to differential calculus is the difference quotient:
Geometrically, the difference quotient computes the slope of the secant line passing through the points $(x, f(x))$ and $(x + h, f(x + h))$ on the graph of $f$. As $h \to 0$, this secant slope approaches the instantaneous rate of change (derivative) at $x$.
Rigorous Algebraic Simplification of the Difference Quotient
Consider the quadratic function $f(x) = 3x^2 - 4x + 7$. Compute and completely simplify the difference quotient.
Step 1: Evaluate $f(x + h)$ using precise algebraic expansion. Expand the squared binomial and distribute all scalar coefficients:
Step 2: Formulate the numerator difference $f(x + h) - f(x)$. Subtract the entire original function, enclosing $f(x)$ in grouping parentheses to ensure proper distribution of the negative sign: Eliminate identical terms: $3x^2 - 3x^2 = 0$, $-4x - (-4x) = 0$, and $7 - 7 = 0$. This leaves: Notice that every remaining term contains $h$ as a factor. If non-$h$ terms remain at this stage, an algebraic sign or expansion error has occurred.
Step 3: Divide by $h$ and cancel the non-zero common factor. This linear expression represents the exact secant slope for any step size $h \neq 0$.
4. Piecewise-Defined & Step Functions
Many real-world relationships cannot be modeled by a single algebraic formula across their entire domain. A piecewise-defined function applies different algebraic rules over mutually disjoint subsets of its domain:
When evaluating piecewise functions, examine the input $x$ against the inequality conditions first to determine which sub-rule governs that input. For example:
- To evaluate $f(-1)$, look at the domain conditions: $x = -1$ satisfies $-1 \le x \le 2$, so evaluate using the middle rule: $f(-1) = (-1)^2 - 3 = 1 - 3 = -2$. A student evaluating the top rule would arrive at an invalid result because $-1 < -1$ is false.
- At the transition point $x = 2$, $f(2) = (2)^2 - 3 = 1$. Just to the right of $2$ (e.g., $x = 2.001$), $f(x) = 5$. This mismatch produces a jump discontinuity on the graph.
A prominent subcategory of piecewise functions tested on the FTCE is the step function, most notably the greatest integer function (or floor function), denoted $f(x) = \lfloor x \rfloor$ or $[x]$. The floor function assigns to any real number $x$ the greatest integer less than or equal to $x$:
- For integers: $\lfloor 4 \rfloor = 4$, $\lfloor -3 \rfloor = -3$.
- For non-integer positives: $\lfloor 3.8 \rfloor = 3$, $\lfloor 0.25 \rfloor = 0$.
- For non-integer negatives: $\lfloor -2.3 \rfloor = -3$ (not $-2$, since $-3 \le -2.3 < -2$).
The companion ceiling function $\lceil x \rceil$ rounds upward to the least integer greater than or equal to $x$ (e.g., $\lceil -2.3 \rceil = -2$, $\lceil 3.1 \rceil = 4$). The domain of $f(x) = \lfloor x \rfloor$ is $\mathbb{R}$, while its range is the discrete set of integers $\mathbb{Z}$. The graph consists of horizontal half-open line segments $[k, k+1)$ with a closed circle at the left endpoint $(k, k)$ and an open circle at the right endpoint $(k+1, k)$.
Which of the following relations represents a function from the set of real numbers to the set of real numbers?
What is the natural domain of the real-valued function g(x) = sqrt(16 - x^2) / (x - 3)?
For the quadratic function f(x) = 2x^2 - 5x + 1, which expression represents the completely simplified difference quotient [f(x+h) - f(x)] / h where h != 0?
A piecewise function is defined by h(x) = 3 - x^2 for x < 1; floor(2x) for 1 <= x <= 3; and 10 / (x + 1) for x > 3, where floor(u) denotes the greatest integer function. What is the value of the compound evaluation h(-2) + h(1.8) - h(4)?