4.1 Concept of a Function, Evaluation, Domain & Range

Key Takeaways

  • A function f is a special mathematical relation that assigns to each input x in the domain exactly one output y = f(x) in the range.
  • The Vertical Line Test determines graphical functionality: no vertical line x = c may intersect the graph of a function in more than one point.
  • Algebraic domain restrictions arise from three primary mathematical constraints: denominators cannot equal zero, even roots require non-negative radicands, and logarithmic arguments must be strictly positive.
  • Evaluating f(x + h) requires substituting the whole expression (x + h) into every instance of x, and the difference quotient (f(x + h) - f(x))/h measures the average rate of change over an interval of length h.
  • The range represents the complete set of valid outputs, determined algebraically by solving for x in terms of y, analyzing boundary constraints, or projecting graph extrema onto the y-axis.
Last updated: August 2026

4.1 Concept of a Function, Evaluation, Domain & Range

Functions represent the foundational language of college algebra, precalculus, and calculus. In real-world application, functions model cause-and-effect relationships where one variable uniquely determines another—such as time determining position, temperature determining pressure, or price determining consumer demand.


1. Formal Definition of a Function and the Vertical Line Test

Mathematically, a relation is any set of ordered pairs (x,y)(x, y) that associates elements from an input set XX with elements from an output set YY. A function ff is a restricted type of relation that enforces strict single-valued determinism.

Formal Mapping: f:XYwhere xX,!yY such that y=f(x)\text{Formal Mapping: } f: X \to Y \quad \text{where } \forall x \in X, \exists! y \in Y \text{ such that } y = f(x)

  • Domain (XX): The set of all permissible independent input values xx.
  • Codomain (YY): The target set containing all possible output values.
  • Range (f(X)f(X)): The actual subset of YY containing all realized output values y=f(x)y = f(x) generated by evaluating inputs from the domain.
┌─────────────────────────────────────────────────────────┐
│               Relation vs. Function Mapping             │
├────────────────────────────┬────────────────────────────┤
│   General Relation (Set)   │    Mathematical Function   │
│  - Inputs can map to       - Each input x maps to       │
│    MULTIPLE outputs        │    EXACTLY ONE output y    │
│  - Example: (2, 5), (2, 8) │  - Example: (2, 5), (3, 8) │
└────────────────────────────┴────────────────────────────┘

The Vertical Line Test (VLT)

Graphically, a curve in the Cartesian coordinate plane represents yy as a function of xx if and only if no vertical line intersects the curve in more than one point.

  • Passing VLT: If every vertical line x=cx = c intersects the graph at most once, each input cc yields a unique output f(c)f(c). Parabolas opening upward (y=x23y = x^2 - 3), lines (y=2x+1y = 2x + 1), and exponential curves (y=exy = e^x) pass the VLT and are valid functions.
  • Failing VLT: If a single vertical line x=cx = c intersects the graph at two or more points, the input cc is assigned multiple distinct outputs, violating the definition of a function. Circles (x2+y2=25x^2 + y^2 = 25, where x=0x = 0 intersects at (0,5)(0, 5) and (0,5)(0, -5)) and sideways parabolas (x=y2x = y^2) fail the VLT and are not functions of xx.

2. Function Notation, Evaluation, and the Difference Quotient

The standard notation y=f(x)y = f(x) is read as "yy equals ff of xx." Here, ff is the name of the function rule, xx is the independent variable (input), and f(x)f(x) is the dependent variable (output). It is essential to recognize that f(x)f(x) represents a single output value, not the multiplication of ff by xx.

Evaluating Functions at Numerical and Algebraic Inputs

To evaluate a function f(x)f(x) at an argument, substitute the entire argument—enclosed in parentheses—into every instance of xx in the algebraic rule.

Worked Example: Multi-Argument Evaluation

Given f(x)=3x24x+5f(x) = 3x^2 - 4x + 5, evaluate f(3)f(-3), f(2a)f(2a), and f(x+h)f(x + h).

  1. Numerical Evaluation f(3)f(-3): f(3)=3(3)24(3)+5=3(9)+12+5=27+12+5=44f(-3) = 3(-3)^2 - 4(-3) + 5 = 3(9) + 12 + 5 = 27 + 12 + 5 = 44
  2. Algebraic Monomial Evaluation f(2a)f(2a): f(2a)=3(2a)24(2a)+5=3(4a2)8a+5=12a28a+5f(2a) = 3(2a)^2 - 4(2a) + 5 = 3(4a^2) - 8a + 5 = 12a^2 - 8a + 5
  3. Algebraic Binomial Evaluation f(x+h)f(x + h): f(x+h)=3(x+h)24(x+h)+5f(x + h) = 3(x + h)^2 - 4(x + h) + 5 =3(x2+2xh+h2)4x4h+5=3x2+6xh+3h24x4h+5= 3(x^2 + 2xh + h^2) - 4x - 4h + 5 = 3x^2 + 6xh + 3h^2 - 4x - 4h + 5

The Difference Quotient

In calculus, the difference quotient represents the secant line slope connecting points (x,f(x))(x, f(x)) and (x+h,f(x+h))(x+h, f(x+h)) on the graph of ff, measuring the average rate of change over an interval of length hh:

Difference Quotient=f(x+h)f(x)h,h0\text{Difference Quotient} = \frac{f(x+h) - f(x)}{h}, \quad h \ne 0

Step-by-Step Difference Quotient Evaluation

