Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Integration Techniques






Beyond Direct Formulas


Most functions resist direct antidifferentiation. The integral of ex2e^{x^2} has no elementary formula. Even innocuous-looking expressions like 1+x3\sqrt{1 + x^3} lack closed-form antiderivatives.

Integration techniques transform difficult integrals into tractable ones. Substitution reverses the chain rule. Integration by parts reverses the product rule. Partial fractions decompose rational functions. Trigonometric methods handle roots and powers.

No single algorithm covers all cases—unlike differentiation, which follows systematic rules. Success requires recognizing which technique applies and executing it correctly. This pattern-matching skill develops through practice.

Key Terms

Integrand— the expression being transformed into a recognizable form
Indefinite Integral— the target: find the antiderivative family
Definite Integral— substitution in definite integrals requires converting bounds

See All Calculus Definitions →


Why Techniques Are Needed


Differentiation follows mechanical rules: the derivative of any elementary function can be computed by applying chain, product, and quotient rules systematically.

Integration has no such universal algorithm.

THEOREM
Some elementary functions have no elementary antiderivative.

Others have antiderivatives that are difficult to find without insight.

Techniques bridge this gap. They transform integrands into forms matching known formulas. The transformation might involve changing variables, splitting products, or decomposing fractions—whatever reveals the underlying structure.

Substitution (u-Substitution)


Substitution reverses the chain rule. If the integrand contains a function and its derivative, substitution simplifies.

Method: Let u=g(x)u = g(x), so du=g′(x) dxdu = g'(x)\, dx. Replace all xx-expressions with uu-expressions and integrate.

Substitution Rule
∫f(g(x)) g′(x) dx=∫f(u) duwith u=g(x)\int f(g(x))\, g'(x)\, dx = \int f(u)\, du \quad \text{with } u = g(x)
Learn more about this formula: Substitution Rule →


Example
∫2xcos⁡(x2) dx\int 2x \cos(x^2)\, dx
Let u=x2u = x^2, so du=2x dxdu = 2x\, dx:
=∫cos⁡u du=sin⁡u+C=sin⁡(x2)+C= \int \cos u\, du = \sin u + C = \sin(x^2) + C

For definite integrals, convert the limits: when x=ax = a, u=g(a)u = g(a); when x=bx = b, u=g(b)u = g(b).

Pitfall: Keeping the x-bounds after substituting
Evaluating sin⁡u\sin u from 00 to 22, the old xx-bounds of ∫022xcos⁡(x2) dx\int_0^2 2x\cos(x^2)\, dx, gives sin⁡2≈0.909\sin 2 \approx 0.909. In u=x2u = x^2 the bounds are 00 and 44, and the integral is sin⁡4≈−0.757\sin 4 \approx -0.757.

The bounds of a definite integral are values of the variable of integration. In ∫022xcos⁡(x2) dx\int_0^2 2x\cos(x^2)\, dx the numbers 00 and 22 are values of xx; after the substitution u=x2u = x^2 the integral runs over values of uu, and the antiderivative sin⁡u\sin u is a function of uu. Converting the bounds at the moment of substitution means the evaluation never has to return to xx.

Notation Inside the Techniques

Notation

Notation Inside the Techniques

