Basic Integral Formulas

Almost every integral you will ever be asked to compute is built out of a surprisingly small number of formulas. The list on this page is that list: the integrals of powers, exponentials, logarithms, the six trigonometric functions, their inverses, and the three hyperbolic functions. It is short enough to memorize, and it is worth memorizing, because the techniques that come later are all about recognizing when one of these formulas is hiding inside a harder-looking integrand.

What makes the page more than a formula sheet is the attention paid to conditions. Several of these formulas hold only on part of the real line, and one of them changes form entirely near the ends of its domain. Knowing the formula without knowing where it applies is how confident wrong answers are produced.

Definition

An antiderivative of a function ff on an interval II is a function FF with F′(x)=f(x)F'(x) = f(x) on II. The indefinite integral is the family of all antiderivatives of ff:

∫f(x) dx=F(x)+C,\int f(x)\,dx = F(x) + C,

where CC is an arbitrary constant. Two properties of this definition drive everything below. Every formula on this page can be verified rather than remembered: differentiate the right-hand side and you must get the left-hand side back. And because differentiation cannot distinguish two functions differing by a constant, the constant CC must be carried along — a formula without a CC is incomplete.

The Power Rule

The single most used formula in the subject is the power rule for integrals:

∫xn dx=xn+1n+1+C,n≠−1.\int x^n\,dx = \frac{x^{n+1}}{n+1} + C, \qquad n \neq -1.

Special cases worth having instantly available are ∫x dx=x22+C\int x\,dx = \frac{x^2}{2} + C, ∫x2 dx=x33+C\int x^2\,dx = \frac{x^3}{3} + C, and ∫x3 dx=x44+C\int x^3\,dx = \frac{x^4}{4} + C.

The rule excludes n=−1n = -1, because the denominator n+1n+1 vanishes there. That case has its own formula, ∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,dx = \ln\lvert x\rvert + C, and the absolute value is not optional: ln⁡x\ln x is defined only for x>0x > 0, so it cannot be an antiderivative on the negative half-line, while ln⁡∣x∣\ln\lvert x\rvert is defined for every x≠0x \neq 0 and satisfies ddxln⁡∣x∣=1x\frac{d}{dx}\ln\lvert x\rvert = \frac{1}{x} on both halves of the line.

The Exponential and Logarithmic Formulas

∫ex dx=ex+C,∫ax dx=axln⁡a+C(a>0, a≠1).\int e^x\,dx = e^x + C, \qquad \int a^x\,dx = \frac{a^x}{\ln a} + C \quad (a > 0,\ a \neq 1).

The second formula is the first with a change of base: since ddxax=axln⁡a\frac{d}{dx}a^x = a^x\ln a, the factor 1ln⁡a\frac{1}{\ln a} undoes it. The restriction a>0a > 0 keeps ln⁡a\ln a defined, and a≠1a \neq 1 keeps ln⁡a≠0\ln a \neq 0. Examples that follow immediately are ∫e2x dx=12e2x+C\int e^{2x}\,dx = \frac{1}{2}e^{2x} + C, ∫2x dx=2xln⁡2+C\int 2^x\,dx = \frac{2^x}{\ln 2} + C, and ∫3x dx=3xln⁡3+C\int 3^x\,dx = \frac{3^x}{\ln 3} + C.

The Trigonometric Formulas

The four basic ones, in the order worth memorizing, and then the two reciprocals:

∫sin⁡x dx=−cos⁡x+C,∫cos⁡x dx=sin⁡x+C,∫tan⁡x dx=−ln⁡∣cos⁡x∣+C,\int \sin x\,dx = -\cos x + C, \qquad \int \cos x\,dx = \sin x + C, \qquad \int \tan x\,dx = -\ln\lvert\cos x\rvert + C, ∫cot⁡x dx=ln⁡∣sin⁡x∣+C,∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+C,∫csc⁡x dx=−ln⁡∣csc⁡x+cot⁡x∣+C.\int \cot x\,dx = \ln\lvert\sin x\rvert + C, \qquad \int \sec x\,dx = \ln\lvert\sec x + \tan x\rvert + C, \qquad \int \csc x\,dx = -\ln\lvert\csc x + \cot x\rvert + C.

Every one of these can be checked by differentiating. For example, ddx(−ln⁡∣cos⁡x∣)=sin⁡xcos⁡x=tan⁡x\frac{d}{dx}(-\ln\lvert\cos x\rvert) = \frac{\sin x}{\cos x} = \tan x, and ddxln⁡∣sec⁡x+tan⁡x∣=sec⁡xtan⁡x+sec⁡2xsec⁡x+tan⁡x=sec⁡x\frac{d}{dx}\ln\lvert\sec x + \tan x\rvert = \frac{\sec x\tan x + \sec^2 x}{\sec x + \tan x} = \sec x.

