Integral Formulas and Rules: Cheat Sheet

Most integrals you meet in a first calculus course are solved by the same short list of rules and table formulas. This page collects them in one place so you can look up a formula, check a sign or recall a property without searching through a textbook.

If you want to test any formula on your own example, use the integral calculator: it shows the solution step by step. For a general strategy on choosing a method, see How to Solve Integrals Step by Step.

Basic Rules of Integration

Two rules do most of the work. Both apply to indefinite and definite integrals.

Linearity

The integral of a sum is the sum of the integrals, and the same holds for a difference:

\int \big[f(x) \pm g(x)\big]\,dx = \int f(x)\,dx \pm \int g(x)\,dx

This lets you split a long expression into short pieces and integrate each one separately.

Constant multiple rule

A constant factor can be moved outside the integral:

\int k\,f(x)\,dx = k\int f(x)\,dx

Together these two rules give the general form:

\int \big[a\,f(x) + b\,g(x)\big]\,dx = a\int f(x)\,dx + b\int g(x)\,dx

Note that no such rule exists for products or quotients. In general \int f(x)\,g(x)\,dx \neq \int f(x)\,dx \cdot \int g(x)\,dx.

The constant of integration

Every indefinite integral ends with + C. Two antiderivatives of the same function differ only by a constant, so C stands for all of them at once. Definite integrals have no C: it cancels when you subtract the values at the limits.

Table of Basic Integral Formulas

In every formula below, C is an arbitrary constant and a is a constant. To verify any entry, differentiate the right-hand side and you should get the integrand back.

Power functions

Integral Result Condition
\int k\,dx kx + C
\int x^n\,dx \dfrac{x^{n+1}}{n+1} + C n \neq -1
\int \dfrac{1}{x}\,dx \ln\lvert x\rvert + C x \neq 0
\int \dfrac{1}{\sqrt{x}}\,dx 2\sqrt{x} + C x > 0

Exponential and logarithmic functions

Integral Result Condition
\int e^x\,dx e^x + C
\int a^x\,dx \dfrac{a^x}{\ln a} + C a > 0,\ a \neq 1
\int \ln x\,dx x\ln x - x + C x > 0

The last formula is not a direct table entry. It is derived with integration by parts, but it appears so often that it is worth memorizing.

Trigonometric functions

Integral Result
\int \sin x\,dx -\cos x + C
\int \cos x\,dx \sin x + C
\int \sec^2 x\,dx \tan x + C
\int \csc^2 x\,dx -\cot x + C
\int \sec x\tan x\,dx \sec x + C
\int \csc x\cot x\,dx -\csc x + C
\int \tan x\,dx -\ln\lvert\cos x\rvert + C
\int \cot x\,dx \ln\lvert\sin x\rvert + C

Integrals of products and powers of sine and cosine, such as \int \sin^3 x\cos^2 x\,dx, need extra techniques. They are covered in Trigonometric Integrals.

Inverse trigonometric functions

These formulas appear when the integrand contains 1 \pm x^2 under a root or in a denominator:

Integral Result Condition
\int \dfrac{dx}{\sqrt{1-x^2}} \arcsin x + C \lvert x\rvert < 1
\int \dfrac{dx}{1+x^2} \arctan x + C
\int \dfrac{dx}{\sqrt{a^2-x^2}} \arcsin\dfrac{x}{a} + C a > 0,\ \lvert x\rvert < a
\int \dfrac{dx}{a^2+x^2} \dfrac{1}{a}\arctan\dfrac{x}{a} + C a \neq 0

Hyperbolic functions

Integral Result
\int \sinh x\,dx \cosh x + C
\int \cosh x\,dx \sinh x + C
\int \operatorname{sech}^2 x\,dx \tanh x + C
\int \dfrac{dx}{\sqrt{x^2+1}} \ln\big(x + \sqrt{x^2+1}\big) + C

Unlike the trigonometric case, the signs here do not alternate: the derivative of \cosh x is +\sinh x.

Arguments of the form ax + b

If F(x) is an antiderivative of f(x), then for a \neq 0:

\int f(ax+b)\,dx = \frac{1}{a}\,F(ax+b) + C

For example, \int \cos(3x)\,dx = \frac{1}{3}\sin(3x) + C. This is the simplest case of a substitution; the general method is explained in Integration by Substitution.

