QlarIITy

MathematicsJEE Main 2022 · 25 JulyInteger

Letan=∫−1n(1+x2+x23+…+xn−1n)dxa_n = \int_{-1}^n\left(1 + \frac{x}{2} + \frac{x^2}{3} + \ldots + \frac{x^{n - 1}}{n}\right)dxfor every n∈Nn \in N. Then the sum of all the elements of the set {n∈N:an∈(2,30)}\{n \in N : a_n \in (2, 30)\} is ______.

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 sequence of integrals is examined member by member when it grows quickly.

Concept refresher. If F′(x)=f(x)F^{\prime}(x) = f(x) on [a,b][a, b], then

∫abf(x)dx=F(b)−F(a)\int_a^b f(x)dx = F(b) - F(a)

Picture the situation. Integrating term by term, an=[x+x24+x39+⋯+xnn2]−1na_n = \left[x + \dfrac{x^2}{4} + \dfrac{x^3}{9} + \cdots + \dfrac{x^n}{n^2}\right]_{-1}^n.

Approach. Evaluate the first few members and compare with the interval.

  1. Step 1: The members

    This gives a1=2a_1 = 2, a2=3+34=154a_2 = 3 + \dfrac{3}{4} = \dfrac{15}{4}, a3=4+2+289a_3 = 4 + 2 + \dfrac{28}{9}, about 9.1, and a4=5+154+659+25516a_4 = 5 + \dfrac{15}{4} + \dfrac{65}{9} + \dfrac{255}{16}, about 31.9.

  2. Step 2: The set

    The members increase with nn, and a1=2a_1 = 2 is not inside the open interval. So only n=2n = 2 and n=3n = 3 qualify, and their sum is 5.

Answer. 5

Sanity check. The members increase because both the interval and the integrand grow with nn, and a4a_4 is already above 30.

Common wrong answers

  • 6: Counting n=1n = 1, although a1=2a_1 = 2 is an end of the open interval, gives 1+2+3=61 + 2 + 3 = 6.
  • 9: Counting n=4n = 4, although a4a_4 is about 31.9, gives 2+3+4=92 + 3 + 4 = 9.

Key takeaway

The trap. An open interval excludes a member that equals an end point.

How toppers think. They evaluate the powers at the lower limit carefully, since their signs alternate.

Remember. an=∑m=1nnm−(−1)mm2a_n = \sum_{m = 1}^{n}\dfrac{n^m - (-1)^m}{m^2}

More on Evaluation Techniques