PracticeVideosBlogFlashcards

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.

Last updated: September 2026

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 XX (the set of inputs) and YY (the set of outputs), a relation RR from XX to YY is formally defined as any subset of the Cartesian product X×YX \times Y:

R⊆X×Y={(x,y)∣x∈X,  y∈Y}R \subseteq X \times Y = \{(x, y) \mid x \in X, \; y \in Y\}

A relation places elements of XX in correspondence with elements of YY without restriction. An input may associate with zero, one, or multiple outputs.

A function f:X→Yf: X \to Y is a specialized relation that satisfies a strict uniqueness condition: every element xx in the domain XX must be paired with exactly one element yy in the codomain YY. In formal first-order logic:

∀x∈X,  ∃!y∈Y such that (x,y)∈f\forall x \in X, \; \exists ! y \in Y \text{ such that } (x, y) \in f

Equivalently, if (x,y1)∈f(x, y_1) \in f and (x,y2)∈f(x, y_2) \in f, then y1=y2y_1 = y_2. The set XX is called the domain of ff (denoted dom⁡(f)\operatorname{dom}(f)), representing all permissible inputs. The set of all realized outputs in YY is the range (or image) of ff:

ran⁡(f)={y∈Y∣∃x∈X such that f(x)=y}\operatorname{ran}(f) = \{y \in Y \mid \exists x \in X \text{ such that } f(x) = y\}

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:

  1. 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.
  2. 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)}\{(1, 4), (2, 7), (3, 7)\} is a function (outputs may repeat), whereas {(1,4),(1,5),(2,7)}\{(1, 4), (1, 5), (2, 7)\} is merely a relation because the input 11 maps to both 44 and 55.
  3. 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.
  4. Cartesian Graphs and the Vertical Line Test (VLT): A geometric curve in the Cartesian coordinate plane represents a single-valued function y=f(x)y = f(x) if and only if every vertical line x=cx = 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=cx = c produces multiple distinct outputs yy, violating the function definition. Standard non-functions include circles (x2+y2=r2x^2 + y^2 = r^2), ellipses, and sideways parabolas (x=y2x = y^2).

2. Implied Algebraic Domain Restrictions

When a function is defined by an algebraic expression y=f(x)y = f(x) without an explicitly stated domain, conventions dictate that the domain is the natural (implied) domain: the maximal subset of real numbers R\mathbb{R} for which the expression produces a well-defined real output. Secondary mathematics focuses on three primary domain hazards:

Hazard TypeAlgebraic ConditionUnderlying Mathematical RequirementTarget Restriction
Rational Denominatorf(x)g(x)\frac{f(x)}{g(x)}Division by zero is undefined over R\mathbb{R}.Set g(x)≠0g(x) \neq 0
Even-Indexed Radicalg(x)2k,  k∈N\sqrt[2k]{g(x)}, \; k \in \mathbb{N}Roots of negative numbers yield complex quantities, not real outputs.Set g(x)≥0g(x) \ge 0
Logarithmic Argumentlog⁡b(g(x)),  b>0,b≠1\log_b(g(x)), \; b > 0, b \neq 1Exponents of positive bases cannot produce non-positive powers.Set g(x)>0g(x) > 0

Odd-indexed radicals, such as g(x)3\sqrt[3]{g(x)} or g(x)5\sqrt[5]{g(x)}, impose no domain restrictions on their radicands because negative real numbers possess unique real odd roots (e.g., −83=−2\sqrt[3]{-8} = -2). Thus, the domain of g(x)3\sqrt[3]{g(x)} is simply the domain of g(x)g(x).

Comprehensive Multi-Constraint Worked Exemplar

Find the natural domain of the function:

f(x)=2x+10ln⁡(6−2x)−1x2−4f(x) = \frac{\sqrt{2x + 10}}{\ln(6 - 2x)} - \frac{1}{x^2 - 4}

