Integral of absolute value function

In summary, you shouldevaluate the integral from -3 to 3 of |x+1| by finding the area of two triangles and adding the two integrals together.
  • #1
PsychonautQQ
784
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
  • #2
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 PsychonautQQ
  • #3
Split up the integral in two parts.
 
  • Like
Likes PsychonautQQ and theodoros.mihos
  • #4
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 PsychonautQQ
  • #5
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?
 
  • #6
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 PsychonautQQ
  • #7
Is this correct? integral(x)dx from 0 to 4 + integral(x)dx from 0 to 3?
 
  • #8
could you post your graph? I am not sure where you are deriving this equation.
 
  • #9
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.
 

FAQ: Integral of absolute value function

1. What is the definition of the integral of absolute value function?

The integral of absolute value function is a mathematical concept that represents the area under the curve of an absolute value function. It is denoted by ∫|f(x)|dx and is calculated by finding the area between the curve and the x-axis.

2. How is the integral of absolute value function different from other integrals?

The integral of absolute value function is different from other integrals because it takes into account the negative values of the function by considering the absolute value. This means that the integral of absolute value function is always positive or zero, unlike other integrals which can be negative.

3. What is the importance of the integral of absolute value function in mathematics?

The integral of absolute value function has various applications in mathematics, such as finding the distance traveled by an object, calculating the total displacement of a moving object, and determining the total change in a quantity over a given time interval.

4. How is the integral of absolute value function used in real-life situations?

The integral of absolute value function is commonly used in physics, engineering, and economics to solve problems related to distance, velocity, acceleration, and area under a curve. It is also used in statistics to calculate the mean absolute deviation of a data set.

5. Can the integral of absolute value function be evaluated using traditional integration techniques?

Yes, the integral of absolute value function can be evaluated using traditional integration techniques such as the substitution method, integration by parts, and partial fraction decomposition. However, it may require a more complex approach depending on the specific function being integrated.

Similar threads

Back
Top