JEE Main 2022 · 26 June · morning · Numerical answer · +4 / −0

Let f(x) = max |x + 1|, |x + 2|, ....., |x + 5|. Then ∫₋₆⁰ f(x)dx is equal to __________.

Answer and solution

Answer 21

Solution

Maths sir · 4 steps

Read |x+k| as distance to -k: f is just the distance to the farthest of the five points.

  1. Distance picture. |x+k| is the distance from x to the point -k. So f(x) is the largest distance from x to the five points -1, -2, -3, -4, -5. The farthest point is always one of the two ends, -1 or -5.
  2. Pick the end. The two ends switch over at their midpoint -3. For x ≤ -3 the farthest point is -1, so f(x) = -x-1. For x ≥ -3 it is -5, so f(x) = x+5. Both cases combine into one formula.

    f(x) = |x+3| + 2

  3. Integrate. ∫₋₆⁰ |x+3| dx is two triangles of base 3 and height 3, so it equals 2 × 9/2 = 9. Also ∫₋₆⁰ 2 dx = 12.
  4. So. ∫₋₆⁰ f(x) dx = 9 + 12 = 21.

The common slip: 13. Taking f(x) = |x+5| over the whole interval, because x+5 is the largest expression for x > -3, gives 1/2 + 25/2 = 13. For x < -3 the term |x+1| is the largest instead.

The idea to keep. For a max or min of several |x - a| terms, think of distances on the number line. Only the extreme points matter, and they switch over at their midpoint.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Definite Integration

Asked about 230 times in JEE Main since 2020. This question is from 2022.