MAT159H1/Unit 01
Unit 01 · Analysis 1B

FTC, Transcendentals & Integration Techniques

MAT159 starts from the rigorous integral theory built in MAT158: the Fundamental Theorem of Calculus, elementary transcendental functions, and then the practical techniques for evaluating integrals. Finding antiderivatives takes pattern-matching, not a formula, so this unit reviews the foundation before building the standard toolkit.

Why it matters & where it comes from
Why it exists

Unlike differentiation, integration has no mechanical recipe: there is no "product rule for antiderivatives." These techniques are the toolkit built up over centuries of trial, and they reveal that elementary antiderivatives are the exception, not the rule.

In the real world

The bell curve $e^{-x^2}$ has no elementary antiderivative, so statistics relies on numerical integration of it. Every p-value depends on that fact. Partial fractions decompositions are also exactly how control theory inverts Laplace transforms.

Story & open questions

Liouville proved in the 1830s that integrals like $\int e^{-x^2}$ cannot be written in elementary terms; the 1968 Risch algorithm lets computers decide when a closed form exists at all — a rare case of a fully mechanical answer to "can this be done by hand?"

By the end you can

FTC and antiderivatives

The techniques below only make sense because the FTC connects derivatives to definite integrals. In proof-based calculus, you should be able to state the hypotheses each time, especially continuity of the integrand.

Theorem FTC, both parts

If $f$ is continuous on an interval and $F(x)=\int_a^x f(t)\,dt$, then $F'(x)=f(x)$. If $G'=f$ on $[a,b]$, then $$\int_a^b f(x)\,dx=G(b)-G(a).$$

Example accumulation function

For $H(x)=\int_1^{x^2}\ln(1+t^2)\,dt$, combine FTC Part 1 with the chain rule: $H'(x)=2x\ln(1+x^4)$.

Definite substitution. For $\int_a^b f(g(x))g'(x)\,dx$, set $u=g(x)$ and change the limits to $u=g(a)$ and $u=g(b)$. This is the FTC version of substitution and prevents mixing variables at the endpoint step.

Elementary transcendental functions

The official MAT159 topic list includes elementary transcendental functions because they are the main sources and targets of integration techniques. The rules below should be memorized with their domain conditions.

Core derivative and integral rules

$\dfrac{d}{dx}e^x=e^x$, $\dfrac{d}{dx}\ln x=1/x$ for $x>0$, $\dfrac{d}{dx}\sin x=\cos x$, $\dfrac{d}{dx}\cos x=-\sin x$, and $\dfrac{d}{dx}\arctan x=1/(1+x^2)$. Therefore $\int e^x dx=e^x+C$, $\int dx/x=\ln|x|+C$, and $\int dx/(1+x^2)=\arctan x+C$.

Example domain matters

$\int \dfrac{2x}{x^2-1}\,dx=\ln|x^2-1|+C$ on any interval that avoids $x=\pm1$. The absolute value is not decoration: the logarithm formula is local on intervals where the denominator keeps one sign.

Substitution and by parts

Rules

$\displaystyle\int f(g(x))g'(x)\,dx=\int f(u)\,du$ (substitution, $u=g(x)$) and $\displaystyle\int u\,dv=uv-\int v\,du$ (parts, from the product rule run backwards).

Example Basic parts

$\int x e^x\,dx$: let $u=x,\ dv=e^x dx$, so $du=dx,\ v=e^x$.

$\int x e^x\,dx = xe^x-\int e^x\,dx=(x-1)e^x+C$.
Example Repeated parts

$\int x^2 e^x\,dx$.

First pass: $u=x^2,\ dv=e^xdx$ gives $x^2e^x-2\int xe^x\,dx$.
Reuse the previous example: $=x^2e^x-2(x-1)e^x+C= (x^2-2x+2)e^x+C$.
Example Circular parts

$\int e^x\cos x\,dx$.

Parts twice ($u=\cos x$ then $u=\sin x$) returns the same integral $I$ on the right: $I=e^x\cos x+e^x\sin x-I$.
Solve for $I$: $2I=e^x(\cos x+\sin x)$, so $I=\tfrac12e^x(\cos x+\sin x)+C$.
Which $u$ to pick? The mnemonic LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) orders good choices of $u$ for parts — pick $u$ from as far left in that list as appears, since it differentiates toward something simpler while $dv$ integrates easily.

