Definite IntegrationmediumFree

Definite Integration: Prime Equal Denotes Fractional Part

JEE Maths question with a full step-by-step solution.

Question
If
1e1n=1501(n+1)!nne{x}dx1+esinx=11(ab)!\frac{1}{e-1}\sum_{n=1}^{50}\frac{1}{(n+1)!}\int_{-n}^{n}e^{\{|x|\}}\,\frac{dx}{1+e^{\sin x}} = 1-\frac{1}{(ab)!}
where aa and bb are prime, then ab\left|a-b\right| is equal to ({}\{\,\cdot\,\} denotes the fractional part)
Solution
Answer: 14 (± 0.01)
Step 1: For any even function gg and any odd function hh,
nng(x)1+eh(x)dx=0ng(x)dx\int_{-n}^{n}\frac{g(x)}{1+e^{h(x)}}\,dx = \int_{0}^{n}g(x)\,dx
Proof: add the integral to its image under xxx \to -x; the two denominators 1+eh1+e^{h} and 1+eh1+e^{-h} have reciprocals summing to 11. Step 2: sinx\sin x is odd, and e{x}e^{\{|x|\}} depends on x|x|, so it is even. Hence
nne{x}dx1+esinx=0ne{x}dx\int_{-n}^{n}e^{\{|x|\}}\frac{dx}{1+e^{\sin x}} = \int_{0}^{n}e^{\{x\}}\,dx
Step 3: {x}\{x\} has period 11, so e{x}e^{\{x\}} does too, and over [0,n]\left[0,n\right] the integral is nn copies of the integral over one period:
0ne{x}dx=n01exdx=n(e1)\int_{0}^{n}e^{\{x\}}\,dx = n\int_{0}^{1}e^{x}\,dx = n\left(e-1\right)
Step 4:
1e1n=150n(e1)(n+1)!=n=150n(n+1)!\frac{1}{e-1}\sum_{n=1}^{50}\frac{n\left(e-1\right)}{(n+1)!} = \sum_{n=1}^{50}\frac{n}{(n+1)!}
Step 5:
n(n+1)!=(n+1)1(n+1)!=1n!1(n+1)!\frac{n}{(n+1)!} = \frac{(n+1)-1}{(n+1)!} = \frac{1}{n!}-\frac{1}{(n+1)!}
n=150[1n!1(n+1)!]=11!151!=1151!\sum_{n=1}^{50}\left[\frac{1}{n!}-\frac{1}{(n+1)!}\right] = \frac{1}{1!}-\frac{1}{51!} = 1-\frac{1}{51!}
Step 6: aa and bb are prime, so ab4ab \ge 4, and m!m! is strictly increasing for m2m \ge 2. Hence
(ab)!=51!ab=51=3×17\left(ab\right)! = 51! \quad\Longrightarrow\quad ab = 51 = 3\times17
3×173\times17 is the prime factorisation of 5151, so the only pair of primes with product 5151 is {a,b}={3,17}\{a,b\} = \{3,17\}, and
ab=317=14\left|a-b\right| = \left|3-17\right| = 14
Answer: 14.0014.00
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.