Differentiation behaves well with respect to sums and products with numbers

(we say it is linear). So integration behaves the same way: if

then

($k$ simply denotes the constant degree of freedom, so sums and products don't apply on it)