3.1 Function Definition, Domain, Range, and Piecewise Functions
Key Takeaways
A relation is a function if and only if each input x in the domain maps to exactly one output y in the range (passing the Vertical Line Test graphically).
The domain of an algebraic function is the set of all real numbers except those that cause division by zero, negative radicands under even roots, or non-positive arguments in logarithms.
The range of a function represents the complete set of output values y = f(x), determined algebraically through inequality analysis or graphically by observing vertical span.
Piecewise functions are evaluated by identifying which interval rule applies to the given input x, paying special attention to strict vs. non-strict inequalities at boundary points.
3.1 Function Definition, Domain, Range, and Piecewise Functions
1. Fundamentals of Relations and Functions
In precalculus and higher-level mathematics, a relation is any set of ordered pairs that associates elements from a domain set to a range set . A function is a special type of relation in which each input element in the domain is paired with exactly one output element in the range.
We express this relationship using function notation:
where represents the independent variable (the input) and represents the dependent variable (the output).
Domain (Inputs x) ---> [ Function f ] ---> Range (Outputs y = f(x))
The Vertical Line Test (VLT)
Graphically, a curve in the Cartesian coordinate plane represents a function of if and only if no vertical line intersects the graph at more than one point. If a vertical line touches the graph at two or more points, then a single input corresponds to multiple outputs , violating the definition of a function.
| Relation Type | Graphical Feature | Function? | Example |
|---|---|---|---|
| Function | Every vertical line intersects at most once | Yes | , |
| Non-Function | At least one vertical line intersects twice or more | No | Circle , Sideways parabola |
2. Algebraic Determination of Domain
The domain of a real-valued function is the set of all real numbers for which the expression evaluates to a real number. Unless an explicit restricted domain is stated in a problem context, we assume the domain is the implied (natural) domain—the largest subset of for which the formula is mathematically valid.
To find the domain algebraically, search for the three primary domain restrictions in algebra:
Three Core Domain Restriction Rules
- Rational Expressions (Division by Zero): If , set the denominator unequal to zero: .
- Even Radicals (Negative Radicands): If where is an even integer (), set the radicand non-negative: . (Note: odd roots like accept all real numbers).
- Logarithmic Arguments (Non-positive Inputs): If , set the argument strictly positive: .
Combining Multiple Restrictions
When a function contains combinations of fractions, roots, and logarithms, the domain is the intersection (overlap) of the intervals satisfying all individual constraints.
Worked Example 2.1A: Determining Domain of a Complex Function
Determine the domain of the function .
Step 1: Set up the even root inequality. The radicand under the square root must be non-negative:
In interval form, this is .
Step 2: Set up the rational denominator restriction. The denominator cannot equal zero:
Step 3: Intersect the restrictions. We begin with and remove the excluded points and .
3. Determining the Range of a Function
The range of a function is the set of all real values produced as varies over the entire domain. Determining range algebraically requires analyzing output bounds or solving for in terms of .
Algebraic Range Techniques
- Solving for (Rational Functions): To find the range of a linear rational function , solve the equation for and determine which -values make a real number.
- Analysis of Non-Negative Terms: Square terms (), absolute values (), and square roots () establish natural lower bounds on outputs.
Worked Example 2.1B: Range of a Rational Function
Find the range of .
Step 1: Set and clear fractions.
Step 2: Isolate terms on one side.
Step 3: Identify restrictions on . For to exist as a real number, the denominator cannot be zero. Thus, .
4. Piecewise-Defined Functions
A piecewise-defined function is a function defined by different sub-formulas applied to distinct sub-domains (intervals) of input values:
Evaluating Piecewise Functions
To evaluate for a constant :
- Locate which interval contains .
- Substitute only into the formula designated for that specific interval.
Worked Example 2.1C: Evaluating and Analyzing a Piecewise Function
Given
Evaluate: (a) , (b) , (c) .
- For : Since , use formula 1: .
- For : Since satisfies , use formula 2: .
- For : Since , use formula 3: .
5. CLEP Precalculus Exam Traps
| Common Trap | Incorrect Assumption | Correct Mathematical Rule |
|---|---|---|
| Boundary Point Misinterpretation | Evaluating a boundary point in the wrong inequality | Check whether boundary signs are strict ( or ) or non-strict ( or ). |
| Even Root Denominators | Setting for | If an even root is in the denominator, set strictly (excluding zero). |
| Canceling Discontinuities | Claiming has domain because it simplifies to | Domain must be determined before simplifying algebraic expressions (). |
What is the domain of the function in interval notation?
Given the piecewise function g(x) = 3 - x^2 if x < 2; 2x - 5 if 2 <= x <= 6; |x - 8| if x > 6. What is the value of g(2) + g(7)?
-2
0
2
4
Which of the following sets of ordered pairs represents a function?
{(1, 2), (2, 5), (1, 7), (4, 9)}
{(3, -1), (5, 4), (3, 2), (8, 0)}
{(-2, 4), (0, 4), (2, 4), (5, 4)}
{(6, 1), (6, 2), (6, 3), (6, 4)}
What is the range of the rational function f(x) = (4x - 1) / (x + 2)?
Sections you finish are checked off in the contents.