MatheramaMatherama
← Relations and Functions
Relations and Functions·Section 17·32 min read

Range of a Function

Range of a Function§

The range of a function f(x)f(x) is the set of all possible values that f(x)f(x) can take as xx varies over its domain. Formally, if the domain of f(x)f(x) is D⊆RD \subseteq \mathbb{R}, then the range is given by:

Range of f(x)={y∈R:y=f(x) for some x∈D}.\text{Range of } f(x) = \{y \in \mathbb{R} : y = f(x) \text{ for some } x \in 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 yy that the function f(x)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)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)f(x) and g(x)g(x) having domains D1D_1 and D2D_2. In the domain D1∩D2D_1 \cap D_2, if the range of f(x)f(x) is R\mathbb{R} and the range of g(x)g(x) is a bounded interval, then the range of f±gf \pm g is also R\mathbb{R}.

Example:

  1. For f(x)=x3f(x) = x^3 and g(x)=sin⁡xg(x) = \sin x, the range of f(x)+g(x)f(x) + g(x) is R\mathbb{R}, since the range of x3x^3 is R\mathbb{R} and the range of sin⁡x\sin x is the bounded interval [−1,1][-1, 1].
  2. For f(x)=tan⁡xf(x) = \tan x and g(x)=tan⁡−1xg(x) = \tan^{-1} x, the range of f(x)+g(x)f(x) + g(x) is R\mathbb{R}, as tan⁡x\tan x has range R\mathbb{R} and tan⁡−1x\tan^{-1} x is bounded.

Using the Graphs to Find the Range§

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:

  1. 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.
  2. When the graph is inherently simple, such as for linear, quadratic, or basic trigonometric functions.
  3. 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∣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∣f(x) = |x-1| + |2x-3| involves two absolute values:

  1. ∣x−1∣|x-1|, which changes sign at x=1x=1:

    • For x≥1x \geq 1, ∣x−1∣=x−1|x-1| = x-1.
    • For x<1x < 1, ∣x−1∣=−(x−1)=1−x|x-1| = -(x-1) = 1-x.
  2. ∣2x−3∣|2x-3|, which changes sign at x=32x = \frac{3}{2}:

    • For x≥32x \geq \frac{3}{2}, ∣2x−3∣=2x−3|2x-3| = 2x-3.
    • For x<32x < \frac{3}{2}, ∣2x−3∣=−(2x−3)=3−2x|2x-3| = -(2x-3) = 3-2x.

The critical points (x=1x=1 and x=32x=\frac{3}{2}) divide the real line into three intervals: x<1x < 1, 1≤x<321 \leq x < \frac{3}{2}, and x≥32x \geq \frac{3}{2}.

Step 2: Define f(x)f(x) in Each Interval

We compute f(x)f(x) explicitly in each interval:

  1. Case 1: x≥32x \geq \frac{3}{2}:

    Both x−1x-1 and 2x−32x-3 are positive:

    f(x)=(x−1)+(2x−3)=3x−4.f(x) = (x-1) + (2x-3) = 3x - 4.
  2. Case 2: 1≤x<321 \leq x < \frac{3}{2}:

    x−1x-1 is positive, and 2x−32x-3 is negative:

    f(x)=(x−1)−(2x−3)=−x+2.f(x) = (x-1) - (2x-3) = -x + 2.
  3. Case 3: x<1x < 1:

    Both x−1x-1 and 2x−32x-3 are negative:

    f(x)=−(x−1)−(2x−3)=−3x+4.f(x) = -(x-1) - (2x-3) = -3x + 4.

Step 3: Graph the Function

Using the piecewise definitions:

  • For x≥32x \geq \frac{3}{2}, f(x)=3x−4f(x) = 3x-4 is a line with slope 3.
  • For 1≤x<321 \leq x < \frac{3}{2}, f(x)=−x+2f(x) = -x+2 is a line with slope −1-1.
  • For x<1x < 1, f(x)=−3x+4f(x) = -3x+4 is a line with slope −3-3.

alt text

Step 4: Determine the Range

From the graph, f(x)f(x) achieves its minimum value at x=32x=\frac{3}{2}, where f(32)=12f(\frac{3}{2}) = \frac{1}{2}. As x→∞x \to \infty or x→−∞x \to -\infty, f(x)→∞f(x) \to \infty. Hence, the range of f(x)f(x) is:

[12,∞).\boxed{\left[\frac{1}{2}, \infty\right)}.

Periodic Functions§

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.

Continuous Monotonic Functions§

For a continuous monotonic function f(x)f(x), the range can be found by evaluating the function at the endpoints of its domain or taking the limits at these endpoints.

  1. For an increasing function f(x)f(x) defined on [a,b][a, b], the function's output values increase as xx moves from aa to bb. Thus, the range is:

    [f(a),f(b)].[f(a), f(b)].
  2. For a decreasing function f(x)f(x) defined on [a,b][a, b], the function's output values decrease as xx moves from aa to bb. Therefore, the range is:

    [f(b),f(a)].[f(b), f(a)].

Composition of Functions with Continuous Monotonic Outer Function§

In a composition f(g(x))f(g(x)), if ff is a continuous monotonic function (strictly increasing or decreasing) over the range of g(x)g(x) for the given domain, then the range of f(g(x))f(g(x)) can be determined by finding the range of g(x)g(x) and applying ff to the endpoints of that range.

Example: Find the Range of f(x)=ex3+2x−3f(x) = e^{x^3 + 2x - 3} in the Domain [−1,1][-1, 1]

Solution:

The function exe^x is continuous and strictly increasing for all xx. To determine the range of f(x)f(x), we first find the range of g(x)=x3+2x−3g(x) = x^3 + 2x - 3 in the domain [−1,1][-1, 1].

From the previous problem, we know that the range of g(x)g(x) in [−1,1][-1, 1] is [6,0][6, 0]. Since exe^x is strictly increasing, applying it to [6,0][6, 0] gives:

Range of f(x)=[e6,e0]=[e6,1].\text{Range of } f(x) = \left[e^6, e^0\right] = \left[e^6, 1\right].

Thus,

the range of f(x)=ex3+2x−3f(x) = e^{x^3 + 2x - 3} in [−1,1][-1, 1] is:

[e6,1].\boxed{[e^6, 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:

a+b2≥ab,for non-negative numbers a and b.\frac{a+b}{2} \geq \sqrt{ab}, \quad \text{for non-negative numbers } a \text{ and } b.

Equality occurs if and only if a=ba = b. The generalized form for nn non-negative terms a1,a2,…,ana_1, a_2, \dots, a_n is:

a1+a2+⋯+ann≥a1a2…ann,\frac{a_1 + a_2 + \dots + a_n}{n} \geq \sqrt[n]{a_1 a_2 \dots a_n},

where equality occurs if and only if a1=a2=⋯=ana_1 = a_2 = \dots = a_n.

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)=tan⁡2x+cot⁡2xf(x) = \tan^2 x + \cot^2 x

Solution:

Both tan⁡2x\tan^2 x and cot⁡2x\cot^2 x are positive in their domains, and their product is a constant:

tan⁡2x⋅cot⁡2x=1.\tan^2 x \cdot \cot^2 x = 1.

Applying the AM-GM inequality:

tan⁡2x+cot⁡2x2≥tan⁡2x⋅cot⁡2x.\frac{\tan^2 x + \cot^2 x}{2} \geq \sqrt{\tan^2 x \cdot \cot^2 x}.

Simplify:

tan⁡2x+cot⁡2x2≥1.\frac{\tan^2 x + \cot^2 x}{2} \geq \sqrt{1}. tan⁡2x+cot⁡2x≥2.\tan^2 x + \cot^2 x \geq 2.

Since tan⁡2x+cot⁡2x\tan^2 x + \cot^2 x can take arbitrarily large values as x→±π2x \to \pm \frac{\pi}{2}, the range is:

[2,∞).\boxed{[2, \infty)}.

Example 2: Find the Range of f(x)=x6+6x2f(x) = x^6 + \frac{6}{x^2} in its Exhaustive Domain

Solution:

We write f(x)=x6+6x2f(x) = x^6 + \frac{6}{x^2}. To apply AM-GM, we split 6x2\frac{6}{x^2} into three equal parts:

f(x)=x6+2x2+2x2+2x2.f(x) = x^6 + \frac{2}{x^2} + \frac{2}{x^2} + \frac{2}{x^2}.

Now, applying the AM-GM inequality for four terms:

x6+2x2+2x2+2x24≥x6⋅2x2⋅2x2⋅2x24.\frac{x^6 + \frac{2}{x^2} + \frac{2}{x^2} + \frac{2}{x^2}}{4} \geq \sqrt[4]{x^6 \cdot \frac{2}{x^2} \cdot \frac{2}{x^2} \cdot \frac{2}{x^2}}.

Simplify the product:

f(x)4≥x6⋅8x64=84.\frac{f(x)}{4} \geq \sqrt[4]{x^6 \cdot \frac{8}{x^6}} = \sqrt[4]{8}. f(x)≥4⋅84=4⋅23/4.f(x) \geq 4 \cdot \sqrt[4]{8} = 4 \cdot 2^{3/4}.

Thus, the minimum value of f(x)f(x) is 4⋅23/4=211/44 \cdot 2^{3/4} = 2^{11/4}. Since x6x^6 can grow arbitrarily large, the range is:

[211/4,∞).\boxed{\left[2^{11/4}, \infty\right)}.

(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+cax^2 + bx + c

can be rewritten as:

a(x+b2a)2−Δ4a,where Δ=b2−4ac.a\left(x + \frac{b}{2a}\right)^2 - \frac{\Delta}{4a}, \quad \text{where } \Delta = b^2 - 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)=4cos⁡2x−3cos⁡x+4f(x) = 4\cos^2 x - 3\cos x + 4 for x∈Rx \in \mathbb{R}

Solution:

Rewrite f(x)f(x) in terms of cos⁡x\cos x using the completing the square method:

f(x)=4cos⁡2x−3cos⁡x+4.f(x) = 4\cos^2 x - 3\cos x + 4.

Factorize the quadratic expression in cos⁡x\cos x:

f(x)=4(cos⁡2x−34cos⁡x+1).f(x) = 4\left(\cos^2 x - \frac{3}{4}\cos x + 1\right).

Complete the square for cos⁡2x−34cos⁡x\cos^2 x - \frac{3}{4}\cos x:

cos⁡2x−34cos⁡x=(cos⁡x−38)2−964.\cos^2 x - \frac{3}{4}\cos x = \left(\cos x - \frac{3}{8}\right)^2 - \frac{9}{64}.

Substitute this back:

f(x)=4((cos⁡x−38)2−964+1).f(x) = 4\left(\left(\cos x - \frac{3}{8}\right)^2 - \frac{9}{64} + 1\right).

Simplify:

f(x)=4((cos⁡x−38)2+5564).f(x) = 4\left(\left(\cos x - \frac{3}{8}\right)^2 + \frac{55}{64}\right).

Distribute 44:

f(x)=4(cos⁡x−38)2+22064=4(cos⁡x−38)2+5516.f(x) = 4\left(\cos x - \frac{3}{8}\right)^2 + \frac{220}{64} = 4\left(\cos x - \frac{3}{8}\right)^2 + \frac{55}{16}.

Now, for x∈Rx \in \mathbb{R}, cos⁡x∈[−1,1]\cos x \in [-1, 1]. Hence:

cos⁡x−38∈[−1−38,1−38]=[−118,58].\cos x - \frac{3}{8} \in \left[-1 - \frac{3}{8}, 1 - \frac{3}{8}\right] = \left[-\frac{11}{8}, \frac{5}{8}\right].

The square term satisfies:

0≤(cos⁡x−38)2≤(118)2=12164.0 \leq \left(\cos x - \frac{3}{8}\right)^2 \leq \left(\frac{11}{8}\right)^2 = \frac{121}{64}.

Substitute back into f(x)f(x):

f(x)=4(cos⁡x−38)2+5516.f(x) = 4\left(\cos x - \frac{3}{8}\right)^2 + \frac{55}{16}.

We know that cos⁡x\cos x takes values in the range:

−1≤cos⁡x≤1-1 \leq \cos x \leq 1

We now look at cos⁡x−38\cos x - \frac{3}{8}. Subtracting 38\frac{3}{8} from both sides of the inequality:

−1−38≤cos⁡x−38≤1−38-1 - \frac{3}{8} \leq \cos x - \frac{3}{8} \leq 1 - \frac{3}{8}

This simplifies to:

−118≤cos⁡x−38≤58-\frac{11}{8} \leq \cos x - \frac{3}{8} \leq \frac{5}{8}

Now, we square both sides of the inequality:

0≤(cos⁡x−38)2≤(118)2=121640 \leq \left( \cos x - \frac{3}{8} \right)^2 \leq \left( \frac{11}{8} \right)^2 = \frac{121}{64}

Next, we multiply the entire inequality by 4:

0≤4(cos⁡x−38)2≤4×12164=48464=121160 \leq 4 \left( \cos x - \frac{3}{8} \right)^2 \leq 4 \times \frac{121}{64} = \frac{484}{64} = \frac{121}{16}

Finally, we add 5516\frac{55}{16} to the entire inequality:

0+5516≤4(cos⁡x−38)2+5516≤12116+55160 + \frac{55}{16} \leq 4 \left( \cos x - \frac{3}{8} \right)^2 + \frac{55}{16} \leq \frac{121}{16} + \frac{55}{16}

Simplifying the bounds:

5516≤f(x)≤17616=11\frac{55}{16} \leq f(x) \leq \frac{176}{16} = 11

Thus, the range of f(x)f(x) is:

[5516,11]\left[ \frac{55}{16}, 11 \right]

■\blacksquare

Range of some common Trigonometric Expressions§

I. Range of asin⁡(kx+φ)+ba \sin(kx + \varphi) + b

Consider the expression y=asin⁡(kx+φ)+by = a \sin(kx + \varphi) + b, where aa, kk, bb, and φ\varphi are constants, and x∈Rx \in \mathbb{R}. The sine function, sin⁡(kx+φ)\sin(kx + \varphi), has a range of [−1,1][-1, 1]. By multiplying this range by aa, the new range of asin⁡(kx+φ)a \sin(kx + \varphi) becomes [−a,a][-a, a]. Adding bb shifts this range vertically, resulting in the final range of the function:

[b−a,b+a][b - a, b + a]

II. Range of the Expression asin⁡(kx+φ)+bcos⁡(kx+φ)a \sin(kx + \varphi) + b \cos(kx + \varphi)

To determine the range of the expression asin⁡(kx+φ)+bcos⁡(kx+φ)a \sin(kx + \varphi) + b \cos(kx + \varphi), where aa, bb, kk, and φ\varphi are constants, and x∈Rx \in \mathbb{R}, we proceed as follows:

First, we factor out a2+b2\sqrt{a^2 + b^2} from the terms involving sine and cosine:

asin⁡(kx+φ)+bcos⁡(kx+φ)=a2+b2(aa2+b2sin⁡(kx+φ)+ba2+b2cos⁡(kx+φ))a \sin(kx + \varphi) + b \cos(kx + \varphi) = \sqrt{a^2 + b^2} \left( \frac{a}{\sqrt{a^2 + b^2}} \sin(kx + \varphi) + \frac{b}{\sqrt{a^2 + b^2}} \cos(kx + \varphi) \right)

Next, we introduce the angle θ\theta defined as:

aa2+b2=cos⁡θandba2+b2=sin⁡θ\frac{a}{\sqrt{a^2 + b^2}} = \cos \theta \quad \text{and} \quad \frac{b}{\sqrt{a^2 + b^2}} = \sin \theta

Since cos⁡2θ+sin⁡2θ=1\cos^2 \theta + \sin^2 \theta = 1, this assumption holds true. Substituting these into the expression, we get:

asin⁡(kx+φ)+bcos⁡(kx+φ)=a2+b2(cos⁡θsin⁡(kx+φ)+sin⁡θcos⁡(kx+φ))a \sin(kx + \varphi) + b \cos(kx + \varphi) = \sqrt{a^2 + b^2} \left( \cos \theta \sin(kx + \varphi) + \sin \theta \cos(kx + \varphi) \right)

Using the sum of angles identity for sine, cos⁡θsin⁡(kx+φ)+sin⁡θcos⁡(kx+φ)=sin⁡(kx+φ+θ)\cos \theta \sin(kx + \varphi) + \sin \theta \cos(kx + \varphi) = \sin(kx + \varphi + \theta), we obtain:

asin⁡(kx+φ)+bcos⁡(kx+φ)=a2+b2sin⁡(kx+φ+θ)a \sin(kx + \varphi) + b \cos(kx + \varphi) = \sqrt{a^2 + b^2} \sin(kx + \varphi + \theta)

Since sin⁡(kx+φ+θ)\sin(kx + \varphi + \theta) takes values in the range [−1,1][-1, 1], the range of the expression is:

[−a2+b2,a2+b2]\left[ -\sqrt{a^2 + b^2}, \sqrt{a^2 + b^2} \right]

Thus, the range of asin⁡(kx+φ)+bcos⁡(kx+φ)a \sin(kx + \varphi) + b \cos(kx + \varphi) is:

[−a2+b2,a2+b2]\boxed{[-\sqrt{a^2 + b^2}, \sqrt{a^2 + b^2}]}

III. Range of the Expression acos⁡2x+bsin⁡xcos⁡x+csin⁡2xa \cos^2 x + b \sin x \cos x + c \sin^2 x

To find the range of the expression acos⁡2x+bsin⁡xcos⁡x+csin⁡2xa \cos^2 x + b \sin x \cos x + c \sin^2 x, we begin by expressing the trigonometric functions in terms of cos⁡2x\cos 2x and sin⁡2x\sin 2x.

We start by recalling the standard identities:

cos⁡2x=1+cos⁡2x2,sin⁡2x=1−cos⁡2x2,sin⁡xcos⁡x=12sin⁡2x\cos^2 x = \frac{1 + \cos 2x}{2}, \quad \sin^2 x = \frac{1 - \cos 2x}{2}, \quad \sin x \cos x = \frac{1}{2} \sin 2x

Substitute these identities into the given expression:

acos⁡2x+bsin⁡xcos⁡x+csin⁡2xa \cos^2 x + b \sin x \cos x + c \sin^2 x =a(1+cos⁡2x2)+b(12sin⁡2x)+c(1−cos⁡2x2)= a \left(\frac{1 + \cos 2x}{2}\right) + b \left(\frac{1}{2} \sin 2x \right) + c \left(\frac{1 - \cos 2x}{2}\right)

Now, simplify the expression:

=a(1+cos⁡2x)2+bsin⁡2x2+c(1−cos⁡2x)2= \frac{a(1 + \cos 2x)}{2} + \frac{b \sin 2x}{2} + \frac{c(1 - \cos 2x)}{2} =a+c2+a−c2cos⁡2x+b2sin⁡2x= \frac{a + c}{2} + \frac{a - c}{2} \cos 2x + \frac{b}{2} \sin 2x

We now have the expression in a form similar to the previous theorem. The expression is of the form p+qcos⁡2x+rsin⁡2xp + q \cos 2x + r \sin 2x, where p=a+c2p = \frac{a + c}{2}, q=a−c2q = \frac{a - c}{2}, and r=b2r = \frac{b}{2}.

Using the theorem, the range of the expression p+qcos⁡2x+rsin⁡2xp + q \cos 2x + r \sin 2x is:

[p−q2+r2,p+q2+r2]\left[ p - \sqrt{q^2 + r^2}, p + \sqrt{q^2 + r^2} \right]

Substituting pp, qq, and rr:

[a+c2−(a−c2)2+(b2)2,a+c2+(a−c2)2+(b2)2]\left[ \frac{a + c}{2} - \sqrt{\left(\frac{a - c}{2}\right)^2 + \left(\frac{b}{2}\right)^2}, \frac{a + c}{2} + \sqrt{\left(\frac{a - c}{2}\right)^2 + \left(\frac{b}{2}\right)^2} \right]

Thus, the range of the expression acos⁡2x+bsin⁡xcos⁡x+csin⁡2xa \cos^2 x + b \sin x \cos x + c \sin^2 x is:

[a+c−(a−c)2+b22,a+c+(a−c)2+b22]\boxed{\left[ \frac{a + c - \sqrt{(a - c)^2 + b^2}}{2}, \frac{a + c + \sqrt{(a - c)^2 + b^2}}{2} \right]}

IV. Range of the Expression acos⁡(x+φ1)+bsin⁡(x+φ2)a \cos(x + \varphi_1) + b \sin(x + \varphi_2)

To determine the range of the expression acos⁡(x+φ1)+bsin⁡(x+φ2)a \cos(x + \varphi_1) + b \sin(x + \varphi_2), where aa, bb, φ1\varphi_1, and φ2\varphi_2 are constants, we begin by expanding the trigonometric terms using the angle addition formulas.

Expanding acos⁡(x+φ1)a \cos(x + \varphi_1) and bsin⁡(x+φ2)b \sin(x + \varphi_2):

acos⁡(x+φ1)=a(cos⁡xcos⁡φ1−sin⁡xsin⁡φ1)a \cos(x + \varphi_1) = a (\cos x \cos \varphi_1 - \sin x \sin \varphi_1) bsin⁡(x+φ2)=b(sin⁡xcos⁡φ2+cos⁡xsin⁡φ2)b \sin(x + \varphi_2) = b (\sin x \cos \varphi_2 + \cos x \sin \varphi_2)

Thus, the original expression becomes:

acos⁡(x+φ1)+bsin⁡(x+φ2)=(acos⁡φ1+bsin⁡φ2)cos⁡x+(bcos⁡φ2−asin⁡φ1)sin⁡xa \cos(x + \varphi_1) + b \sin(x + \varphi_2) = (a \cos \varphi_1 + b \sin \varphi_2) \cos x + (b \cos \varphi_2 - a \sin \varphi_1) \sin x

This is now in the form Acos⁡x+Bsin⁡xA \cos x + B \sin x, where:

A=acos⁡φ1+bsin⁡φ2A = a \cos \varphi_1 + b \sin \varphi_2 B=bcos⁡φ2−asin⁡φ1B = b \cos \varphi_2 - a \sin \varphi_1

The range of the expression Acos⁡x+Bsin⁡xA \cos x + B \sin x, where AA and BB are constants, is known to be:

[−A2+B2,A2+B2]\left[ -\sqrt{A^2 + B^2}, \sqrt{A^2 + B^2} \right]

Substituting the values of AA and BB, we obtain:

[−(acos⁡φ1+bsin⁡φ2)2+(bcos⁡φ2−asin⁡φ1)2,(acos⁡φ1+bsin⁡φ2)2+(bcos⁡φ2−asin⁡φ1)2]\left[ -\sqrt{(a \cos \varphi_1 + b \sin \varphi_2)^2 + (b \cos \varphi_2 - a \sin \varphi_1)^2}, \sqrt{(a \cos \varphi_1 + b \sin \varphi_2)^2 + (b \cos \varphi_2 - a \sin \varphi_1)^2} \right]

Simplifying the squared terms:

=[−a2+b2+2absin⁡(φ2−φ1),a2+b2+2absin⁡(φ2−φ1)]= \left[ -\sqrt{a^2 + b^2 + 2ab \sin(\varphi_2 - \varphi_1)}, \sqrt{a^2 + b^2 + 2ab \sin(\varphi_2 - \varphi_1)} \right]

Therefore, the range of the expression acos⁡(x+φ1)+bsin⁡(x+φ2)a \cos(x + \varphi_1) + b \sin(x + \varphi_2) is:

[−a2+b2+2absin⁡(φ2−φ1),a2+b2+2absin⁡(φ2−φ1)]\boxed{\left[ -\sqrt{a^2 + b^2 + 2ab \sin(\varphi_2 - \varphi_1)}, \sqrt{a^2 + b^2 + 2ab \sin(\varphi_2 - \varphi_1)} \right]}

V. Range of the Expression atan⁡2x+bcot⁡2xa \tan^2 x + b \cot^2 x

The range of the expression atan⁡2x+bcot⁡2xa \tan^2 x + b \cot^2 x, where a>0a > 0 and b>0b > 0, is determined using the Arithmetic Mean-Geometric Mean (AM-GM) inequality.

For two non-negative real numbers pp and qq, the AM-GM inequality states:

p+q2≥pq\frac{p + q}{2} \geq \sqrt{pq}

Applying this to the terms p=atan⁡2xp = a \tan^2 x and q=bcot⁡2xq = b \cot^2 x, the inequality becomes:

atan⁡2x+bcot⁡2x2≥atan⁡2x⋅bcot⁡2x\frac{a \tan^2 x + b \cot^2 x}{2} \geq \sqrt{a \tan^2 x \cdot b \cot^2 x}

Simplifying the right-hand side:

atan⁡2x⋅bcot⁡2x=abtan⁡2xcot⁡2x=ab\sqrt{a \tan^2 x \cdot b \cot^2 x} = \sqrt{ab \tan^2 x \cot^2 x} = \sqrt{ab}

Multiplying both sides of the inequality by 2:

atan⁡2x+bcot⁡2x≥2aba \tan^2 x + b \cot^2 x \geq 2 \sqrt{ab}

The minimum value of atan⁡2x+bcot⁡2xa \tan^2 x + b \cot^2 x is attained when tan⁡2x=cot⁡2x\tan^2 x = \cot^2 x, i.e., when tan⁡2x=1\tan^2 x = 1. In this case, the value of the expression is 2ab2 \sqrt{ab}.

Since tan⁡2x\tan^2 x and cot⁡2x\cot^2 x can grow without bound as xx varies, the maximum value of atan⁡2x+bcot⁡2xa \tan^2 x + b \cot^2 x tends to infinity. Therefore, the range of the expression is:

[2ab,∞)[2 \sqrt{ab}, \infty)

VI. Range of the Expression asec⁡2x+bcsc⁡2xa \sec^2 x + b \csc^2 x

The expression given is of the form asec⁡2x+bcsc⁡2xa \sec^2 x + b \csc^2 x, where a>0a > 0 and b>0b > 0. To find the range of this expression, we start by rewriting sec⁡2x\sec^2 x and csc⁡2x\csc^2 x in terms of tan⁡2x\tan^2 x and cot⁡2x\cot^2 x, respectively.

Using the identity sec⁡2x=1+tan⁡2x\sec^2 x = 1 + \tan^2 x, we have:

asec⁡2x=a(1+tan⁡2x)a \sec^2 x = a (1 + \tan^2 x)

Similarly, using the identity csc⁡2x=1+cot⁡2x\csc^2 x = 1 + \cot^2 x, we get:

bcsc⁡2x=b(1+cot⁡2x)b \csc^2 x = b (1 + \cot^2 x)

Thus, the expression asec⁡2x+bcsc⁡2xa \sec^2 x + b \csc^2 x becomes:

a(1+tan⁡2x)+b(1+cot⁡2x)a (1 + \tan^2 x) + b (1 + \cot^2 x)

Simplifying this, we get:

a+atan⁡2x+b+bcot⁡2x=a+b+atan⁡2x+bcot⁡2xa + a \tan^2 x + b + b \cot^2 x = a + b + a \tan^2 x + b \cot^2 x

Now, we can apply the Arithmetic Mean-Geometric Mean (AM-GM) inequality to the terms atan⁡2xa \tan^2 x and bcot⁡2xb \cot^2 x. According to the AM-GM inequality, for two non-negative real numbers pp and qq:

p+q2≥pq\frac{p + q}{2} \geq \sqrt{pq}

Using p=atan⁡2xp = a \tan^2 x and q=bcot⁡2xq = b \cot^2 x, we apply the AM-GM inequality:

atan⁡2x+bcot⁡2x2≥atan⁡2x⋅bcot⁡2x\frac{a \tan^2 x + b \cot^2 x}{2} \geq \sqrt{a \tan^2 x \cdot b \cot^2 x}

Simplifying the right-hand side:

atan⁡2x⋅bcot⁡2x=abtan⁡2xcot⁡2x=ab\sqrt{a \tan^2 x \cdot b \cot^2 x} = \sqrt{ab \tan^2 x \cot^2 x} = \sqrt{ab}

Thus, we have:

atan⁡2x+bcot⁡2x≥2aba \tan^2 x + b \cot^2 x \geq 2 \sqrt{ab}

Therefore, the expression a+b+atan⁡2x+bcot⁡2xa + b + a \tan^2 x + b \cot^2 x has a minimum value of a+b+2aba + b + 2 \sqrt{ab}. As tan⁡2x\tan^2 x and cot⁡2x\cot^2 x can grow without bound, the maximum value tends to infinity.

Thus, the range of the expression is:

[a+b+2ab,∞)[a + b + 2 \sqrt{ab}, \infty)

Finally, we get,

[(a+b)2,∞)\boxed{\left[ \left( \sqrt{a} + \sqrt{b} \right)^2, \infty\right)}

Finding the Range Using Algebraic Transformation§

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:

sin⁡4x+cos⁡4x\sin^4 x + \cos^4 x

At first glance, it is difficult to directly determine the range because both sin⁡x\sin x and cos⁡x\cos x appear in the expression. However, we can manipulate the expression to make it more manageable. Using the identity sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, we can rewrite the expression as follows:

sin⁡4x+cos⁡4x=(sin⁡2x+cos⁡2x)2−2sin⁡2xcos⁡2x\sin^4 x + \cos^4 x = (\sin^2 x + \cos^2 x)^2 - 2 \sin^2 x \cos^2 x

Since sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, this simplifies to:

sin⁡4x+cos⁡4x=1−2sin⁡2xcos⁡2x\sin^4 x + \cos^4 x = 1 - 2 \sin^2 x \cos^2 x

Next, we apply the identity for sin⁡2x\sin 2x, which is sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2 \sin x \cos x, so sin⁡22x=4sin⁡2xcos⁡2x\sin^2 2x = 4 \sin^2 x \cos^2 x. Using this, we can express the original equation as:

sin⁡4x+cos⁡4x=1−sin⁡22x2\sin^4 x + \cos^4 x = 1 - \frac{\sin^2 2x}{2}

Now, we are left with the expression 1−sin⁡22x21 - \frac{\sin^2 2x}{2}, where the only term dependent on xx is sin⁡22x\sin^2 2x. The range of sin⁡22x\sin^2 2x is easily known to be [0,1][0, 1], as sin⁡22x\sin^2 2x takes values between 0 and 1 for all xx.

Thus, the range of the expression sin⁡4x+cos⁡4x\sin^4 x + \cos^4 x is:

1−12≤sin⁡4x+cos⁡4x≤1−01 - \frac{1}{2} \leq \sin^4 x + \cos^4 x \leq 1 - 0

This simplifies to:

12≤sin⁡4x+cos⁡4x≤1\frac{1}{2} \leq \sin^4 x + \cos^4 x \leq 1

Therefore, the range of sin⁡4x+cos⁡4x\sin^4 x + \cos^4 x is:

[12,1]\boxed{\left[ \frac{1}{2}, 1 \right]}

Have a look at another example.

Find Range using Inverses§

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)y = f(x), xx is the input, and yy is the output. To determine the range of f(x)f(x), we need to identify all possible values of yy. By inverting the function—isolating xx in terms of yy—we obtain a new expression x=g(y)x = g(y). The key insight is that the domain of g(y)g(y) represents all possible values of yy that are valid in the original function f(x)f(x). Thus, the domain of g(y)g(y) is exactly the range of f(x)f(x).