For f(x)=2x25x+3f(x) = 2x^2 - 5x + 3:

  1. Expand f(x+h)f(x+h): f(x+h)=2(x+h)25(x+h)+3=2(x2+2xh+h2)5x5h+3=2x2+4xh+2h25x5h+3f(x+h) = 2(x+h)^2 - 5(x+h) + 3 = 2(x^2 + 2xh + h^2) - 5x - 5h + 3 = 2x^2 + 4xh + 2h^2 - 5x - 5h + 3
  2. Subtract f(x)f(x): f(x+h)f(x)=(2x2+4xh+2h25x5h+3)(2x25x+3)f(x+h) - f(x) = (2x^2 + 4xh + 2h^2 - 5x - 5h + 3) - (2x^2 - 5x + 3) =4xh+2h25h= 4xh + 2h^2 - 5h
  3. Divide by hh and factor: f(x+h)f(x)h=h(4x+2h5)h=4x+2h5\frac{f(x+h) - f(x)}{h} = \frac{h(4x + 2h - 5)}{h} = 4x + 2h - 5

3. Systematic Algebraic Rules for Determining Domain

The implicit domain (or natural domain) of a real-valued function is the set of all real numbers xx for which f(x)f(x) produces a real output. Unless specified otherwise, domain analysis requires identifying algebraic operations that produce undefined outputs or imaginary quantities.

Master Domain Restriction Matrix

Function CategoryStandard FormMandatory Domain ConditionExclusion / Restriction
PolynomialP(x)=anxn++a0P(x) = a_n x^n + \dots + a_0None (all real numbers)(,)(-\infty, \infty)
Rationalf(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)}Denominator non-zeroExclude xx where Q(x)=0Q(x) = 0
Even Radicalf(x)=g(x)nf(x) = \sqrt[n]{g(x)} (nn even)Non-negative radicandg(x)0g(x) \ge 0
Odd Radicalf(x)=g(x)nf(x) = \sqrt[n]{g(x)} (nn odd)None(,)(-\infty, \infty)
Logarithmicf(x)=logb(g(x))f(x) = \log_b(g(x))Strictly positive argumentg(x)>0g(x) > 0
Radical in Denominatorf(x)=P(x)g(x)f(x) = \frac{P(x)}{\sqrt{g(x)}}Strictly positive radicandg(x)>0g(x) > 0

Combining Multiple Domain Restrictions

When a function contains multiple algebraic constraints, solve each inequality or equation independently and find the intersection of all valid sets.

Worked Example: Advanced Multi-Restriction Domain

Find the domain of f(x)=3x+12x216+ln(9x)f(x) = \frac{\sqrt{3x + 12}}{x^2 - 16} + \ln(9 - x).

  1. Even Radical Condition (Numerator): 3x+120    3x12    x43x + 12 \ge 0 \implies 3x \ge -12 \implies x \ge -4
  2. Rational Condition (Denominator): x2160    (x4)(x+4)0    x4 and x4x^2 - 16 \ne 0 \implies (x - 4)(x + 4) \ne 0 \implies x \ne 4 \text{ and } x \ne -4
  3. Logarithmic Condition: 9x>0    x<99 - x > 0 \implies x < 9
  4. Intersect All Conditions:
    • Radical requires x4x \ge -4.
    • Denominator excludes x=4x = -4 and x=4x = 4.
    • Logarithm requires x<9x < 9. Combining these: x(4,4)(4,9)x \in (-4, 4) \cup (4, 9). Domain in Interval Notation: (4,4)(4,9)\text{Domain in Interval Notation: } (-4, 4) \cup (4, 9)

4. Comprehensive Strategies for Determining Range

The range of a function is the set of all possible output values y=f(x)y = f(x) generated as xx spans the entire domain.

Analytical Range Determination Techniques

  1. Graphical Projection: Sketch or analyze the function to identify absolute vertical bounds (minimum yminy_{min} and maximum ymaxy_{max}).
  2. Algebraic Inversion Method: Set y=f(x)y = f(x), solve the resulting equation for xx in terms of yy, and determine the values of yy that yield real, valid xx values within the function's domain.
  3. Non-Negativity Inequality Bounds: Utilize known lower bounds of parent functions (x20x^2 \ge 0, x0|x| \ge 0, g(x)0\sqrt{g(x)} \ge 0, ex>0e^x > 0).

Worked Example: Algebraic Inversion for Range

Find the range of g(x)=2x+1x3g(x) = \frac{2x + 1}{x - 3}.

  1. Domain: x3x \ne 3, so Domain = (,3)(3,)(-\infty, 3) \cup (3, \infty).
  2. Set y=g(x)y = g(x) and solve for xx: y=2x+1x3    y(x3)=2x+1    xy3y=2x+1y = \frac{2x + 1}{x - 3} \implies y(x - 3) = 2x + 1 \implies xy - 3y = 2x + 1 Collect xx terms on one side: xy2x=3y+1    x(y2)=3y+1    x=3y+1y2xy - 2x = 3y + 1 \implies x(y - 2) = 3y + 1 \implies x = \frac{3y + 1}{y - 2}
  3. Identify Restrictions on yy: For xx to be a valid real number, the denominator y2y - 2 cannot equal zero     y2\implies y \ne 2. Range in Interval Notation: (,2)(2,)\text{Range in Interval Notation: } (-\infty, 2) \cup (2, \infty)
Test Your Knowledge

What is the difference quotient (f(x+h) - f(x))/h for the quadratic function f(x) = 3x^2 - 4x + 7?

A
B
C
D
Test Your Knowledge

What is the domain of the function f(x) = sqrt(4x + 12) / (x^2 - 9) in interval notation?

A
B
C
D
Test Your Knowledge

What is the range of the function g(x) = -2sqrt(x - 3) + 6?

A
B
C
D
Test Your Knowledge

If f(x) = 2x^2 - 3x + 1, what is the evaluated expression for f(2a - 1)?

A
B
C
D