Partial fractions

Any proper rational function $P(x)/Q(x)$ (degree of $P$ less than degree of $Q$) splits into a sum of simpler pieces, one for each factor of $Q$.

The three cases

A factor $(x-a)$ contributes $\dfrac{A}{x-a}$; a repeated factor $(x-a)^k$ contributes $\dfrac{A_1}{x-a}+\cdots+\dfrac{A_k}{(x-a)^k}$; an irreducible quadratic $(x^2+bx+c)$ contributes $\dfrac{Ax+B}{x^2+bx+c}$.

Example Distinct linear factors

$\dfrac{1}{x^2-1}=\dfrac{A}{x-1}+\dfrac{B}{x+1}$.

$1=A(x+1)+B(x-1)$. Set $x=1$: $A=\tfrac12$. Set $x=-1$: $B=-\tfrac12$.
$\int\dfrac{dx}{x^2-1}=\tfrac12\ln|x-1|-\tfrac12\ln|x+1|+C =\tfrac12\ln\left|\dfrac{x-1}{x+1}\right|+C$.
Example Repeated factor

$\dfrac{x}{(x-1)^2}=\dfrac{A}{x-1}+\dfrac{B}{(x-1)^2}$.

$x=A(x-1)+B$. Set $x=1$: $B=1$. Match $x$-coefficients: $A=1$.
$\int\dfrac{x\,dx}{(x-1)^2}=\ln|x-1|-\dfrac{1}{x-1}+C$.
Example Irreducible quadratic

$\dfrac{1}{x(x^2+1)}=\dfrac{A}{x}+\dfrac{Bx+C}{x^2+1}$.

$1=A(x^2+1)+(Bx+C)x$. Set $x=0$: $A=1$. Matching $x^2$-coefficients: $0=A+B\Rightarrow B=-1$; matching $x$-coefficients: $C=0$.
$\int\dfrac{dx}{x(x^2+1)}=\ln|x|-\tfrac12\ln(x^2+1)+C$.
What if the fraction isn't proper? Divide first. $\dfrac{x^3}{x-1}=x^2+x+1+\dfrac{1}{x-1}$ by polynomial long division, and only the remainder term needs partial fractions.

Trigonometric substitution and trigonometric integrals

The three substitutions

For $\sqrt{a^2-x^2}$ use $x=a\sin\theta$; for $\sqrt{a^2+x^2}$ use $x=a\tan\theta$; for $\sqrt{x^2-a^2}$ use $x=a\sec\theta$. Each turns the radical into a single trig factor via a Pythagorean identity.

Example

$\int\dfrac{dx}{\sqrt{4-x^2}}$, using $x=2\sin\theta$, $dx=2\cos\theta\, d\theta$, $\sqrt{4-x^2}=2\cos\theta$.

$\int\dfrac{2\cos\theta\,d\theta}{2\cos\theta}=\theta+C= \arcsin\!\left(\dfrac{x}{2}\right)+C$.
Example Power-reduction

$\int\sin^2x\,dx$, using $\sin^2x=\tfrac12(1-\cos2x)$.

$=\tfrac12x-\tfrac14\sin2x+C$.

For $\int\sin^mx\cos^nx\,dx$: if either power is odd, peel off one factor and substitute with the other function; if both are even, use the half-angle identities repeatedly.

Common pitfalls

• Convert everything — including $dx$ — to the new variable; do not leave a mix of $x$ and $u$.
• With definite integrals under substitution, either change the limits or convert back before evaluating — never mix the two.
• FTC Part 1 differentiates an integral with a variable endpoint; FTC Part 2 evaluates a definite integral using an antiderivative. Keep the two roles separate.
• $\int dx/x=\ln|x|+C$, not just $\ln x+C$, unless the interval is already restricted to $x>0$.
• Partial fractions require a proper fraction; divide first if the numerator's degree is not smaller.
• After a trig substitution, convert back to $x$ using a reference triangle, including for $\theta$ that appears alone (as $\arcsin$, $\arctan$, etc.).
• Not every elementary function has an elementary antiderivative — do not hunt forever for a closed form that provably does not exist.

Practice

Work each one fully by hand before checking.

Practice 1 · Substitution

