LATEST
JEEBy Pareeksha Editorial Team· ⏱ 15 min read

Definite Integral Properties and the King Rule for JEE

Share𝕏fin
Alongside this guide

Find study material for your next topic

Browse the Reading Room and preview a chapter before choosing what to study.

Browse study material →
Definite Integral Properties and the King Rule for JEE
On this page
  1. What is covered
  2. The king rule and why it works
  3. The factor-$x$ trick
  4. Odd, even and the "half the interval" principle
  5. Periodic functions and the doubling property
  6. Greatest-integer and modulus integrands
  7. Logarithmic integrals
  8. Functional equations with integrals
  9. Writing a king-rule solution cleanly
  10. Why the reflection identities hold
  11. Combining properties in one problem
  12. Choosing the property: a decision list
  13. Worked examples
  14. Common traps
  15. A one-page recap
  16. How to practise the king rule and its relatives
  17. Frequently asked questions
  18. How do I know the king rule is the right tool?
  19. What is the difference between the king rule and the odd-even property?
  20. Why does $\int_0^{\pi/2}\dfrac{dx}{1+\tan^nx}=\dfrac\pi4$ for every $n$?
  21. Can the king rule be used when the integrand is not symmetric at all?
  22. How should I handle $\int_0^{\pi}x\,f(\sin x)\,dx$ when $f$ is hard to integrate?
  23. Are these properties tested in JEE Advanced too?

Most definite integrals that appear in JEE Main cannot be solved by finding an antiderivative and substituting the limits, and that is deliberate. The question-setter picks an integrand that looks hopeless, for instance $\displaystyle\int_0^\pi\frac{x}{1+\sin x}\,dx$ or $\displaystyle\int_{\pi/6}^{\pi/3}\frac{dx}{1+\sqrt{\tan x}}$, and relies on a property of the definite integral to finish it in a few lines. The student who recognises the property solves it in a minute. The student who looks for an antiderivative loses ten.

The chapter guide on definite integrals lists the full set of properties, the fundamental theorem, the Leibniz rule and the limit of a sum, and its examples include $\int_0^{\pi/2}\frac{\sin x}{\sin x+\cos x}\,dx$, $\int_0^{\pi}\frac{x\sin x}{1+\cos^2x}\,dx$, $\int_0^{\pi/2}\ln\sin x\,dx$ and the $\sqrt{x}/(\sqrt{x}+\sqrt{7-x})$ integral. This post goes deeper on one cluster: the reflection properties, namely the king rule and its relatives, how to recognise which one an integrand invites, the factor-$x$ trick, the use of periodicity, and the awkward integrands built from the greatest-integer function and logarithms. The limit-of-a-sum technique has its own post, definite integrals as a limit of a sum, and the antiderivative techniques that the non-property integrals need are in integration by substitution and by parts and partial fractions and standard forms. The geometric use of the integral is covered in area between curves.

What is covered

Property Statement
King rule $\int_a^bf(x)\,dx=\int_a^bf(a+b-x)\,dx$
Zero-to-$a$ form $\int_0^af(x)\,dx=\int_0^af(a-x)\,dx$
Odd and even $\int_{-a}^af=0$ (odd), $2\int_0^af$ (even)
Doubling $\int_0^{2a}f=2\int_0^af$ if $f(2a-x)=f(x)$, and $0$ if $f(2a-x)=-f(x)$
Periodic $\int_0^{nT}f=n\int_0^Tf$
Piecewise split at breakpoints of modulus or greatest-integer functions

The king rule and why it works

The substitution $x\to a+b-x$ maps the interval $[a,b]$ onto itself in reverse order. The limits swap, but so does the sign of $dx$, so the integral keeps its value:

$$\int_a^bf(x)\,dx=\int_a^bf(a+b-x)\,dx.$$

The geometric meaning is that the area under $f$ equals the area under its mirror image about $x=\dfrac{a+b}2$. This is a property of the interval, and holds for every integrable $f$.