Substitution's paired equations, the four-slot ledger of parts, and the substitution that runs backwards — the bookkeeping is the technique.
The integral signs — indefinite and definite; the algebra of dudu — differentials.
u=g(x)u = g(x),   du=g′(x) dx\; du = g'(x)\,dx
Let u equal g of x, so d u equals g prime of x, d x
A change of name recorded as two equations — and the second is real differential algebra, not ritual. Everything must convert: integrand, dxdx, all of it, as in Substitution above.
CasesIn a definite integral the bounds convert too, and the transition is often labelled on the sign itself: ∫x=ax=b\int_{x=a}^{x=b} becomes ∫u=g(a)u=g(b)\int_{u=g(a)}^{u=g(b)} — after which there is no going back to xx. The alternative workflow keeps the xx-bounds and back-substitutes u=g(x)u = g(x) before evaluating; both are legal, mixing them is not.
Also writtenww or tt when uu is spoken for; the final return to xx is the “back-substitution” step.
Do not confuseA partial conversion. ∫cos⁡u dx\int \cos u \,dx — one variable in the integrand, another in the differential — is meaningless; a leftover xx under a dudu means the substitution was not completed.
∫u dv=uv−∫v du\int u\, dv = uv - \int v\, du
The integral of u d v equals u v minus the integral of v d u
Parts factors the integrand into two slots: uu, destined for differentiation, and dvdv, destined for integration — and dvdv swallows the dxdx. The four-slot ledger u,du,dv,vu, du, dv, v organises the whole computation in Integration by Parts below.
CasesChoosing uu follows LIATE — logarithmic, inverse trig, algebraic, trigonometric, exponential — a classroom mnemonic, not a theorem; it fails often enough to keep judgment in the loop.
Also written∫u v′ dx=uv−∫u′ v dx\int u\,v'\,dx = uv - \int u'\,v\,dx — the prime form, standard in European texts, where the differential never appears bare.
Do not confuseSubstitution's uu. Same letter, different job: substitution's uu renames the variable; parts' uu labels a factor and xx remains the variable throughout. Writing dvdv without its dxdx is the commonest ledger slip.
x=asin⁡θx = a\sin\theta
Let x equal a sine theta
Substitution running backwards: the old variable is expressed through the new one, opposite in direction to u=g(x)u = g(x). The radical collapses through a Pythagorean identity, as in Trigonometric Substitution below.
CasesThree radical shapes, three choices: a2−x2→x=asin⁡θ\sqrt{a^2 - x^2} \to x = a\sin\theta; a2+x2→x=atan⁡θ\sqrt{a^2 + x^2} \to x = a\tan\theta; x2−a2→x=asec⁡θ\sqrt{x^2 - a^2} \to x = a\sec\theta. The answer returns to xx through θ=arcsin⁡xa\theta = \arcsin\frac{x}{a} and a reference triangle.
Also writtenHyperbolic versions — x=asinh⁡tx = a\sinh t — in analysis and European texts, trading the identity 1−sin⁡2=cos⁡21 - \sin^2 = \cos^2 for cosh⁡2−sinh⁡2=1\cosh^2 - \sinh^2 = 1.
Do not confuseThe uu-direction. Here the new variable is not a function of xx you can read off — inverting requires the inverse trig functions, and the domain restriction on θ\theta is what makes the inversion legal.

Integration by Parts


Integration by parts reverses the product rule:

Integration by Parts
∫u dv=uv−∫v du\int u\, dv = uv - \int v\, du
Learn more about this formula: Integration by Parts →


Method: Identify factors uu and dvdv in the integrand. Differentiate uu to get dudu; integrate dvdv to get vv. Apply the formula.

Example
∫xex dx\int x e^x\, dx
Let u=xu = x and dv=ex dxdv = e^x\, dx. Then du=dxdu = dx and v=exv = e^x:
=xex−∫ex dx=xex−ex+C=ex(x−1)+C= xe^x - \int e^x\, dx = xe^x - e^x + C = e^x(x - 1) + C

Pitfall: Dropping the minus sign
Adding the second integral instead of subtracting it gives ∫xex dx=xex+ex+C\int x e^x\, dx = xe^x + e^x + C, whose derivative is xex+2exxe^x + 2e^x. Subtracting gives xex−ex+Cxe^x - e^x + C, whose derivative is xexxe^x.

The formula comes from integrating the product rule (uv)′=u′v+uv′(uv)' = u'v + uv' and solving for ∫u dv\int u\, dv, which is why the second integral is subtracted. In the example, u=xu = x and v=exv = e^x give uv=xexuv = xe^x, and the integral left over, ∫v du=∫ex dx\int v\, du = \int e^x\, dx, is simple enough to finish at once.

The formula accepts any split of the integrand, even an odd one. For ∫1x dx\int \frac{1}{x}\, dx, take u=1xu = \frac{1}{x} and dv=dxdv = dx; then du=−1x2 dxdu = -\frac{1}{x^2}\, dx and v=xv = x, and the formula gives ∫1x dx=x⋅1x−∫x(−1x2)dx=1+∫1x dx\int \frac{1}{x}\, dx = x \cdot \frac{1}{x} - \int x \left(-\frac{1}{x^2}\right) dx = 1 + \int \frac{1}{x}\, dx. The split is legal, but it only returns the integral it started from.

