Skip to main content

Calculus

Integration

Integration is the inverse operation of differentiation. Given the derivative of a function, integration recovers the original function (up to an additive constant). It is a central operation in calculus with wide-ranging applications in geometry, physics, and probability.

Two principal forms exist:

  • Indefinite integration (antidifferentiation): finds the general antiderivative of a function, producing a family of functions differing by a constant.
  • Definite integration: computes a numerical value representing the signed area under a curve between two limits.

These are linked by the Fundamental Theorem of Calculus, which unifies differentiation and integration into a single coherent framework.

Notation

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

where F(x)=f(x)F'(x) = f(x) and CC is the constant of integration. The symbol \int is an elongated SS (for "sum"), f(x)f(x) is the integrand, and dxdx indicates the variable of integration.


1. Antiderivatives

Definition

A function FF is an antiderivative of ff on an interval II if F(x)=f(x)F'(x) = f(x) for all xIx \in I. If FF is an antiderivative of ff, then so is F+CF + C for any constant C{R}C \in \mathbb{'\{'}R{'\}'}.

Basic Rules

Power Rule

For n1n \neq -1:

xndx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C

Constant Multiple Rule

For k{R}k \in \mathbb{'\{'}R{'\}'}:

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

Sum and Difference Rule

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

Reciprocal Rule (Logarithmic)

1xdx=lnx+C\int \frac{1}{x}\,dx = \ln|x| + C

Common Antiderivatives

| f(x)f(x) | f(x)dx\int f(x)\,dx | | -------------------------- | -------------------------------------------- | ------ | ---- | | kk | kx+Ckx + C | | | | xnx^n | xn+1n+1+C(n1)\dfrac{x^{n+1}}{n+1} + C \quad (n \neq -1) | | | | 1x\dfrac{1}{x} | lnx+C\ln | x | + C | | exe^x | ex+Ce^x + C | | | | axa^x | axlna+C\dfrac{a^x}{\ln a} + C | | | | sinx\sin x | cosx+C-\cos x + C | | | | cosx\cos x | sinx+C\sin x + C | | | | sec2x\sec^2 x | tanx+C\tan x + C | | | | csc2x\csc^2 x | cotx+C-\cot x + C | | | | secxtanx\sec x \tan x | secx+C\sec x + C | | | | cscxcotx\csc x \cot x | cscx+C-\csc x + C | | | | tanx\tan x | lnsecx+C\ln | \sec x | + C | | cotx\cot x | lnsinx+C\ln | \sin x | + C | | 11x2\frac{1}{\sqrt{1 - x^2}} | arcsinx+C\arcsin x + C | | | | 11+x2\frac{1}{1 + x^2} | arctanx+C\arctan x + C | | |

Examples
Details

Expand Find (3x45x2+7)dx\int (3x^4 - 5x^2 + 7)\,dx

\begin`\{aligned}` \int (3x^4 - 5x^2 + 7)\,dx &= 3 \cdot \frac{x^5}{5} - 5 \cdot \frac{x^3}{3} + 7x + C \\[6pt] &= \frac{3x^5}{5} - \frac{5x^3}{3} + 7x + C \end`\{aligned}`

Find (2x+3ex1cos2x)dx\int \left(\frac{2}{x} + 3e^x - \frac{1}{\cos^2 x}\right)\,dx

\begin`\{aligned}` \int \left(\frac{2}{x} + 3e^x - \sec^2 x\right)\,dx &= 2\ln|x| + 3e^x - \tan x + C \end`\{aligned}`

2. Definite Integration

Definite Integral as a Limit of a Riemann Sum

For a function ff continuous on [a,b][a, b], the definite integral is defined as:

abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i^*) \Delta x

where Δx=ban\Delta x = \dfrac{b - a}{n} and xix_i^* is a sample point in the ii-th subinterval.

Fundamental Theorem of Calculus -- Part 1

If ff is continuous on [a,b][a, b] and FF is defined by:

F(x)=axf(t)dtF(x) = \int_a^x f(t)\,dt

then FF is differentiable on (a,b)(a, b) and:

F(x)=f(x)F'(x) = f(x)

This establishes that differentiation and integration are inverse operations.

Fundamental Theorem of Calculus -- Part 2 (Evaluation Theorem)

If ff is continuous on [a,b][a, b] and FF is any antiderivative of ff, then:

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

This is typically written using bracket notation:

