Domain of a Function Practice Problems: A practical guide
Understanding the domain of a function is one of the most fundamental concepts in algebra and calculus, yet it remains one of the most challenging topics for many students to master. The domain represents all possible input values (x-values) for which a function produces a valid output, and mastering this concept is crucial for success in higher-level mathematics. This complete walkthrough provides targeted practice problems, detailed solutions, and expert strategies to help you confidently identify domains across various function types.
What Is the Domain of a Function?
The domain of a function consists of all real numbers that can be substituted into the function without causing mathematical errors. Because of that, think of it as the "allowed inputs" that produce meaningful outputs. When determining the domain, we must identify values that would create undefined expressions or mathematical impossibilities Worth keeping that in mind. Surprisingly effective..
Key Rules for Finding Domains
Before diving into practice problems, remember these essential restrictions:
- Division by zero: Denominators cannot equal zero
- Square roots: Expressions under radical signs must be non-negative
- Logarithms: Arguments must be positive
- Fractions with radicals: Consider both numerator and denominator constraints
Practice Problem Set 1: Linear and Polynomial Functions
Problem 1: Linear Function
Find the domain of f(x) = 3x + 7
Solution: Linear functions have no restrictions. Any real number can be substituted for x, so the domain is (-∞, ∞) or all real numbers.
Problem 2: Quadratic Function
Determine the domain of g(x) = x² - 4x + 3
Solution: Polynomials are defined for all real numbers. The domain is (-∞, ∞).
Problem 3: Cubic Polynomial
Find the domain of h(x) = 2x³ - 5x² + x - 1
Solution: All polynomial functions have domains of (-∞, ∞) Simple as that..
Practice Problem Set 2: Rational Functions
Rational functions require careful attention to denominators that cannot equal zero It's one of those things that adds up..
Problem 4: Simple Rational Function
Find the domain of f(x) = 1/(x - 2)
Solution: Set the denominator equal to zero: x - 2 = 0, so x = 2. The function is undefined at x = 2. Domain: (-∞, 2) ∪ (2, ∞).
Problem 5: Quadratic Denominator
Determine the domain of g(x) = (x + 1)/(x² - 9)
Solution: Factor the denominator: x² - 9 = (x - 3)(x + 3). Set equal to zero: x = 3 or x = -3. Domain: (-∞, -3) ∪ (-3, 3) ∪ (3, ∞) Worth keeping that in mind. Less friction, more output..
Problem 6: Complex Rational Expression
Find the domain of h(x) = (2x - 1)/(x² + 4x + 3)
Solution: Factor denominator: x² + 4x + 3 = (x + 1)(x + 3). Values that make denominator zero: x = -1 and x = -3. Domain: (-∞, -3) ∪ (-3, -1) ∪ (-1, ∞).
Practice Problem Set 3: Radical Functions
Square root functions require non-negative expressions under the radical.
Problem 7: Simple Square Root
Find the domain of f(x) = √(x - 5)
Solution: Require x - 5 ≥ 0, so x ≥ 5. Domain: [5, ∞).
Problem 8: Square Root in Denominator
Determine the domain of g(x) = 1/√(x + 2)
Solution: Two conditions: x + 2 > 0 (positive under radical AND non-zero denominator). Therefore x > -2. Domain: (-2, ∞) Surprisingly effective..
Problem 9: Square Root in Numerator
Find the domain of h(x) = √(4 - x)/(x - 1)
Solution: Need 4 - x ≥ 0 and x - 1 ≠ 0. From first condition: x ≤ 4. Second condition: x ≠ 1. Domain: (-∞, 1) ∪ (1, 4].
Practice Problem Set 4: Combined Restrictions
These problems require considering multiple constraints simultaneously.
Problem 10: Rational Function with Square Root
Find the domain of f(x) = √(x + 3)/(x - 2)
Solution: Need x + 3 ≥ 0 and x - 2 ≠ 0. First condition: x ≥ -3. Second condition: x ≠ 2. Domain: [-3, 2) ∪ (2, ∞).
Problem 11: Square Root of Rational Expression
Determine the domain of g(x) = √[(x - 1)/(x + 2)]
Solution: The fraction inside the square root must be non-negative: (x - 1)/(x + 2) ≥ 0. Critical points: x = 1 and x = -2. Test intervals:
- For x < -2: Both numerator and denominator negative → positive result ✓
- For -2 < x < 1: Numerator negative, denominator positive → negative result ✗
- For x > 1: Both positive → positive result ✓
Also exclude x = -2 (undefined). Domain: (-∞, -2) ∪ [1, ∞) It's one of those things that adds up..
Problem 12: Multiple Radicals
Find the domain of h(x) = √(x² - 4) + √(6 - x)
Solution: Both expressions under radicals must be non-negative:
- x² - 4 ≥ 0 → (x - 2)(x + 2) ≥ 0 → x ≤ -2 or x ≥ 2
- 6 - x ≥ 0 → x ≤ 6
Intersection of both conditions: (-∞, -2] ∪ [2, 6].
Practice Problem Set 5: Advanced Applications
Problem 13: Logarithmic Function
Find the domain of f(x) = ln(x² - 4)
Solution: Argument of logarithm must be positive: x² - 4 > 0. Factor: (x - 2)(x + 2) > 0. Solution: x < -2 or x > 2. Domain: (-∞, -2) ∪ (2, ∞).
Problem 14: Composite Function
Determine the domain of g(x) = √[ln(x - 1)]
Solution: Two conditions:
- x - 1 > 0 → x > 1 (for logarithm)
- ln(x - 1) ≥ 0 → x - 1 ≥ 1 → x ≥ 2 (for square root)
Combined condition: x ≥ 2. Domain: [2, ∞).
Problem 15: Trigonometric Combination
Find the domain of h(x) = tan(√(x - π))
Solution: Need x - π ≥ 0 → x ≥ π. Additionally, tangent is undefined when its argument equals (2n+1)π/2 for integer n. So we need √(x - π) ≠ (2n+1)π/2. Squaring both sides: x - π ≠ [(2n+1)π/2]². Domain: [π, ∞) excluding values where x = π + [(2n+1)π/2]² for integer n.
Common Mistakes and How to Avoid Them
-
Forgetting multiple restrictions: Always check for division by zero, negative square roots, and non-positive logarithms simultaneously Worth knowing..
-
Incorrect inequality handling: When solving x² - 4 > 0, remember this means x < -2 OR x > 2, not between the values Worth knowing..
-
**Endpoint
Common Mistakes and How to Avoid Them (continued)
-
Endpoint confusion: Remember that square roots allow zero (≥ 0) but logarithms and denominators do not (> 0 and ≠ 0 respectively). Always verify whether endpoints should be included with brackets
[ ]or excluded with parentheses( )Not complicated — just consistent. No workaround needed.. -
Ignoring the "inside-out" rule for composites: For nested functions like √[ln(x - 1)], solve from the innermost function outward. The domain of the outer function restricts the output of the inner function, which translates back to restrictions on x.
-
Overlooking trigonometric discontinuities: Tangent, secant, cosecant, and cotangent have periodic undefined points. Always express these exclusions using general integer notation (n ∈ ℤ) when the domain is unbounded Small thing, real impact..
-
Algebraic errors when clearing denominators: When solving rational inequalities like (x - 1)/(x + 2) ≥ 0, never multiply both sides by the denominator unless you know its sign. Use a sign chart or test points instead Simple as that..
Quick-Reference Domain Checklist
| Function Type | Restriction | Condition |
|---|---|---|
| √u (even root) | Radicand ≥ 0 | u ≥ 0 |
| 1/u (denominator) | Denominator ≠ 0 | u ≠ 0 |
| ln(u), logₐ(u) | Argument > 0 | u > 0 |
| tan(u), sec(u) | Argument ≠ π/2 + nπ | u ≠ (2n+1)π/2 |
| cot(u), csc(u) | Argument ≠ nπ | u ≠ nπ |
| √(u/v) | Fraction ≥ 0, v ≠ 0 | u/v ≥ 0 and v ≠ 0 |
Final Thoughts
Finding the domain of a function is fundamentally an exercise in constraint satisfaction. Every operation in a function's definition—division, even roots, logarithms, trigonometric ratios—imposes a specific mathematical rule on the allowable inputs. The domain is simply the set of all real numbers that satisfy every rule simultaneously.
Short version: it depends. Long version — keep reading.
As you progress to calculus, domain analysis becomes the critical first step for determining continuity, differentiability, and integration intervals. A function cannot be continuous where it does not exist, and critical points can only occur within the domain.
Mastering domains requires three habits:
- Identify every restriction source in the expression.
- Solve the resulting inequalities or equations carefully.
- Intersect the solution sets to find the final allowed values.
With consistent practice on the problem types covered in this guide—polynomials, rationals, radicals, logarithms, and trigonometric combinations—you will develop the intuition to spot restrictions instantly and state domains accurately, laying a rock-solid foundation for all higher mathematics.