PYQ Vault

MHT-CET Maths · Definite Integration

Modulus and Greatest-Integer Integrands — Split the Interval

A modulus changes formula where its inside changes sign, and [x] changes value at every integer — so the interval is split at those points and each piece is integrated with its own formula.

Why this matters

15 PYQs at 27% HARD — the gentlest page in the chapter, and the most mechanical: find the break points, split, integrate each piece. The MODERATE tag is where the marks are lost, not the HARD one: a modulus integrated as if it were the bare expression, or a greatest-integer function evaluated at the wrong endpoint, produces a confident wrong answer that is always among the options. Two stems ask for the integral of an expression that is piecewise CONSTANT by an inverse-trig identity, and one of them carries an official key that ignores the sign of x.

Concept 1 of 3

Modulus: Split Where the Inside Changes Sign

Intuition

∣2x−5∣|2x - 5| is 5−2x5 - 2x until x=52x = \frac52 and 2x−52x - 5 after it. The graph is a V; the integral is the area of two triangles, computed one at a time.

Definition

  • Solve inside=0\text{inside} = 0 to find the break points inside the interval; on each piece replace ∣u∣|u| by uu or −u-u according to the sign there.
  • ∫04∣2x−5∣ dx=∫05/2(5−2x) dx+∫5/24(2x−5) dx=254+94=172\int_0^4|2x - 5|\,dx = \int_0^{5/2}(5 - 2x)\,dx + \int_{5/2}^{4}(2x - 5)\,dx = \dfrac{25}{4} + \dfrac94 = \dfrac{17}{2}.
  • Quadratic inside: x2−x−2=(x−2)(x+1)x^2 - x - 2 = (x - 2)(x + 1) is negative between the roots; on [−2,2][-2, 2] split at −1-1 and flip the sign on [−1,2][-1, 2].
  • Trigonometric inside: sin⁡x−cos⁡x\sin x - \cos x changes sign at π4\frac{\pi}{4}; sin⁡x−2xπ\sin x - \dfrac{2x}{\pi} at π2\frac{\pi}{2} (where sin⁡x=1=2xπ\sin x = 1 = \frac{2x}{\pi}). Sketch both curves to see which is on top on each side.
  • A factor outside the modulus, as in x∣x−12∣x\left|x - \frac12\right|, rides along: split at 12\frac12 and integrate x(12−x)x(\frac12 - x) then x(x−12)x(x - \frac12).

Modulus splitting

∫ab∣u(x)∣ dx=∫ac±u dx+∫cb∓u dx  where u(c)=0, sign chosen to make each piece ≥0\int_a^b|u(x)|\,dx = \int_a^c\pm u\,dx + \int_c^b\mp u\,dx \ \text{ where } u(c) = 0,\ \text{sign chosen to make each piece } \ge 0
split here (f = 0)|f(x)|f < 0 here →folded up

Worked example

Evaluate ∫03∣x−1∣ dx\int_0^3|x - 1|\,dx.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 1Definite IntegrationEASY
∫04∣2x−5∣ dx=\displaystyle\int_{0}^{4}|2x-5|\,dx=

[Q145 · 12th May Shift 1 · 2024]

Integrating the bare expression

∫04(2x−5) dx=−4\int_0^4(2x - 5)\,dx = -4, but ∫04∣2x−5∣ dx=172\int_0^4|2x - 5|\,dx = \frac{17}{2}. A modulus integral is never negative and is never the signed integral of the inside; if you did not split, you answered a different question.

Concept 2 of 3

Greatest Integer: Piecewise Constant, So Sum the Pieces

Intuition

[x][x] is 00 on [0,1)[0, 1), 11 on [1,2)[1, 2), 22 on [2,3)[2, 3). Its integral is a staircase of rectangles; multiplied by another function, each rectangle becomes that function's integral times a constant.

