How do you integrate absolute value functions?
divide into the two cases where \(f(x)>0\) and where \(f(x)<0\)
You split the absolute value equation into two equations?
an example would be great
Integrate them by breaking them into parts, one from where the function is positive originally, and the other by applying a negative sign to that part of the limits where the function is negative ('cause the graph is flipped from that point)
\[\int_{-1}^5|x-3|dx=\int_{-1}^3(3-x)dx+\int_3^5(x-3)dx\] for example
easy example since \[f(x) = |x-3| = \left\{\begin{array}{rcc} 3-x & \text{if} & x <3 \\ x-3& \text{if} & x \geq 3 \end{array} \right.\]
What about 2x from -2 to 4?
@Romero Do you mean integration of |2x| from -2 to 4??
Well year we are talking about absolute values here right?
From here we see that we will have to integrate from -2 to 0 with the equation-1/2 x and 2x from 0 to 4 Note how we inversed the slope.
wait..why is it when x is greater than or less than 3
|x−3|
Well, in that case it is \[2 \int\limits_{-2}^{4} |x|\] f(x) = x for x > 0 = - x for x<0 Substituting this we get. \[2 \int\limits_{-2}^{0} (-x) + 2 \int\limits_{0}^{4} x\] rest you can solve :)
Join our real-time social learning platform and learn together with your friends!