Integration Techniques
Learn integration properly: substitution, integration by parts, partial fractions, and definite integrals with physics-friendly worked examples.
Continue where you stopped
The core idea
On this page
Integration is the inverse operation of differentiation, and it is also how you compute “accumulated total” quantities:
- displacement from velocity: x(t)-x(0) = ∫₀^t v(t') dt'
- work from force: W = ∫ vector F · d vector ℓ
- charge from current: q(t)-q(0) = ∫₀^t i(t') dt'
- Work/energy integrals: UY1: Work-Energy Theorem, UY1: Potential Energy & Conservative Forces
- Continuous charge distributions: UY1: Electric Field Of Line Of Charge
- Potential differences: UY1: Electric Potential
- Math hub: Mathematics for Undergraduate Physics
1) What an integral means
An indefinite integral is an antiderivative:
A definite integral is a number:
Fundamental theorem of calculus:
Always differentiate your final answer once. If you don’t get the integrand back, something is wrong.
2) Core techniques
- Simplify first: factor constants, cancel terms, rewrite roots as powers, use identities (e.g. trig).
- Look for a derivative-of-inside pattern: f(g(x))g'(x) suggests substitution.
- Look for a product where one part simplifies when differentiated: suggests parts.
- If it’s rational: try polynomial division then partial fractions.
- If it’s definite (physics): set limits carefully, track units, and do a quick sanity check.
A. Substitution (u-sub)
If you see a pattern like f(g(x))g'(x), let u = g(x).
Template:
- Choose u = g(x).
- Compute du = g'(x) dx and rewrite dx.
- Change the whole integral into u-language, integrate, then substitute back.
Classic form:
B. Integration by parts
Use when you see a product where differentiating one part simplifies it:
Template:
- Choose u so that du is simpler.
- Choose dv so you can integrate it to get v.
- Apply ∫ u dv = uv-∫ v du.
C. Partial fractions
Use for rational functions (polynomials divided by polynomials).
Example pattern:
Some integrals involve special functions (error function, gamma function, etc.). In physics you usually approximate or use known standard results.
- Missing +C on indefinite integrals.
- Wrong limits on definite integrals (or forgetting to change limits after substitution).
- Sign mistakes in work/potential integrals (e.g. Δ V = -∫ vector E · d vector ℓ).
- Units: your final answer should have the correct physical units (a fast error detector).
3) Worked examples
Example 1: substitution
Compute:
Let u = x² + 1, so du = 2x dx:
Example 2: integration by parts
Compute:
Choose u = x and dv = e^x dx. Then du = dx and v = e^x. So:
Example 3: partial fractions
Compute:
Decompose:
Solving gives A = 1/2 and B = -1/2, so:
Example 4: a physics-definite integral (RMS idea)
Compute:
Use cos² θ = (1/2)(1 + cos 2θ):
If T is a full number of periods (T = (2π n)/ω), then sin(2ω T) = 0 and:
Example 5 (physics): work done by a spring
For a Hooke’s-law spring, F(x) = kx (along the direction of motion). The work done stretching from x = 0 to x = X is:
This is one of the most common “physics definite integrals”: set the limits from the physical endpoints.
Practice (with solutions)
1) Compute ∫ (3x^2) / (1 + x^3) dx
Let u = 1 + x³, so du = 3x² dx:
2) Compute ∫ x cos x dx
Use parts: take u = x, dv = cos x dx so du = dx and v = sin x:
3) (Physics) A capacitor discharges: i(t)=I0 e^{-t/tau}. Find q(t)-q(0) from 0 to t
Hint: q(t)-q(0) = ∫₀^t i(t')dt'.
Answer:
4) (Physics sign) If E_x = k/x^2 along +x, compute V(b)-V(a)
Hint: V_b-Vₐ = -∫ₐ^b Eₓ dx.
Answer:
Related pages
Integration Table
Use as a lookup once you can spot the patterns.
Integration without integration
A shortcut for e^ax sin(bx) and e^ax cos(bx) patterns.
Differentiation Techniques
Integration is reverse differentiation (plus constants).