The Inverse Trigonometric Formulas

∫11−x2 dx=arcsin⁡x+C,∫11+x2 dx=arctan⁡x+C.\int \frac{1}{\sqrt{1-x^2}}\,dx = \arcsin x + C, \qquad \int \frac{1}{1+x^2}\,dx = \arctan x + C.

The first is valid on ∣x∣<1\lvert x\rvert < 1, where the integrand is real; the second is valid for every real xx.

A third formula concerns the region ∣x∣>1\lvert x\rvert > 1, and it is easy to get wrong. The correct statement is ∫1∣x∣x2−1 dx=arccos⁡(1x)+C\int \frac{1}{\lvert x\rvert\sqrt{x^2-1}}\,dx = \arccos\left(\frac{1}{x}\right) + C for ∣x∣>1\lvert x\rvert > 1.

The Hyperbolic Formulas

Hyperbolic functions
  • sinh⁡x=ex−e−x2\sinh x = \frac{e^x - e^{-x}}{2}
  • cosh⁡x=ex+e−x2\cosh x = \frac{e^x + e^{-x}}{2}
  • tanh⁡x=sinh⁡xcosh⁡x\tanh x = \frac{\sinh x}{\cosh x}

Their integrals mirror the circular functions:

∫sinh⁡x dx=cosh⁡x+C,∫cosh⁡x dx=sinh⁡x+C,∫tanh⁡x dx=ln⁡∣cosh⁡x∣+C.\int \sinh x\,dx = \cosh x + C, \qquad \int \cosh x\,dx = \sinh x + C, \qquad \int \tanh x\,dx = \ln\lvert\cosh x\rvert + C.

The last one follows from ddxln⁡∣cosh⁡x∣=sinh⁡xcosh⁡x=tanh⁡x\frac{d}{dx}\ln\lvert\cosh x\rvert = \frac{\sinh x}{\cosh x} = \tanh x. Note that cosh⁡x≥1\cosh x \geq 1 for all real xx, so the absolute value in that logarithm is harmless.

How to Use the Table

Group by type. Powers with the power rule, exponentials with the exponential formulas, reciprocals with the logarithmic formula, trigonometric and hyperbolic functions with their own rows, and inverse trigonometric functions with theirs. Identifying the family is most of the work. Then verify by differentiating and read the domain: integration is the inverse of differentiation, so any formula can be checked in one line, and a check catches a lost factor of 12\tfrac{1}{2} or a missing absolute value immediately. The formulas for arcsin⁡x\arcsin x, arctan⁡x\arctan x, ln⁡∣x∣\ln\lvert x\rvert, tan⁡x\tan x, cot⁡x\cot x, sec⁡x\sec x and csc⁡x\csc x each come with a restriction on where the integrand is defined, and that restriction should be stated when the formula is used.

Exercises

Exercise 1

Compute ∫x4 dx\int x^4\,dx.

power ruleindefinite integral

Approach: The integrand is a power function xnx^n, so use the power rule for integrals, ∫xn dx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C, with n=4n = 4.

Steps:

  1. Identify the exponent: n=4n = 4, and n≠−1n \neq -1, so the power rule applies.
  2. Apply the rule: ∫x4 dx=x4+14+1+C=x55+C\int x^4\,dx = \frac{x^{4+1}}{4+1} + C = \frac{x^5}{5} + C.
  3. Check by differentiating: ddx(x55)=x4\frac{d}{dx}\left(\frac{x^5}{5}\right) = x^4.

Answer: x55+C\frac{x^5}{5} + C.

Exercise 2

Compute ∫1x3 dx\int \frac{1}{x^3}\,dx.

power rulenegative exponentindefinite integral

Approach: Rewrite the integrand as a negative power and use the power rule, which is valid for every exponent other than −1-1.

Steps:

  1. Rewrite: 1x3=x−3\frac{1}{x^3} = x^{-3}, so the exponent is n=−3n = -3.
  2. Apply the rule: ∫x−3 dx=x−2−2+C=−12x2+C\int x^{-3}\,dx = \frac{x^{-2}}{-2} + C = -\frac{1}{2x^2} + C.
  3. Check by differentiating: ddx(−12x2)=1x3\frac{d}{dx}\left(-\frac{1}{2x^2}\right) = \frac{1}{x^3}.

Answer: −12x2+C-\frac{1}{2x^2} + C.

Exercise 3

Compute ∫e5x dx\int e^{5x}\,dx.

exponential integralsubstitutionindefinite integral

Approach: Substitute u=5xu = 5x so that the integrand becomes eue^u and the chain-rule factor 15\frac{1}{5} appears.

