Integrals: PYQ Walkthrough (14)

medium 2 min read

Question

Evaluate

x2+1x4+1dx\int \frac{x^2 + 1}{x^4 + 1}\,dx

This appeared in JEE Main 2023 and tests the “divide by x2x^2” trick.

Solution — Step by Step

1+1/x2x2+1/x2dx\int \frac{1 + 1/x^2}{x^2 + 1/x^2}\,dx

Note x1/xx - 1/x has derivative 1+1/x21 + 1/x^2 — that’s exactly the numerator. Also, x2+1/x2=(x1/x)2+2x^2 + 1/x^2 = (x - 1/x)^2 + 2.

Let u=x1/xu = x - 1/x, then du=(1+1/x2)dxdu = (1 + 1/x^2)\,dx.

duu2+2=12tan1(u2)+C\int \frac{du}{u^2 + 2} = \frac{1}{\sqrt{2}}\tan^{-1}\left(\frac{u}{\sqrt{2}}\right) + C

12tan1(x1/x2)+C=12tan1(x212x)+C\frac{1}{\sqrt{2}}\tan^{-1}\left(\frac{x - 1/x}{\sqrt{2}}\right) + C = \frac{1}{\sqrt{2}}\tan^{-1}\left(\frac{x^2 - 1}{\sqrt{2}\,x}\right) + C

Final answer: 12tan1(x21x2)+C\frac{1}{\sqrt{2}}\tan^{-1}\left(\frac{x^2 - 1}{x\sqrt{2}}\right) + C.

Why This Works

The trick is to spot that the numerator is the derivative of (x1/x)(x - 1/x) and the denominator can be expressed as a quadratic in (x1/x)(x - 1/x). This converts an unfamiliar integrand into the standard form 1/(u2+a2)1/(u^2 + a^2).

The same trick works for similar integrals of the form (x2±1)/(x4+kx2+1)(x^2 \pm 1)/(x^4 + kx^2 + 1) — divide by x2x^2 and look for x±1/xx \pm 1/x substitutions.

Alternative Method

Partial fractions over R\mathbb{R}: factor x4+1=(x2+2x+1)(x22x+1)x^4 + 1 = (x^2 + \sqrt{2}x + 1)(x^2 - \sqrt{2}x + 1), decompose, and integrate each piece. This works but takes 5x longer — JEE doesn’t reward it.

For any integral of the form (xn±xn)/(symmetric polynomial)(x^n \pm x^{-n})/(\text{symmetric polynomial}), try the x±1/xx \pm 1/x substitution first. It’s the JEE shortcut for symmetric rational functions.

Common Mistake

Not recognising that x4+1=(x2)2+1x^4 + 1 = (x^2)^2 + 1 doesn’t factor nicely as (x2+1)(x21)(x^2+1)(x^2 - 1) — that gives x41x^4 - 1. Always check by expansion before going down the wrong path.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next