Finding the domain and range of a function involves determining the set of possible input values (domain) and the resulting set of output values (range).
Understanding Domain and Range
-
Domain: The domain of a function is the set of all possible input values (usually x) for which the function is defined and produces a real number output. In other words, it's the values you're allowed to "plug in" to the function.
-
Range: The range of a function is the set of all possible output values (usually y or f(x)) that the function can produce when you plug in all the valid input values from the domain.
Methods for Finding the Domain
-
Identify Restrictions: Look for common restrictions that might limit the domain:
-
Division by Zero: The denominator of a fraction cannot be zero. Set the denominator equal to zero and solve for x. Exclude these values from the domain. For example, in f(x) = 1/x, x cannot be 0.
-
Square Roots (or other even roots): The expression under an even root must be greater than or equal to zero. Set the expression inside the root greater than or equal to zero and solve for x. For example, in f(x) = √x, x must be ≥ 0.
-
Logarithms: The argument of a logarithm must be strictly greater than zero. Set the argument greater than zero and solve for x. For example, in f(x) = ln(x), x must be > 0.
-
-
Consider the Type of Function:
-
Polynomial Functions: Polynomial functions (e.g., f(x) = x² + 3x - 2) generally have a domain of all real numbers ((-∞, ∞)).
-
Rational Functions: Rational functions (fractions with polynomials) require you to exclude values that make the denominator zero (as mentioned above).
-
-
Express the Domain: The domain is often expressed in interval notation, set notation, or as a written description. For example:
-
Interval Notation: (a, b) represents all numbers between a and b, not including a and b. [a, b] represents all numbers between a and b, including a and b. (-∞, ∞) represents all real numbers.
-
Set Notation: {x | x ≠ 0} means "the set of all x such that x is not equal to 0."
-
Methods for Finding the Range
Finding the range can be more challenging than finding the domain. Here are some techniques:
-
Solve for x in terms of y: If possible, rewrite the function as x = g(y). Then, find the domain of g(y). This domain will be the range of the original function f(x).
-
Consider the Function's Behavior:
-
Polynomial Functions:
-
Linear functions (e.g., f(x) = 2x + 1) have a range of all real numbers ((-∞, ∞)).
-
Quadratic functions (e.g., f(x) = x² - 4x + 3) have a range that depends on the vertex of the parabola. Find the vertex's y-coordinate; if the parabola opens upwards, the range is [y-coordinate, ∞); if it opens downwards, the range is (-∞, y-coordinate]. Completing the square helps find the vertex.
-
-
Exponential Functions: Functions of the form f(x) = ax (where a > 0 and a ≠ 1) typically have a range of (0, ∞). If the function is transformed (e.g., f(x) = ax + k), the range shifts to (k, ∞).
-
Rational Functions: Analyzing horizontal asymptotes can help determine the range.
-
-
Graphing the Function: Graphing the function (either by hand or using a calculator/software) can visually show the range, allowing you to identify the minimum and maximum y-values.
-
Consider Asymptotes: Identify any horizontal asymptotes, as the function's range will approach but not cross these values in many cases.
Example
Let's find the domain and range of f(x) = √(x - 2).
-
Domain: The expression under the square root must be greater than or equal to zero:
- x - 2 ≥ 0
- x ≥ 2
The domain is [2, ∞).
-
Range: Since the square root function always returns non-negative values, and x can be any value greater than or equal to 2, the range is [0, ∞).
Summary
Finding the domain and range of a function is a crucial step in understanding its behavior. By identifying restrictions, considering the function's type, and employing techniques like solving for x in terms of y or graphing, you can effectively determine the set of possible input and output values.