This method works because the process of inverting the function maps outputs (yy) back to their corresponding inputs (xx), ensuring that the values of yy for which g(y)g(y) is defined are the only values yy can take in the original function.

This approach is particularly powerful when isolating xx in terms of yy is straightforward. For example, consider the function y=2x−1y = \frac{2}{x - 1}. To find its range:

  1. Start with y=2x−1y = \frac{2}{x - 1} and solve for xx:

    y(x−1)=2  ⟹  x−1=2y  ⟹  x=2y+1.y(x - 1) = 2 \implies x - 1 = \frac{2}{y} \implies x = \frac{2}{y} + 1.
  2. Analyze the resulting expression x=g(y)=2y+1x = g(y) = \frac{2}{y} + 1. Here, xx is defined for all y≠0y \neq 0 because division by zero is undefined. Hence, the domain of g(y)g(y) is y∈(−∞,0)∪(0,∞)y \in (-\infty, 0) \cup (0, \infty).

The range of f(x)f(x) is thus (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty), as these are the only values yy can take for which x=g(y)x = g(y) is well-defined.

This method demonstrates its elegance when xx can be cleanly expressed in terms of yy, as it directly ties the range of f(x)f(x) to the domain of the inverse g(y)g(y). However, this approach only works when it is possibele to isolate xx. This approach will not work on the function f(x)=2x+sin⁡xf(x) = 2x + \sin x

Range of Rational Functions§

When studying rational functions, we focus on expressions of the form:

f(x)=P(x)Q(x),f(x) = \frac{P(x)}{Q(x)},

where P(x)P(x) and Q(x)Q(x) are polynomials. The range of such functions depends heavily on the degrees of P(x)P(x) and Q(x)Q(x). Specifically, we analyze rational functions of the following types:

  1. Linear over Quadratic: f(x)=linearquadraticf(x) = \frac{\text{linear}}{\text{quadratic}},
  2. Quadratic over Linear: f(x)=quadraticlinearf(x) = \frac{\text{quadratic}}{\text{linear}},
  3. Quadratic over Quadratic: f(x)=quadraticquadraticf(x) = \frac{\text{quadratic}}{\text{quadratic}}.

In the example below, we will determine the range of f(x)=x2x2+x+1f(x) = \frac{x^2}{x^2 + x + 1}, a rational function of the type quadratic over quadratic.

Using Calculus to Find the Range of Functions§

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.