To determine the implied domain, establish and solve each independent algebraic constraint:

  1. Radicand of the even root: The numerator contains 2x+10\sqrt{2x + 10}. The radicand must be non-negative: 2x+10≥0  ⟹  2x≥−10  ⟹  x≥−52x + 10 \ge 0 \implies 2x \ge -10 \implies x \ge -5
  2. Argument of the natural logarithm: The denominator contains ln⁡(6−2x)\ln(6 - 2x). The logarithmic argument must be strictly positive: 6−2x>0  ⟹  6>2x  ⟹  x<36 - 2x > 0 \implies 6 > 2x \implies x < 3
  3. Logarithmic denominator non-zero: The logarithm appears in the denominator, so it cannot equal zero. Since ln⁡(u)=0  ⟺  u=1\ln(u) = 0 \iff u = 1: 6−2x≠1  ⟹  −2x≠−5  ⟹  x≠526 - 2x \neq 1 \implies -2x \neq -5 \implies x \neq \frac{5}{2}
  4. Rational denominator non-zero: The second term has denominator x2−4x^2 - 4. Setting x2−4≠0x^2 - 4 \neq 0: (x−2)(x+2)≠0  ⟹  x≠2andx≠−2(x - 2)(x + 2) \neq 0 \implies x \neq 2 \quad \text{and} \quad x \neq -2

Now intersect all four solution sets on the real number line:

  • From constraints 1 and 2: x∈[−5,3)x \in [-5, 3).
  • Exclude internal boundary points from constraints 3 and 4: x≠−2x \neq -2, x≠2x \neq 2, and x≠52=2.5x \neq \frac{5}{2} = 2.5. All three excluded points lie strictly within [−5,3)[-5, 3).

Expressing the intersection in standard union-of-intervals notation:

dom⁡(f)=[−5,−2)∪(−2,2)∪(2,52)∪(52,3)\operatorname{dom}(f) = [-5, -2) \cup (-2, 2) \cup \left(2, \frac{5}{2}\right) \cup \left(\frac{5}{2}, 3\right)

3. Function Evaluation and the Difference Quotient

Evaluating functions requires substituting numeric values or variable expressions into every instance of the independent variable xx. A ubiquitous misconception among secondary algebra students is the distributive misinterpretation of function notation, where students treat f(x+h)f(x + h) as multiplication: f⋅(x+h)=f(x)+f(h)f \cdot (x + h) = f(x) + f(h) or f(x)+hf(x) + h.

The foundational algebraic construct connecting function evaluation to differential calculus is the difference quotient:

ΔyΔx=f(x+h)−f(x)h,h≠0\frac{\Delta y}{\Delta x} = \frac{f(x + h) - f(x)}{h}, \quad h \neq 0

Geometrically, the difference quotient computes the slope of the secant line passing through the points (x,f(x))(x, f(x)) and (x+h,f(x+h))(x + h, f(x + h)) on the graph of ff. As h→0h \to 0, this secant slope approaches the instantaneous rate of change (derivative) at xx.

Rigorous Algebraic Simplification of the Difference Quotient

Consider the quadratic function f(x)=3x2−4x+7f(x) = 3x^2 - 4x + 7. Compute and completely simplify the difference quotient.

Step 1: Evaluate f(x+h)f(x + h) using precise algebraic expansion.

f(x+h)=3(x+h)2−4(x+h)+7f(x + h) = 3(x + h)^2 - 4(x + h) + 7

Expand the squared binomial and distribute all scalar coefficients:

f(x+h)=3(x2+2xh+h2)−4x−4h+7=3x2+6xh+3h2−4x−4h+7f(x + h) = 3(x^2 + 2xh + h^2) - 4x - 4h + 7 = 3x^2 + 6xh + 3h^2 - 4x - 4h + 7

Step 2: Formulate the numerator difference f(x+h)−f(x)f(x + h) - f(x). Subtract the entire original function, enclosing f(x)f(x) in grouping parentheses to ensure proper distribution of the negative sign:

f(x+h)−f(x)=(3x2+6xh+3h2−4x−4h+7)−(3x2−4x+7)f(x + h) - f(x) = (3x^2 + 6xh + 3h^2 - 4x - 4h + 7) - (3x^2 - 4x + 7)

Eliminate identical terms: 3x2−3x2=03x^2 - 3x^2 = 0, −4x−(−4x)=0-4x - (-4x) = 0, and 7−7=07 - 7 = 0. This leaves:

