How to calculate this integral #int_-2^2 f(x)dx#?
Where #f(x) =
{(x+2 if x \ge 0),(-x^2+2 if x<0):}#
Now I've calculated
#int_-2^0 -x^2+2dx# + #int_0^2 x+2dx# = #22/3#
Is the answer right?
Now let's call this function #g(x) = -x^2+2# and in the definition of #f(x)# is used only for #x < 0# , why we calculate #int_-2^(0) g(x)# and not #int_-2^(0^-) g(x)# ?
I mean #0# is not included in the interval
Where
Now I've calculated
Is the answer right?
Now let's call this function
I mean
1 Answer
Please see below.
Explanation:
I don't know what your notation on the upper limit of
In any event, for this function we could have just as easily said
because either rule makes
Moreover
As long as there is no vertical asymptote at the endpoint of the interval, the function need not be continuous on a closed interval in order to be integrable.
All necessary limits exist and are the same for
as for the function you asked about.
So
And even
is integrable on