abf(x)dx=[F(x)]ab=F(b)F(a)\int_a^b f(x)\,dx = \Big[F(x)\Big]_a^b = F(b) - F(a)

Area Under a Curve

If f(x)0f(x) \geq 0 on [a,b][a, b], then abf(x)dx\int_a^b f(x)\,dx gives the area between the curve y=f(x)y = f(x), the xx-axis, and the vertical lines x=ax = a and x=bx = b.

If f(x)f(x) changes sign on [a,b][a, b], the integral gives the net (signed) area. The total area is computed by splitting at the zeros of ff and taking absolute values:

Totalarea=abf(x)dx\mathrm{Total area} = \int_a^b |f(x)|\,dx

Integration as Area Under a Curve

Adjust the sliders to change the function and limits, and observe how the shaded area approximates the definite integral.

Examples
Details

Expand Evaluate 13(x2+1)dx\int_1^3 (x^2 + 1)\,dx

\begin`\{aligned}` \int_1^3 (x^2 + 1)\,dx &= \left[\frac{x^3}{3} + x\right]_1^3 \\[6pt] &= \left(\frac{27}{3} + 3\right) - \left(\frac{1}{3} + 1\right) \\[6pt] &= 12 - \frac{4}{3} = \frac{32}{3} \end`\{aligned}`

Find the area enclosed by y=x24y = x^2 - 4 and the xx-axis.

The curve crosses the xx-axis at x=2x = -2 and x=2x = 2.

\begin`\{aligned}` \mathrm{Area} &= \int_{-2}^2 |x^2 - 4|\,dx = \int_{-2}^2 (4 - x^2)\,dx \\[6pt] &= \left[4x - \frac{x^3}{3}\right]_{-2}^2 \\[6pt] &= \left(8 - \frac{8}{3}\right) - \left(-8 + \frac{8}{3}\right) = \frac{32}{3} \end`\{aligned}`

3. Integration Techniques

3.1 Substitution (uu-Substitution)

Substitution is the reverse of the chain rule. Given an integral containing a composite function, choose a substitution u=g(x)u = g(x) such that du=g(x)dxdu = g'(x)\,dx transforms the integral into a simpler form.

General procedure:

  1. Identify an inner function and set u=g(x)u = g(x).
  2. Compute du=g(x)dxdu = g'(x)\,dx and solve for dxdx.
  3. Rewrite the entire integral in terms of uu.
  4. Evaluate the integral with respect to uu.
  5. Substitute back xx (for indefinite integrals) or change the limits (for definite integrals).

Changing limits for definite integrals:

abf(g(x))g(x)dx=g(a)g(b)f(u)du\int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du
Examples
Details

Expand Find 2xx2+1dx\int 2x\sqrt{x^2 + 1}\,dx

Let u=x2+1u = x^2 + 1, then du=2xdxdu = 2x\,dx.

2xx2+1dx=udu=23u3/2+C=23(x2+1)3/2+C\int 2x\sqrt{x^2 + 1}\,dx = \int \sqrt{u}\,du = \frac{2}{3}u^{3/2} + C = \frac{2}{3}(x^2 + 1)^{3/2} + C

Evaluate 02xx2+1dx\int_0^2 \frac{x}{x^2 + 1}\,dx

Let u=x2+1u = x^2 + 1, du=2xdxdu = 2x\,dx. When x=0x = 0, u=1u = 1; when x=2x = 2, u=5u = 5.

02xx2+1dx=12151udu=12[lnu]15=12ln5\int_0^2 \frac{x}{x^2 + 1}\,dx = \frac{1}{2}\int_1^5 \frac{1}{u}\,du = \frac{1}{2}\Big[\ln|u|\Big]_1^5 = \frac{1}{2}\ln 5

3.2 Integration by Parts

Integration by parts is the reverse of the product rule. The formula is:

udv=uvvdu\int u\,dv = uv - \int v\,du

Choosing uu and dvdv: Use the LIATE priority rule (Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential) to select uu as the function that appears first in the list.

Integration by parts may need to be applied repeatedly. For integrals of the form eaxsin(bx)dx\int e^{ax}\sin(bx)\,dx or eaxcos(bx)dx\int e^{ax}\cos(bx)\,dx, apply integration by parts twice and solve the resulting equation algebraically.

Tabular (DI) method: For integrals of the form f(x)g(x)dx\int f(x) g(x)\,dx where one factor differentiates to zero after finitely many steps, the tabular method provides an efficient alternative to repeated application of the formula.

Examples
Details

