The range of a function f(x) is the set of all possible values that f(x) can take as x varies over its domain. Formally, if the domain of f(x) is D⊆R, then the range is given by:
Range of f(x)={y∈R:y=f(x) for some x∈D}.
It represents the actual output values of the function, considering all inputs from the domain.
The range is directly affected by the domain of the function. If the domain changes, it may result in a change in the range because the set of inputs determines the outputs. Therefore, before calculating the range, we must carefully determine the domain of the function.
Finding the range of a function involves determining the set of all possible outputs y that the function f(x) produces for a given domain. Unlike domain calculation, which often involves straightforward restrictions on the input, determining the range requires analyzing the behavior of the function and applying various techniques.
For a given domain, we explore what values f(x) can achieve by examining the function's structure, solving equations, considering limits, or applying transformations. Since different types of functions behave differently, finding the range is often a more nuanced and challenging process compared to domain calculation.
Let us start with this theorem, which can be applied quite frequently.
Theorem: Range of the Sum or Difference of Two Functions§
Let there be two functions f(x) and g(x) having domains D1 and D2. In the domain D1∩D2, if the range of f(x) is R and the range of g(x) is a bounded interval, then the range of f±g is also R.
Example:
For f(x)=x3 and g(x)=sinx, the range of f(x)+g(x) is R, since the range of x3 is R and the range of sinx is the bounded interval [−1,1].
For f(x)=tanx and g(x)=tan−1x, the range of f(x)+g(x) is R, as tanx has range R and tan−1x is bounded.
We employ the graph method to determine the range when the graph of the function can be easily constructed. This is feasible in cases such as:
When the function can be expressed as a transformation (e.g., shifts, stretches, or reflections) of a well-known function, making it straightforward to deduce the graph.
When the graph is inherently simple, such as for linear, quadratic, or basic trigonometric functions.
When the function is defined piecewise, and each segment of the function can be expressed as a simple mathematical expression.
By constructing the graph through these methods and analyzing its behavior, the range can be directly observed from the output values covered by the graph. This visual approach simplifies the process and provides clarity in identifying the function's range.
Find the Range of f(x)=∣x−1∣+∣2x−3∣
To find the range, we break the function into intervals based on the critical points where the absolute values change behavior and then define the function piecewise.
Step 1: Analyze the Absolute Values
The function f(x)=∣x−1∣+∣2x−3∣ involves two absolute values:
∣x−1∣, which changes sign at x=1:
For x≥1, ∣x−1∣=x−1.
For x<1, ∣x−1∣=−(x−1)=1−x.
∣2x−3∣, which changes sign at x=23:
For x≥23, ∣2x−3∣=2x−3.
For x<23, ∣2x−3∣=−(2x−3)=3−2x.
The critical points (x=1 and x=23) divide the real line into three intervals: x<1, 1≤x<23, and x≥23.
Step 2: Define f(x) in Each Interval
We compute f(x) explicitly in each interval:
Case 1: x≥23:
Both x−1 and 2x−3 are positive:
f(x)=(x−1)+(2x−3)=3x−4.
Case 2: 1≤x<23:
x−1 is positive, and 2x−3 is negative:
f(x)=(x−1)−(2x−3)=−x+2.
Case 3: x<1:
Both x−1 and 2x−3 are negative:
f(x)=−(x−1)−(2x−3)=−3x+4.
Step 3: Graph the Function
Using the piecewise definitions:
For x≥23, f(x)=3x−4 is a line with slope 3.
For 1≤x<23, f(x)=−x+2 is a line with slope −1.
For x<1, f(x)=−3x+4 is a line with slope −3.
Step 4: Determine the Range
From the graph, f(x) achieves its minimum value at x=23, where f(23)=21. As x→∞ or x→−∞, f(x)→∞. Hence, the range of f(x) is:
For a periodic function, the range can be determined by finding the set of output values within a single fundamental period. Since the behavior of a periodic function repeats identically over each period, the range calculated in one period applies to the entire function.
For a continuous monotonic functionf(x), the range can be found by evaluating the function at the endpoints of its domain or taking the limits at these endpoints.
For an increasing function f(x) defined on [a,b], the function's output values increase as x moves from a to b. Thus, the range is:
[f(a),f(b)].
For a decreasing function f(x) defined on [a,b], the function's output values decrease as x moves from a to b. Therefore, the range is:
[f(b),f(a)].
Composition of Functions with Continuous Monotonic Outer Function§
In a composition f(g(x)), if f is a continuous monotonic function (strictly increasing or decreasing) over the range of g(x) for the given domain, then the range of f(g(x)) can be determined by finding the range of g(x) and applying f to the endpoints of that range.
Example: Find the Range of f(x)=ex3+2x−3 in the Domain [−1,1]
Solution:
The function ex is continuous and strictly increasing for all x. To determine the range of f(x), we first find the range of g(x)=x3+2x−3 in the domain [−1,1].
From the previous problem, we know that the range of g(x) in [−1,1] is [6,0]. Since ex is strictly increasing, applying it to [6,0] gives:
Range of f(x)=[e6,e0]=[e6,1].
Thus,
the range of f(x)=ex3+2x−3 in [−1,1] is:
[e6,1].
Using Algebraic and Trigonometric Techniques to Find the Range§
(a) AM-GM Inequality
One of the most commonly used inequalities for finding the range of a function is the Arithmetic Mean-Geometric Mean (AM-GM) inequality, which states:
2a+b≥ab,for non-negative numbers a and b.
Equality occurs if and only if a=b. The generalized form for n non-negative terms a1,a2,…,an is:
na1+a2+⋯+an≥na1a2…an,
where equality occurs if and only if a1=a2=⋯=an.
The AM-GM inequality is particularly useful when all terms in the expression are non-negative in the given domain and their product is constant.
Example 1: Find the Range of f(x)=tan2x+cot2x
Solution:
Both tan2x and cot2x are positive in their domains, and their product is a constant:
tan2x⋅cot2x=1.
Applying the AM-GM inequality:
2tan2x+cot2x≥tan2x⋅cot2x.
Simplify:
2tan2x+cot2x≥1.tan2x+cot2x≥2.
Since tan2x+cot2x can take arbitrarily large values as x→±2π, the range is:
[2,∞).
Example 2: Find the Range of f(x)=x6+x26 in its Exhaustive Domain
Solution:
We write f(x)=x6+x26. To apply AM-GM, we split x26 into three equal parts:
f(x)=x6+x22+x22+x22.
Now, applying the AM-GM inequality for four terms:
4x6+x22+x22+x22≥4x6⋅x22⋅x22⋅x22.
Simplify the product:
4f(x)≥4x6⋅x68=48.f(x)≥4⋅48=4⋅23/4.
Thus, the minimum value of f(x) is 4⋅23/4=211/4. Since x6 can grow arbitrarily large, the range is:
[211/4,∞).
(b) Using the Completing the Square Method for Quadratic Expressions
Completing the square is a frequently used method to find the range of functions that can be expressed as quadratic expressions. A quadratic expression of the form:
ax2+bx+c
can be rewritten as:
a(x+2ab)2−4aΔ,where Δ=b2−4ac.
This transformation helps identify the minimum or maximum value of the quadratic expression, depending on whether it opens upwards or downwards.
Example: Find the Range of f(x)=4cos2x−3cosx+4 for x∈R
Solution:
Rewrite f(x) in terms of cosx using the completing the square method:
f(x)=4cos2x−3cosx+4.
Factorize the quadratic expression in cosx:
f(x)=4(cos2x−43cosx+1).
Complete the square for cos2x−43cosx:
cos2x−43cosx=(cosx−83)2−649.
Substitute this back:
f(x)=4((cosx−83)2−649+1).
Simplify:
f(x)=4((cosx−83)2+6455).
Distribute 4:
f(x)=4(cosx−83)2+64220=4(cosx−83)2+1655.
Now, for x∈R, cosx∈[−1,1]. Hence:
cosx−83∈[−1−83,1−83]=[−811,85].
The square term satisfies:
0≤(cosx−83)2≤(811)2=64121.
Substitute back into f(x):
f(x)=4(cosx−83)2+1655.
We know that cosx takes values in the range:
−1≤cosx≤1
We now look at cosx−83. Subtracting 83 from both sides of the inequality:
Consider the expression y=asin(kx+φ)+b, where a, k, b, and φ are constants, and x∈R. The sine function, sin(kx+φ), has a range of [−1,1]. By multiplying this range by a, the new range of asin(kx+φ) becomes [−a,a]. Adding b shifts this range vertically, resulting in the final range of the function:
[b−a,b+a]
II. Range of the Expression asin(kx+φ)+bcos(kx+φ)
To determine the range of the expression asin(kx+φ)+bcos(kx+φ), where a, b, k, and φ are constants, and x∈R, we proceed as follows:
First, we factor out a2+b2 from the terms involving sine and cosine:
We now have the expression in a form similar to the previous theorem. The expression is of the form p+qcos2x+rsin2x, where p=2a+c, q=2a−c, and r=2b.
Using the theorem, the range of the expression p+qcos2x+rsin2x is:
[p−q2+r2,p+q2+r2]
Substituting p, q, and r:
2a+c−(2a−c)2+(2b)2,2a+c+(2a−c)2+(2b)2
Thus, the range of the expression acos2x+bsinxcosx+csin2x is:
[2a+c−(a−c)2+b2,2a+c+(a−c)2+b2]
IV. Range of the Expression acos(x+φ1)+bsin(x+φ2)
To determine the range of the expression acos(x+φ1)+bsin(x+φ2), where a, b, φ1, and φ2 are constants, we begin by expanding the trigonometric terms using the angle addition formulas.
Therefore, the range of the expression acos(x+φ1)+bsin(x+φ2) is:
[−a2+b2+2absin(φ2−φ1),a2+b2+2absin(φ2−φ1)]
V. Range of the Expression atan2x+bcot2x
The range of the expression atan2x+bcot2x, where a>0 and b>0, is determined using the Arithmetic Mean-Geometric Mean (AM-GM) inequality.
For two non-negative real numbers p and q, the AM-GM inequality states:
2p+q≥pq
Applying this to the terms p=atan2x and q=bcot2x, the inequality becomes:
2atan2x+bcot2x≥atan2x⋅bcot2x
Simplifying the right-hand side:
atan2x⋅bcot2x=abtan2xcot2x=ab
Multiplying both sides of the inequality by 2:
atan2x+bcot2x≥2ab
The minimum value of atan2x+bcot2x is attained when tan2x=cot2x, i.e., when tan2x=1. In this case, the value of the expression is 2ab.
Since tan2x and cot2x can grow without bound as x varies, the maximum value of atan2x+bcot2x tends to infinity. Therefore, the range of the expression is:
[2ab,∞)
VI. Range of the Expression asec2x+bcsc2x
The expression given is of the form asec2x+bcsc2x, where a>0 and b>0. To find the range of this expression, we start by rewriting sec2x and csc2x in terms of tan2x and cot2x, respectively.
Using the identity sec2x=1+tan2x, we have:
asec2x=a(1+tan2x)
Similarly, using the identity csc2x=1+cot2x, we get:
bcsc2x=b(1+cot2x)
Thus, the expression asec2x+bcsc2x becomes:
a(1+tan2x)+b(1+cot2x)
Simplifying this, we get:
a+atan2x+b+bcot2x=a+b+atan2x+bcot2x
Now, we can apply the Arithmetic Mean-Geometric Mean (AM-GM) inequality to the terms atan2x and bcot2x. According to the AM-GM inequality, for two non-negative real numbers p and q:
2p+q≥pq
Using p=atan2x and q=bcot2x, we apply the AM-GM inequality:
2atan2x+bcot2x≥atan2x⋅bcot2x
Simplifying the right-hand side:
atan2x⋅bcot2x=abtan2xcot2x=ab
Thus, we have:
atan2x+bcot2x≥2ab
Therefore, the expression a+b+atan2x+bcot2x has a minimum value of a+b+2ab. As tan2x and cot2x can grow without bound, the maximum value tends to infinity.
Sometimes, an expression may not immediately reveal its range due to the presence of multiple terms dependent on the variable. However, through algebraic manipulation, it is possible to transform such expressions into forms where only one term remains dependent on the variable. This allows for easier determination of the range.
For example, consider the expression:
sin4x+cos4x
At first glance, it is difficult to directly determine the range because both sinx and cosx appear in the expression. However, we can manipulate the expression to make it more manageable. Using the identity sin2x+cos2x=1, we can rewrite the expression as follows:
sin4x+cos4x=(sin2x+cos2x)2−2sin2xcos2x
Since sin2x+cos2x=1, this simplifies to:
sin4x+cos4x=1−2sin2xcos2x
Next, we apply the identity for sin2x, which is sin2x=2sinxcosx, so sin22x=4sin2xcos2x. Using this, we can express the original equation as:
sin4x+cos4x=1−2sin22x
Now, we are left with the expression 1−2sin22x, where the only term dependent on x is sin22x. The range of sin22x is easily known to be [0,1], as sin22x takes values between 0 and 1 for all x.
Finding the range of a function using inverses relies on the fundamental relationship between inputs and outputs of a function. For a function y=f(x), x is the input, and y is the output. To determine the range of f(x), we need to identify all possible values of y. By inverting the function—isolating x in terms of y—we obtain a new expression x=g(y). The key insight is that the domain of g(y) represents all possible values of y that are valid in the original function f(x). Thus, the domain of g(y) is exactly the range of f(x).
This method works because the process of inverting the function maps outputs (y) back to their corresponding inputs (x), ensuring that the values of y for which g(y) is defined are the only values y can take in the original function.
This approach is particularly powerful when isolating x in terms of y is straightforward. For example, consider the function y=x−12. To find its range:
Start with y=x−12 and solve for x:
y(x−1)=2⟹x−1=y2⟹x=y2+1.
Analyze the resulting expression x=g(y)=y2+1. Here, x is defined for all y=0 because division by zero is undefined. Hence, the domain of g(y) is y∈(−∞,0)∪(0,∞).
The range of f(x) is thus (−∞,0)∪(0,∞), as these are the only values y can take for which x=g(y) is well-defined.
This method demonstrates its elegance when x can be cleanly expressed in terms of y, as it directly ties the range of f(x) to the domain of the inverse g(y). However, this approach only works when it is possibele to isolate x. This approach will not work on the function f(x)=2x+sinx
When studying rational functions, we focus on expressions of the form:
f(x)=Q(x)P(x),
where P(x) and Q(x) are polynomials. The range of such functions depends heavily on the degrees of P(x) and Q(x). Specifically, we analyze rational functions of the following types:
Linear over Quadratic: f(x)=quadraticlinear,
Quadratic over Linear: f(x)=linearquadratic,
Quadratic over Quadratic: f(x)=quadraticquadratic.
In the example below, we will determine the range of f(x)=x2+x+1x2, a rational function of the type quadratic over quadratic.
The range of a function can also be determined using calculus, specifically by finding the critical points through differentiation and analyzing the maxima and minima of the function. We will explore this method in detail later.
Section 17 of 18 · Relations and Functions
Mark this section complete when you have worked through its proofs.
Type any topic, theorem, or concept to jump directly to the section.