What you'll learn
- How integration reverses differentiation.
- How to integrate powers, including sums, differences and constant multiples.
- How to integrate exponential, reciprocal and trigonometric functions.
- How to include the constant of integration and check answers by differentiating.
Integration as reverse differentiation
An antiderivative of a function f(x)f(x)f(x) is a function whose derivative is f(x)f(x)f(x). For example, because
ddx(x3)=3x2,\frac{d}{dx}\left(x^3\right)=3x^2,dxd(x3)=3x2,an antiderivative of 3x23x^23x2 is x3x^3x3.
The symbol for an indefinite integral is
∫f(x) dx.\int f(x)\,dx.∫f(x)dx.Here, ∫\int∫ means “integrate”, f(x)f(x)f(x) is the integrand being integrated, and dxdxdx shows that the variable of integration is xxx.
The constant of integration
An indefinite integral represents a family of antiderivatives:
∫f(x) dx=F(x)+C,\int f(x)\,dx=F(x)+C,∫f(x)dx=F(x)+C,where F′(x)=f(x)F'(x)=f(x)F′(x)=f(x) and CCC is an arbitrary constant.
The constant is necessary because every constant differentiates to zero. For example, x3+2x^3+2x3+2, x3−7x^3-7x3−7 and x3+100x^3+100x3+100 all have derivative 3x23x^23x2.
Forgetting the constant
Always include +C+C+C when finding an indefinite integral. You do not need a separate constant for every term: one constant at the end represents them all.
Integrating powers of xxx
You already know the differentiation rule
ddx(xn+1)=(n+1)xn.\frac{d}{dx}\left(x^{n+1}\right)=(n+1)x^n.dxd(xn+1)=(n+1)xn.To reverse this, first increase the power by one, then divide by the new power.
The power rule for integration
For n≠−1n\neq -1n=−1,
∫xn dx=xn+1n+1+C.\int x^n\,dx=\frac{x^{n+1}}{n+1}+C.∫xndx=n+1xn+1+C.The restriction n≠−1n\neq -1n=−1 matters because substituting n=−1n=-1n=−1 would require division by zero. The function x−1=1xx^{-1}=\frac{1}{x}x−1=x1 has a separate integration rule.
Integrating a power
Find ∫x5 dx\int x^5\,dx∫x5dx.
-
Increase the power by one: 5+1=65+1=65+1=6.
-
Divide by the new power:
∫x5 dx=x66+C.\int x^5\,dx=\frac{x^6}{6}+C.∫x5dx=6x6+C. -
Check by differentiating:
ddx(x66+C)=x5.\frac{d}{dx}\left(\frac{x^6}{6}+C\right)=x^5.dxd(6x6+C)=x5.
The rule also applies to negative and fractional powers, provided the power is not negative one.
Integrating a fractional power
Find ∫x dx\int \sqrt{x}\,dx∫xdx.
-
Rewrite the root as a power: x=x1/2\sqrt{x}=x^{1/2}x=x1/2.
-
Increase the power by one:
12+1=32.\frac{1}{2}+1=\frac{3}{2}.21+1=23. -
Divide by the new power:
∫x1/2 dx=x3/23/2+C=23x3/2+C.\int x^{1/2}\,dx =\frac{x^{3/2}}{3/2}+C =\frac{2}{3}x^{3/2}+C.∫x1/2dx=3/2x3/2+C=32x3/2+C.
Divide by a fraction
Dividing by a fraction means multiplying by its reciprocal. For example, dividing by 32\frac{3}{2}23 is the same as multiplying by 23\frac{2}{3}32.
Sums, differences and constant multiples
Integration is linear. This means you can integrate each term separately, keeping its sign and any constant multiplier:
∫(af(x)+bg(x)) dx=a∫f(x) dx+b∫g(x) dx,\int \left(af(x)+bg(x)\right)\,dx =a\int f(x)\,dx+b\int g(x)\,dx,∫(af(x)+bg(x))dx=a∫f(x)dx+b∫g(x)dx,where aaa and bbb are constants.
Integrating a polynomial
Find
∫(6x4−3x2+8) dx.\int \left(6x^4-3x^2+8\right)\,dx.∫(6x4−3x2+8)dx.-
Integrate each term separately:
∫6x4 dx−∫3x2 dx+∫8 dx.\int 6x^4\,dx-\int 3x^2\,dx+\int 8\,dx.∫6x4dx−∫3x2dx+∫8dx. -
Apply the power rule, remembering that the constant term is 8x08x^08x0:
6(x55)−3(x33)+8x+C.6\left(\frac{x^5}{5}\right) -3\left(\frac{x^3}{3}\right) +8x+C.6(5x5)−3(3x3)+8x+C. -
Simplify:
∫(6x4−3x2+8) dx=65x5−x3+8x+C.\int \left(6x^4-3x^2+8\right)\,dx =\frac{6}{5}x^5-x^3+8x+C.∫(6x4−3x2+8)dx=56x5−x3+8x+C.
Changing a coefficient instead of the power
The integration power rule changes the exponent and divides by the new exponent. Do not simply divide by the original power.
Integrating exponential functions
The function exe^xex is special because it is unchanged by differentiation:
ddx(ex)=ex.\frac{d}{dx}\left(e^x\right)=e^x.dxd(ex)=ex.Therefore,
∫ex dx=ex+C.\int e^x\,dx=e^x+C.∫exdx=ex+C.For ekxe^{kx}ekx, where kkk is a non-zero constant, differentiation produces an extra factor of kkk:
ddx(ekx)=kekx.\frac{d}{dx}\left(e^{kx}\right)=ke^{kx}.dxd(ekx)=kekx.Integration must reverse this multiplication by dividing by kkk.
Integrating an exponential
For a non-zero constant kkk,
∫ekx dx=1kekx+C.\int e^{kx}\,dx=\frac{1}{k}e^{kx}+C.∫ekxdx=k1ekx+C.Integrating an exponential term
Find ∫7e3x dx\int 7e^{3x}\,dx∫7e3xdx.
-
The exponent is 3x3x3x, so integration introduces a factor of 13\frac{1}{3}31.
-
Keep the constant multiplier 7:
∫7e3x dx=7(13e3x)+C=73e3x+C.\int 7e^{3x}\,dx =7\left(\frac{1}{3}e^{3x}\right)+C =\frac{7}{3}e^{3x}+C.∫7e3xdx=7(31e3x)+C=37e3x+C. -
Differentiate to check:
ddx(73e3x)=73⋅3e3x=7e3x.\frac{d}{dx}\left(\frac{7}{3}e^{3x}\right) =\frac{7}{3}\cdot 3e^{3x} =7e^{3x}.dxd(37e3x)=37⋅3e3x=7e3x.
Integrating 1x\frac{1}{x}x1
The power rule cannot integrate 1x\frac{1}{x}x1 because 1x=x−1\frac{1}{x}=x^{-1}x1=x−1 and increasing the power would give zero.
Instead, use the fact that
ddx(ln∣x∣)=1x.\frac{d}{dx}\left(\ln |x|\right)=\frac{1}{x}.dxd(ln∣x∣)=x1.The reciprocal rule
For x≠0x\neq 0x=0,
∫1x dx=ln∣x∣+C.\int \frac{1}{x}\,dx=\ln |x|+C.∫x1dx=ln∣x∣+C.The modulus signs allow the formula to apply when xxx is positive or negative.
Integrating a reciprocal term
Find ∫5x dx\int \frac{5}{x}\,dx∫x5dx.
-
Take the constant multiplier outside the integral:
∫5x dx=5∫1x dx.\int \frac{5}{x}\,dx =5\int \frac{1}{x}\,dx.∫x5dx=5∫x1dx. -
Apply the reciprocal rule:
5∫1x dx=5ln∣x∣+C.5\int \frac{1}{x}\,dx =5\ln |x|+C.5∫x1dx=5ln∣x∣+C.
Do not use the power rule for
The expression x00\frac{x^0}{0}0x0 is undefined. Whenever you see an x−1x^{-1}x−1 term, use the logarithmic result instead.
Integrating sine and cosine
The standard derivatives are
ddx(sinx)=cosxandddx(cosx)=−sinx.\frac{d}{dx}(\sin x)=\cos x \qquad\text{and}\qquad \frac{d}{dx}(\cos x)=-\sin x.dxd(sinx)=cosxanddxd(cosx)=−sinx.Reversing these gives
∫cosx dx=sinx+C\int \cos x\,dx=\sin x+C∫cosxdx=sinx+Cand
∫sinx dx=−cosx+C.\int \sin x\,dx=-\cos x+C.∫sinxdx=−cosx+C.The negative sign in the second result is essential.
When the angle is kxkxkx, differentiation introduces a factor of kkk. As with ekxe^{kx}ekx, integration reverses this by dividing by kkk.
Integrating trigonometric functions
For a non-zero constant kkk,
∫cos(kx) dx=1ksin(kx)+C\int \cos(kx)\,dx=\frac{1}{k}\sin(kx)+C∫cos(kx)dx=k1sin(kx)+Cand
∫sin(kx) dx=−1kcos(kx)+C.\int \sin(kx)\,dx=-\frac{1}{k}\cos(kx)+C.∫sin(kx)dx=−k1cos(kx)+C.Integrating a trigonometric expression
Find
∫(4cos(2x)−3sin(5x)) dx.\int \left(4\cos(2x)-3\sin(5x)\right)\,dx.∫(4cos(2x)−3sin(5x))dx.-
Integrate 4cos(2x)4\cos(2x)4cos(2x) by dividing by the coefficient 2 inside the angle:
∫4cos(2x) dx=4(12sin(2x))=2sin(2x).\int 4\cos(2x)\,dx =4\left(\frac{1}{2}\sin(2x)\right) =2\sin(2x).∫4cos(2x)dx=4(21sin(2x))=2sin(2x). -
Since ∫sin(5x) dx=−15cos(5x)\int\sin(5x)\,dx=-\frac{1}{5}\cos(5x)∫sin(5x)dx=−51cos(5x), account for the existing negative coefficient:
∫−3sin(5x) dx=−3(−15cos(5x))=35cos(5x).\int -3\sin(5x)\,dx =-3\left(-\frac{1}{5}\cos(5x)\right) =\frac{3}{5}\cos(5x).∫−3sin(5x)dx=−3(−51cos(5x))=53cos(5x). -
Combine the results and add one constant:
∫(4cos(2x)−3sin(5x)) dx=2sin(2x)+35cos(5x)+C.\int \left(4\cos(2x)-3\sin(5x)\right)\,dx =2\sin(2x)+\frac{3}{5}\cos(5x)+C.∫(4cos(2x)−3sin(5x))dx=2sin(2x)+53cos(5x)+C.
Losing the sine sign
The integral of sine is negative cosine. In an expression such as −3sin(5x)-3\sin(5x)−3sin(5x), this creates two negative signs, so the integrated term is positive.
Combining standard functions
A single integrand may contain powers, exponentials, reciprocals and trigonometric terms. Split it into separate terms and apply the appropriate standard rule to each one.
Integrating a mixed expression
Find
∫(3x2+2e−x+4x−6cos(3x)) dx.\int \left(3x^2+2e^{-x}+\frac{4}{x}-6\cos(3x)\right)\,dx.∫(3x2+2e−x+x4−6cos(3x))dx.-
Integrate the power and exponential terms:
∫3x2 dx=x3,∫2e−x dx=−2e−x.\int 3x^2\,dx=x^3, \qquad \int 2e^{-x}\,dx=-2e^{-x}.∫3x2dx=x3,∫2e−xdx=−2e−x. -
Integrate the reciprocal and cosine terms:
∫4x dx=4ln∣x∣,∫−6cos(3x) dx=−2sin(3x).\int \frac{4}{x}\,dx=4\ln|x|, \qquad \int -6\cos(3x)\,dx=-2\sin(3x).∫x4dx=4ln∣x∣,∫−6cos(3x)dx=−2sin(3x). -
Combine the results:
x3−2e−x+4ln∣x∣−2sin(3x)+C.x^3-2e^{-x}+4\ln|x|-2\sin(3x)+C.x3−2e−x+4ln∣x∣−2sin(3x)+C.
Check by differentiating
Differentiate your final expression term by term. This quickly detects missing factors, incorrect signs and forgotten powers.
In the exam
- Rewrite roots and reciprocal powers in index form before choosing a rule, but recognise x−1x^{-1}x−1 as the special logarithmic case.
- For ekxe^{kx}ekx, sin(kx)\sin(kx)sin(kx) and cos(kx)\cos(kx)cos(kx), divide by the coefficient kkk inside the exponent or angle.
- Keep coefficients and signs attached to their terms, add one +C+C+C at the end, and differentiate your answer to check it.
Check yourself
- Can you integrate 5x4−2x−3+75x^4-2x^{-3}+75x4−2x−3+7 and simplify the coefficients?
- Why does the power rule not apply to 1x\frac{1}{x}x1?
- Can you integrate 3e2x+4sin(3x)−5cosx3e^{2x}+4\sin(3x)-5\cos x3e2x+4sin(3x)−5cosx without losing any factors or signs?