Fact: Parts seems to prove 0=10 = 1
Subtracting ∫1x dx\int \frac{1}{x}\, dx from both sides of ∫1x dx=1+∫1x dx\int \frac{1}{x}\, dx = 1 + \int \frac{1}{x}\, dx leaves 0=10 = 1. Nothing is broken: each indefinite integral stands for the whole family ln⁡∣x∣+C\ln|x| + C, and two members of that family may differ by 11.

Choosing the first factor: LIATE guides selection—Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential. Earlier types typically make better choices for uu.

The two splits above show what the choice decides. In both, the formula moves the derivative from vv to uu: with u=xu = x in ∫xex dx\int x e^x\, dx the integral left behind is ∫ex dx\int e^x\, dx, simpler than the original, while u=1xu = \frac{1}{x} in ∫1x dx\int \frac{1}{x}\, dx leaves the original integral unchanged. A choice is good when the factor chosen as uu becomes simpler after differentiation and dvdv can still be integrated.
Integration by parts moves the derivative from one factor to the other, and it pays off only when the integral left behind is simpler.

Trigonometric Integrals


Integrals involving powers of sine and cosine require strategic use of identities.

Odd power of sine: Save one sin⁡x\sin x, convert remaining sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x, substitute u=cos⁡xu = \cos x.

Odd power of cosine: Save one cos⁡x\cos x, convert remaining cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x, substitute u=sin⁡xu = \sin x.

Both powers even: Use half-angle identities:

Trigonometric Integrals
sin⁡2x=1−cos⁡2x2cos⁡2x=1+cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2} \qquad \cos^2 x = \frac{1 + \cos 2x}{2}

Example
∫sin⁡3x dx=∫sin⁡x(1−cos⁡2x) dx\int \sin^3 x\, dx = \int \sin x (1 - \cos^2 x)\, dx
Let u=cos⁡xu = \cos x:
=−∫(1−u2) du=−u+u33+C=−cos⁡x+cos⁡3x3+C= -\int (1 - u^2)\, du = -u + \frac{u^3}{3} + C = -\cos x + \frac{\cos^3 x}{3} + C

Pitfall: Losing the sign of du
Taking du=sin⁡x dxdu = \sin x\, dx for u=cos⁡xu = \cos x gives ∫sin⁡3x dx=cos⁡x−cos⁡3x3+C\int \sin^3 x\, dx = \cos x - \frac{\cos^3 x}{3} + C, whose derivative is −sin⁡3x-\sin^3 x. With du=−sin⁡x dxdu = -\sin x\, dx the answer is −cos⁡x+cos⁡3x3+C-\cos x + \frac{\cos^3 x}{3} + C.

The saved factor sin⁡x\sin x is what makes the substitution possible: together with dxdx it is matched against dudu for u=cos⁡xu = \cos x, and the remaining even power becomes a polynomial in uu. For an odd power of cosine the roles swap, and cos⁡x dx\cos x\, dx is matched against dudu for u=sin⁡xu = \sin x. In both cases the answer can be checked by differentiating it back to the integrand.
Power pattern Strategy Substitution
Odd power of sin x save one sin x, rewrite the rest using sin²x = 1 − cos²x u = cos x, du = −sin x dx
Odd power of cos x save one cos x, rewrite the rest using cos²x = 1 − sin²x u = sin x, du = cos x dx
Both powers even apply half-angle identities to lower the powers none directly — reduce, then integrate term by term

Trigonometric Substitution


Square roots of quadratics suggest trigonometric substitutions.

For a2−x2\sqrt{a^2 - x^2}: Let x=asin⁡θx = a\sin\theta, so a2−x2=acos⁡θ\sqrt{a^2 - x^2} = a\cos\theta

For a2+x2\sqrt{a^2 + x^2}: Let x=atan⁡θx = a\tan\theta, so a2+x2=asec⁡θ\sqrt{a^2 + x^2} = a\sec\theta

