Introduction
The domain and range of a function are fundamental concepts in Algebra 2 that describe the set of possible input values and output values, respectively, and mastering them is essential for solving equations, graphing, and real‑world applications.
Understanding Domain and Range
What is a function?
In Algebra 2, a function is a relation that assigns exactly one output value (dependent variable) to each input value (independent variable). The notation f(x) reads “the function f evaluated at x.”
Defining domain and range
- Domain – the complete set of all x‑values for which the function is defined.
- Range – the complete set of all y‑values that result from plugging the domain values into the function.
Domain and range are often written in interval notation, set‑builder notation, or as a list of discrete values.
Steps to Determine Domain and Range
1. Identify restrictions on the input
Look for values that make the function undefined:
- Division by zero (e.g., denominators).
- Even‑root expressions with negative radicands (e.g., √x).
- Logarithms of non‑positive numbers (e.g., log x).
2. Express the allowed values
After finding restrictions, write the domain as all real numbers except the prohibited ones.
3. Determine the output values
- Algebraic approach: Solve the equation y = f(x) for x in terms of y, then see which y values are attainable.
- Graphical approach: Observe the vertical spread of the graph; the lowest and highest y‑coordinates indicate the range.
4. Use interval notation
Combine allowed intervals with union symbols (∪) or brackets to express domain and range succinctly The details matter here..
Examples in Algebra 2
Example 1: Linear function
(f(x)=2x+3)
- No restrictions on x; any real number works.
- Domain: ((-\infty,\infty))
- Solve y = 2x+3 → x = (y‑3)/2; any real y is possible.
- Range: ((-\infty,\infty))
Example 2: Quadratic function
(g(x)=x^{2}-4)
- Domain: All real numbers → ((-\infty,\infty)).
- The parabola opens upward; the smallest y occurs at the vertex ((0,-4)).
- Range: ([-4,\infty))
Example 3: Rational function
(h(x)=\frac{1}{x-2})
- Denominator cannot be zero → (x\neq 2).
- Domain: ((-\infty,2)\cup(2,\infty)).
- As x approaches 2, h(x) grows without bound; as x → ±∞, h(x) → 0.
- Range: ((-\infty,0)\cup(0,\infty)) (0 is never attained).
Example 4: Radical function
(k(x)=\sqrt{5-x})
- Radicand must be non‑negative → (5-x\ge 0) → (x\le 5).
- Domain: ((-\infty,5]).
- The square root yields non‑negative results, so the smallest y is 0 (when x=5).
- Range: ([0,\infty)).
Graphical View of Domain and Range
When you plot a function on the Cartesian plane, the horizontal extent of the graph determines the domain, while the vertical extent determines the range Small thing, real impact. Worth knowing..
- For a continuous curve, you can often read the domain and range directly from the graph.
- For discrete points (e.g., a set of ordered pairs), list the smallest and largest x values for the domain, and the smallest and largest y values for the range.
Tip: If a graph has a break or asymptote, treat each piece separately and combine the resulting intervals.
Common Pitfalls and Tips
- Assuming all real numbers are always allowed. Always check denominators, radicals, and logarithms.
5. Piecewise‑defined functions
A function expressed as
[ p(x)=\begin{cases} ; \text{formula A} & \text{if } x<a,\[4pt] ; \text{formula B} & \text{if } a\le x<b,\[4pt] ; \text{formula C} & \text{if } x\ge b, \end{cases} ]
requires a separate inspection of each interval That's the whole idea..
-
Domain – Find the set of x values that satisfy the conditions attached to every piece.
Example: For[ p(x)=\begin{cases} \dfrac{1}{x+3} & x<-3,\[4pt] \sqrt{x} & -3\le x\le 4,\[4pt] 2x-1 & x>4, \end{cases} ]
the first piece excludes (x=-3); the second piece restricts (x) to ([-3,4]); the third piece imposes no extra limitation.
Hence the overall domain is ((-\infty,-3)\cup[-3,4]\cup(4,\infty)) Worth keeping that in mind.. -
Range – Treat each piece independently, find its set of attainable y values, then unite the results.
Continuing the example, the first piece yields all real numbers except those between (-1) and (0); the second piece produces ([0,2]); the third piece covers ((7,\infty)).
The combined range is ((-\infty,-1)\cup[0,2]\cup(7,\infty)).
6. Composite functions
When two functions combine as ((f\circ g)(x)=f(g(x))), the domain is governed by two layers of restrictions:
- Inner function – its own domain must be respected.
- Outer function – the output of the inner function must lie inside the outer function’s domain.
Example: Let
[ f(x)=\sqrt{x-5},\qquad g(x)=\frac{1}{x-2}. ]
Domain of (g): (x\neq 2).
Output of (g): all real numbers except (0).
Domain of (f): the argument of the square root must be non‑negative, so we need (g(x)-5\ge 0\Rightarrow \frac{1}{x-2}\ge 5). Solving this inequality yields (x<2-\frac{1}{5}) or (x>2+\frac{1}{5}) Most people skip this — try not to. Nothing fancy..
Therefore
[ \text{Domain of } (f\circ g)=\bigl(-\infty,,2-\tfrac{1}{5}\bigr)\cup\bigl(2+\tfrac{1}{5},,\infty\bigr). ]
The range is obtained by evaluating the outer function on the set of admissible inner outputs; in this case it is ([0,\infty)) The details matter here. No workaround needed..
7. Real‑world constraints
Mathematical models often inherit physical limitations that appear as domain restrictions.
- Time – In a motion problem, (