Integral of absolute value function

Click For Summary

Discussion Overview

The discussion revolves around evaluating the definite integral of the absolute value function |x + 1| over the interval [-3, 3]. Participants explore various methods for handling the absolute value, including graphical interpretations and area calculations, while addressing confusion and seeking clarification.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • Some participants suggest evaluating the integral by removing the absolute value and considering the definition of |x + 1|, possibly through graphing the function.
  • One participant proposes splitting the integral into two parts to account for the behavior of the function over different intervals.
  • Another participant mentions that the integral can be interpreted as the area of two triangles, leading to a geometric approach to the solution.
  • There is a question about whether the integral can be expressed as the sum of two separate integrals, which leads to confusion regarding the limits of integration.
  • Participants emphasize the importance of identifying where the function changes, specifically at the point where x + 1 = 0, to correctly set up the integrals.
  • One participant describes their understanding of the graph and attempts to relate the areas under the curve to the integrals of simpler functions, but their reasoning is challenged by others.
  • Another participant corrects the limits of integration suggested by a peer, indicating a misunderstanding in the setup of the problem.

Areas of Agreement / Disagreement

Participants express various methods and interpretations for evaluating the integral, leading to multiple competing views. There is no consensus on the correct approach, and confusion persists regarding the limits of integration and the relationship between the areas and the integrals.

Contextual Notes

Some participants highlight the need to graph the function to understand its behavior and the importance of determining where the absolute value changes. There are unresolved questions about the correct limits of integration and the setup of the integrals based on the graphical interpretation.

PsychonautQQ
Messages
781
Reaction score
10
how do i evaluate say a definite integral from [-3,3] of |x+1|? Any advice? I'm so confused.
 
Physics news on Phys.org
PsychonautQQ said:
how do i evaluate say a definite integral from [-3,3] of |x+1|? Any advice? I'm so confused.
Do this by getting rid of the absolute value. How is |x + 1| defined? If you're not sure of this, draw a graph of y = |x + 1|.
 
  • Like
Likes   Reactions: PsychonautQQ
Split up the integral in two parts.
 
  • Like
Likes   Reactions: PsychonautQQ and theodoros.mihos
Notice that the specific problem given, ##\int_{-3}^3 |x+ 1|dx## can be done by finding the area of two triangles and adding!
 
  • Like
Likes   Reactions: PsychonautQQ
Will this integral be equivalent to adding the two integrals together: (x+1)dx from 0 to 3 with (x+1)dx from 0 to 2?
 
You should do the following:
Graph the function. Notice where it changes from one function to the other. Notice you are looking at two triangles
Now - consider what the functions are over each triangle. See if you cannot make an integral made up of two parts.
Remember that when you drop the abs value you are left with TWO cases.
 
  • Like
Likes   Reactions: PsychonautQQ
Is this correct? integral(x)dx from 0 to 4 + integral(x)dx from 0 to 3?
 
could you post your graph? I am not sure where you are deriving this equation.
 
PsychonautQQ said:
Is this correct? integral(x)dx from 0 to 4 + integral(x)dx from 0 to 3?
No, that's not at all correct and I don't see how you could have got that from anything said here! Have you drawn the graph of this function as suggested? Have you at least determined where x+ 1= 0? Do you see why that is important? Do you see the two triangles I mentioned?
 
  • #10
Okay so i drew the graph of |x+1. It looks like a big V that touches the x-axis at -1. To me and my nooby brain, it makes sense that the area would be equal to the integral of x(dx) from 0 to 2 plus the integral of x(dx) from 0 to 4. This is because i am finding the total area under the graph from -3 to 3, the slope of the graph is 1, and it touches the x-axis at x = -1. Therefore, the total area under this V i have drawn will be equal to area of the graph of just x from 0 to 4 plus a graph of x from 0 to 2.

So basically I'm saying the integral from -1 to -3 of x+1 is going to equal the integral of 0 to 2 of x, and the integral from -1 to 3 of x+1 is going to equal the integral of 0 to 4 of x.
 
  • #11
PsychonautQQ said:
Okay so i drew the graph of |x+1. It looks like a big V that touches the x-axis at -1. To me and my nooby brain, it makes sense that the area would be equal to the integral of x(dx) from 0 to 2 plus the integral of x(dx) from 0 to 4.
This is because i am finding the total area under the graph from -3 to 3, the slope of the graph is 1, and it touches the x-axis at x = -1. Therefore, the total area under this V i have drawn will be equal to area of the graph of just x from 0 to 4 plus a graph of x from 0 to 2

So basically I'm saying the integral from -1 to -3 of x+1 is going to equal the integral of 0 to 2 of x, and the integral from -1 to 3 of x+1 is going to equal the integral of 0 to 4 of x.
The way you say that is a little confusing! First you want to integrate from -3 to -1, not the other way around! But yes, the substitution [itex]y= x+ 1[/itex] changes [itex]\int_{-3}^{-1} |x+1|dx[/itex] to [itex]\int_{-2}^0|y|dy= -\int_{-2}^0 y dy[/itex].

I will point out again that this can be written as the sum of the areas of two triangles. Perhaps you can use that to check your result.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K