QlarIITy

MathematicsJEE Main 2023 · 24 JanuaryInteger

The value of 12∫03∣x2−3x+2∣dx12\int_0^3|x^2 - 3x + 2|dx is ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A modulus of a quadratic with both roots inside the interval gives three pieces.

Concept refresher. A modulus is removed by splitting the interval at the point cc where the inside changes sign:

∫ab∣u(x)∣dx=∫ac(−u)dx+∫cbudx\int_a^b|u(x)|dx = \int_a^c(-u)dx + \int_c^b udx

when u<0u < 0 before cc and u>0u > 0 after it.

Picture the situation. Since x2−3x+2=(x−1)(x−2)x^2 - 3x + 2 = (x - 1)(x - 2), the quadratic is positive on [0,1)[0, 1) and (2,3](2, 3] and negative on (1,2)(1, 2). An antiderivative is x33−3x22+2x\dfrac{x^3}{3} - \dfrac{3x^2}{2} + 2x.

Approach. Evaluate the three pieces and add their sizes.

  1. Step 1: The pieces

    The antiderivative is 0, 56\dfrac{5}{6}, 23\dfrac{2}{3} and 32\dfrac{3}{2} at x=0x = 0, 1, 2 and 3. So the three integrals are 56\dfrac{5}{6}, −16-\dfrac{1}{6} and 56\dfrac{5}{6}.

  2. Step 2: The value

    Taking the middle one positive, the integral of the modulus is 56+16+56=116\dfrac{5}{6} + \dfrac{1}{6} + \dfrac{5}{6} = \dfrac{11}{6}, and multiplying by 12 gives 22.

Answer. 22

Sanity check. The first and last pieces are equal because the quadratic is symmetric about x=32x = \dfrac{3}{2}, the midpoint of the interval.

Common wrong answers

  • 18: Ignoring the modulus gives ∫03(x2−3x+2)dx=32\int_0^3(x^2 - 3x + 2)dx = \dfrac{3}{2} and 12×32=1812 \times \dfrac{3}{2} = 18.
  • 20: Dropping the middle piece gives 12×106=2012 \times \dfrac{10}{6} = 20.

Key takeaway

The trap. The piece between the roots is negative before the modulus and must be added, not subtracted.

How toppers think. They tabulate the antiderivative at the four points and take differences.

Remember. x2−3x+2=(x−1)(x−2)x^2 - 3x + 2 = (x - 1)(x - 2)

More on Properties of Definite Integrals