For x2−a2\sqrt{x^2 - a^2}: Let x=asec⁡θx = a\sec\theta, so x2−a2=atan⁡θ\sqrt{x^2 - a^2} = a\tan\theta

Example
∫11−x2 dx\int \frac{1}{\sqrt{1 - x^2}}\, dx
Let x=sin⁡θx = \sin\theta, so dx=cos⁡θ dθdx = \cos\theta\, d\theta and 1−x2=cos⁡θ\sqrt{1 - x^2} = \cos\theta:
=∫cos⁡θcos⁡θ dθ=∫dθ=θ+C=arcsin⁡x+C= \int \frac{\cos\theta}{\cos\theta}\, d\theta = \int d\theta = \theta + C = \arcsin x + C

Pitfall: Replacing dx with dθ
Swapping dxdx for dθd\theta without the factor cos⁡θ\cos\theta leaves ∫dθcos⁡θ=ln⁡∣sec⁡θ+tan⁡θ∣+C\int \frac{d\theta}{\cos\theta} = \ln|\sec\theta + \tan\theta| + C, a different function. With dx=cos⁡θ dθdx = \cos\theta\, d\theta the cosines cancel and the answer is arcsin⁡x+C\arcsin x + C.

The substitution x=sin⁡θx = \sin\theta is applied to the whole integral. It rewrites the radical 1−x2\sqrt{1 - x^2} as cos⁡θ\cos\theta, and differentiating it gives the differential dxdx in terms of dθd\theta; the integrand in θ\theta is built from both. At the end, θ=arcsin⁡x\theta = \arcsin x returns the answer to the original variable.
Radical in integrand Substitution Radical simplifies to
√(a² − x²) x = a sin θ a cos θ
√(a² + x²) x = a tan θ a sec θ
√(x² − a²) x = a sec θ a tan θ
A trigonometric substitution trades a square root for a Pythagorean identity, and the radical collapses to a single trigonometric factor.

Partial Fractions


Rational functions—polynomials divided by polynomials—decompose into simpler fractions.

Method: Factor the denominator. Write the fraction as a sum of terms with linear or irreducible quadratic denominators. Solve for coefficients. Integrate each term.

Example
∫1x2−1 dx=∫1(x−1)(x+1) dx\int \frac{1}{x^2 - 1}\, dx = \int \frac{1}{(x-1)(x+1)}\, dx
Decompose:
1(x−1)(x+1)=Ax−1+Bx+1\frac{1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}
Solving gives A=1/2A = 1/2, B=−1/2B = -1/2:
=12∫1x−1 dx−12∫1x+1 dx=12ln⁡∣x−1∣−12ln⁡∣x+1∣+C= \frac{1}{2}\int \frac{1}{x-1}\, dx - \frac{1}{2}\int \frac{1}{x+1}\, dx = \frac{1}{2}\ln|x-1| - \frac{1}{2}\ln|x+1| + C

Pitfall: Taking the log of the whole denominator
Writing ln⁡∣x2−1∣+C\ln|x^2 - 1| + C for ∫1x2−1 dx\int \frac{1}{x^2 - 1}\, dx gives a function whose derivative is 2xx2−1\frac{2x}{x^2 - 1}, not 1x2−1\frac{1}{x^2 - 1}. The decomposition gives 12ln⁡∣x−1∣−12ln⁡∣x+1∣+C\frac{1}{2}\ln|x - 1| - \frac{1}{2}\ln|x + 1| + C.

Each simple fraction integrates on its own: a constant over a linear factor x−rx - r gives that constant times ln⁡∣x−r∣\ln|x - r|, because the derivative of x−rx - r is 11. The two logarithms can be combined at the end into 12ln⁡∣x−1x+1∣+C\frac{1}{2}\ln\left|\frac{x - 1}{x + 1}\right| + C, a single term with the same derivative.
1/(x^2 - 1) is the sum of 1/2 over (x - 1) and -1/2 over (x + 1): each piece has one asymptote, the sum has bothxy−3−2−1123−4−3−2−11234x = −1x = 1blue: 1/(x² − 1)amber: (1/2)/(x − 1)navy: −(1/2)/(x + 1)Two simple fractions, one asymptote each, add up to the original
A fraction taken apart