It becomes a tool when the reflected integrand is related simply to the original. There are three standard relationships, and recognising which one you are in is the whole skill.

Case 1: the reflected function is the same. If $f(a+b-x)=f(x)$, the property gives nothing new directly, but it enables the factor-$x$ trick below.

Case 2: the two integrands add to something simple. If $f(x)+f(a+b-x)=k$ (a constant or an easy function), then $2I=\int_a^bk\,dx$. Typical cases: $\dfrac{\sin x}{\sin x+\cos x}$ and its reflection $\dfrac{\cos x}{\cos x+\sin x}$ over $\left[0,\dfrac\pi2\right]$, which add to $1$; and $\dfrac1{1+\tan^nx}$ and its reflection $\dfrac{\tan^nx}{1+\tan^nx}$, which also add to $1$ for every $n$.

Case 3: the reflected function is minus the original plus a constant. For logarithms such as $\ln(1+\tan x)$ over $\left[0,\dfrac\pi4\right]$, the reflection gives $\ln\dfrac{2}{1+\tan x}$, and the sum is $\ln2$.

When you see an integrand with $\sin$ and $\cos$ swapped under $x\to\dfrac\pi2-x$, or a function of $x$ and $c-x$ with symmetrical roles, try the reflection and add.

Also read: Determinants for JEE: Properties and Cramer's Rule

The factor-$x$ trick

For an integral of the form $\displaystyle\int_0^{\pi}x\,g(\sin x)\,dx$ where $g(\sin x)$ is unchanged under $x\to\pi-x$, apply the king rule: $I=\int_0^\pi(\pi-x)g(\sin x)\,dx$. Adding, $2I=\pi\int_0^\pi g(\sin x)\,dx$, so

$$\int_0^\pi x\,g(\sin x)\,dx=\frac\pi2\int_0^\pi g(\sin x)\,dx.$$

The same works for functions of $\cos^2x$, and for any integrand whose non-$x$ part is symmetric about the midpoint of the interval. For limits $[a,b]$ the general statement is $\int_a^bx\,f(x)\,dx=\dfrac{a+b}2\int_a^bf(x)\,dx$ when $f(a+b-x)=f(x)$.

This trick removes the troublesome factor $x$ and leaves an integral that an ordinary antiderivative, or the Wallis-type method, can finish. Example 1 uses it.

Odd, even and the "half the interval" principle

The odd-even property is the king rule's cousin on a symmetric interval. A function is odd if $f(-x)=-f(x)$; then $\int_{-a}^af=0$. A function is even if $f(-x)=f(x)$; then $\int_{-a}^af=2\int_0^af$. For a general $f$, write $f(x)=\dfrac{f(x)+f(-x)}2+\dfrac{f(x)-f(-x)}2$ (even part plus odd part). Only the even part survives.

A common JEE form uses this with an exponential: for $\displaystyle\int_{-a}^a\frac{f(x)}{1+e^{g(x)}}\,dx$ with $f$ even and $g$ odd, the reflection $x\to-x$ gives $\dfrac{f(x)}{1+e^{-g(x)}}=\dfrac{f(x)e^{g(x)}}{1+e^{g(x)}}$. Adding the two, the integrand becomes $f(x)$, so the integral equals $\dfrac12\int_{-a}^af(x)\,dx$. Example 3 uses exactly this.

Periodic functions and the doubling property

If $f$ has period $T$, then $\int_0^{nT}f(x)\,dx=n\int_0^Tf(x)\,dx$ for a positive integer $n$, and $\int_a^{a+T}f(x)\,dx$ does not depend on $a$. Often the periodicity is hidden: $|\sin x|$ and $\sqrt{1-\cos2x}=\sqrt2\,|\sin x|$ both have period $\pi$.

