Question:

Let \(f : (0, 2) \to R\) be defined as \(f(x) = \log_2\left(1 + \tan\left(\frac{\pi x}{4}\right)\right)\). Then, \(\lim\limits_{n \to \infty} \frac{2}{n}\left(f\left(\frac1n\right) + f\left(\frac2n\right) + \dots + f(1)\right)\) is equal to ____________.

Show Hint

Convert the limit of the sum to \(2\int_0^1 f(x)dx\) and use \(\int_0^a g(x)dx = \int_0^a g(a-x)dx\).
Updated On: Nov 4, 2026
Show Solution
collegedunia
Verified By Collegedunia

Correct Answer: 1

Solution and Explanation

The limit \(= 2\int_0^1 f(x)dx = 2\int_0^1 \log_2\left(1 + \tan\frac{\pi x}{4}\right)dx\).
Put \(u = \frac{\pi x}{4}\): \(\int_0^1 \ln\left(1+\tan\frac{\pi x}{4}\right)dx = \frac4\pi \int_0^{\pi/4}\ln(1+\tan u)du\).
Using \(u \to \frac\pi4 - u\): \(1 + \tan\left(\frac\pi4 - u\right) = \frac{2}{1+\tan u}\), so \(J = \int_0^{\pi/4}\ln(1+\tan u)du\) satisfies \(2J = \frac\pi4 \ln 2\), \(J = \frac{\pi}{8}\ln 2\).
So \(\int_0^1 \ln\left(1+\tan\frac{\pi x}{4}\right)dx = \frac4\pi \cdot \frac\pi8 \ln2 = \frac{\ln 2}{2}\), and in base 2: \(\int_0^1 f = \frac12\).
Limit \(= 2 \cdot \frac12 = 1\).
Answer: 1
Was this answer helpful?
0
0