Chapter 1 Proofs: Integration Formulas
Proofs of Basic Integration Formulas
This page collects the proofs of the basic formulas presented in Chapter 1: Indefinite Integral. Each formula is proved by the verification method: differentiating the right-hand side and showing that it equals the integrand. Every formula holds on each interval where the integrand is defined. On such an interval, antiderivatives are unique up to an additive constant, so the general form is (antiderivative) $+\,C$. When the domain splits into several intervals, $C$ may take a different value on each. For inverse trigonometric and inverse hyperbolic functions, the derivation process is also provided.
1. Power and Exponential Functions
1.1 Integration of Power Functions
Formula
For $n \neq -1$ (on each interval where $x^n$ is defined; for a general real $n$, on $x > 0$):
$$\int x^n \, dx = \dfrac{x^{n+1}}{n+1} + C$$Proof
Let $F(x) = \dfrac{x^{n+1}}{n+1}$. Since $n \neq -1$, we have $n+1 \neq 0$, so this expression is well-defined. Differentiating gives
$$F'(x) = \dfrac{1}{n+1} \cdot (n+1)\,x^{(n+1)-1} = x^n$$Therefore $F(x)$ is an antiderivative of $x^n$, and
$$\int x^n \, dx = \dfrac{x^{n+1}}{n+1} + C$$$\square$
On generality
This formula holds not only for positive integers $n$, but for any real number $n \neq -1$, on intervals where $x^n$ is defined (for negative integers, on each of $x > 0$ and $x < 0$; for a general real number, on $x > 0$).
- When $n$ is a negative integer (e.g., $n = -3$): The antiderivative of $x^{-3}$ is $\dfrac{x^{-2}}{-2} = -\dfrac{1}{2x^2}$, and differentiating yields $x^{-3}$.
- When $n$ is a fraction (e.g., $n = 1/2$): The antiderivative of $\sqrt{x}$ is $\dfrac{x^{3/2}}{3/2} = \dfrac{2}{3}x^{3/2}$, and differentiating yields $x^{1/2}$.
- When $n$ is irrational: For $x > 0$, since $x^{\alpha} = e^{\alpha \ln x}$, the same formula applies. For $x < 0$, the function is not defined as a real-valued function.
1.2 Integration of $1/x$
Formula
$$\int \dfrac{1}{x} \, dx = \ln|x| + C \quad (x \neq 0)$$Proof
We consider two cases for $x \neq 0$.
Case 1: $x > 0$.
Since $|x| = x$, we have $\ln|x| = \ln x$. By the differentiation formula for the natural logarithm,
$$\dfrac{d}{dx}\ln x = \dfrac{1}{x}$$Case 2: $x < 0$.
Since $|x| = -x$, we have $\ln|x| = \ln(-x)$. By the chain rule,
$$\dfrac{d}{dx}\ln(-x) = \dfrac{1}{-x} \cdot (-1) = \dfrac{1}{x}$$In both cases, $(\ln|x|)' = 1/x$ holds. Therefore,
$$\int \dfrac{1}{x} \, dx = \ln|x| + C$$$\square$
Why the absolute value is necessary: $\ln x$ is defined only for $x > 0$, but $1/x$ is defined for all $x \neq 0$. The absolute value $|x|$ is essential to provide an antiderivative that is valid on the entire domain $x \neq 0$. However, the domain consists of two separate intervals, $x > 0$ and $x < 0$, so the constant of integration can be chosen independently on each (for example, $\ln x + 1$ for $x > 0$ and $\ln(-x) + 5$ for $x < 0$ is also an antiderivative of $1/x$). The same applies below whenever the domain splits into several intervals.
1.3 Integration of $e^x$
Formula
$$\int e^x \, dx = e^x + C$$Proof
By the differentiation formula for the exponential function,
$$\dfrac{d}{dx}e^x = e^x$$That is, $e^x$ is its own antiderivative. Therefore,
$$\int e^x \, dx = e^x + C$$$\square$
1.4 Integration of $a^x$
Formula
For $a > 0,\; a \neq 1$:
$$\int a^x \, dx = \dfrac{a^x}{\ln a} + C$$Proof
Rewrite $a^x = e^{x \ln a}$. Let $F(x) = \dfrac{a^x}{\ln a} = \dfrac{e^{x \ln a}}{\ln a}$. By the chain rule,
$$F'(x) = \dfrac{1}{\ln a} \cdot e^{x \ln a} \cdot \ln a = e^{x \ln a} = a^x$$The condition $a \neq 1$ is needed to ensure $\ln a \neq 0$ (so that the denominator is nonzero). Therefore,
$$\int a^x \, dx = \dfrac{a^x}{\ln a} + C$$$\square$
2. Trigonometric Functions
2.1 Integration of $\sin x$
Formula
$$\int \sin x \, dx = -\cos x + C$$Proof
Differentiate the right-hand side.
$$\dfrac{d}{dx}(-\cos x + C) = -(-\sin x) = \sin x$$This equals the integrand. $\square$
2.2 Integration of $\cos x$
Formula
$$\int \cos x \, dx = \sin x + C$$Proof
Differentiate the right-hand side.
$$\dfrac{d}{dx}(\sin x + C) = \cos x$$This equals the integrand. $\square$
2.3 Integration of $\sec^2 x$
Formula
$$\int \sec^2 x \, dx = \tan x + C \quad (\text{on each interval with } \cos x \neq 0)$$Proof
Apply the quotient rule to $\tan x = \dfrac{\sin x}{\cos x}$.
$$(\tan x)' = \dfrac{(\sin x)'\cos x - \sin x\,(\cos x)'}{\cos^2 x} = \dfrac{\cos x \cdot \cos x - \sin x \cdot (-\sin x)}{\cos^2 x}$$ $$= \dfrac{\cos^2 x + \sin^2 x}{\cos^2 x} = \dfrac{1}{\cos^2 x} = \sec^2 x$$Therefore $\tan x$ is an antiderivative of $\sec^2 x$, and
$$\int \sec^2 x \, dx = \tan x + C$$$\square$
2.4 Integration of $\csc^2 x$
Formula
$$\int \csc^2 x \, dx = -\cot x + C \quad (\text{on each interval with } \sin x \neq 0)$$Proof
Apply the quotient rule to $\cot x = \dfrac{\cos x}{\sin x}$.
$$(\cot x)' = \dfrac{(\cos x)'\sin x - \cos x\,(\sin x)'}{\sin^2 x} = \dfrac{-\sin x \cdot \sin x - \cos x \cdot \cos x}{\sin^2 x}$$ $$= \dfrac{-(\sin^2 x + \cos^2 x)}{\sin^2 x} = \dfrac{-1}{\sin^2 x} = -\csc^2 x$$Therefore $(-\cot x)' = \csc^2 x$, and
$$\int \csc^2 x \, dx = -\cot x + C$$$\square$
3. Integrals Involving Inverse Trigonometric Functions
3.1 Integration of the $\arcsin x$ Type
Formula
$$\int \dfrac{1}{\sqrt{1-x^2}} \, dx = \arcsin x + C \quad (|x| < 1)$$Proof
We find $(\arcsin x)'$ using the inverse function differentiation rule. Let $y = \arcsin x$, so that $x = \sin y$ ($-\pi/2 \le y \le \pi/2$). Then
$$\dfrac{dx}{dy} = \cos y$$By the inverse function differentiation rule,
$$\dfrac{dy}{dx} = \dfrac{1}{\cos y}$$For $|x| < 1$ we have $-\pi/2 < y < \pi/2$, so $\cos y > 0$ (which also justifies the division above), and since $\sin^2 y + \cos^2 y = 1$, we have
$$\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}$$Therefore,
$$(\arcsin x)' = \dfrac{1}{\sqrt{1 - x^2}}$$This equals the integrand, so the formula holds. $\square$
3.2 Integration of the $\arccos x$ Type
Formula
$$\int \dfrac{-1}{\sqrt{1-x^2}} \, dx = \arccos x + C \quad (|x| < 1)$$Proof
Let $y = \arccos x$, so that $x = \cos y$ ($0 \le y \le \pi$). By the inverse function differentiation rule,
$$\dfrac{dy}{dx} = \dfrac{1}{-\sin y}$$For $|x| < 1$ we have $0 < y < \pi$, so $\sin y > 0$ (which also justifies the division above), and since $\sin^2 y + \cos^2 y = 1$, we have
$$\sin y = \sqrt{1 - \cos^2 y} = \sqrt{1 - x^2}$$Therefore,
$$(\arccos x)' = \dfrac{-1}{\sqrt{1 - x^2}}$$This equals the integrand. $\square$
Remark: Since the identity $\arcsin x + \arccos x = \pi/2$ holds for all $|x| \le 1$, one can also derive $(\arccos x)' = -(\arcsin x)' = -1/\sqrt{1-x^2}$.
3.3 Integration of the $\arctan x$ Type
Formula
$$\int \dfrac{1}{1+x^2} \, dx = \arctan x + C$$Proof
Let $y = \arctan x$, so that $x = \tan y$ ($-\pi/2 < y < \pi/2$). Then
$$\dfrac{dx}{dy} = \sec^2 y = 1 + \tan^2 y = 1 + x^2$$By the inverse function differentiation rule,
$$(\arctan x)' = \dfrac{dy}{dx} = \dfrac{1}{1 + x^2}$$This equals the integrand, so the formula holds. $\square$
3.4 Integration of the $\operatorname{arcsec}$ Type
Formula
$$\int \dfrac{1}{|x|\sqrt{x^2-1}} \, dx = \operatorname{arcsec} x + C \quad (x > 1 \text{ or } x < -1)$$Here the principal value of $\operatorname{arcsec}$ is taken in $[0, \pi/2) \cup (\pi/2, \pi]$ (conventions for the range differ; under another convention the sign changes for $x < -1$).
Proof
Let $y = \operatorname{arcsec} x$ ($x > 1$), so that $x = \sec y$ ($0 < y < \pi/2$). The derivative of $\sec y$ is
$$(\sec y)' = \sec y \tan y$$By the inverse function differentiation rule,
$$\dfrac{dy}{dx} = \dfrac{1}{\sec y \tan y}$$Here $\sec y = x$, and since $\tan^2 y = \sec^2 y - 1 = x^2 - 1$, we have $\tan y = \sqrt{x^2 - 1}$ (since $\tan y > 0$ for $0 < y < \pi/2$). Therefore,
$$(\operatorname{arcsec} x)' = \dfrac{1}{x\sqrt{x^2-1}} \quad (x > 1)$$For $x < -1$, taking the principal value of $\operatorname{arcsec}$ in $[0, \pi/2) \cup (\pi/2, \pi]$, we have $\sec y = x$ and $\tan y < 0$, so
$$(\operatorname{arcsec} x)' = \dfrac{1}{\sec y \tan y} = \dfrac{1}{x \cdot (-\sqrt{x^2-1})} = \dfrac{-1}{x\sqrt{x^2-1}} = \dfrac{1}{|x|\sqrt{x^2-1}}$$(since $x < 0$ implies $-1/x = 1/|x|$). In both cases,
$$(\operatorname{arcsec} x)' = \dfrac{1}{|x|\sqrt{x^2-1}} \quad (|x| > 1)$$This equals the integrand. $\square$
4. Hyperbolic Functions
4.1 Integration of $\sinh x$
Formula
$$\int \sinh x \, dx = \cosh x + C$$Proof
Differentiating from the definition $\cosh x = (e^x + e^{-x})/2$, we get
$$(\cosh x)' = \dfrac{d}{dx}\dfrac{e^x + e^{-x}}{2} = \dfrac{e^x - e^{-x}}{2} = \sinh x$$Therefore $\cosh x$ is an antiderivative of $\sinh x$. $\square$
4.2 Integration of $\cosh x$
Formula
$$\int \cosh x \, dx = \sinh x + C$$Proof
Differentiating from the definition $\sinh x = (e^x - e^{-x})/2$, we get
$$(\sinh x)' = \dfrac{d}{dx}\dfrac{e^x - e^{-x}}{2} = \dfrac{e^x + e^{-x}}{2} = \cosh x$$Therefore $\sinh x$ is an antiderivative of $\cosh x$. $\square$
4.3 Integration of $\operatorname{sech}^2 x$
Formula
$$\int \operatorname{sech}^2 x \, dx = \tanh x + C$$Proof
Apply the quotient rule to $\tanh x = \dfrac{\sinh x}{\cosh x}$.
$$(\tanh x)' = \dfrac{(\sinh x)'\cosh x - \sinh x\,(\cosh x)'}{\cosh^2 x} = \dfrac{\cosh^2 x - \sinh^2 x}{\cosh^2 x}$$By the hyperbolic identity $\cosh^2 x - \sinh^2 x = 1$,
$$(\tanh x)' = \dfrac{1}{\cosh^2 x} = \operatorname{sech}^2 x$$Therefore $\tanh x$ is an antiderivative of $\operatorname{sech}^2 x$, and the formula holds. $\square$
4.4 Integration of $\operatorname{csch}^2 x$
Formula
$$\int \operatorname{csch}^2 x \, dx = -\coth x + C \quad (x > 0 \text{ or } x < 0)$$Proof
Apply the quotient rule to $\coth x = \dfrac{\cosh x}{\sinh x}$.
$$(\coth x)' = \dfrac{(\cosh x)'\sinh x - \cosh x\,(\sinh x)'}{\sinh^2 x} = \dfrac{\sinh^2 x - \cosh^2 x}{\sinh^2 x}$$ $$= \dfrac{-(\cosh^2 x - \sinh^2 x)}{\sinh^2 x} = \dfrac{-1}{\sinh^2 x} = -\operatorname{csch}^2 x$$Therefore $(-\coth x)' = \operatorname{csch}^2 x$, and
$$\int \operatorname{csch}^2 x \, dx = -\coth x + C$$$\square$
5. Integrals Involving Inverse Hyperbolic Functions
5.1 Integration of the $\operatorname{arcsinh} x$ Type
Formula
$$\int \dfrac{1}{\sqrt{x^2+1}} \, dx = \operatorname{arcsinh} x + C = \ln\!\bigl(x + \sqrt{x^2+1}\bigr) + C$$Proof
Method 1 (Verification): Differentiate $F(x) = \ln(x + \sqrt{x^2+1})$. Let $u(x) = x + \sqrt{x^2+1}$. Then
$$u'(x) = 1 + \dfrac{x}{\sqrt{x^2+1}} = \dfrac{\sqrt{x^2+1} + x}{\sqrt{x^2+1}}$$Therefore,
$$F'(x) = \dfrac{u'(x)}{u(x)} = \dfrac{\dfrac{\sqrt{x^2+1} + x}{\sqrt{x^2+1}}}{x + \sqrt{x^2+1}} = \dfrac{1}{\sqrt{x^2+1}}$$This equals the integrand.
Method 2 (Derivation): Substitute $x = \sinh t$. Then $dx = \cosh t\,dt$ and $\sqrt{x^2+1} = \sqrt{\sinh^2 t + 1} = \cosh t$, so
$$\int \dfrac{1}{\sqrt{x^2+1}}\,dx = \int \dfrac{\cosh t}{\cosh t}\,dt = \int dt = t + C = \operatorname{arcsinh} x + C$$$\square$
5.2 Integration of the $\operatorname{arccosh} x$ Type
Formula
$$\int \dfrac{1}{\sqrt{x^2-1}} \, dx = \operatorname{arccosh} x + C = \ln\!\bigl(x + \sqrt{x^2-1}\bigr) + C \quad (x > 1)$$Proof
Method 1 (Verification): Differentiate $F(x) = \ln(x + \sqrt{x^2-1})$. Let $u(x) = x + \sqrt{x^2-1}$. Then
$$u'(x) = 1 + \dfrac{x}{\sqrt{x^2-1}} = \dfrac{\sqrt{x^2-1} + x}{\sqrt{x^2-1}}$$Therefore,
$$F'(x) = \dfrac{u'(x)}{u(x)} = \dfrac{\dfrac{\sqrt{x^2-1} + x}{\sqrt{x^2-1}}}{x + \sqrt{x^2-1}} = \dfrac{1}{\sqrt{x^2-1}}$$This equals the integrand.
Method 2 (Derivation): For $x > 1$, substitute $x = \cosh t$ ($t > 0$). Then $dx = \sinh t\,dt$ and $\sqrt{x^2-1} = \sqrt{\cosh^2 t - 1} = \sinh t$ (since $\sinh t > 0$ for $t > 0$), so
$$\int \dfrac{1}{\sqrt{x^2-1}}\,dx = \int \dfrac{\sinh t}{\sinh t}\,dt = \int dt = t + C = \operatorname{arccosh} x + C$$$\square$
5.3 Integration of the $\operatorname{arctanh} x$ Type
Formula
$$\int \dfrac{1}{1-x^2} \, dx = \dfrac{1}{2}\ln\!\left|\dfrac{1+x}{1-x}\right| + C \quad (|x| \neq 1)$$For $|x| < 1$ this equals $\operatorname{arctanh} x + C$, and for $|x| > 1$ it equals $\operatorname{arccoth} x + C$ ($\operatorname{arctanh} x$ is real only for $|x| < 1$).
Proof
Method 1 (Verification): Differentiate $F(x) = \dfrac{1}{2}\ln\!\left|\dfrac{1+x}{1-x}\right| = \dfrac{1}{2}\bigl(\ln|1+x| - \ln|1-x|\bigr)$.
$$F'(x) = \dfrac{1}{2}\left(\dfrac{1}{1+x} - \dfrac{-1}{1-x}\right) = \dfrac{1}{2}\left(\dfrac{1}{1+x} + \dfrac{1}{1-x}\right)$$Finding a common denominator,
$$F'(x) = \dfrac{1}{2} \cdot \dfrac{(1-x) + (1+x)}{(1+x)(1-x)} = \dfrac{1}{2} \cdot \dfrac{2}{1-x^2} = \dfrac{1}{1-x^2}$$This equals the integrand.
Method 2 (Derivation): Use partial fraction decomposition.
$$\dfrac{1}{1-x^2} = \dfrac{1}{(1+x)(1-x)} = \dfrac{1}{2}\left(\dfrac{1}{1+x} + \dfrac{1}{1-x}\right)$$Integrating each term,
$$\int \dfrac{1}{1-x^2}\,dx = \dfrac{1}{2}\bigl(\ln|1+x| - \ln|1-x|\bigr) + C = \dfrac{1}{2}\ln\!\left|\dfrac{1+x}{1-x}\right| + C$$For $|x| < 1$, this equals $\operatorname{arctanh} x + C$; for $|x| > 1$, it equals $\operatorname{arccoth} x + C$. $\square$
FAQ
Q1. How do you prove integration formulas?
The basic method is to differentiate the right-hand side and show that it equals the integrand. To prove $\int f(x)\,dx = F(x) + C$, one verifies by computation that $F'(x) = f(x)$ on an interval where the integrand is defined. On such an interval, antiderivatives are unique up to an additive constant, so the general form is $F(x) + C$.
Q2. Why does the absolute value appear in $\int \frac{1}{x}\,dx = \ln|x| + C$?
For $x > 0$, we have $(\ln x)' = 1/x$. For $x < 0$, considering $\ln(-x)$ and applying the chain rule gives $(\ln(-x))' = \frac{1}{-x} \cdot (-1) = \frac{1}{x}$. Writing $\ln|x|$ covers both cases, so the formula can be used on either interval of $x \neq 0$. However, $x > 0$ and $x < 0$ are separate intervals, so the constant $C$ may take different values on each.
Q3. How are the inverse trigonometric integration formulas derived?
They are derived from the differentiation formulas for inverse trigonometric functions. For example, since $(\arctan x)' = \frac{1}{1+x^2}$, it follows that $\int \frac{1}{1+x^2}\,dx = \arctan x + C$. When finding the derivative with the inverse function rule, fix the principal branch and the domain, and work where the denominator is nonzero. Reading that derivative in reverse gives the integration formula.