The doubling property, $\int_0^{2a}f(x)\,dx=2\int_0^af(x)\,dx$ when $f(2a-x)=f(x)$, applies to the functions $\sin^{2m}x$, $\cos^{2m}x$ and $\left|\sin x\right|$ on $[0,2\pi]$. When $f(2a-x)=-f(x)$, the integral vanishes, as for $\sin^3x$ on $[0,2\pi]$ (since $\sin^3(2\pi-x)=-\sin^3x$). Combine this with the Wallis formula to evaluate $\int_0^{2\pi}\cos^4x\,dx=4\int_0^{\pi/2}\cos^4x\,dx=4\cdot\dfrac{3\cdot1}{4\cdot2}\cdot\dfrac\pi2=\dfrac{3\pi}{4}$.

Greatest-integer and modulus integrands

For $[g(x)]$ the strategy is to find where $g$ crosses integer values, split the interval there, and on each piece the greatest integer is a constant. For $\int_0^2[x^2]\,dx$, the function $x^2$ crosses $1$ at $x=1$, $2$ at $x=\sqrt2$, $3$ at $x=\sqrt3$ and $4$ at $x=2$. So $[x^2]=0$ on $[0,1)$, $1$ on $[1,\sqrt2)$, $2$ on $[\sqrt2,\sqrt3)$ and $3$ on $[\sqrt3,2)$. The integral is $1\cdot(\sqrt2-1)+2(\sqrt3-\sqrt2)+3(2-\sqrt3)=5-\sqrt2-\sqrt3$. Always list the breakpoints in order before writing the sum.

For $|g(x)|$, split where $g$ changes sign. The chapter guide has the $|x^2-x|$ case; the same method applies here.

Logarithmic integrals

Three logarithmic integrals recur, and their values are worth knowing:

$$\int_0^{\pi/2}\ln\sin x\,dx=\int_0^{\pi/2}\ln\cos x\,dx=-\frac\pi2\ln2,\qquad\int_0^{\pi/2}\ln\tan x\,dx=0.$$

From these, other forms follow by algebra. For example, $\int_0^{\pi/2}\ln(\sin x\cos x)\,dx=-\pi\ln2$, and $\int_0^{\pi/2}\ln(\tan x+\cot x)\,dx$: since $\tan x+\cot x=\dfrac1{\sin x\cos x}$, the value is $+\pi\ln2$ (Example 9). Knowing these three lets you finish a whole family in one line.

Functional equations with integrals

If a continuous function satisfies $f(x)+f(a+b-x)=c$, then $\int_a^bf(x)\,dx=\dfrac{c(b-a)}2$ by the king rule. If $f(x)=f(a+b-x)$, then $\int_a^bxf(x)\,dx=\dfrac{a+b}{2}\int_a^bf(x)\,dx$. These are the king rule written without a specific function and appear as "let $f$ be continuous with...".

Writing a king-rule solution cleanly

A king-rule solution has a fixed shape, and following it removes most careless errors. State the integral as $I$. Write the reflected form on the next line, naming the substitution ($x\to a+b-x$) and noting that the limits swap back. Simplify the reflected integrand using the identities that apply: $\sin\left(\dfrac\pi2-x\right)=\cos x$, $\tan\left(\dfrac\pi2-x\right)=\cot x$, $\sin(\pi-x)=\sin x$, $\cos(\pi-x)=-\cos x$. Add the two forms and simplify the sum to a constant or a simple function. Integrate and divide by $2$. The common failure is to simplify the sum wrongly, so after adding, check the result at one value of $x$ before integrating.

For $\displaystyle\int_0^\pi\frac{x}{1+\sin x}\,dx$ the steps are these. The reflected form is $\int_0^\pi\dfrac{\pi-x}{1+\sin x}\,dx$. The sum is $2I=\pi\int_0^\pi\dfrac{dx}{1+\sin x}$. Using symmetry about $\dfrac\pi2$, $\int_0^\pi\dfrac{dx}{1+\sin x}=2\int_0^{\pi/2}\dfrac{dx}{1+\sin x}$, and $\int\dfrac{dx}{1+\sin x}=\tan x-\sec x$ gives $\left[\tan x-\sec x\right]_0^{\pi/2}=0-(-1)=1$ in the limit (the combined expression is $\dfrac{\sin x-1}{\cos x}$, which tends to $0$ at $\dfrac\pi2$). So $\int_0^\pi\dfrac{dx}{1+\sin x}=2$ and $I=\dfrac\pi2\cdot2=\pi$. A numerical integration returns $3.14159$, as expected.

