We are tasked with evaluating the integral: \[ I = \int_{-1}^{2} (x - 2 |x|) \, dx. \]
Step 1: Break the absolute value function into cases The function \( |x| \) can be written as: \[ |x| = \begin{cases} -x & \text{for} \, x < 0, \\ x & \text{for} \, x \geq 0. \end{cases} \] Therefore, we need to split the integral into two parts, one for \( x \in [-1, 0] \) and the other for \( x \in [0, 2] \).
Step 2: Split the integral into two parts For \( x \in [-1, 0] \), \( |x| = -x \). Hence, the integrand becomes: \[ x - 2|x| = x + 2x = 3x. \] For \( x \in [0, 2] \), \( |x| = x \). Hence, the integrand becomes: \[ x - 2|x| = x - 2x = -x. \] Thus, we can split the integral into two parts: \[ I = \int_{-1}^{0} 3x \, dx + \int_{0}^{2} -x \, dx. \]
Step 3: Evaluate each integral Integral 1: \( \int_{-1}^{0} 3x \, dx \) \[ \int_{-1}^{0} 3x \, dx = \frac{3}{2} x^2 \Bigg|_{-1}^{0} = \frac{3}{2} (0^2 - (-1)^2) = \frac{3}{2} (0 - 1) = -\frac{3}{2}. \]
Integral 2: \( \int_{0}^{2} -x \, dx \) \[ \int_{0}^{2} -x \, dx = -\frac{1}{2} x^2 \Bigg|_{0}^{2} = -\frac{1}{2} (2^2 - 0^2) = -\frac{1}{2} (4) = -2. \]
Step 4: Combine the results Now, combine both parts of the integral: \[ I = -\frac{3}{2} + (-2) = -\frac{3}{2} - \frac{4}{2} = -\frac{7}{2}. \]
The correct option is (D) : \(\frac{-7}{2}\)
We are tasked with evaluating the integral: I = ∫-12 (x - 2 |x|) dx
The function |x| can be written as:
|x| = { -x for x < 0, x for x ≥ 0. }Therefore, we need to split the integral into two parts, one for \( x \in [-1, 0] \) and the other for \( x \in [0, 2] \).
For \( x \in [-1, 0] \), \( |x| = -x \). Hence, the integrand becomes: x - 2|x| = x + 2x = 3x.
For \( x \in [0, 2] \), \( |x| = x \). Hence, the integrand becomes: x - 2|x| = x - 2x = -x.
Thus, we can split the integral into two parts: I = ∫-10 3x dx + ∫02 -x dx .
∫-10 3x dx = (3/2) x2 |-10 = (3/2) (02 - (-1)2) = (3/2) (0 - 1) = -3/2.
∫02 -x dx = -(1/2) x2 |02 = -(1/2) (22 - 02) = -(1/2) (4) = -2.
Now, combine both parts of the integral: I = -3/2 + (-2) = -3/2 - 4/2 = -7/2.
The correct option is (D): \(\frac{-7}{2}\)