Skip to main contentSkip to solution

The value of ∫−11∣x∣dx\int_{-1}^{1}|x|dx is

Solution

✅ Correct Option: 2

The absolute value function ∣x∣|x| is defined as:

∣x∣={xif x≥0−xif x<0|x| = \begin{cases} x & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases}

Since ∣x∣|x| changes its definition at x=0x = 0, the integral must be split at this point.


∫−11∣x∣dx=∫−10∣x∣dx+∫01∣x∣dx\int_{-1}^{1}|x|dx = \int_{-1}^{0}|x|dx + \int_{0}^{1}|x|dx


For x∈[−1,0]x \in [-1, 0], we have x≤0x \leq 0, so ∣x∣=−x|x| = -x

For x∈[0,1]x \in [0, 1], we have x≥0x \geq 0, so ∣x∣=x|x| = x

∫−11∣x∣dx=∫−10(−x)dx+∫01xdx\int_{-1}^{1}|x|dx = \int_{-1}^{0}(-x)dx + \int_{0}^{1}xdx


∫−10(−x)dx=[−x22]−10\int_{-1}^{0}(-x)dx = \left[-\frac{x^2}{2}\right]_{-1}^{0}

=−(0)22−(−(−1)22)= -\frac{(0)^2}{2} - \left(-\frac{(-1)^2}{2}\right)

=0+12= 0 + \frac{1}{2}

=12= \frac{1}{2}


∫01xdx=[x22]01\int_{0}^{1}xdx = \left[\frac{x^2}{2}\right]_{0}^{1}

=(1)22−(0)22= \frac{(1)^2}{2} - \frac{(0)^2}{2}

=12−0= \frac{1}{2} - 0

=12= \frac{1}{2}


∫−11∣x∣dx=12+12\int_{-1}^{1}|x|dx = \frac{1}{2} + \frac{1}{2}

=1= 1

Therefore, ∫−11∣x∣dx=1\int_{-1}^{1}|x|dx = 1

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question