6 Integration And Antiderivatives

Basic Mathematics · Unit 6

Integration and Antiderivatives

Exam-focused notes for Integration and Antiderivatives (Basic Mathematics, MTH104): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.

Integration and Antiderivatives in short

Integration reverses differentiation and also adds up small pieces to find totals such as area. Most exam questions ask you to choose the right method and carry out the working neatly.

Integration and Antiderivatives: notes

Indefinite integral definition

A function $F$ is an antiderivative of $f$ if $F'(x) = f(x)$. The indefinite integral is the family of all antiderivatives:

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

where $C$ is the constant of integration. Differentiating the answer must give back the integrand, which is a good way to check.

Basic integration rules

  • $\displaystyle\int x^n,dx = \dfrac{x^{n+1}}{n+1} + C$ for $n \ne -1$.
  • $\displaystyle\int \dfrac{1}{x},dx = \ln|x| + C$.
  • $\displaystyle\int e^x,dx = e^x + C$, and $\displaystyle\int \sin x,dx = -\cos x + C$, and $\displaystyle\int \cos x,dx = \sin x + C$.
  • $\displaystyle\int \dfrac{dx}{1 + x^2} = \tan^{-1} x + C$, and $\displaystyle\int \dfrac{dx}{\sqrt{1-x^2}} = \sin^{-1} x + C$.
  • $\displaystyle\int cf,dx = c\int f,dx$, and the integral of a sum is the sum of integrals.

Integration by substitution

Substitution undoes the chain rule. Let $u = g(x)$, so $du = g'(x),dx$, and rewrite the integral in terms of $u$.

Example. Evaluate $\displaystyle\int 2x(x^2 + 1)^3,dx$.

$$\begin{aligned} u &= x^2 + 1, \quad du = 2x,dx \ \int u^3,du &= \frac{u^4}{4} + C \ &= \frac{(x^2+1)^4}{4} + C \end{aligned}$$

For a definite integral, change the limits as well. Take $\displaystyle\int_{-1}^{1} 3x^2\sqrt{x^3 + 1},dx$ with $u = x^3 + 1$. The limits become $0$ and $2$.

$$\begin{aligned} \int_0^2 \sqrt{u},du &= \frac{2}{3}u^{3/2}\Big|_0^2 \ &= \frac{2}{3}\cdot 2\sqrt{2} = \frac{4\sqrt{2}}{3} \end{aligned}$$

Trig substitution. To evaluate $\displaystyle\int \sqrt{4 - x^2},dx$, put $x = 2\sin\theta$, $dx = 2\cos\theta,d\theta$.

$$\begin{aligned} \int 2\cos\theta \cdot 2\cos\theta,d\theta &= 4\int \cos^2\theta,d\theta \ &= 2\theta + \sin 2\theta + C \ &= 2\sin^{-1}\frac{x}{2} + \frac{x}{2}\sqrt{4 - x^2} + C \end{aligned}$$

What this unit covers

  • Indefinite integral definition
  • Basic integration rules
  • Integration by substitution
  • Integration by parts
  • Partial fraction decomposition
  • Trigonometric integrals
  • Definite integral definition
  • Fundamental theorem of calculus
  • Improper integrals

Trigonometric integrals

2081 · 5 marks

Evaluate: $$\int \sqrt{4 - x^2} , dx$$ [5]

Show solved answer

Given data

  • Integral to evaluate: $\displaystyle \int \sqrt{4 - x^2}, dx$
  • Form: $\sqrt{a^2 - x^2}$ with $a^2 = 4 \Rightarrow a = 2$

Solution

Step 1: Substitution

Let $x = 2\sin\theta \Rightarrow dx = 2\cos\theta, d\theta$.

Then: $$\sqrt{4 - x^2} = \sqrt{4 - 4\sin^2\theta} = \sqrt{4\cos^2\theta} = 2\cos\theta$$

Step 2: Substitute

$$\int \sqrt{4 - x^2}, dx = \int (2\cos\theta)(2\cos\theta), d\theta = \int 4\cos^2\theta, d\theta$$

Step 3: Power-reduction identity $\cos^2\theta = \dfrac{1+\cos 2\theta}{2}$

$$= 4\int \frac{1+\cos 2\theta}{2}, d\theta = 2\int (1 + \cos 2\theta), d\theta$$

