JEE Main Definite Integrals: King's Property and the Limits Trap
Short answer: King's property says that the integral of f(x) from a to b equals the integral of f(a + b − x) over the same limits. The substitution x → a + b − x simply walks the same interval backwards, so the value cannot change. In JEE Main, its real power comes from adding the new form to the original: the awkward part cancels and the integral collapses into one line of work.
The property, its proof and its conditions
In this post, ∫[a, b] f(x) dx means the definite integral of f(x) from x = a to x = b.
Statement: ∫[a, b] f(x) dx = ∫[a, b] f(a + b − x) dx
Condition: f must be integrable on [a, b]. A function that is continuous on [a, b] always qualifies. The limits stay exactly the same; only the x inside the integrand changes.
Special case (lower limit 0): ∫[0, a] f(x) dx = ∫[0, a] f(a − x) dx. This is just the general rule with the lower limit equal to 0.
Proof in three lines:
- Put t = a + b − x, so dt = −dx.
- When x = a, t = b, and when x = b, t = a.
- So ∫[a, b] f(x) dx = ∫[b, a] f(a + b − t)(−dt) = ∫[a, b] f(a + b − t) dt.
The minus sign from dt flips the limits back. Since t is only a dummy variable, you can rename it x, and the property is proved. Knowing this proof means you never have to memorise the special cases separately.
The method in four steps
- Call the integral I.
- Replace every x in the integrand by a + b − x and simplify using identities such as sin(π/2 − x) = cos x, sin(π − x) = sin x and cos(π − x) = −cos x.
- Add the two forms of I (occasionally you subtract them).
- Solve the resulting equation for I.
When to reach for it: look for parts of the integrand that swap places under x → a + b − x. Common signs are sin x and cos x together on [0, π/2], √x paired with √(a + b − x), and a lone x multiplied by a function of sin x on [0, π]. If the integrand looks hard to integrate directly but has this kind of symmetry, try King's property before anything else.
Worked example 1: a square-root pair
Evaluate I = ∫[1, 7] √x / (√x + √(8 − x)) dx.
Step 1: find a + b. Here a = 1 and b = 7, so a + b = 8. Notice that 8 already appears inside the second root. That is the hint.
Step 2: replace x by 8 − x. The numerator √x becomes √(8 − x). The term √(8 − x) becomes √(8 − (8 − x)) = √x. So
I = ∫[1, 7] √(8 − x) / (√(8 − x) + √x) dx.
Step 3: add the two forms. Both have the same denominator, √x + √(8 − x), so
2I = ∫[1, 7] (√x + √(8 − x)) / (√x + √(8 − x)) dx = ∫[1, 7] 1 dx = 7 − 1 = 6.
Step 4: solve. I = 3.
The answer is a pure number with no units, as in all pure maths integrals. The general result behind this example is worth knowing: ∫[a, b] f(x) / (f(x) + f(a + b − x)) dx = (b − a)/2. According to NTA, Section B answers are numerical values entered as integers, so a clean result like 3 is exactly the kind of answer you should expect to type in. For more on handling that section, see our guide to JEE Main numerical questions.
Worked example 2: the lone x on [0, π]
Evaluate I = ∫[0, π] x sin x / (1 + cos²x) dx.
Step 1: find a + b. Here a + b = 0 + π = π.
Step 2: replace every x by π − x. Use sin(π − x) = sin x and cos(π − x) = −cos x, so cos²(π − x) = cos²x. The lone x becomes π − x:
I = ∫[0, π] (π − x) sin x / (1 + cos²x) dx.
Step 3: add the two forms. The x terms cancel: x + (π − x) = π. So
2I = π ∫[0, π] sin x / (1 + cos²x) dx.
Now substitute t = cos x, so dt = −sin x dx. When x = 0, t = 1, and when x = π, t = −1. The integral becomes ∫[1, −1] (−dt)/(1 + t²) = ∫[−1, 1] dt/(1 + t²) = tan⁻¹(1) − tan⁻¹(−1) = π/4 + π/4 = π/2.
Step 4: solve. 2I = π × π/2 = π²/2, so I = π²/4, which is about 2.47.
The general rule here is ∫[0, π] x f(sin x) dx = (π/2) ∫[0, π] f(sin x) dx. It holds whenever the rest of the integrand is unchanged by x → π − x, which is why cos²x was allowed but a bare cos x would not be.
The trap: writing b − x instead of a + b − x
The most common mistake is remembering only the special case f(a − x) and using it when the lower limit is not 0. In example 1, a student writes 7 − x instead of 8 − x. Then √x becomes √(7 − x) and √(8 − x) becomes √(x + 1). Nothing pairs up, the sum does not simplify, and the student either gives up or forces a cancellation that is not true.
Why it happens: the substitution reflects the interval about its midpoint, (a + b)/2. A point x and its mirror image always add up to a + b. Only when a = 0 does that sum shrink to b. So always compute a + b first, every time, even when it feels obvious.
Two smaller traps sit right beside this one:
- Half-replacing x. In example 2, changing sin x but leaving the lone x untouched gives back the same integral. Adding then gives 2I = 2I, which tells you nothing. Replace every x, including those outside functions.
- Sign slips in identities. cos(π − x) = −cos x, not cos x. The sign vanishes when the cosine is squared, as in example 2, but it matters with odd powers such as cos x or cos³x.
Quick-reference table
| Pattern |
Result |
Why it works |
| ∫[a, b] f(x) / (f(x) + f(a + b − x)) dx |
(b − a)/2 |
Adding both forms gives the integral of 1 |
| ∫[0, π/2] sinⁿx / (sinⁿx + cosⁿx) dx |
π/4 |
Same pattern with x → π/2 − x |
| ∫[0, π] x f(sin x) dx |
(π/2) ∫[0, π] f(sin x) dx |
x + (π − x) = π |
| ∫[0, π/2] log(tan x) dx |
0 |
log(cot x) = −log(tan x), so I = −I |
The last row is a case where you subtract rather than add: the new form is −I, so I = −I and I = 0. Add these rows to your own formula sheet; our post on building formula sheets alongside school shows a simple way to keep them organised.
How ErodovAI helps with King's property
ErodovAI's tutor can walk you through each substitution step by step, explaining with voice and drawing the interval reflection on a visual whiteboard, and you can ask again as many times as you need until a + b − x feels natural. When you are ready, Practice Any Topic takes you from flashcards to exercises to a graded summary on definite integrals. Start with the JEE Main Mathematics course, or study all three subjects together.
This is general study guidance, not a promise of any score or rank. Exam facts are according to NTA; check https://jeemain.nta.nic.in for official updates.