QlarIITy

MathematicsJEE Main 2023 · 13 AprilInteger

Letfn=∫0π2(∑k=1nsin⁡k−1x)(∑k=1n(2k−1)sin⁡k−1x)cos⁡xdx,n∈Nf_n = \int_0^{\frac{\pi}{2}}\left(\sum_{k=1}^n\sin^{k - 1}x\right)\left(\sum_{k=1}^n(2k - 1)\sin^{k - 1}x\right)\cos x dx, n \in \mathbb{N}. Then f21−f20f_{21} - f_{20} is equal to ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A product of a function and a combination of itself and its derivative may be an exact derivative.

Concept refresher. For functions uu and vv of xx,

ddx(uv)=u′v+uv′\dfrac{d}{dx}(uv) = u^{\prime}v + uv^{\prime}

so an integrand of this form integrates back to uvuv.

Picture the situation. Put t=sin⁡xt = \sin x, so dt=cos⁡xdxdt = \cos xdx and tt runs from 0 to 1. Then fn=∫01A(t)B(t)dtf_n = \int_0^1 A(t)B(t)dt with A(t)=∑k=1ntk−1A(t) = \sum_{k = 1}^{n}t^{k - 1} and B(t)=∑k=1n(2k−1)tk−1B(t) = \sum_{k = 1}^{n}(2k - 1)t^{k - 1}.

Approach. Write the product as an exact derivative.

  1. Step 1: The second sum

    Since 2k−1=2(k−1)+12k - 1 = 2(k - 1) + 1 and (k−1)tk−1(k - 1)t^{k - 1} is tt times the derivative of tk−1t^{k - 1}, B(t)=2tA′(t)+A(t)B(t) = 2tA^{\prime}(t) + A(t). So AB=A2+2tAA′=(tA2)′AB = A^2 + 2tAA^{\prime} = \left(tA^2\right)^{\prime} by the refresher, and fn=[tA2]01=(A(1))2=n2f_n = \left[tA^2\right]_0^1 = \left(A(1)\right)^2 = n^2.

  2. Step 2: The value

    The integral is the square of the index for every index, so the required difference is f21−f20=441−400=41f_{21} - f_{20} = 441 - 400 = 41.

Answer. 41

Sanity check. For n=1n = 1 both sums equal 1 and f1=∫0π/2cos⁡xdx=1f_1 = \int_0^{\pi/2}\cos xdx = 1, the square of 1, as the formula says.

Common wrong answers

  • 1: Forgetting that A(1)A(1) is squared gives fn=nf_n = n and a difference of 1.
  • 1261: Taking A(1)B(1)=n×n2A(1)B(1) = n \times n^2 in place of the integral gives 213−203=126121^3 - 20^3 = 1261.

Key takeaway

The trap. The odd coefficients hide the derivative of the first sum.

How toppers think. They test the smallest case to confirm the pattern.

Remember. A2+2tAA′=(tA2)′A^2 + 2tAA^{\prime} = \left(tA^2\right)^{\prime}

More on Evaluation Techniques