The section’s 1/(x² − 1) (blue) has two vertical asymptotes, at x = −1 and x = 1. The decomposition writes it as (1/2)/(x − 1) (amber dashes), which carries only the asymptote at 1, plus −(1/2)/(x + 1) (navy dashes), which carries only the one at −1. Adding the two dashed curves point by point gives the blue curve, and each simple piece integrates to a logarithm.

Each factor of the denominator contributes one simple fraction with its own asymptote.

Choosing the Right Technique


Pattern recognition guides technique selection.

Substitution: Look for a function paired with its derivative. Expressions like f(g(x))⋅g′(x)f(g(x)) \cdot g'(x) signal substitution with u=g(x)u = g(x).

Parts: Products of different function types—polynomial times exponential, polynomial times trigonometric, logarithm times polynomial.

Trigonometric integrals: Powers of sin⁡x\sin x and cos⁡x\cos x, products of trigonometric functions.

Trigonometric substitution: Square roots of a2−x2a^2 - x^2, a2+x2a^2 + x^2, or x2−a2x^2 - a^2.

Partial fractions: Rational functions with factorable denominators.

Fact: One substitution for every trig fraction
With t=tan⁡x2t = \tan\frac{x}{2}, sin⁡x=2t1+t2\sin x = \frac{2t}{1 + t^2}, cos⁡x=1−t21+t2\cos x = \frac{1 - t^2}{1 + t^2} and dx=2 dt1+t2dx = \frac{2\, dt}{1 + t^2}. Every rational expression in sin⁡x\sin x and cos⁡x\cos x becomes a rational function of tt, so partial fractions can always finish it.

Multiple techniques often combine. A problem might require substitution followed by parts, or partial fractions followed by a trigonometric integral.

Some combinations are planned from the start. An integrand such as 12+cos⁡x\frac{1}{2 + \cos x} is a fraction built from cos⁡x\cos x, with no odd power to save and no radical to replace, so none of the trigonometric patterns above fits it directly. A substitution can still turn it into a rational function of a new variable, and partial fractions take over from there.
DownloadPNG2×PDF
Before you read
Read the integrand first
The shape of the integrand points to the technique. Each card names the pattern to look for.
Integration techniques5 methods
Substitution
Look forf(g(x))⋅g′(x)f(g(x)) \cdot g'(x)
Movelet u=g(x)u = g(x)
Integration by parts
Look forproducts of different function types
Examplespolynomial × exponential, polynomial × trig, log × polynomial
Trigonometric integrals
Look forpowers or products of sin⁡\sin and cos⁡\cos
Trigonometric substitution
Look fora2−x2\sqrt{a^2 - x^2}, a2+x2\sqrt{a^2 + x^2}, x2−a2\sqrt{x^2 - a^2}
Partial fractions
Look forrational functions with a factorable denominator
Takeaway
Match the pattern, then commit
Substitution and parts cover most integrals; trigonometric methods and partial fractions handle the specialised shapes.
Choosing an integration technique·/calculus/integrals/techniquesLearn Math Class

Summary: The Techniques at a Glance


The techniques covered above all share the same goal—reshape the integrand until it matches a known formula—but each one reverses a different differentiation rule and is triggered by a different signal in the integrand. The table below collects all five in one place, pairing each technique with what it reverses, the pattern that signals it, the standard setup, and a canonical example. Read the "Recognize when…" column first when scanning an unfamiliar integral; read across the row once a match is found.
Technique What it reverses Recognize when… Setup Example trigger
u-substitution chain rule integrand contains a function and its derivative u = g(x), du = g'(x) dx; rewrite and integrate in u ∫ 2x cos(x²) dx
Integration by parts product rule product of unrelated factors (poly · exp, poly · trig, log · poly) ∫ u dv = uv − ∫ v du; LIATE picks u ∫ x eˣ dx
Trigonometric integrals Pythagorean & half-angle identities powers and products of sin x, cos x (and tan, sec variants) save a factor; convert via identity; substitute u = sin x or cos x ∫ sin³ x dx
Trigonometric substitution Pythagorean identity integrand contains √(a² − x²), √(a² + x²), or √(x² − a²) x = a sin θ, a tan θ, or a sec θ depending on the radical ∫ 1 / √(1 − x²) dx
Partial fractions addition of rational fractions rational function with a factorable denominator decompose into A/(x − r) + B/(x − s) + … and integrate each piece ∫ 1 / (x² − 1) dx

