Question:

The value of \(\int^{2}_{-1}(x-2)|x|)dx\) is equal to

Updated On: Apr 7, 2025
  • \(\frac{-1}{2}\)
  • \(\frac{-3}{2}\)
  • \(\frac{-5}{2}\)
  • \(\frac{-7}{2}\)
  • \(\frac{-9}{2}\)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Approach Solution - 1

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}\)

Was this answer helpful?
0
0
Hide Solution
collegedunia
Verified By Collegedunia

Approach Solution -2

Evaluating the Integral 

We are tasked with evaluating the integral: I = ∫-12 (x - 2 |x|) dx

Step 1: Break the absolute value function into cases

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] \).

 

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 = ∫-10 3x dx + ∫02 -x dx .

Step 3: Evaluate each integral

Integral 1: ∫-10 3x dx

 

    ∫-10 3x dx = (3/2) x2 |-10    = (3/2) (02 - (-1)2)    = (3/2) (0 - 1)    = -3/2.    

 

Integral 2: ∫02 -x dx

 

    ∫02 -x dx = -(1/2) x2 |02    = -(1/2) (22 - 02)    = -(1/2) (4)    = -2.    

 

Step 4: Combine the results

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}\)

Was this answer helpful?
0
0