Why the reflection identities hold

It helps to see once why the rule works, since the proof also shows when it fails. Put $x=a+b-t$ in $\int_a^bf(x)\,dx$. Then $dx=-dt$, and when $x=a$ we have $t=b$ while when $x=b$ we have $t=a$. So the integral becomes $-\int_b^af(a+b-t)\,dt=\int_a^bf(a+b-t)\,dt$. Nothing about $f$ was used except that it is integrable, so the rule has no hidden conditions. The conditions enter only when you want the reflected integrand to be useful. The same proof with $a=-b$ gives the odd-even statements, and with $a=0$ and $b=2c$ it gives the doubling property once $f(2c-x)=\pm f(x)$. If $f$ has a discontinuity or an infinite value at an interior point, the original integral must itself exist before you use any property.

Combining properties in one problem

Harder questions chain two properties. A typical case is $\displaystyle\int_{-\pi}^{\pi}\frac{x\sin x}{1+\cos^2x}\,dx$. The integrand is even (a product of two odd functions over an even function), so the integral is $2\int_0^\pi\dfrac{x\sin x}{1+\cos^2x}\,dx$. Now the factor-$x$ trick applies, since $\dfrac{\sin x}{1+\cos^2x}$ is unchanged under $x\to\pi-x$: the half-range integral equals $\dfrac\pi2\int_0^\pi\dfrac{\sin x}{1+\cos^2x}\,dx=\dfrac\pi2\left[-\tan^{-1}(\cos x)\right]_0^\pi=\dfrac\pi2\cdot\dfrac\pi2$. So the full integral is $2\cdot\dfrac{\pi^2}{4}=\dfrac{\pi^2}2$. Each property did a small job, and the order mattered: the symmetric interval first, then the reflection. We suggest listing the available properties by the shape of the limits and the integrand, applying the one that simplifies the limits first, and then asking again which property is available on the new integral. A solution that needs three properties is still short if you apply them in sequence and name each one as you go.

Choosing the property: a decision list

We suggest this order for a definite integral that does not yield to an antiderivative.

  1. Symmetric limits $[-a,a]$? Test odd and even, or the $\dfrac{1}{1+e^{g}}$ form.
  2. Limits $0$ and $\dfrac\pi2$ with $\sin$ and $\cos$? Try $x\to\dfrac\pi2-x$ and add.
  3. Limits $0$ and $\pi$ with a factor $x$? Try $x\to\pi-x$ and the factor-$x$ trick.
  4. Limits $a$ and $b$ with an integrand that involves $x$ and $a+b-x$ symmetrically? King rule.
  5. A multiple of a period as the upper limit? Periodicity.
  6. Modulus or greatest-integer? Split at the breakpoints.
  7. Logarithm of a trigonometric ratio? Reflect, and add, or use the three known values.

Then check the result for reasonableness: the sign, and the size relative to a rough area estimate.

Worked examples