Common Pitfalls


Five mistakes cause many of the wrong answers when these techniques are carried out. Each is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.

Keeping the x-bounds after substituting

In a definite integral, the integrand and dxdx are rewritten in uu, but the bounds are left as they were. The antiderivative in uu is then evaluated at numbers that are values of xx.

Wrong working: with u=x2u = x^2, ∫022xcos⁡(x2) dx\int_0^2 2x\cos(x^2)\, dx becomes ∫02cos⁡u du=sin⁡2−sin⁡0≈0.909\int_0^2 \cos u\, du = \sin 2 - \sin 0 \approx 0.909.

Right working: when x=0x = 0, u=0u = 0; when x=2x = 2, u=4u = 4. So the integral is ∫04cos⁡u du=sin⁡4−sin⁡0≈−0.757\int_0^4 \cos u\, du = \sin 4 - \sin 0 \approx -0.757.

Why it happens: the bounds are written once, at the start, and are read as part of the integral sign rather than as values of a particular variable.

How to check: take the other route. Back-substitute to get the antiderivative sin⁡(x2)\sin(x^2) and evaluate it at the xx-bounds: sin⁡(22)−sin⁡(02)=sin⁡4\sin(2^2) - \sin(0^2) = \sin 4. The two routes must agree.

Dropping the minus sign

In integration by parts, uv−∫v duuv - \int v\, du is written with a plus sign, so the second integral is added instead of subtracted.

Wrong working: ∫xex dx=xex+∫ex dx=xex+ex+C\int x e^x\, dx = xe^x + \int e^x\, dx = xe^x + e^x + C.

Right working: ∫xex dx=xex−∫ex dx=xex−ex+C=ex(x−1)+C\int x e^x\, dx = xe^x - \int e^x\, dx = xe^x - e^x + C = e^x(x - 1) + C.

Why it happens: the product rule has a plus sign, and the parts formula is remembered by its shape. The minus only appears when ∫v du\int v\, du is moved to the other side of the integrated product rule.

How to check: differentiate the answer. (xex+ex)′=xex+2ex(xe^x + e^x)' = xe^x + 2e^x, which is not the integrand; (xex−ex)′=ex+xex−ex=xex(xe^x - e^x)' = e^x + xe^x - e^x = xe^x, which is.

Losing the sign of du

With u=cos⁡xu = \cos x, the differential is taken as du=sin⁡x dxdu = \sin x\, dx instead of du=−sin⁡x dxdu = -\sin x\, dx, and the whole answer comes out with the wrong sign.

Wrong working: ∫sin⁡x(1−cos⁡2x) dx=∫(1−u2) du=u−u33+C=cos⁡x−cos⁡3x3+C\int \sin x (1 - \cos^2 x)\, dx = \int (1 - u^2)\, du = u - \frac{u^3}{3} + C = \cos x - \frac{\cos^3 x}{3} + C.

Right working: sin⁡x dx=−du\sin x\, dx = -du, so the integral is −∫(1−u2) du=−cos⁡x+cos⁡3x3+C-\int (1 - u^2)\, du = -\cos x + \frac{\cos^3 x}{3} + C.

Why it happens: the derivative of sin⁡x\sin x is cos⁡x\cos x with no sign, and the same is expected the other way round.

How to check: on [0,π][0, \pi] the integrand sin⁡3x\sin^3 x is never negative, so ∫0πsin⁡3x dx\int_0^\pi \sin^3 x\, dx must be positive. The right answer gives (1−13)−(−1+13)=43\left(1 - \frac{1}{3}\right) - \left(-1 + \frac{1}{3}\right) = \frac{4}{3}; the wrong one gives −43-\frac{4}{3}.

Replacing dx with dθ

In a trigonometric substitution, the radical is rewritten in θ\theta, but dxdx is replaced by dθd\theta alone, without the factor that comes from differentiating x=sin⁡θx = \sin\theta.