Expand Find xexdx\int x e^x\,dx

Let u=xu = x, dv=exdxdv = e^x\,dx. Then du=dxdu = dx and v=exv = e^x.

xexdx=xexexdx=xexex+C=(x1)ex+C\int x e^x\,dx = xe^x - \int e^x\,dx = xe^x - e^x + C = (x - 1)e^x + C

Find x2sinxdx\int x^2 \sin x\,dx

Apply integration by parts twice.

First: u=x2u = x^2, dv=sinxdxdv = \sin x\,dx, so du=2xdxdu = 2x\,dx, v=cosxv = -\cos x.

x2sinxdx=x2cosx+2xcosxdx\int x^2 \sin x\,dx = -x^2 \cos x + 2\int x \cos x\,dx

Second: u=xu = x, dv=cosxdxdv = \cos x\,dx, so du=dxdu = dx, v=sinxv = \sin x.

\begin`\{aligned}` \int x^2 \sin x\,dx &= -x^2 \cos x + 2\left(x\sin x - \int \sin x\,dx\right) \\[6pt] &= -x^2 \cos x + 2x\sin x + 2\cos x + C \end`\{aligned}`

3.3 Partial Fractions

When the integrand is a rational function P(x)Q(x)\dfrac{P(x)}{Q(x)} where degP<degQ\deg P < \deg Q and QQ factors into linear or irreducible quadratic factors, partial fraction decomposition converts the integrand into a sum of simpler fractions.

Decomposition rules:

Factor in Q(x)Q(x)Term in decomposition
(ax+b)(ax + b)Aax+b\dfrac{A}{ax + b}
(ax+b)k(ax + b)^kA1ax+b+A2(ax+b)2++Ak(ax+b)k\dfrac{A_1}{ax + b} + \dfrac{A_2}{(ax+b)^2} + \cdots + \dfrac{A_k}{(ax+b)^k}
ax2+bx+cax^2 + bx + c (irreducible)Ax+Bax2+bx+c\dfrac{Ax + B}{ax^2 + bx + c}
Examples
Details

Expand Find 5x+1(x+1)(x2)dx\int \frac{5x + 1}{(x+1)(x-2)}\,dx

Decompose: 5x+1(x+1)(x2)=Ax+1+Bx2\dfrac{5x + 1}{(x+1)(x-2)} = \dfrac{A}{x+1} + \dfrac{B}{x-2}

5x+1=A(x2)+B(x+1)5x + 1 = A(x - 2) + B(x + 1)

Setting x=1x = -1: 5+1=A(3)    A=43-5 + 1 = A(-3) \implies A = \frac{4}{3}

Setting x=2x = 2: 10+1=B(3)    B=11310 + 1 = B(3) \implies B = \frac{11}{3}

5x+1(x+1)(x2)dx=43lnx+1+113lnx2+C\int \frac{5x + 1}{(x+1)(x-2)}\,dx = \frac{4}{3}\ln|x+1| + \frac{11}{3}\ln|x-2| + C

3.4 Trigonometric Integrals

Several standard techniques apply to integrals involving trigonometric functions.

Pythagorean identities for conversion:

sin2x=1cos2x2,cos2x=1+cos2x2\sin^2 x = \frac{1 - \cos 2x}{2}, \qquad \cos^2 x = \frac{1 + \cos 2x}{2}

These are used to reduce the power of trigonometric functions in integrands.

Products to sums:

sinAcosB=12[sin(A+B)+sin(AB)]\sin A \cos B = \frac{1}{2}[\sin(A+B) + \sin(A-B)] cosAcosB=12[cos(AB)+cos(A+B)]\cos A \cos B = \frac{1}{2}[\cos(A-B) + \cos(A+B)] sinAsinB=12[cos(AB)cos(A+B)]\sin A \sin B = \frac{1}{2}[\cos(A-B) - \cos(A+B)]

Using substitution with trigonometric derivatives: Recall that ddx(sinx)=cosx\dfrac{d}{dx}(\sin x) = \cos x and ddx(cosx)=sinx\dfrac{d}{dx}(\cos x) = -\sin x. Many trigonometric integrals yield to uu-substitution when the derivative of one trigonometric factor is present.

Integrals of the form tannxdx\int \tan^n x\,dx: Rewrite in terms of sec2x\sec^2 x and use ddx(tanx)=sec2x\dfrac{d}{dx}(\tan x) = \sec^2 x.

Examples
Details