Properties of Definite Integrals

For a continuous function f on an interval, the Fundamental Theorem of Calculus gives:

\int_a^b f(x)\,dx = F(b) - F(a)

where F is any antiderivative of f. Linearity and the constant multiple rule hold for definite integrals too. These additional properties help simplify the work:

Property Formula
Equal limits \int_a^a f(x)\,dx = 0
Swapping limits \int_a^b f(x)\,dx = -\int_b^a f(x)\,dx
Additivity \int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx
Even function (f(-x) = f(x)) \int_{-a}^{a} f(x)\,dx = 2\int_0^a f(x)\,dx
Odd function (f(-x) = -f(x)) \int_{-a}^{a} f(x)\,dx = 0

Additivity works for any point c, even one outside [a, b], as long as f is defined and continuous on the intervals involved. It is especially useful for piecewise functions and for integrands with an absolute value.

The even and odd rules save a lot of work on symmetric intervals. Before computing anything on [-a, a], check the symmetry of the integrand.

Quick Examples

Example 1: a sum of simple terms

Find \int \left(4x^3 - \dfrac{5}{x} + 2e^x\right)dx.

Split the integral using linearity and integrate each term with the table:

\int 4x^3\,dx = 4\cdot\frac{x^4}{4} = x^4

\int \frac{5}{x}\,dx = 5\ln\lvert x\rvert

\int 2e^x\,dx = 2e^x

Combine the results and add the constant:

\int \left(4x^3 - \frac{5}{x} + 2e^x\right)dx = x^4 - 5\ln\lvert x\rvert + 2e^x + C

Check by differentiating: (x^4)' = 4x^3, (5\ln\lvert x\rvert)' = \frac{5}{x} and (2e^x)' = 2e^x. The sum matches the integrand.

Example 2: sin²x with a power-reducing formula

The table has no formula for \int \sin^2 x\,dx, so first rewrite the integrand using the power-reducing identity:

\sin^2 x = \frac{1 - \cos 2x}{2}

Now apply linearity:

\int \sin^2 x\,dx = \frac{1}{2}\int 1\,dx - \frac{1}{2}\int \cos 2x\,dx

The first integral is x. For the second, use the rule for ax+b arguments with a = 2:

\int \cos 2x\,dx = \frac{1}{2}\sin 2x

Putting it together:

\int \sin^2 x\,dx = \frac{x}{2} - \frac{\sin 2x}{4} + C

Check by differentiating:

\left(\frac{x}{2} - \frac{\sin 2x}{4}\right)' = \frac{1}{2} - \frac{2\cos 2x}{4} = \frac{1 - \cos 2x}{2} = \sin^2 x

You can check this step by step in the integral calculator. The final answer may appear in an equivalent form, for example with \sin x\cos x instead of \frac{1}{2}\sin 2x, since \sin 2x = 2\sin x\cos x.

Example 3: using symmetry

Evaluate \int_{-\pi}^{\pi} x^3\cos x\,dx.

The interval is symmetric around zero, so check the parity of the integrand. The function x^3 is odd and \cos x is even, so their product is odd:

f(-x) = (-x)^3\cos(-x) = -x^3\cos x = -f(x)

By the odd-function property:

\int_{-\pi}^{\pi} x^3\cos x\,dx = 0

Without symmetry this integral would need integration by parts three times.

Notes: ln|x| and the Case n = −1

The power rule \int x^n\,dx = \frac{x^{n+1}}{n+1} + C fails for n = -1, because the denominator n + 1 becomes zero. That case is a separate formula:

\int \frac{1}{x}\,dx = \ln\lvert x\rvert + C

The absolute value matters. The function \frac{1}{x} is defined for both positive and negative x, and the formula must work on both sides of zero. For x > 0, we have (\ln x)' = \frac{1}{x}. For x < 0, the chain rule gives (\ln(-x))' = \frac{-1}{-x} = \frac{1}{x}. Both cases are covered by \ln\lvert x\rvert.

Two practical remarks:

What to Do Next

Keep this table at hand while you practice. When the integrand does not match any formula exactly, the next step is usually a rewrite, a substitution or a trigonometric identity. For a full overview of these methods, see How to Solve Integrals Step by Step.