The integrals to know by heart
Every derivative in The derivatives to know by heart, read backwards, gives an integral. These come up again and again:
As with powers, a number in front stays, and a sum is integrated term by term:
eˣ
e to the power x is its own derivative, so it is its own antiderivative too. It is the easiest integral there is.
sin and cos, and the minus
The derivative of sine of x is cosine of x, so the integral of cosine of x is sine of x. The other way round needs care. The derivative of cosine of x is minus sine of x, with a minus, so to get plain sine of x, we need minus cosine of x:
The minus is the most common slip with these two. A quick way to check: differentiate the answer, and see whether the sign comes back right.
In the last example above, minus 2 sine of x becomes minus 2 times minus cosine of x, which is plus 2 cosine of x.
1/cos²x
The derivative of tangent of x is 1 over cosine of x squared, as The quotient rule shows. So integrating 1 over cosine of x squared gives tangent of x. The square cosine of x squared is often written cos²x.
When there is something other than plain x inside, such as e to the power 2 x or sine of x squared, the chain rule is involved, and the integral is found by Integration by substitution.
eˣ stays eˣ, cos becomes sin, sin becomes minus cos, and 1/cos²x becomes tan x. Check the sign by differentiating.