Expand Find sin2xdx\int \sin^2 x\,dx

sin2xdx=1cos2x2dx=x2sin2x4+C\int \sin^2 x\,dx = \int \frac{1 - \cos 2x}{2}\,dx = \frac{x}{2} - \frac{\sin 2x}{4} + C

Find sin3xdx\int \sin^3 x\,dx

\begin`\{aligned}` \int \sin^3 x\,dx &= \int \sin x (1 - \cos^2 x)\,dx \\[6pt] &= \int \sin x\,dx - \int \sin x \cos^2 x\,dx \\[6pt] &= -\cos x + \frac{\cos^3 x}{3} + C \end`\{aligned}`

(using u=cosxu = \cos x, du=sinxdxdu = -\sin x\,dx for the second integral)


4. Applications of Integration

4.1 Area Between Two Curves

Given two continuous functions ff and gg with f(x)g(x)f(x) \geq g(x) on [a,b][a, b], the area between the curves is:

A=ab[f(x)g(x)]dxA = \int_a^b [f(x) - g(x)]\,dx

If the curves intersect, find the points of intersection and split the integral accordingly so that the integrand f(x)g(x)|f(x) - g(x)| is always non-negative.

Horizontal strips: When integrating with respect to yy, the formula becomes:

A=cd[f(y)g(y)]dyA = \int_c^d [f(y) - g(y)]\,dy

where the curves are expressed as x=f(y)x = f(y) and x=g(y)x = g(y).

Examples
Details

Expand Find the area between y=x2y = x^2 and y=2xy = 2x.

Intersection: x2=2x    x=0x^2 = 2x \implies x = 0 or x=2x = 2. On [0,2][0, 2], 2xx22x \geq x^2.

A=02(2xx2)dx=[x2x33]02=483=43A = \int_0^2 (2x - x^2)\,dx = \left[x^2 - \frac{x^3}{3}\right]_0^2 = 4 - \frac{8}{3} = \frac{4}{3}

4.2 Volumes of Revolution

When a region bounded by y=f(x)y = f(x), the xx-axis, and the lines x=ax = a, x=bx = b is revolved about the xx-axis, the volume of the solid of revolution is:

V=πab[f(x)]2dxV = \pi \int_a^b [f(x)]^2\,dx

Revolution about the yy-axis:

V=πcd[g(y)]2dyV = \pi \int_c^d [g(y)]^2\,dy

where x=g(y)x = g(y).

Revolution about a horizontal line y=ky = k:

V=πab[f(x)k]2dxV = \pi \int_a^b [f(x) - k]^2\,dx

Washer method (volume between two surfaces):

V=πab([f(x)]2[g(x)]2)dxV = \pi \int_a^b \left([f(x)]^2 - [g(x)]^2\right)\,dx

where f(x)g(x)0f(x) \geq g(x) \geq 0 on [a,b][a, b].

Examples
Details

Expand Find the volume generated by revolving y=xy = \sqrt{x} about the xx-axis from x=0x = 0 to x=4x = 4.

\begin`\{aligned}` V &= \pi \int_0^4 (\sqrt{x})^2\,dx = \pi \int_0^4 x\,dx \\[6pt] &= \pi \left[\frac{x^2}{2}\right]_0^4 = 8\pi \end`\{aligned}`

4.3 Kinematics

Integration connects the kinematic quantities:

v(t)=a(t)dt+v0v(t) = \int a(t)\,dt + v_0 s(t)=v(t)dt+s0s(t) = \int v(t)\,dt + s_0

where a(t)a(t) is acceleration, v(t)v(t) is velocity, s(t)s(t) is displacement, and v0v_0, s0s_0 are initial conditions.

Key relationships:

  • The displacement over a time interval [t1,t2][t_1, t_2] is t1t2v(t)dt\displaystyle\int_{t_1}^{t_2} v(t)\,dt.
  • The total distance travelled is t1t2v(t)dt\displaystyle\int_{t_1}^{t_2} |v(t)|\,dt.
  • The velocity is the derivative of displacement: v=dsdtv = \dfrac{ds}{dt}.
  • The acceleration is the derivative of velocity: a=dvdta = \dfrac{dv}{dt}.
Examples
Details

Expand A particle moves with velocity v(t)=6t24tv(t) = 6t^2 - 4t m/s for t0t \geq 0. Find the displacement and total distance in the first 3 seconds.

Displacement:

03(6t24t)dt=[2t32t2]03=5418=36m\int_0^3 (6t^2 - 4t)\,dt = \left[2t^3 - 2t^2\right]_0^3 = 54 - 18 = 36 \mathrm{ m}

Total distance: find when v(t)=0v(t) = 0: 6t24t=0    t=06t^2 - 4t = 0 \implies t = 0 or t=23t = \frac{2}{3}.

\begin`\{aligned}` \mathrm{Distance} &= \int_0^{2/3} |6t^2 - 4t|\,dt + \int_{2/3}^3 |6t^2 - 4t|\,dt \\[6pt] &= \int_0^{2/3} (4t - 6t^2)\,dt + \int_{2/3}^3 (6t^2 - 4t)\,dt \\[6pt] &= \left[2t^2 - 2t^3\right]_0^{2/3} + \left[2t^3 - 2t^2\right]_{2/3}^3 \\[6pt] &= \frac{8}{27} + \left(36 - \left(-\frac{8}{27}\right)\right) = \frac{8}{27} + 36 + \frac{8}{27} = \frac{988}{27} \approx 36.6 \mathrm{ m} \end`\{aligned}`

5. Properties of Definite Integrals

These properties follow from the definition of the definite integral and are essential for simplifying computations.

Linearity

ab[kf(x)+lg(x)]dx=kabf(x)dx+labg(x)dx\int_a^b [k f(x) + l g(x)]\,dx = k\int_a^b f(x)\,dx + l\int_a^b g(x)\,dx

for constants k,l{R}k, l \in \mathbb{'\{'}R{'\}'}.

Reversal of Limits

abf(x)dx=baf(x)dx\int_a^b f(x)\,dx = -\int_b^a f(x)\,dx

Interval of Zero Length

aaf(x)dx=0\int_a^a f(x)\,dx = 0

Additivity Over Intervals

abf(x)dx=acf(x)dx+cbf(x)dx\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx

for any c[a,b]c \in [a, b].

Comparison Properties

If f(x)0f(x) \geq 0 for all x[a,b]x \in [a, b], then abf(x)dx0\displaystyle\int_a^b f(x)\,dx \geq 0.

If f(x)g(x)f(x) \geq g(x) for all x[a,b]x \in [a, b], then abf(x)dxabg(x)dx\displaystyle\int_a^b f(x)\,dx \geq \int_a^b g(x)\,dx.

Bounds on the Integral

If mf(x)Mm \leq f(x) \leq M for all x[a,b]x \in [a, b], then:

m(ba)abf(x)dxM(ba)m(b - a) \leq \int_a^b f(x)\,dx \leq M(b - a)
Examples
Details

Expand Given 13f(x)dx=5\int_1^3 f(x)\,dx = 5 and 13g(x)dx=2\int_1^3 g(x)\,dx = -2, find 31[3f(x)2g(x)]dx\int_3^1 [3f(x) - 2g(x)]\,dx.

\begin`\{aligned}` \int_3^1 [3f(x) - 2g(x)]\,dx &= -\int_1^3 [3f(x) - 2g(x)]\,dx \\[6pt] &= -\left(3 \cdot 5 - 2 \cdot (-2)\right) = -(15 + 4) = -19 \end`\{aligned}`

6. Improper Integrals (HL)

Improper integrals extend the concept of definite integration to cases where the interval of integration is unbounded or the integrand has a vertical asymptote within (or at an endpoint of) the interval of integration.

Type 1: Infinite Limits of Integration

af(x)dx=limtatf(x)dx\int_a^{\infty} f(x)\,dx = \lim_{t \to \infty} \int_a^t f(x)\,dx bf(x)dx=limttbf(x)dx\int_{-\infty}^b f(x)\,dx = \lim_{t \to -\infty} \int_t^b f(x)\,dx f(x)dx=cf(x)dx+cf(x)dx\int_{-\infty}^{\infty} f(x)\,dx = \int_{-\infty}^c f(x)\,dx + \int_c^{\infty} f(x)\,dx

Both limits must converge independently for the integral to converge.

Type 2: Integrands with Vertical Asymptotes

If ff has a vertical asymptote at x=ax = a:

abf(x)dx=limta+tbf(x)dx\int_a^b f(x)\,dx = \lim_{t \to a^+} \int_t^b f(x)\,dx

If ff has a vertical asymptote at x=bx = b:

abf(x)dx=limtbatf(x)dx\int_a^b f(x)\,dx = \lim_{t \to b^-} \int_a^t f(x)\,dx