Each result was verified by numerical integration (Simpson's rule with many points) before the example was included.

Example 1 (numerical, medium). Find $\displaystyle\int_0^\pi x\sin x\cos^4x\,dx$ to two decimal places.

Solution. The part $\sin x\cos^4x$ is unchanged under $x\to\pi-x$ (since $\sin(\pi-x)=\sin x$ and $\cos^4(\pi-x)=\cos^4x$). So $I=\dfrac\pi2\int_0^\pi\sin x\cos^4x\,dx$. Put $t=\cos x$: $\int_0^\pi\sin x\cos^4x\,dx=\int_{-1}^1t^4\,dt=\dfrac25$. So $I=\dfrac\pi2\cdot\dfrac25=\dfrac\pi5\approx0.628$. Answer: 0.63.

Example 2 (single-correct, medium). $\displaystyle\int_{\pi/6}^{\pi/3}\frac{dx}{1+\sqrt{\tan x}}$ equals

(A) $\dfrac\pi{12}$ (B) $\dfrac\pi6$ (C) $\dfrac\pi4$ (D) $\dfrac\pi{3}$

Solution. The limits add to $\dfrac\pi2$, so the king rule gives $x\to\dfrac\pi2-x$, with $\tan\left(\dfrac\pi2-x\right)=\cot x$. Then $I=\int\dfrac{dx}{1+\sqrt{\cot x}}=\int\dfrac{\sqrt{\tan x}}{\sqrt{\tan x}+1}\,dx$. Adding the two forms, $2I=\int_{\pi/6}^{\pi/3}1\,dx=\dfrac\pi6$, so $I=\dfrac\pi{12}$. Answer: (A).

Example 3 (single-correct, medium-hard). $\displaystyle\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{1+e^x}\,dx$ equals

(A) $\dfrac\pi2$ (B) $\dfrac\pi4$ (C) $\dfrac\pi8$ (D) $\pi$

Solution. Reflect $x\to-x$: $I=\int\dfrac{\sin^2x}{1+e^{-x}}\,dx=\int\dfrac{e^x\sin^2x}{1+e^x}\,dx$. Adding, $2I=\int_{-\pi/2}^{\pi/2}\sin^2x\,dx=2\int_0^{\pi/2}\sin^2x\,dx=2\cdot\dfrac\pi4=\dfrac\pi2$. So $I=\dfrac\pi4$. Answer: (B).

Example 4 (numerical, medium). Find $\displaystyle\int_0^{100\pi}\sqrt{1-\cos2x}\,dx$ to two decimal places.

Solution. Since $1-\cos2x=2\sin^2x$, the integrand is $\sqrt2\,|\sin x|$, of period $\pi$. Over $[0,\pi]$ the integral of $|\sin x|$ is $2$, so over $100$ periods it is $200$. The value is $200\sqrt2\approx282.84$. A common error is to write $\sqrt{2\sin^2x}=\sqrt2\sin x$ without the modulus, which would give $0$ over whole periods of $2\pi$. Answer: 282.84.

Example 5 (numerical, medium). Find $\dfrac4\pi\displaystyle\int_0^{2\pi}\cos^4x\,dx$.

Solution. $\cos^4(2\pi-x)=\cos^4x$, so $\int_0^{2\pi}\cos^4x\,dx=2\int_0^\pi\cos^4x\,dx=4\int_0^{\pi/2}\cos^4x\,dx$, using the same property at $\dfrac\pi2$. The Wallis value is $\int_0^{\pi/2}\cos^4x\,dx=\dfrac{3\cdot1}{4\cdot2}\cdot\dfrac\pi2=\dfrac{3\pi}{16}$. So the integral is $\dfrac{3\pi}{4}$, and $\dfrac4\pi\cdot\dfrac{3\pi}4=3$. Answer: 3.

Example 6 (numerical, medium). A continuous function $f$ satisfies $f(x)+f(4-x)=5$ for all $x$. Find $\displaystyle\int_1^3f(x)\,dx$.

Solution. By the king rule on $[1,3]$ (where $a+b=4$), $I=\int_1^3f(4-x)\,dx$. Adding, $2I=\int_1^3\left[f(x)+f(4-x)\right]dx=\int_1^35\,dx=10$. So $I=5$. Answer: 5.

Example 7 (numerical, medium-hard). Find $\displaystyle\int_0^2\left[x^2\right]dx$ to two decimal places, where $[\cdot]$ is the greatest integer function.

Solution. Breakpoints of $[x^2]$ in $[0,2]$ are $x=1,\sqrt2,\sqrt3,2$, where $x^2$ equals $1,2,3,4$. On $[0,1)$ the value is $0$, on $[1,\sqrt2)$ it is $1$, on $[\sqrt2,\sqrt3)$ it is $2$ and on $[\sqrt3,2)$ it is $3$. The integral is $0+1(\sqrt2-1)+2(\sqrt3-\sqrt2)+3(2-\sqrt3)=5-\sqrt2-\sqrt3\approx5-1.4142-1.7321=1.8537$. Answer: 1.85.

Example 8 (numerical, hard). Let $F(x)=\displaystyle\int_x^{x^2}e^{t^2}\,dt$ for $x>0$. Find $F'(1)$ to two decimal places.

Solution. By the Leibniz rule, $F'(x)=e^{(x^2)^2}\cdot2x-e^{x^2}\cdot1=2xe^{x^4}-e^{x^2}$. At $x=1$ this is $2e-e=e\approx2.718$. Note the integral itself equals $0$ at $x=1$ (equal limits), but the derivative is not zero: the upper limit moves twice as fast as the lower. Answer: 2.72.

Example 9 (numerical, hard). Find $\displaystyle\int_0^{\pi/2}\ln\left(\tan x+\cot x\right)dx$ to two decimal places.

Solution. Since $\tan x+\cot x=\dfrac{\sin^2x+\cos^2x}{\sin x\cos x}=\dfrac1{\sin x\cos x}$, the integrand is $-\ln\sin x-\ln\cos x$. Each of $\int_0^{\pi/2}\ln\sin x\,dx$ and $\int_0^{\pi/2}\ln\cos x\,dx$ is $-\dfrac\pi2\ln2$ (the second equals the first by the king rule). So the integral is $2\cdot\dfrac\pi2\ln2=\pi\ln2\approx2.1776$. Answer: 2.18.

Example 10 (multiple-correct, hard). Which of the following integrals are equal to zero?

(A) $\displaystyle\int_{-\pi}^{\pi}x^2\sin x\,dx$ (B) $\displaystyle\int_{-1}^{1}\ln\frac{1-x}{1+x}\,dx$ (C) $\displaystyle\int_{-\pi/2}^{\pi/2}\cos x\,dx$ (D) $\displaystyle\int_0^{2\pi}\sin^3x\,dx$

Solution. (A) $x^2\sin x$ is odd, so the integral over $[-\pi,\pi]$ is $0$. (B) Replacing $x$ by $-x$ gives $\ln\dfrac{1+x}{1-x}=-\ln\dfrac{1-x}{1+x}$, so the integrand is odd and the integral is $0$ (it converges, since the logarithmic singularity at the ends is integrable). (C) $\cos x$ is even and positive, with integral $2$, not zero. (D) $\sin^3(2\pi-x)=-\sin^3x$, so the integral over $[0,2\pi]$ is zero. Numerical integration gives values near $0$ for (A), (B) and (D), and $2$ for (C). Answer: (A), (B), (D).

Example 11 (numerical, medium). Find $\displaystyle\int_0^\pi\frac{x}{1+\sin x}\,dx$ to two decimal places.

Solution. The factor $\dfrac1{1+\sin x}$ is unchanged under $x\to\pi-x$, so $I=\dfrac\pi2\int_0^\pi\dfrac{dx}{1+\sin x}$. Using $\int\dfrac{dx}{1+\sin x}=\tan x-\sec x=\dfrac{\sin x-1}{\cos x}$, the integral over $\left[0,\dfrac\pi2\right]$ is $0-(-1)=1$, and over $[0,\pi]$ it is $2$ by symmetry. So $I=\pi\approx3.14$. Answer: 3.14.

Example 12 (single-correct, hard). $\displaystyle\int_0^{\pi/2}\frac{\sin^7x}{\sin^7x+\cos^7x}\,dx$ equals

(A) $\dfrac\pi8$ (B) $\dfrac\pi4$ (C) $\dfrac\pi2$ (D) $\dfrac{7\pi}{16}$

Solution. Under $x\to\dfrac\pi2-x$ the integrand becomes $\dfrac{\cos^7x}{\cos^7x+\sin^7x}$. The two forms add to $1$, so $2I=\dfrac\pi2$ and $I=\dfrac\pi4$. The exponent $7$ plays no role, and numerical integration gives $0.785398$. Answer: (B).

Common traps

  1. Using the king rule with the wrong limits. The reflection is $x\to a+b-x$. On $\left[\dfrac\pi6,\dfrac\pi3\right]$ the sum is $\dfrac\pi2$, so the reflection is $\dfrac\pi2-x$. Using $\dfrac\pi3-x$ gives a different integral.

  2. Adding when the reflection is not complementary. If $f(x)+f(a+b-x)$ is not a simple function, the addition does not help. Check the sum before committing.

  3. Applying the factor-$x$ trick to a non-symmetric remainder. The identity needs $g(\pi-x)=g(x)$. For $\int_0^\pi x\sin^2x\cos x\,dx$ the cosine changes sign under reflection and the trick does not apply directly.

  4. Dropping the modulus. $\sqrt{1-\cos2x}=\sqrt2\,|\sin x|$, not $\sqrt2\sin x$. Over $[0,2\pi]$ the difference is the whole answer.

  5. Using the odd-even property on a non-symmetric interval. The property needs limits $-a$ and $a$. For $\int_{-1}^2$, split first.

  6. Treating an odd integrand with a singularity as zero. $\int_{-\pi/2}^{\pi/2}\tan x\,dx$ does not exist as a proper integral, so symmetry gives no value. Check that the integral converges.

  7. Wrong breakpoints for the greatest integer. For $[x^2]$ the breakpoints are $\sqrt k$, not $k$. Write each interval and the constant value on it.

  8. Forgetting the chain-rule factor in the Leibniz rule. In Example 8 the upper limit $x^2$ contributes $2x$. Omitting it is a standard slip.

  9. Mixing up the factor $\dfrac\pi2$. The factor-$x$ trick gives $\dfrac{a+b}{2}$ times the integral. For $[0,\pi]$ that is $\dfrac\pi2$; for $[0,2\pi]$ it would be $\pi$.

  10. Using periodicity with a wrong period. $|\sin x|$ has period $\pi$, and $\sin^2x$ has period $\pi$ too, while $\sin x$ has $2\pi$. Verify the period of the whole integrand.

  11. Applying the king rule inside a partly evaluated integral. Apply it to the whole integral, before any substitution that changes the limits.

  12. Trusting an answer without a size check. For a positive integrand the result must be positive and no larger than the interval length times the maximum of the integrand. A quick estimate catches most sign and factor errors.

A one-page recap

Situation Result
King rule $\int_a^bf(x)=\int_a^bf(a+b-x)$
$f(x)+f(a+b-x)=k$ $I=\dfrac{k(b-a)}2$
$f(a+b-x)=f(x)$ $\int_a^bxf=\dfrac{a+b}2\int_a^bf$
Odd, symmetric interval $0$
Even, symmetric interval $2\int_0^a$
$\dfrac{f(x)}{1+e^{g(x)}}$, $f$ even, $g$ odd $\dfrac12\int_{-a}^af$
$f(2a-x)=\pm f(x)$ $2\int_0^af$ or $0$
Period $T$ $\int_0^{nT}=n\int_0^T$
$\int_0^{\pi/2}\ln\sin x$ $-\dfrac\pi2\ln2$
$\int_0^{\pi/2}\ln\tan x$ $0$
$\int_0^{\pi/2}\dfrac{dx}{1+\tan^nx}$ $\dfrac\pi4$

Also read: Area Under Curves for JEE: Setting Up the Integral

How to practise the king rule and its relatives

Read the book chapter first: Definite Integrals, English, Hindi, Telugu. Then work the four chapter tests, each of 15 questions in 36 minutes: test 1, test 2, test 3 and test 4. No Topic Drill is dedicated to this area, so these tests are the targeted practice. A useful habit: before solving, write one line naming the property you expect to use, then solve, then note whether you were right.

A seven-day plan we suggest:

  • Day 1. Odd and even functions, including the $\dfrac{1}{1+e^g}$ form; ten problems.
  • Day 2. The king rule on $\left[0,\dfrac\pi2\right]$ with $\sin$, $\cos$ and $\tan^n$.
  • Day 3. The factor-$x$ trick on $[0,\pi]$ and general $[a,b]$.
  • Day 4. Logarithmic integrals and the three standard values.
  • Day 5. Periodic functions, doubling and the zero-integral cases.
  • Day 6. Greatest-integer and modulus integrands; draw the graph before splitting.
  • Day 7. Chapter tests 1 and 2 timed, then tests 3 and 4 on the next day, with the property-naming habit.

After the chapter tests, move to the 50 JEE Main Mathematics practice tests, starting at /t/jee-main-mathematics-pt26-01, and the full mocks listed on the JEE Main tests page (login needed). The free JEE Main mini mock needs no sign-up. The chapter tests, practice tests and full mocks are part of the Pro Pass. For official past papers, use the NTA and JEE Advanced websites.

For planning, see JEE Main Maths preparation strategy, and for the habit of spotting structure, maths pattern recognition. The wider group is in integral calculus and differential equations for JEE.

Frequently asked questions

How do I know the king rule is the right tool?

Look at the limits and the integrand together. If the limits sum to a value that maps the integrand to a complementary or identical form, such as $\dfrac\pi2$ with $\sin$ and $\cos$, or $\pi$ with a function of $\sin x$, the king rule is likely intended. A factor $x$ multiplying a symmetric function is another strong signal.

What is the difference between the king rule and the odd-even property?

The odd-even property is a special case of reflection on $[-a,a]$ about $x=0$, using the map $x\to-x$. The king rule works on any interval $[a,b]$ using $x\to a+b-x$. Both exploit the symmetry of the interval.

Why does $\int_0^{\pi/2}\dfrac{dx}{1+\tan^nx}=\dfrac\pi4$ for every $n$?

Under $x\to\dfrac\pi2-x$, $\tan x$ becomes $\cot x$, and $\dfrac1{1+\cot^nx}=\dfrac{\tan^nx}{1+\tan^nx}$. The two integrands add to $1$, so $2I=\dfrac\pi2$. The value does not depend on $n$.

Can the king rule be used when the integrand is not symmetric at all?

It always holds as an identity, but it only helps when the reflected integrand combines with the original into something simpler. If it does not, an antiderivative or another property is needed.

How should I handle $\int_0^{\pi}x\,f(\sin x)\,dx$ when $f$ is hard to integrate?

Use the factor-$x$ trick to get $\dfrac\pi2\int_0^\pi f(\sin x)\,dx$, and then use symmetry about $\dfrac\pi2$ to write it as $\pi\int_0^{\pi/2}f(\sin x)\,dx$. Often the remaining integral is of Wallis type or can be solved with $t=\cos x$.

Are these properties tested in JEE Advanced too?

Yes, the same properties appear in JEE Advanced, usually combined with another idea such as a functional equation or an inequality. The practice you do here transfers directly; the Advanced chapter tests on the limit of a sum cover the next step.

Now test yourself: free, no sign-up to start

Share:𝕏fin
Put what you read into practice

Find study material for your next topic

Browse the Reading Room and preview a chapter before choosing what to study.

Browse study material →

Make this reading part of your preparation

Create your free account to bookmark Reading Room chapters and track your practice scores. You’ll return to this article after signing in.

By continuing, you agree to our terms and privacy policy.

No payment needed. Already registered? Use the same options to sign in.

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts.