Solve the Integral of x - 2|x| from [-1,2] | Easy Step-by-Step Solution

  • Thread starter Thread starter Shaybay92
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The problem involves evaluating the integral of the function x - 2|x| over the interval from -1 to 2. Participants are exploring the implications of the absolute value in the integrand and how it affects the integration process.

Discussion Character

  • Exploratory, Assumption checking, Mixed

Approaches and Questions Raised

  • Some participants attempt to simplify the integral directly, while others suggest breaking it into separate integrals based on the behavior of the absolute value function across the defined intervals.

Discussion Status

There is an ongoing exploration of how to handle the absolute value in the integral. Some participants have provided insights into evaluating the integral piecewise, but there is no explicit consensus on the correct approach or final answer yet.

Contextual Notes

Participants are considering the behavior of the function across different intervals, particularly noting that the function appears to be negative throughout the range of integration. There may be confusion regarding the evaluation of the integral and the expected results.

Shaybay92
Messages
122
Reaction score
0

Homework Statement



Integral[ x - 2|x|]dx from [-1,2]


The Attempt at a Solution



Wouldn't it become x^2/2 - 2x^2/2 so x^2/2 - x^2 and then -x^2/2?

So from [-1,2] it would just be

-((2^2)/2) - - ((-1)^2/2) which is -1.5 but the answer is -3.5...
 
Physics news on Phys.org
dddd
 
Wait, sorry this shouldn't be the issue because from my graph the whole function is negative anyway... any suggestions?
 
I can be wrong, but I would try

[tex]\int_{-1}^2f(x)dx = \int_{-1}^0f(x)dx + \int_{0}^2f(x)dx[/tex]
 
I agree with Borek. The idea is that you can eliminate the absolute values by looking at the integrand on [-1, 0] and on [0, 2].

If x <= 0, |x| = -x.
If x >= 0, |x| = x.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K