$$= 2\left(\theta + \frac{\sin 2\theta}{2}\right) + C = 2\theta + \sin 2\theta + C$$

Step 4: Expand $\sin 2\theta = 2\sin\theta\cos\theta$

$$= 2\theta + 2\sin\theta\cos\theta + C$$

Step 5: Back-substitute

From $x = 2\sin\theta$:

  • $\sin\theta = \dfrac{x}{2}$, so $\theta = \sin^{-1}\dfrac{x}{2}$
  • $\cos\theta = \sqrt{1 - \dfrac{x^2}{4}} = \dfrac{\sqrt{4 - x^2}}{2}$

Therefore: $$2\theta = 2\sin^{-1}\frac{x}{2}$$ $$2\sin\theta\cos\theta = 2 \cdot \frac{x}{2} \cdot \frac{\sqrt{4 - x^2}}{2} = \frac{x\sqrt{4 - x^2}}{2}$$

Final Answer

$$\boxed{\int \sqrt{4 - x^2}, dx = \frac{x\sqrt{4 - x^2}}{2} + 2\sin^{-1}\left(\frac{x}{2}\right) + C}$$

Verification (by differentiation)

Let $F(x) = \dfrac{x\sqrt{4-x^2}}{2} + 2\sin^{-1}\frac{x}{2}$.

$$\frac{d}{dx}\left[\frac{x\sqrt{4-x^2}}{2}\right] = \frac{1}{2}\left(\sqrt{4-x^2} + x\cdot\frac{-x}{\sqrt{4-x^2}}\right) = \frac{1}{2}\cdot\frac{(4-x^2)-x^2}{\sqrt{4-x^2}} = \frac{4-2x^2}{2\sqrt{4-x^2}}$$

$$\frac{d}{dx}\left[2\sin^{-1}\frac{x}{2}\right] = 2\cdot\frac{1/2}{\sqrt{1-x^2/4}} = \frac{1}{\sqrt{(4-x^2)/4}} = \frac{2}{\sqrt{4-x^2}}$$

Sum: $$\frac{4-2x^2}{2\sqrt{4-x^2}} + \frac{2}{\sqrt{4-x^2}} = \frac{4-2x^2 + 4}{2\sqrt{4-x^2}} = \frac{8-2x^2}{2\sqrt{4-x^2}} = \frac{2(4-x^2)}{2\sqrt{4-x^2}} = \sqrt{4-x^2}\ \checkmark$$

The result is confirmed.

Open this answer on its own page →

2080 · 5 marks

Evaluate $\int_0^{\frac{\pi}{2}}(\sin 2x\cos 3x + \cos 2x\sin 3x)dx$ and $\int_{0}^{\frac{\pi}{4}} \frac{dx}{1 - \sin x}$. [5]

  • Integral 1: $\displaystyle\int0^{\pi/2}(\sin 2x\cos 3x + \cos 2x\sin 3x),dx$ - Integral 2: $\displaystyle\int0^{\pi/4}\frac{dx}{1-\sin x}$ --- Step 1: Apply sine addition formula $$\sin A\cos B + \cos A\sin B = \sin(A+B)$$ With $A = 2x$, $B = 3x$: $$\sin 2x\cos 3x + \cos 2x\sin 3x = \sin 5x$$ ...
Open this answer on its own page →

2077 · 5 marks