$\int x\cos(x^2)\,dx$.

Answer
$u=x^2,\ du=2x\,dx$: $\tfrac12\sin(x^2)+C$.
Practice 2 · By parts

$\int \ln x\,dx$.

Answer
$u=\ln x,\ dv=dx$: $x\ln x-x+C$.
Practice 3 · Definite integral

$\int_0^1 x e^{-x}\,dx$.

Answer
By parts: $[-xe^{-x}-e^{-x}]_0^1=1-2e^{-1}$.
Practice 4 · Repeated linear factors

$\int\dfrac{dx}{x(x-1)^2}$.

Solution
$\dfrac{1}{x(x-1)^2}=\dfrac{1}{x}-\dfrac{1}{x-1}+\dfrac{1}{(x-1)^2}$, so the integral is $\ln|x|-\ln|x-1|-\dfrac{1}{x-1}+C$.
Practice 5 · Irreducible quadratic

$\int\dfrac{dx}{x^2+4}$.

Answer
$\tfrac12\arctan(x/2)+C$.
Practice 6 · Trig substitution

$\int\dfrac{dx}{x^2\sqrt{x^2+9}}$.

Solution
$x=3\tan\theta$ gives $\int\dfrac{\cos\theta}{9\sin^2\theta}\,d\theta= -\dfrac{1}{9\sin\theta}+C=-\dfrac{\sqrt{x^2+9}}{9x}+C$.
Practice 7 · Circular parts

$\int e^{2x}\sin x\,dx$.

Solution
Parts twice gives $I=e^{2x}(2\sin x-\cos x)-4I$ up to sign bookkeeping; solving, $I=\tfrac15e^{2x}(2\sin x-\cos x)+C$.
Practice 8 · No elementary form

Why can't you find a closed-form antiderivative of $\int\dfrac{\sin x}{x}\,dx$ by these techniques, even though the function is perfectly smooth?

Answer
Liouville's theory shows $\operatorname{Si}(x)=\int_0^x\tfrac{\sin t}{t}dt$ is provably not expressible in elementary terms — no substitution or parts trick will ever produce one, no matter how cleverly applied.
Practice 9 · FTC with chain rule

Differentiate $F(x)=\int_0^{\sin x} e^{t^2}\,dt$.

Answer
By FTC Part 1 and the chain rule, $F'(x)=e^{\sin^2 x}\cos x$.
Practice 10 · Transcendental antiderivative

Evaluate $\int \dfrac{3x^2}{1+x^6}\,dx$.

Solution
Let $u=x^3$, so $du=3x^2dx$. The integral becomes $\int du/(1+u^2)=\arctan(u)+C =\arctan(x^3)+C$.

Expanded topic checklist

Course coverage. This unit is part of the complete MAT159H1 topic map. It should cover the following items before you move on:

Textbook/source alignment

Use the current UofT MAT159H1 calendar topics as the coverage spine, and pair lecture notes with a Spivak-style proof-calculus text for extra reading. The exact assigned textbook should still be checked against the instructor syllabus.

Core theorem map

The integration spine is: identify the derivative rule being reversed, carry all domain and endpoint conditions, and verify by differentiating the final answer.

Study routine. Keep a technique log: for each problem, record the cue that selected the method and the derivative check at the end.

Deep practice extensions

Use these after the main practice set. They are designed to force definition-level reasoning, theorem selection, and mixed application rather than routine calculation only.

Extension 1 · FTC chain

Differentiate $\int_1^{e^x}\ln(1+t^2)dt$.

Guide
FTC plus chain rule gives $e^x\ln(1+e^{2x})$.
Extension 2 · Parts choice

Evaluate $\int x^2\ln x\,dx$ for $x>0$.

Guide
Let $u=\ln x$, $dv=x^2dx$. The result is $x^3\ln x/3-x^3/9+C$.
Extension 3 · Partial fractions

Integrate $\int dx/(x^2+x)$.

Guide
Use $1/(x(x+1))=1/x-1/(x+1)$, so the integral is $\ln|x|-\ln|x+1|+C$.
Extension 4 · No closed form

Why should $\int e^{-x^2}dx$ not be attacked forever with substitutions?

Guide
It is a standard non-elementary antiderivative; use definite integrals, series, or numerical methods instead of expecting elementary closure.