NDA Maths · Definite Integration
Absolute Value, Piecewise and Greatest-Integer Integrals
When the integrand changes formula across the interval — an absolute value, a piecewise rule, or a greatest-integer function — split the integral at every break-point and integrate each piece on its own.
Why this matters
17 PYQs built on one habit: never integrate across a break-point. For |f(x)| the break-points are where f changes sign; for greatest-integer functions they are where the integer part jumps. Split, integrate each piece, add. Get the break-points right and these are reliable marks.
Concept 1 of 2
Integrating absolute-value and piecewise functions
Intuition
Definition
The method for :
- Find the zeros of inside — these are the sign changes.
- On each subinterval, where and where .
- Integrate each piece and add. Because , the answer is the total (unsigned) area, so .
Worked example
Practice this conceptself-check · 3 quick reps
From the bank · past-year question
[Q82 · Apr · 2019]
Find the zeros first — don't drop the absolute value
Split |x| at 0, even when 0 is interior to the interval
Concept 2 of 2
Integrating greatest-integer (floor) functions
Intuition
Definition
Working with ⌊·⌋ under an integral:
- ⌊x⌋ is constant on with value ; split at each integer.
- For ⌊x²⌋ or ⌊√x⌋, split where the INSIDE crosses an integer (e.g. ⌊x²⌋ jumps at ).
- Useful identity: for non-integer , so .
- The fractional part has .
Greatest-integer (floor) results
Worked example
Practice this conceptself-check · 3 quick reps
From the bank · past-year question
[Q82 · Apr · 2018]
⌊x⌋ on [−1, 0) is −1, not 0
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 (1)
- Integrating greatest-integer (floor) functions
Greatest-integer (floor) results
Watch out for (3)
- Find the zeros first — don't drop the absolute value→ Integrating absolute-value and piecewise functions
- Split |x| at 0, even when 0 is interior to the interval→ Integrating absolute-value and piecewise functions
- ⌊x⌋ on [−1, 0) is −1, not 0→ Integrating greatest-integer (floor) functions
Drill every past-year question on this subtopic
17 questions from the bank — paginated, with cart and Word-export support.