Steps:

  1. Substitute u=5xu = 5x, so du=5 dxdu = 5\,dx and dx=15dudx = \frac{1}{5}du.
  2. Integrate: ∫e5x dx=15∫eu du=15eu+C\int e^{5x}\,dx = \frac{1}{5}\int e^u\,du = \frac{1}{5}e^u + C.
  3. Back-substitute: 15eu+C=15e5x+C\frac{1}{5}e^u + C = \frac{1}{5}e^{5x} + C.
  4. Check by differentiating: ddx(15e5x)=15⋅5e5x=e5x\frac{d}{dx}\left(\frac{1}{5}e^{5x}\right) = \frac{1}{5}\cdot 5e^{5x} = e^{5x}.

Answer: 15e5x+C\frac{1}{5}e^{5x} + C.

Exercise 4

Compute ∫cos⁡x dx\int \cos x\,dx.

trigonometric integralindefinite integral

Approach: Use the basic trigonometric formula ∫cos⁡x dx=sin⁡x+C\int \cos x\,dx = \sin x + C, which follows from the derivative ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x.

Steps:

  1. Recall the derivative: ddx(sin⁡x)=cos⁡x\frac{d}{dx}\bigl(\sin x\bigr) = \cos x.
  2. Integrate term by term: ∫cos⁡x dx=sin⁡x+C\int \cos x\,dx = \sin x + C.
  3. The constant CC is required because an indefinite integral represents a whole family of antiderivatives.

Answer: sin⁡x+C\sin x + C.

Exercise 5

Compute ∫tan⁡x dx\int \tan x\,dx.

trigonometric integralsubstitutionindefinite integral

Approach: Write tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x} and substitute u=cos⁡xu = \cos x, whose differential brings along exactly the sin⁡x\sin x in the numerator.

Steps:

  1. Rewrite: ∫tan⁡x dx=∫sin⁡xcos⁡x dx\int \tan x\,dx = \int \frac{\sin x}{\cos x}\,dx.
  2. Substitute u=cos⁡xu = \cos x, so du=−sin⁡x dxdu = -\sin x\,dx and sin⁡x dx=−du\sin x\,dx = -du.
  3. Then ∫sin⁡xcos⁡x dx=−∫1u du=−ln⁡∣u∣+C\int \frac{\sin x}{\cos x}\,dx = -\int \frac{1}{u}\,du = -\ln\lvert u\rvert + C, and back-substituting gives −ln⁡∣cos⁡x∣+C-\ln\lvert\cos x\rvert + C.
  4. Check by differentiating: ddx(−ln⁡∣cos⁡x∣)=sin⁡xcos⁡x=tan⁡x\frac{d}{dx}\left(-\ln\lvert\cos x\rvert\right) = \frac{\sin x}{\cos x} = \tan x.

Answer: −ln⁡∣cos⁡x∣+C-\ln\lvert\cos x\rvert + C, valid on any interval where cos⁡x≠0\cos x \neq 0.


Summary

The catalogue above is small, and that is the point: powers, exponentials, logarithms, the six trigonometric functions, their inverses, and the three hyperbolic functions cover the overwhelming majority of integrals you will meet. The power rule handles every polynomial and every negative power except −1-1, which has its own logarithmic formula; the chain rule contributes the constants that appear in front of the exponential and trigonometric antiderivatives; and the inverse trigonometric formulas carry the domain restrictions that are most often forgotten.

Two habits make the table reliable. Verify every formula by differentiating it, since integration is the inverse of differentiation and the check takes one line. And read the conditions attached to each entry, because the absolute value in ln⁡∣x∣\ln\lvert x\rvert, the sign in −cos⁡x-\cos x, and the domain of arcsin⁡x\arcsin x are not decoration but the substance of the formula. The remaining techniques in this course — substitution, integration by parts, and the rest — are all ways of reshaping an integrand until one of these formulas applies.

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∫\intmathematical symbolintegralThe indefinite integral operator
dxdxmathematical symboldifferential of xThe differential element of the integration variable
CCmathematical symbolconstant of integrationThe arbitrary constant in every formula
nnmathematical symbolnThe exponent of a power function
eemathematical symbolEuler’s numberThe base of the natural logarithm
ln⁡∣x∣\ln\lvert x\rvertmathematical symbolnatural logarithm of the absolute value of xThe antiderivative of 1x\frac{1}{x}
arcsin⁡x,arctan⁡x\arcsin x, \arctan xmathematical symbolarc sine and arc tangent of xThe inverse sine and inverse tangent functions
sinh⁡x\sinh xmathematical symbolhyperbolic sine of xThe hyperbolic sine function
cosh⁡x\cosh xmathematical symbolhyperbolic cosine of xThe hyperbolic cosine function
tanh⁡x\tanh xmathematical symbolhyperbolic tangent of xThe hyperbolic tangent function

Found an issue with this content?

Tell us what could be improved.