Definite integral of an absolute value function

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
PFuser1232
Messages
479
Reaction score
20
Can we integrate:
$$\int_a^b |x| dx$$
using an antiderivative of ##|x|##, namely ##\frac{1}{2} x |x|##, instead of splitting up the integration interval?
I know this is not particularly useful for integrals such as:
$$\int_{-5}^5 |t^3 - 8| dt$$
However, for absolute value functions with linear arguments, this method (if valid) would be much more efficient.
 
Physics news on Phys.org
Yes, of course. If F(x) is an anti-derivative of f(x) then [itex]\int_a^b f(x) dx= F(b)- F(a)[/itex]. That is true for f(x)= |x| and F(x)= (1/2)x|x|.