Skip to main content
Back to Sets, Relations & Functions
JEE Main 2021
Sets, Relations & Functions
Functions
Medium

Question

The range of the function, f(x)=log5(3+cos(3π4+x)+cos(π4+x)+cos(π4x)cos(3π4x))f(x) = {\log _{\sqrt 5 }}\left( {3 + \cos \left( {{{3\pi } \over 4} + x} \right) + \cos \left( {{\pi \over 4} + x} \right) + \cos \left( {{\pi \over 4} - x} \right) - \cos \left( {{{3\pi } \over 4} - x} \right)} \right) is :

Options

Solution

Key Concepts and Formulas

  1. Trigonometric Identities: We will utilize the sum-to-product and angle addition/subtraction formulas. Specifically,
    • cosA+cosB=2cos(A+B2)cos(AB2)\cos A + \cos B = 2\cos\left(\frac{A+B}{2}\right)\cos\left(\frac{A-B}{2}\right)
    • cosAcosB=2sin(A+B2)sin(AB2)\cos A - \cos B = -2\sin\left(\frac{A+B}{2}\right)\sin\left(\frac{A-B}{2}\right)
    • cos(πθ)=cosθ\cos(\pi - \theta) = -\cos\theta and sin(πθ)=sinθ\sin(\pi - \theta) = \sin\theta.
  2. Range of Basic Trigonometric Functions: The range of cosx\cos x and sinx\sin x is [1,1][-1, 1] for all real xx.
  3. Properties of Logarithms: For a base b>1b > 1, the logarithmic function logby\log_b y is an increasing function. This means if y1y2y_1 \le y_2, then logby1logby2\log_b y_1 \le \log_b y_2. Also, logb1=0\log_b 1 = 0.

Step-by-Step Solution

Step 1: Simplify the Argument of the Logarithm Let the argument of the logarithm be g(x)g(x). g(x)=3+cos(3π4+x)+cos(π4+x)+cos(π4x)cos(3π4x)g(x) = 3 + \cos \left( {{{3\pi } \over 4} + x} \right) + \cos \left( {{\pi \over 4} + x} \right) + \cos \left( {{\pi \over 4} - x} \right) - \cos \left( {{{3\pi } \over 4} - x} \right) We will group terms strategically to apply trigonometric identities. g(x)=3+[cos(π4+x)+cos(π4x)]+[cos(3π4+x)cos(3π4x)]g(x) = 3 + \left[ \cos \left( {{\pi \over 4} + x} \right) + \cos \left( {{\pi \over 4} - x} \right) \right] + \left[ \cos \left( {{{3\pi } \over 4} + x} \right) - \cos \left( {{{3\pi } \over 4} - x} \right) \right]

Step 2: Apply Sum-to-Product Formulas For the first bracket, using cosA+cosB=2cos(A+B2)cos(AB2)\cos A + \cos B = 2\cos\left(\frac{A+B}{2}\right)\cos\left(\frac{A-B}{2}\right): Let A=π4+xA = {\pi \over 4} + x and B=π4xB = {\pi \over 4} - x. A+B2=π4+x+π4x2=π22=π4\frac{A+B}{2} = \frac{{\pi \over 4} + x + {\pi \over 4} - x}{2} = \frac{{\pi \over 2}}{2} = \frac{\pi}{4}. AB2=π4+x(π4x)2=2x2=x\frac{A-B}{2} = \frac{{\pi \over 4} + x - ({\pi \over 4} - x)}{2} = \frac{2x}{2} = x. So, cos(π4+x)+cos(π4x)=2cos(π4)cos(x)\cos \left( {{\pi \over 4} + x} \right) + \cos \left( {{\pi \over 4} - x} \right) = 2\cos \left( {{\pi \over 4}} \right)\cos (x).

For the second bracket, using cosAcosB=2sin(A+B2)sin(AB2)\cos A - \cos B = -2\sin\left(\frac{A+B}{2}\right)\sin\left(\frac{A-B}{2}\right): Let A=3π4+xA = {{{3\pi } \over 4} + x} and B=3π4xB = {{{3\pi } \over 4} - x}. A+B2=3π4+x+3π4x2=3π22=3π4\frac{A+B}{2} = \frac{{{{3\pi } \over 4} + x + {{3\pi } \over 4} - x}}{2} = \frac{{3\pi \over 2}}{2} = \frac{3\pi}{4}. AB2=3π4+x(3π4x)2=2x2=x\frac{A-B}{2} = \frac{{{{3\pi } \over 4} + x - ({{3\pi } \over 4} - x)}}{2} = \frac{2x}{2} = x. So, cos(3π4+x)cos(3π4x)=2sin(3π4)sin(x)\cos \left( {{{3\pi } \over 4} + x} \right) - \cos \left( {{{3\pi } \over 4} - x} \right) = -2\sin \left( {{{3\pi } \over 4}} \right)\sin (x).

Substituting these back into g(x)g(x): g(x)=3+2cos(π4)cos(x)2sin(3π4)sin(x)g(x) = 3 + 2\cos \left( {{\pi \over 4}} \right)\cos (x) - 2\sin \left( {{{3\pi } \over 4}} \right)\sin (x)