Wrong working: ∫11−x2 dx=∫1cos⁡θ dθ=ln⁡∣sec⁡θ+tan⁡θ∣+C=ln⁡∣1+x1−x2∣+C\int \frac{1}{\sqrt{1 - x^2}}\, dx = \int \frac{1}{\cos\theta}\, d\theta = \ln|\sec\theta + \tan\theta| + C = \ln\left|\frac{1 + x}{\sqrt{1 - x^2}}\right| + C.

Right working: dx=cos⁡θ dθdx = \cos\theta\, d\theta, so ∫cos⁡θcos⁡θ dθ=θ+C=arcsin⁡x+C\int \frac{\cos\theta}{\cos\theta}\, d\theta = \theta + C = \arcsin x + C.

Why it happens: in uu-substitution the new differential is often just dudu, and the habit carries over to a substitution that runs the other way, where xx is the function of θ\theta.

How to check: differentiate the answer in xx. The wrong answer has derivative 11−x2\frac{1}{1 - x^2}, not 11−x2\frac{1}{\sqrt{1 - x^2}}; at x=0.6x = 0.6 these are 1.56251.5625 and 1.251.25.

Taking the log of the whole denominator

The rule ∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\, dx = \ln|x| + C is stretched to any denominator, so 1x2−1\frac{1}{x^2 - 1} is integrated straight to a logarithm of x2−1x^2 - 1 without being decomposed.

Wrong working: ∫1x2−1 dx=ln⁡∣x2−1∣+C\int \frac{1}{x^2 - 1}\, dx = \ln|x^2 - 1| + C.

Right working: decompose first. 1x2−1=1/2x−1−1/2x+1\frac{1}{x^2 - 1} = \frac{1/2}{x - 1} - \frac{1/2}{x + 1}, so the integral is 12ln⁡∣x−1∣−12ln⁡∣x+1∣+C\frac{1}{2}\ln|x - 1| - \frac{1}{2}\ln|x + 1| + C.

Why it happens: the rule ∫f′(x)f(x) dx=ln⁡∣f(x)∣+C\int \frac{f'(x)}{f(x)}\, dx = \ln|f(x)| + C is remembered without its condition. It needs the derivative of the denominator in the numerator, here 2x2x, and the numerator is 11.

How to check: differentiate. ddxln⁡∣x2−1∣=2xx2−1\frac{d}{dx}\ln|x^2 - 1| = \frac{2x}{x^2 - 1}, which at x=2x = 2 is 43\frac{4}{3}, while the integrand at x=2x = 2 is 13\frac{1}{3}.

Integration Techniques FAQ

Do you have to change the limits when you use u-substitution?

+
You have two legal options, and the only mistake is mixing them. Either convert the bounds — when x = a, u = g(a) — and finish entirely in u, never returning to x; or keep the original x-bounds, back-substitute u = g(x) to get the answer in x, and only then evaluate. Evaluating u-bounds against an x-expression is the error.Read more →

What does it mean if there's a leftover x after substituting?

+
It means the substitution is incomplete, and the expression is meaningless as written. Something like ∫cos u dx mixes one variable in the integrand with another in the differential. Every x must convert, the integrand and the dx alike. A stray x usually signals that the chosen u does not have its derivative present.Read more →

Is the u in integration by parts the same as the u in u-substitution?

+
No — same letter, different job. In substitution, u renames the variable: everything converts and x disappears. In integration by parts, u labels one factor of the integrand and x remains the variable throughout; the ledger is u, du, dv, v. Reading a parts problem as a substitution, or the reverse, is a common source of stuck work.Read more →

Does LIATE always work?

+
No. LIATE — logarithmic, inverse trig, algebraic, trigonometric, exponential — is a classroom mnemonic for choosing u in integration by parts, not a theorem. It picks well most of the time, but it fails often enough that judgment stays in the loop. If the resulting ∫v du is harder than what you started with, swap the roles.Read more →

Why is trigonometric substitution written x = a sin θ instead of u = g(x)?

+
Because it runs backwards. Ordinary substitution names the new variable as a function of the old one; trigonometric substitution expresses the old variable through the new one, which is what lets a Pythagorean identity collapse the radical. The price is that returning to x needs an inverse trig function, a reference triangle, and a domain restriction on θ.Read more →