Definition

  • Split at every integer inside the interval; on each piece [x][x] is a constant, so ∫[x] g(x) dx=(that integer)∫g(x) dx\int[x]\,g(x)\,dx = (\text{that integer})\int g(x)\,dx over the piece.
  • ∫0.23.5[x] dx=0⋅0.8+1⋅1+2⋅1+3⋅0.5=4.5\int_{0.2}^{3.5}[x]\,dx = 0\cdot0.8 + 1\cdot1 + 2\cdot1 + 3\cdot0.5 = 4.5. Watch the fractional ends: the first piece is [0.2,1)[0.2, 1), the last [3,3.5][3, 3.5].
  • ∫05x2[x] dx=∫12x2+2∫23x2+3∫34x2+4∫45x2=7+38+111+2443=4003\int_0^5x^2[x]\,dx = \int_1^2x^2 + 2\int_2^3x^2 + 3\int_3^4x^2 + 4\int_4^5x^2 = \dfrac{7 + 38 + 111 + 244}{3} = \dfrac{400}{3}.
  • ∫14log⁡[x] dx=0+log⁡2+log⁡3=log⁡6\int_1^4\log[x]\,dx = 0 + \log 2 + \log 3 = \log 6.
  • Composite [x2][x^2] on [0,2][0, 2]: it steps at x=1,2,3x = 1, \sqrt2, \sqrt3, so the integral is 1(2−1)+2(3−2)+3(2−3)=5−2−31(\sqrt2 - 1) + 2(\sqrt3 - \sqrt2) + 3(2 - \sqrt3) = 5 - \sqrt2 - \sqrt3.
  • The same counting answers a sum of floors: [12+i100]\left[\frac12 + \frac{i}{100}\right] is 00 for i≤49i \le 49 and 11 for 50≤i≤9950 \le i \le 99, so the hundred-term sum is 5050.

Integrating a staircase

∫ab[x] g(x) dx=∑n  n∫max⁡(a,n)min⁡(b,n+1)g(x) dx∫02[x2] dx=5−2−3\int_a^b[x]\,g(x)\,dx = \sum_{n}\; n\int_{\max(a,n)}^{\min(b,n+1)} g(x)\,dx \qquad \int_0^2[x^2]\,dx = 5 - \sqrt2 - \sqrt3
01122334y = ⌊x⌋ — split the integral at each integer

Worked example

Evaluate ∫03x[x] dx\int_0^3 x[x]\,dx.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 2Definite IntegrationMODERATE
∫0.23.5[x] dx=\int_{0.2}^{3.5} [x]\,dx = (where [x]=[x] = greatest integer not greater than x)

[Q111 · 11th May Shift 1 · 2023]

Using the endpoint's floor for the whole last piece

On [3,3.5][3, 3.5] the floor is 33 throughout, contributing 3×0.5=1.53 \times 0.5 = 1.5 — not 3.5×3.5 \times anything. And [x][x] on [0.2,1)[0.2, 1) is 00, so that piece contributes nothing however long it is.

Concept 3 of 3

Piecewise Constant by an Identity: tan⁻¹u + tan⁻¹(1/u)

Intuition

tan⁡−1xx2+1+tan⁡−1x2+1x\tan^{-1}\dfrac{x}{x^2 + 1} + \tan^{-1}\dfrac{x^2 + 1}{x} is tan⁡−1u+tan⁡−11u\tan^{-1}u + \tan^{-1}\dfrac1u, which is π2\dfrac{\pi}{2} when u>0u > 0 and −π2-\dfrac{\pi}{2} when u<0u < 0. The integrand is a constant on each side of 00 — no integration, just lengths times constants.