Step 3: Evaluate Known Trigonometric Values and Substitute We know that cos(π4)=12\cos \left( {{\pi \over 4}} \right) = \frac{1}{\sqrt{2}}. For sin(3π4)\sin \left( {{{3\pi } \over 4}} \right), we use the identity sin(πθ)=sinθ\sin(\pi - \theta) = \sin\theta: sin(3π4)=sin(ππ4)=sin(π4)=12\sin \left( {{{3\pi } \over 4}} \right) = \sin \left( {\pi - {\pi \over 4}} \right) = \sin \left( {{\pi \over 4}} \right) = \frac{1}{\sqrt{2}}.

Substitute these values into the expression for g(x)g(x): g(x)=3+2(12)cos(x)2(12)sin(x)g(x) = 3 + 2 \left( \frac{1}{\sqrt{2}} \right) \cos (x) - 2 \left( \frac{1}{\sqrt{2}} \right) \sin (x) g(x)=3+2cos(x)2sin(x)g(x) = 3 + \sqrt{2} \cos (x) - \sqrt{2} \sin (x) g(x)=3+2(cos(x)sin(x))g(x) = 3 + \sqrt{2} (\cos (x) - \sin (x))

Step 4: Determine the Range of the Simplified Trigonometric Expression We need to find the range of cos(x)sin(x)\cos (x) - \sin (x). This expression is of the form acosx+bsinxa\cos x + b\sin x, where a=1a=1 and b=1b=-1. The range of acosx+bsinxa\cos x + b\sin x is [a2+b2,a2+b2][-\sqrt{a^2+b^2}, \sqrt{a^2+b^2}]. Here, a2+b2=12+(1)2=1+1=2\sqrt{a^2+b^2} = \sqrt{1^2 + (-1)^2} = \sqrt{1+1} = \sqrt{2}. So, the range of cos(x)sin(x)\cos (x) - \sin (x) is [2,2][-\sqrt{2}, \sqrt{2}].

Now, we find the range of 2(cos(x)sin(x))\sqrt{2} (\cos (x) - \sin (x)). Multiplying the range by 2\sqrt{2}: 2×[2,2]=[2×2,2×2]=[2,2]\sqrt{2} \times [-\sqrt{2}, \sqrt{2}] = [-\sqrt{2} \times \sqrt{2}, \sqrt{2} \times \sqrt{2}] = [-2, 2].

Finally, we find the range of g(x)=3+2(cos(x)sin(x))g(x) = 3 + \sqrt{2} (\cos (x) - \sin (x)). We add 3 to the range [2,2][-2, 2]: Range of g(x)g(x) is [3+(2),3+2]=[1,5][3 + (-2), 3 + 2] = [1, 5].

Step 5: Determine the Range of the Logarithmic Function The function is f(x)=log5(g(x))f(x) = {\log _{\sqrt 5 }}\left( {g(x)} \right). The base of the logarithm is 5\sqrt{5}, which is greater than 1. Therefore, the logarithmic function is strictly increasing. We found that the range of g(x)g(x) is [1,5][1, 5]. Since the logarithm is increasing, we apply it to the range of g(x)g(x): Range of f(x)=[log5(1),log5(5)]f(x) = \left[ {\log _{\sqrt 5 }} (1), {\log _{\sqrt 5 }} (5) \right].

We evaluate the endpoints: log5(1)=0\log _{\sqrt 5 } (1) = 0 (since any base raised to the power of 0 is 1). To evaluate log5(5)\log _{\sqrt 5 } (5), we can set it equal to yy: log5(5)=y    (5)y=5    (51/2)y=51    5y/2=51    y2=1    y=2\log _{\sqrt 5 } (5) = y \implies (\sqrt{5})^y = 5 \implies (5^{1/2})^y = 5^1 \implies 5^{y/2} = 5^1 \implies \frac{y}{2} = 1 \implies y = 2. So, log5(5)=2\log _{\sqrt 5 } (5) = 2.

Therefore, the range of f(x)f(x) is [0,2][0, 2].

Common Mistakes & Tips

  • Incorrect application of sum-to-product formulas: Ensure the correct formula is used for sum and difference of cosines.
  • Sign errors: Pay close attention to the signs when applying formulas, especially the cosAcosB\cos A - \cos B formula.
  • Logarithm base: Remember that the behavior of a logarithmic function (increasing or decreasing) depends on its base. 5>1\sqrt{5} > 1, so it's increasing.
  • Range of trigonometric expressions: Always recall that acosθ+bsinθa\cos\theta + b\sin\theta has a range of [a2+b2,a2+b2][-\sqrt{a^2+b^2}, \sqrt{a^2+b^2}].

Summary

To find the range of the given logarithmic function, we first simplified the argument of the logarithm by applying trigonometric sum-to-product identities and evaluating known trigonometric values. This resulted in a simplified expression g(x)=3+2(cosxsinx)g(x) = 3 + \sqrt{2}(\cos x - \sin x). We then determined the range of this expression by finding the range of cosxsinx\cos x - \sin x and then manipulating it. The range of g(x)g(x) was found to be [1,5][1, 5]. Finally, since the base of the logarithm, 5\sqrt{5}, is greater than 1, the logarithmic function is increasing. Applying the logarithm to the range of g(x)g(x) yielded the range of f(x)f(x) as [0,2][0, 2].

The final answer is [0,2]\boxed{[0, 2]}.

Practice More Sets, Relations & Functions Questions

View All Questions