1 Answers
š¤ Understanding Domain and Range
In precalculus, the domain of a function is the set of all possible input values (x-values) for which the function is defined. The range is the set of all possible output values (y-values) that the function can produce.
āļø Practice Problems
Let's work through some practice problems to sharpen your skills.
Problem 1: Linear Function
Find the domain and range of the function $f(x) = 3x + 2$.
Solution:
Since this is a linear function, there are no restrictions on the input values. Thus:
- Domain: All real numbers, or $(-\infty, \infty)$.
- Range: All real numbers, or $(-\infty, \infty)$.
Problem 2: Quadratic Function
Find the domain and range of the function $g(x) = x^2 - 4$.
Solution:
The domain is all real numbers since we can square any number. The range is determined by the vertex of the parabola.
- Domain: All real numbers, or $(-\infty, \infty)$.
To find the range, we need the vertex. The vertex of $g(x) = x^2 - 4$ is $(0, -4)$. Since the parabola opens upwards, the range is:
- Range: $[-4, \infty)$.
Problem 3: Rational Function
Find the domain and range of the function $h(x) = \frac{1}{x - 2}$.
Solution:
The domain is restricted where the denominator is zero.
- Domain: All real numbers except $x = 2$, or $(-\infty, 2) \cup (2, \infty)$.
The range includes all real numbers except 0, since the function can get arbitrarily close to zero but never equal it.
- Range: All real numbers except $y = 0$, or $(-\infty, 0) \cup (0, \infty)$.
Problem 4: Square Root Function
Find the domain and range of the function $k(x) = \sqrt{x + 3}$.
Solution:
The domain is restricted to values where $x + 3 \geq 0$.
- Domain: $x \geq -3$, or $[-3, \infty)$.
The range will be all non-negative real numbers since the square root function only outputs non-negative values.
- Range: $[0, \infty)$.
Problem 5: Absolute Value Function
Find the domain and range of the function $m(x) = |x - 1|$.
Solution:
The domain is all real numbers.
- Domain: $(-\infty, \infty)$.
The range is all non-negative real numbers since the absolute value is always non-negative, with a minimum value of 0.
- Range: $[0, \infty)$.
š More Complex Examples
Example 6: Combining Functions
Find the domain of $f(x) = \frac{\sqrt{x}}{x-5}$
Solution:
Here we have two restrictions. First, $x$ must be non-negative due to the square root. Second, $x$ cannot be 5 because of the denominator.
- Domain: $[0, 5) \cup (5, \infty)$.
š” Tips for Finding Domain and Range
- Look for Restrictions: Denominators cannot be zero, and square roots must be non-negative.
- Consider the Function Type: Linear and polynomial functions often have domains of all real numbers.
- Graphing: Sometimes, graphing the function can help visualize the domain and range.
š» Code Example (Python)
Here's a Python code snippet to check if a number is within the domain of a square root function:
import math
def is_in_domain(x):
if x >= 0:
return True
else:
return False
# Example usage
x = 9
if is_in_domain(x):
print(f"{x} is in the domain.")
print(math.sqrt(x))
else:
print(f"{x} is not in the domain.")
š Further Practice
Keep practicing with different types of functions to master domain and range. Good luck! š
Know the answer? Login to help.
Login to Answer