Definition

  • tan⁡−1u+tan⁡−11u=π2\tan^{-1}u + \tan^{-1}\dfrac1u = \dfrac{\pi}{2} for u>0u > 0 and −π2-\dfrac{\pi}{2} for u<0u < 0. With u=xx2+1u = \dfrac{x}{x^2 + 1} the sign is the sign of xx.
  • Strictly, on [−1,3][-1, 3]: ∫−10(−π2)dx+∫03π2 dx=−π2+3π2=π\int_{-1}^{0}\left(-\dfrac{\pi}{2}\right)dx + \int_0^3\dfrac{\pi}{2}\,dx = -\dfrac{\pi}{2} + \dfrac{3\pi}{2} = \pi.
  • The official MHT-CET key treats the sum as π2\dfrac{\pi}{2} throughout and marks π2×4=2π\dfrac{\pi}{2}\times 4 = 2\pi — in both the tan⁡−1\tan^{-1} (2025) and cot⁡−1\cot^{-1} (2024) versions. On the paper, answer 2π2\pi.
  • The cot⁡−1\cot^{-1} version is subtler still: cot⁡−1\cot^{-1} has range (0,π)(0, \pi), so for u<0u < 0 the two terms sum to 3π2\dfrac{3\pi}{2}, and the strict value on [−1,3][-1, 3] is 3π3\pi.
  • General lesson: when an integrand is an identity in disguise, evaluate the identity on each sign region before multiplying by the interval length.

The reciprocal arctangent identity

tan⁡−1u+tan⁡−11u={π2,u>0−π2,u<0\tan^{-1}u + \tan^{-1}\frac{1}{u} = \begin{cases} \dfrac{\pi}{2}, & u > 0 \\[4pt] -\dfrac{\pi}{2}, & u < 0 \end{cases}

Worked example

Evaluate ∫15[tan⁡−1xx2+4+tan⁡−1x2+4x]dx\int_1^5\left[\tan^{-1}\dfrac{x}{x^2 + 4} + \tan^{-1}\dfrac{x^2 + 4}{x}\right]dx.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 3Definite IntegrationMODERATE
∫−13[cot⁡−1xx2+1+cot⁡−1x2+1x]dx=\int_{-1}^{3} \left[\cot^{-1}\frac{x}{x^2+1} + \cot^{-1}\frac{x^2+1}{x}\right]dx =

[Q126 · 11th May Shift 1 · 2024]

The key that ignores the sign of x

Both sittings of this question mark 2π2\pi, which assumes tan⁡−1u+tan⁡−1(1/u)=π/2\tan^{-1}u + \tan^{-1}(1/u) = \pi/2 even for negative uu. Mathematically the answer on [−1,3][-1, 3] is π\pi; on the paper choose 2π2\pi, and know why.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • Modulus: Split Where the Inside Changes Sign

    Modulus splitting

    ∫ab∣u(x)∣ dx=∫ac±u dx+∫cb∓u dx  where u(c)=0, sign chosen to make each piece ≥0\int_a^b|u(x)|\,dx = \int_a^c\pm u\,dx + \int_c^b\mp u\,dx \ \text{ where } u(c) = 0,\ \text{sign chosen to make each piece } \ge 0
  • Greatest Integer: Piecewise Constant, So Sum the Pieces

    Integrating a staircase

    ∫ab[x] g(x) dx=∑n  n∫max⁡(a,n)min⁡(b,n+1)g(x) dx∫02[x2] dx=5−2−3\int_a^b[x]\,g(x)\,dx = \sum_{n}\; n\int_{\max(a,n)}^{\min(b,n+1)} g(x)\,dx \qquad \int_0^2[x^2]\,dx = 5 - \sqrt2 - \sqrt3
  • Piecewise Constant by an Identity: tan⁻¹u + tan⁻¹(1/u)

    The reciprocal arctangent identity

    tan⁡−1u+tan⁡−11u={π2,u>0−π2,u<0\tan^{-1}u + \tan^{-1}\frac{1}{u} = \begin{cases} \dfrac{\pi}{2}, & u > 0 \\[4pt] -\dfrac{\pi}{2}, & u < 0 \end{cases}

Watch out for (3)

Drill every past-year question on this subtopic

15 questions from the bank — paginated, with cart and Word-export support.

Related notes