Evaluate the integral `int_-1^2(x-2|x|)dx`The answer is -3.5 but I can only get -1.5. I don't know where I went wrong.

Expert Answers
tiburtius eNotes educator| Certified Educator

You must break this into two integrals because

`|x|={(x, if x geq 0),(-x, if x < 0):}`

So we get:



`3 cdot x^2/2|_-1^0-x^2/2|_0^2=3(0-1/2)-(2-0)=-3/2-2=-7/2=-3.5`

Access hundreds of thousands of answers with a free trial.

Start Free Trial
Ask a Question