f(x+h)−f(x)=6xh+3h2−4hf(x + h) - f(x) = 6xh + 3h^2 - 4h

Notice that every remaining term contains hh as a factor. If non-hh terms remain at this stage, an algebraic sign or expansion error has occurred.

Step 3: Divide by hh and cancel the non-zero common factor.

f(x+h)−f(x)h=h(6x+3h−4)h=6x−4+3h\frac{f(x + h) - f(x)}{h} = \frac{h(6x + 3h - 4)}{h} = 6x - 4 + 3h

This linear expression represents the exact secant slope for any step size h≠0h \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:

f(x)={−2x+1,x<−1x2−3,−1≤x≤25,x>2f(x) = \begin{cases} -2x + 1, & x < -1 \\ x^2 - 3, & -1 \le x \le 2 \\ 5, & x > 2 \end{cases}

When evaluating piecewise functions, examine the input xx against the inequality conditions first to determine which sub-rule governs that input. For example:

  • To evaluate f(−1)f(-1), look at the domain conditions: x=−1x = -1 satisfies −1≤x≤2-1 \le x \le 2, so evaluate using the middle rule: f(−1)=(−1)2−3=1−3=−2f(-1) = (-1)^2 - 3 = 1 - 3 = -2. A student evaluating the top rule would arrive at an invalid result because −1<−1-1 < -1 is false.
  • At the transition point x=2x = 2, f(2)=(2)2−3=1f(2) = (2)^2 - 3 = 1. Just to the right of 22 (e.g., x=2.001x = 2.001), f(x)=5f(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)=⌊x⌋f(x) = \lfloor x \rfloor or [x][x]. The floor function assigns to any real number xx the greatest integer less than or equal to xx:

⌊x⌋=max⁡{n∈Z∣n≤x}\lfloor x \rfloor = \max \{n \in \mathbb{Z} \mid n \le x\}
  • For integers: ⌊4⌋=4\lfloor 4 \rfloor = 4, ⌊−3⌋=−3\lfloor -3 \rfloor = -3.
  • For non-integer positives: ⌊3.8⌋=3\lfloor 3.8 \rfloor = 3, ⌊0.25⌋=0\lfloor 0.25 \rfloor = 0.
  • For non-integer negatives: ⌊−2.3⌋=−3\lfloor -2.3 \rfloor = -3 (not −2-2, since −3≤−2.3<−2-3 \le -2.3 < -2).

The companion ceiling function ⌈x⌉\lceil x \rceil rounds upward to the least integer greater than or equal to xx (e.g., ⌈−2.3⌉=−2\lceil -2.3 \rceil = -2, ⌈3.1⌉=4\lceil 3.1 \rceil = 4). The domain of f(x)=⌊x⌋f(x) = \lfloor x \rfloor is R\mathbb{R}, while its range is the discrete set of integers Z\mathbb{Z}. The graph consists of horizontal half-open line segments [k,k+1)[k, k+1) with a closed circle at the left endpoint (k,k)(k, k) and an open circle at the right endpoint (k+1,k)(k+1, k).

Test Your Knowledge

Which of the following relations represents a function from the set of real numbers to the set of real numbers?

A

A relation defined by the equation y = sqrt(x^2 + 9), where every real input produces exactly one non-negative real output

B

The circle defined by the Cartesian equation x^2 + y^2 = 25, where the vertical line x = 0 intersects the curve at (0, 5) and (0, -5)

C

The relation defined by x = |y| - 4, where an input of x = 0 corresponds to outputs y = 4 and y = -4

D

A finite relation containing the ordered pairs {(2, 5), (3, 8), (2, -1), (4, 11)}, where the domain element 2 maps to both 5 and -1

Test Your Knowledge

What is the natural domain of the real-valued function g(x) = sqrt(16 - x^2) / (x - 3)?

A

(-inf, 3) U (3, inf)

B

[-4, 4]

C

[-4, 3) U (3, 4]

D

(-4, 3) U (3, 4)

Test Your Knowledge

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

4x - 5

B

4x + 2h - 5

C

4x + 2h^2 - 5

D

2h - 5

Test Your Knowledge

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)?

A

2

B

-1

C

4

D

0

Sections you finish are checked off in the contents.