Integrate the following: $$\int_{0}^{\frac{\pi}{4}} \frac{dx}{1-\sin x}$$ [5]

  • Integrand: $\dfrac{1}{1-\sin x}$ - Limits: from $0$ to $\dfrac{\pi}{4}$ (the LaTeX "x/4" is a rendering artifact for the standard upper limit $\pi/4$) $$I = \int{0}^{\pi/4} \frac{dx}{1-\sin x}$$ Multiply numerator and denominator by the conjugate $(1+\sin x)$: $$I = \int{0}^{\pi/4} \frac{1+\sin...
Open this answer on its own page →

Improper integrals

2081 · 5 marks

Evaluate: $$\int_0^5 \frac{dx}{\sqrt{x - 2}}$$, if it exists. [5]

  • Integrand: $f(x) = \dfrac{1}{\sqrt{x-2}}$ - Lower limit: $0$ - Upper limit: $5$ The integrand $\dfrac{1}{\sqrt{x-2}}$ is only defined (in real numbers) when $x - 2 0$, i.e. $x 2$. For $x < 2$, the quantity $x - 2 < 0$, so $\sqrt{x-2}$ is not a real number. The interval of integration is
Open this answer on its own page →

Integration by parts

2081 · 5 marks

Evaluate: $$\int_0^{\pi} x \sin x , dx$$ [5]

  • Integrand: $x \sin x$ - Limits: from $0$ to $\pi$ Using $\int u , dv = uv - \int v , du$. Let: - $u = x \Rightarrow du = dx$ - $dv = \sin x , dx \Rightarrow v = -\cos x$ $$\int0^{\pi} x \sin x , dx = \Big[-x\cos x\Big]0^{\pi} - \int0^{\pi} (-\cos x), dx$$ $$= \Big[-x\cos x\Big]0^{\pi} + \i...
Open this answer on its own page →

2080 · 10 marks

Evaluate $\int_{0}^{\frac{\pi}{4}} \frac{dx}{1-\sin x}$, Evaluate $\int x^2 \sin x , dx$. Solve the differential equation $\frac{dy}{dx} - \frac{3y}{x} = x$, $x > 0$. [5+5]

Given data: Integrand $\frac{1}{1-\sin x}$, limits $0$ to $\pi/4$. Multiply numerator and denominator by the conjugate $(1+\sin x)$: $$\int0^{\pi/4} \frac{1+\sin x}{(1-\sin x)(1+\sin x)},dx = \int0^{\pi/4} \frac{1+\sin x}{1-\sin^2 x},dx = \int0^{\pi/4} \frac{1+\sin x}{\cos^2 x},dx$$ Split: $$=...

Open this answer on its own page →

Basic integration rules

2079 · 5 marks

Evaluate the following integral. $$\int_{0}^{\frac{\pi}{4}} \sqrt{1 + \cos x}dx$$ [5]

  • Integral 1: $\displaystyle\int{0}^{\pi/4} \sqrt{1+\cos x},dx$ - Integral 2: $\displaystyle\int \frac{3x^2-7x+1}{3x},dx$ --- Step 1: Simplify using half-angle identity $$1 + \cos x = 2\cos^2\frac{x}{2}$$ So: $$\sqrt{1+\cos x} = \sqrt{2}\left\cos\frac{x}{2}\right$$ For $x \in [0, \pi/4]$, we ha...
Open this answer on its own page →

Partial fraction decomposition

2078 · 5 marks

Define integration. Evaluate the following integral. $\int \frac{dx}{(x-1)(x-2)}$, $\int_{-1}^{1} 3x^2 \sqrt{x^3 + 1} ,dx$ [1+4]

Show solved answer

Model Answer: Integration

Definition of Integration

Integration is the reverse process of differentiation. It is the process of finding a function (the antiderivative) whose derivative is a given function. If $F'(x) = f(x)$, then:

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

where $C$ is the constant of integration. For a definite integral:

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


Integral 1: $\int \dfrac{dx}{(x-1)(x-2)}$

Partial fractions:

$$\frac{1}{(x-1)(x-2)} = \frac{A}{x-1} + \frac{B}{x-2}$$

$$1 = A(x-2) + B(x-1)$$

  • Put $x = 1$: $1 = A(-1) \Rightarrow A = -1$
  • Put $x = 2$: $1 = B(1) \Rightarrow B = 1$

So:

$$\int \frac{dx}{(x-1)(x-2)} = \int\left(\frac{-1}{x-1} + \frac{1}{x-2}\right)dx$$

$$= -\ln|x-1| + \ln|x-2| + C = \ln\left|\frac{x-2}{x-1}\right| + C$$


Integral 2: $\int_{-1}^{1} 3x^2\sqrt{x^3+1},dx$

Substitution: Let $u = x^3 + 1$, so $du = 3x^2,dx$.

Limits:

  • $x = -1 \Rightarrow u = 0$
  • $x = 1 \Rightarrow u = 2$

$$\int_{-1}^{1} 3x^2\sqrt{x^3+1},dx = \int_0^2 \sqrt{u},du = \left[\frac{2}{3}u^{3/2}\right]_0^2$$

$$= \frac{2}{3}(2)^{3/2} - 0 = \frac{2}{3}\cdot 2\sqrt{2} = \frac{4\sqrt{2}}{3}$$

Answer: $\displaystyle \frac{4\sqrt{2}}{3} \approx 1.886$

Both results confirmed.

Open this answer on its own page →