All solutions
MathsJEE Advanced

Definite Integrals with Modulus: Splitting at Zero Crossings

Master evaluating definite integrals involving absolute value functions by strategically splitting the integration interval at points where the expression inside the modulus changes sign.

4 min readPublished 4 June 2026
Integral Calculus

Concept Overview

This question tests the ability to evaluate definite integrals of functions containing absolute value expressions. The key technique involves identifying the points where the expression inside the modulus becomes zero, as these are the points where the function's definition changes. By splitting the integral at these "zero crossing" points, we can rewrite the integral as a sum of simpler integrals, each with a well-defined integrand, allowing for straightforward evaluation.

Worked Solution

Step 1: Identify the points where the expression inside the modulus is zero. For the expression f(x)|f(x)|, we need to find the values of xx such that f(x)=0f(x) = 0. These points will be our potential splitting points for the integral.

Step 2: Determine the sign of f(x)f(x) in the intervals defined by the zero crossing points and the limits of integration. For each interval (a,b)(a, b) created by the zero crossing points and the original limits of integration, we need to determine if f(x)>0f(x) > 0 or f(x)<0f(x) < 0. This will tell us whether f(x)=f(x)|f(x)| = f(x) or f(x)=f(x)|f(x)| = -f(x) in that interval.

Step 3: Split the definite integral at the identified zero crossing points that lie within the integration limits. If the integration is from LL to UU, and a zero crossing point cc is such that L<c<UL < c < U, then the integral LUf(x)dx\int_L^U |f(x)| dx can be split as Lcf(x)dx+cUf(x)dx\int_L^c |f(x)| dx + \int_c^U |f(x)| dx.

Step 4: Rewrite the integral with the appropriate sign for the modulus function in each sub-interval. Using the information from Step 2, replace f(x)|f(x)| with f(x)f(x) or f(x)-f(x) in each of the split integrals. For example, if f(x)0f(x) \ge 0 for x[L,c]x \in [L, c] and f(x)<0f(x) < 0 for x[c,U]x \in [c, U], then the integral becomes Lcf(x)dx+cU(f(x))dx\int_L^c f(x) dx + \int_c^U (-f(x)) dx.

Step 5: Evaluate each of the resulting definite integrals. Now that the absolute value is removed, each integral can be evaluated using standard integration techniques. Find the antiderivative of the integrand and apply the Fundamental Theorem of Calculus.

Step 6: Sum the results of the evaluated integrals. The final answer is the sum of the values obtained in Step 5.

Example: Evaluate 12x21dx\int_{-1}^2 |x^2 - 1| dx.

Step 1: Find the zero crossings for x21x^2 - 1. x21=0    (x1)(x+1)=0    x=1x^2 - 1 = 0 \implies (x-1)(x+1) = 0 \implies x = 1 or x=1x = -1.

Step 2: Determine the sign of x21x^2 - 1 in the relevant intervals. The limits of integration are 1-1 and 22. The zero crossing points are 1-1 and 11. The intervals to consider are [1,1][-1, 1] and [1,2][1, 2].

  • For x(1,1)x \in (-1, 1), let's test x=0x=0: 021=1<00^2 - 1 = -1 < 0. So, x21<0x^2 - 1 < 0 in this interval.
  • For x(1,2)x \in (1, 2), let's test x=1.5x=1.5: (1.5)21=2.251=1.25>0(1.5)^2 - 1 = 2.25 - 1 = 1.25 > 0. So, x21>0x^2 - 1 > 0 in this interval.

Step 3: Split the integral. The zero crossing point x=1x=1 lies within the integration limits [1,2][-1, 2]. The point x=1x=-1 is one of the limits. So we split at x=1x=1:

12x21dx=11x21dx+12x21dx\int_{-1}^2 |x^2 - 1| dx = \int_{-1}^1 |x^2 - 1| dx + \int_1^2 |x^2 - 1| dx

Step 4: Rewrite with appropriate signs.

  • In [1,1][-1, 1], x210x^2 - 1 \le 0, so x21=(x21)=1x2|x^2 - 1| = -(x^2 - 1) = 1 - x^2.
  • In [1,2][1, 2], x210x^2 - 1 \ge 0, so x21=x21|x^2 - 1| = x^2 - 1. The integral becomes:
11(1x2)dx+12(x21)dx\int_{-1}^1 (1 - x^2) dx + \int_1^2 (x^2 - 1) dx

Step 5: Evaluate each integral. First integral:

11(1x2)dx=[xx33]11=(1133)(1(1)33)\int_{-1}^1 (1 - x^2) dx = \left[ x - \frac{x^3}{3} \right]_{-1}^1 = \left( 1 - \frac{1^3}{3} \right) - \left( -1 - \frac{(-1)^3}{3} \right) =(113)(1(13))=(23)(1+13)=23(23)=23+23=43= \left( 1 - \frac{1}{3} \right) - \left( -1 - (-\frac{1}{3}) \right) = \left( \frac{2}{3} \right) - \left( -1 + \frac{1}{3} \right) = \frac{2}{3} - \left( -\frac{2}{3} \right) = \frac{2}{3} + \frac{2}{3} = \frac{4}{3}

Second integral:

12(x21)dx=[x33x]12=(2332)(1331)\int_1^2 (x^2 - 1) dx = \left[ \frac{x^3}{3} - x \right]_1^2 = \left( \frac{2^3}{3} - 2 \right) - \left( \frac{1^3}{3} - 1 \right) =(832)(131)=(863)(133)=23(23)=23+23=43= \left( \frac{8}{3} - 2 \right) - \left( \frac{1}{3} - 1 \right) = \left( \frac{8-6}{3} \right) - \left( \frac{1-3}{3} \right) = \frac{2}{3} - \left( -\frac{2}{3} \right) = \frac{2}{3} + \frac{2}{3} = \frac{4}{3}

Step 6: Sum the results.

12x21dx=43+43=83\int_{-1}^2 |x^2 - 1| dx = \frac{4}{3} + \frac{4}{3} = \frac{8}{3}

Key Takeaways:

  • The absolute value function f(x)|f(x)| is equal to f(x)f(x) when f(x)0f(x) \ge 0 and f(x)-f(x) when f(x)<0f(x) < 0.
  • Zero crossing points of f(x)f(x) are critical for splitting the integration interval.
  • Ensure that the splitting points lie strictly between the original limits of integration.
  • Carefully determine the sign of f(x)f(x) in each sub-interval to correctly remove the modulus.

Answer: 83\boxed{\frac{8}{3}}

More Maths solutions

Still stuck after reading this?

Ask JEE Genius — the AI tutor walks through every step and cites the exact past-paper source.

Open the chat →