Theorem (piecewise continuous function is integrable)

If $f: [a,b]\to\R$ is piecewise continuous, then $f$ is integrable.

Proof