Integration is linear: the integral of a sum (or difference) of two functions equals the sum (or difference) of their integrals, ∫[f(x)±g(x)]dx=∫f(x)dx±∫g(x)dx, and a constant factor can always be pulled outside the integral sign, ∫kf(x)dx=k∫f(x)dx. Both facts follow directly from the corresponding rules for derivatives: if G1′(x)=f(x) and G2′(x)=g(x), then dxd[G1(x)±G2(x)]=f(x)±g(x), so G1(x)±G2(x) is a primitive of f(x)±g(x). These properties let a complicated-looking integrand be broken into a sum of simpler pieces — each matched separately against the elementary formulae — and are used in essentially every integral in this chapter, however sophisticated the surrounding technique.