Knowledge / Mathematics / Integral calculus

Integral calculus

Mathematics (B.Sc) · Calculus and analysis · free study notes for exams, placements and interviews

In short

Integral calculus is the study of integration — the inverse of differentiation and, independently, the limit of a sum. Two distinct objects share the name: the indefinite integral (a family of antiderivatives) and the definite integral (a number obtained as a limit of Riemann sums), joined by the Fundamental Theorem of Calculus. It is examined in every B.Sc. Mathematics "Calculus"/"Analysis" paper under UGC CBCS, in GATE MA, CSIR-UGC NET, IIT JAM, ISI/CMI entrances and in the aptitude-plus-maths rounds of analytics and quant employers. Practically, every "total from a rate" computation — distance from speed, charge from current, expected value from a density, interest from a rate — is an integral.

Explained

The two definitions and why both are needed

Properties, FTC and the mean value theorems

Techniques of integration (the examinable toolkit)

  1. Standard forms: memorise the dozen listed in the formula section; most problems are reduced to these.
  2. Substitution (change of variable): x = g(t), dx = g′(t)dt; for definite integrals change the limits rather than back-substituting. Requires g to be monotone (one-one) on the range used.
  3. Integration by parts: ∫u dv = uv − ∫v du. Choose u by ILATE (Inverse, Log, Algebraic, Trigonometric, Exponential) — the earlier class becomes u.
  4. Partial fractions for rational functions P/Q with deg P < deg Q (divide first if not): linear factor (x−a) → A/(x−a); repeated (x−a)k → A₁/(x−a) + … + A_k/(x−a)k; irreducible quadratic → (Ax+B)/(x²+bx+c); repeated quadratic → extra terms with higher powers.
  5. Trigonometric substitution: √(a²−x²) → x = a sinθ; √(a²+x²) → x = a tanθ; √(x²−a²) → x = a secθ.
  6. Weierstrass substitution t = tan(x/2) for rational functions of sin x and cos x: sin x = 2t/(1+t²), cos x = (1−t²)/(1+t²), dx = 2dt/(1+t²).
  7. Special forms: ∫dx/(a + b cos x), ∫(p sin x + q cos x + r)/(a sin x + b cos x + c)dx (write numerator = λ(denominator) + μ(denominator)′ + ν), ∫e^{ax}sin bx dx (by parts twice, or by the standard result).
  8. Reduction formulae: repeated integration by parts giving Iₙ in terms of Iₙ₋₂ — for sinⁿx, cosⁿx, tanⁿx, secⁿx — or in terms of Iₙ₋₁, as for xⁿex and (log x)ⁿ.
  9. Properties used as shortcuts: ∫₀ᵃf(x)dx = ∫₀ᵃf(a−x)dx (king's rule); even/odd symmetry; periodic functions ∫₀^{nT} f = n∫₀T f.
  10. Not every elementary function has an elementary antiderivative — e^{−x²}, sin x/x, 1/log x, √(1+x⁴) (Liouville's theorem). These are evaluated numerically or by series.

Improper integrals, convergence tests and special functions

Applications in one variable

Numerical integration (when no closed form exists)

Key points

Formulas and examples

∫xⁿdx = x^{n+1}/(n+1) + C (n ≠ −1); ∫dx/x = ln|x| + C
∫e^{ax}dx = e^{ax}/a + C; ∫ax dx = ax/ln a + C
∫sin x dx = −cos x + C; ∫cos x dx = sin x + C; ∫sec²x dx = tan x + C
∫tan x dx = ln|sec x| + C; ∫sec x dx = ln|sec x + tan x| + C
∫dx/(a²+x²) = (1/a)tan⁻¹(x/a) + C; ∫dx/(a²−x²) = (1/2a)ln|(a+x)/(a−x)| + C
∫dx/√(a²−x²) = sin⁻¹(x/a) + C; ∫dx/√(x²+a²) = ln|x+√(x²+a²)| + C
∫√(a²−x²)dx = (x/2)√(a²−x²) + (a²/2)sin⁻¹(x/a) + C
∫u dv = uv − ∫v du (by parts); ∫e^{ax}sin bx dx = e^{ax}(a sin bx − b cos bx)/(a²+b²) + C
Iₙ = ∫₀^{π/2}sinⁿx dx = ((n−1)/n)Iₙ₋₂, with I₀ = π/2, I₁ = 1 (Wallis)
∫₀^{π/2}sinp θ cosq θ dθ = ½ B((p+1)/2, (q+1)/2); B(m,n) = Γ(m)Γ(n)/Γ(m+n)
Γ(n) = ∫₀^∞x^{n−1}e^{−x}dx; Γ(n+1) = nΓ(n); Γ(1/2) = √π
Riemann sum: ∫ₐᵇf = lim_{n→∞} Σ_{i=1}^{n} f(a + iΔx)Δx, Δx = (b−a)/n
Arc length s = ∫ₐᵇ√(1+(dy/dx)²)dx (metre); Volume V = π∫ₐᵇy²dx (cubic metre)
Trapezoidal: (h/2)[y₀ + yₙ + 2Σy_interior]; Simpson 1/3: (h/3)[y₀ + yₙ + 4Σy_odd + 2Σy_even]

Symbols: C arbitrary constant of integration; a,b real constants; h step size (b−a)/n; n a positive integer; Γ, B the gamma and beta functions. In applications the units follow the physical quantities — ∫F dx in newton-metre = joule, ∫i dt in ampere-second = coulomb, length in metre, volume in m³.

Example 1 — Riemann sum from first principles. Evaluate ∫₀¹x²dx as a limit of sums.

Example 2 — by parts and partial fractions. (a) ∫x²ex dx: u = x², dv = ex dx ⟹ x²ex − 2∫xex dx = x²ex − 2(xex − ex) = ex(x² − 2x + 2) + C. Check by differentiating: ex(x²−2x+2) + ex(2x−2) = x²ex. ✓ (b) ∫(3x+5)/((x−1)(x+2))dx. Set A/(x−1) + B/(x+2): 3x+5 = A(x+2) + B(x−1). x = 1 → 8 = 3A, A = 8/3; x = −2 → −1 = −3B, B = 1/3. Integral = (8/3)ln|x−1| + (1/3)ln|x+2| + C.

Example 3 — definite integral by king's rule. Evaluate I = ∫₀^{π/2} dx/(1 + tan x) [equivalently ∫₀^{π/2} cos x/(cos x + sin x)dx].

Example 4 — Beta–Gamma and Wallis. Evaluate ∫₀^{π/2} sin⁴θ cos²θ dθ two ways.

Example 5 — numerical integration compared. Estimate ∫₀¹ dx/(1+x²) with n = 4 (exact value tan⁻¹1 = π/4 = 0.785398).

IntegralConverges?Reason
∫₁^∞ dx/x²Yes (=1)p = 2 > 1
∫₁^∞ dx/xNop = 1, grows as ln b
∫₀¹ dx/√xYes (=2)p = 1/2 < 1
∫₀¹ dx/xNop = 1 ≥ 1
∫₀^∞ e^{−x}dxYes (=1)exponential decay
∫₀^∞ (sin x)/x dxYes (=π/2)conditionally, not absolutely
MethodBest forWatch out for
SubstitutionComposite functions, f(g(x))g′(x)Change the limits; keep g one-one
By parts (ILATE)Products: x·eˣ, x·ln x, inverse-trigWrong choice of u loops forever
Partial fractionsProper rational functionsDivide first if deg P ≥ deg Q
Trig substitution√(a²±x²), √(x²−a²)Restrict θ so the root stays positive
Reduction formulaInteger powers sinⁿ, secⁿ, (ln x)ⁿState the base cases I₀, I₁
Beta–Gamma∫₀^{π/2}sinp cosq, ∫₀^∞x^{n−1}e^{−x}Needs p, q > −1; m, n > 0

Where it is used

from scipy.integrate import quad
import numpy as np
val, err = quad(lambda x: 1/(1+x**2), 0, 1)   # 0.7853981633974483, err ~ 1e-14
print(val, np.pi/4)

Interview questions

Common mistakes

Related topics

Limits, continuity and differentiability · Applications of derivatives · Multiple integrals · Sequences and series · Real analysis basics · Differential equations and numerical methods

Open in the Knowledge reader →Find jobs →