If ff has a vertical asymptote at an interior point x=c(a,b)x = c \in (a, b):

abf(x)dx=limtcatf(x)dx+limtc+tbf(x)dx\int_a^b f(x)\,dx = \lim_{t \to c^-} \int_a^t f(x)\,dx + \lim_{t \to c^+} \int_t^b f(x)\,dx

Convergence and Divergence

An improper integral converges if the corresponding limit exists and is finite. It diverges otherwise.

pp-test for convergence: The integral 11xpdx\displaystyle\int_1^{\infty} \frac{1}{x^p}\,dx converges if and only if p>1p > 1, in which case:

11xpdx=1p1\int_1^{\infty} \frac{1}{x^p}\,dx = \frac{1}{p - 1}

Similarly, 011xpdx\displaystyle\int_0^1 \frac{1}{x^p}\,dx converges if and only if p<1p < 1.

Comparison test: If 0f(x)g(x)0 \leq f(x) \leq g(x) for all xax \geq a, and ag(x)dx\int_a^{\infty} g(x)\,dx converges, then af(x)dx\int_a^{\infty} f(x)\,dx also converges. Conversely, if af(x)dx\int_a^{\infty} f(x)\,dx diverges, then ag(x)dx\int_a^{\infty} g(x)\,dx also diverges.

Examples
Details

Expand Determine whether 11x2dx\displaystyle\int_1^{\infty} \frac{1}{x^2}\,dx converges.

\begin`\{aligned}` \int_1^{\infty} \frac{1}{x^2}\,dx &= \lim_{t \to \infty} \int_1^t x^{-2}\,dx = \lim_{t \to \infty} \left[-\frac{1}{x}\right]_1^t \\[6pt] &= \lim_{t \to \infty} \left(-\frac{1}{t} + 1\right) = 1 \end`\{aligned}`

The integral converges to 11. (Consistent with the pp-test: p=2>1p = 2 > 1.)

Determine whether 011xdx\displaystyle\int_0^1 \frac{1}{\sqrt{x}}\,dx converges.

\begin`\{aligned}` \int_0^1 \frac{1}{\sqrt{x}}\,dx &= \lim_{t \to 0^+} \int_t^1 x^{-1/2}\,dx = \lim_{t \to 0^+} \Big[2\sqrt{x}\Big]_t^1 \\[6pt] &= \lim_{t \to 0^+} (2 - 2\sqrt{t}) = 2 \end`\{aligned}`

The integral converges to 22. (Consistent with the pp-test: p=12<1p = \frac{1}{2} < 1.)


7. Practice Problems

Problem 1
Details

Find x3+2xx2+1dx\int \frac{x^3 + 2x}{\sqrt{x^2 + 1}}\,dx Let u=x2+1u = x^2 + 1, du=2xdxdu = 2x\,dx. Note that x3+2x=x(x2+1)+x=xu+u12+12x^3 + 2x = x(x^2 + 1) + x = xu + \frac{u - 1}{2} + \frac{1}{2}.

Alternatively, split: x3+2xx2+1=x(x2+1)x2+1+xx2+1=xx2+1+xx2+1\dfrac{x^3 + 2x}{\sqrt{x^2 + 1}} = \dfrac{x(x^2 + 1)}{\sqrt{x^2 + 1}} + \dfrac{x}{\sqrt{x^2 + 1}} = x\sqrt{x^2 + 1} + \dfrac{x}{\sqrt{x^2 + 1}}.

\begin`\{aligned}` \int x\sqrt{x^2 + 1}\,dx &= \frac{1}{3}(x^2 + 1)^{3/2} + C_1 \\[6pt] \int \frac{x}{\sqrt{x^2 + 1}}\,dx &= \sqrt{x^2 + 1} + C_2 \end`\{aligned}`x3+2xx2+1dx=13(x2+1)3/2+x2+1+C\int \frac{x^3 + 2x}{\sqrt{x^2 + 1}}\,dx = \frac{1}{3}(x^2 + 1)^{3/2} + \sqrt{x^2 + 1} + C
Problem 2
Details

Evaluate 0π/2xsinxdx\int_0^{\pi/2} x\sin x\,dx Integration by parts: u=xu = x, dv=sinxdxdv = \sin x\,dx, so du=dxdu = dx, v=cosxv = -\cos x.

