Integrals of functions defined by parts

When the function to be integrated is not continuous, but bounded, we will separate the integration interval using the additive property at the points where the function is not continuous.

Example

05f(x) dx , where f(x)={x+1ifx<37x25ifx3

(This function is not continuous in x=3)

05f(x) dx=03f(x) dx+35f(x) dx=03x+1 dx+357x25 dx=

=[x22+x]03+[7x335x]35=17456