\begin`\{aligned}` \int_0^{\pi/2} x\sin x\,dx &= \Big[-x\cos x\Big]_0^{\pi/2} + \int_0^{\pi/2} \cos x\,dx \\[6pt] &= (0 - 0) + \Big[\sin x\Big]_0^{\pi/2} = 1 \end`\{aligned}`
Problem 3
Details

Find the area enclosed by y=x3y = x^3 and y=xy = x. Intersection points: x3=x    x(x21)=0    x=1,0,1x^3 = x \implies x(x^2 - 1) = 0 \implies x = -1, 0, 1.

On [1,0][-1, 0]: x3xx^3 \geq x. On [0,1][0, 1]: xx3x \geq x^3.

\begin`\{aligned}` A &= \int_{-1}^0 (x^3 - x)\,dx + \int_0^1 (x - x^3)\,dx \\[6pt] &= \left[\frac{x^4}{4} - \frac{x^2}{2}\right]_{-1}^0 + \left[\frac{x^2}{2} - \frac{x^4}{4}\right]_0^1 \\[6pt] &= \left(0 - \frac{1}{4} + \frac{1}{2}\right) + \left(\frac{1}{2} - \frac{1}{4}\right) = \frac{1}{4} + \frac{1}{4} = \frac{1}{2} \end`\{aligned}`
Problem 4
Details

Find the volume of revolution when the region bounded by y=lnxy = \ln x, x=ex = e, and the xx-axis is rotated about the xx-axis. The curve y=lnxy = \ln x meets the xx-axis at x=1x = 1.

\begin`\{aligned}` V &= \pi \int_1^e (\ln x)^2\,dx \end`\{aligned}`

Integration by parts with u=(lnx)2u = (\ln x)^2, dv=dxdv = dx: du=2lnxxdxdu = \dfrac{2\ln x}{x}\,dx, v=xv = x.

\begin`\{aligned}` \int (\ln x)^2\,dx &= x(\ln x)^2 - 2\int \ln x\,dx \end`\{aligned}`

Apply parts again for lnxdx\int \ln x\,dx: u=lnxu = \ln x, dv=dxdv = dx, so lnxdx=xlnxx\int \ln x\,dx = x\ln x - x.

\begin`\{aligned}` \int (\ln x)^2\,dx &= x(\ln x)^2 - 2(x\ln x - x) + C \\[6pt] &= x(\ln x)^2 - 2x\ln x + 2x + C \end`\{aligned}`

Evaluating from 11 to ee:

\begin`\{aligned}` \Big[x(\ln x)^2 - 2x\ln x + 2x\Big]_1^e &= (e - 2e + 2e) - (0 - 0 + 2) = e - 2 \end`\{aligned}`V=π(e2)V = \pi(e - 2)
Problem 5 (HL)
Use partial fractions to find 3x+7(x+2)(x1)dx\int \frac{3x + 7}{(x + 2)(x - 1)}\,dx.
3x+7(x+2)(x1)=Ax+2+Bx1\frac{3x + 7}{(x+2)(x-1)} = \frac{A}{x+2} + \frac{B}{x-1}3x+7=A(x1)+B(x+2)3x + 7 = A(x - 1) + B(x + 2)

x=1x = 1: 10=3B    B=10310 = 3B \implies B = \dfrac{10}{3}

x=2x = -2: 1=3A    A=131 = -3A \implies A = -\dfrac{1}{3}

3x+7(x+2)(x1)dx=13lnx+2+103lnx1+C\int \frac{3x + 7}{(x+2)(x-1)}\,dx = -\frac{1}{3}\ln|x+2| + \frac{10}{3}\ln|x-1| + C
Problem 6
A particle moves with acceleration a(t)=6t2a(t) = 6t - 2 m/s2^2. Initially, v(0)=4v(0) = 4 m/s and s(0)=0s(0) = 0 m. Find s(t)s(t) and the displacement after 3 seconds.
v(t)=(6t2)dt+4=3t22t+4v(t) = \int (6t - 2)\,dt + 4 = 3t^2 - 2t + 4s(t)=(3t22t+4)dt+0=t3t2+4ts(t) = \int (3t^2 - 2t + 4)\,dt + 0 = t^3 - t^2 + 4t

Displacement at t=3t = 3:

s(3)=279+12=30ms(3) = 27 - 9 + 12 = 30 \mathrm{ m}
Problem 7 (HL)
Details

Determine whether 21x(lnx)2dx\displaystyle\int_2^{\infty} \frac{1}{x(\ln x)^2}\,dx converges, and evaluate if it does. Let u=lnxu = \ln x, du=1xdxdu = \dfrac{1}{x}\,dx. When x=2x = 2, u=ln2u = \ln 2; when xx \to \infty, uu \to \infty.

\begin`\{aligned}` \int_2^{\infty} \frac{1}{x(\ln x)^2}\,dx &= \int_{\ln 2}^{\infty} \frac{1}{u^2}\,du = \lim_{t \to \infty} \int_{\ln 2}^t u^{-2}\,du \\[6pt] &= \lim_{t \to \infty} \left[-\frac{1}{u}\right]_{\ln 2}^t = \lim_{t \to \infty} \left(-\frac{1}{t} + \frac{1}{\ln 2}\right) = \frac{1}{\ln 2} \end`\{aligned}`

The integral converges to 1ln2\dfrac{1}{\ln 2}.

Problem 8 (HL)
Details

Evaluate x2x21dx\int \frac{x^2}{x^2 - 1}\,dx using polynomial long division and partial fractions. Since deg(numerator)=deg(denominator)\deg(\mathrm{numerator}) = \deg(\mathrm{denominator}), perform long division first:

x2x21=1+1x21=1+1(x1)(x+1)\frac{x^2}{x^2 - 1} = 1 + \frac{1}{x^2 - 1} = 1 + \frac{1}{(x-1)(x+1)}

Partial fractions: 1(x1)(x+1)=Ax1+Bx+1\dfrac{1}{(x-1)(x+1)} = \dfrac{A}{x-1} + \dfrac{B}{x+1}

1=A(x+1)+B(x1)1 = A(x+1) + B(x-1)

x=1x = 1: A=12A = \dfrac{1}{2}, x=1x = -1: B=12B = -\dfrac{1}{2}

\begin`\{aligned}` \int \frac{x^2}{x^2 - 1}\,dx &= \int \left(1 + \frac{1}{2(x-1)} - \frac{1}{2(x+1)}\right)\,dx \\[6pt] &= x + \frac{1}{2}\ln|x-1| - \frac{1}{2}\ln|x+1| + C \end`\{aligned}`
Problem 9
Details

Evaluate 01ex1+exdx\int_0^1 \frac{e^x}{1 + e^x}\,dx. Let u=1+exu = 1 + e^x, du=exdxdu = e^x\,dx. When x=0x = 0, u=2u = 2; when x=1x = 1, u=1+eu = 1 + e.

01ex1+exdx=21+e1udu=[lnu]21+e=ln(1+e)ln2\int_0^1 \frac{e^x}{1 + e^x}\,dx = \int_2^{1+e} \frac{1}{u}\,du = \Big[\ln u\Big]_2^{1+e} = \ln(1 + e) - \ln 2
Problem 10 (HL)
Details

Find excosxdx\int e^x \cos x\,dx using integration by parts twice. Let I=excosxdxI = \displaystyle\int e^x \cos x\,dx.

First application: u=exu = e^x, dv=cosxdxdv = \cos x\,dx, so du=exdxdu = e^x\,dx, v=sinxv = \sin x.

I=exsinxexsinxdxI = e^x \sin x - \int e^x \sin x\,dx

Second application on exsinxdx\int e^x \sin x\,dx: u=exu = e^x, dv=sinxdxdv = \sin x\,dx, so du=exdxdu = e^x\,dx, v=cosxv = -\cos x.

exsinxdx=excosx+excosxdx=excosx+I\int e^x \sin x\,dx = -e^x \cos x + \int e^x \cos x\,dx = -e^x \cos x + I

Substituting back:

I=exsinx(excosx+I)=exsinx+excosxII = e^x \sin x - (-e^x \cos x + I) = e^x \sin x + e^x \cos x - I2I=ex(sinx+cosx)    I=ex(sinx+cosx)2+C2I = e^x (\sin x + \cos x) \implies I = \frac{e^x (\sin x + \cos x)}{2} + C

Cross-References

  • Differentiation -- Integration is the inverse operation of differentiation. See the Number and Algebra notes for function fundamentals including derivative rules that motivate integration techniques.
  • Functions -- Domain and range considerations determine when antiderivatives are valid. See Number and Algebra for function fundamentals.
  • Complex Numbers -- The exponential form eiθ=cosθ+isinθe^{i\theta} = \cos\theta + i\sin\theta provides an elegant derivation of trigonometric integral results. See Complex Numbers.
  • Logic -- Proof techniques (direct proof, contradiction) are used to justify properties of integrals. See Logic.