Skip to content
GATEiit

GATE CSE · Engineering Mathematics

Integration

Indefinite and definite integrals: substitution, integration by parts, partial fractions, the properties of definite integrals, improper integrals and their convergence, and areas between curves.

Before you start

  • Derivatives →

    Integration reverses differentiation, and the Leibniz rule mixes both.

  • Logarithms and trigonometric identities

    Answers such as ln⁡43 or integrals of sin⁡2x need these identities.

This topic comes before: Random variables, Continuous random variables and probability distribution functions

Concept notes

1. Standard integrals and techniques

f(x) ∫f(x) dx
xn (n≠−1) xn+1n+1
1x ln⁡x (for x>0; in general ln⁡ of the absolute value)
eax eaxa
sin⁡x, cos⁡x −cos⁡x, sin⁡x
sec⁡2x tan⁡x
11+x2 tan⁡−1x
11−x2 sin⁡−1x

Add a constant C to every indefinite integral.

Substitution: if the integrand has the form f(g(x)) g′(x), put u=g(x). In a definite integral, change the limits too. Example: ∫2x ex2 dx=ex2+C.

Integration by parts: ∫u dv=uv−∫v du. Choose u in the order ILATE (inverse trig, log, algebraic, trig, exponential): the earlier type is u. So for ∫xex dx take u=x; for ∫xln⁡x dx take u=ln⁡x.

Partial fractions: split a proper rational function, for example 1x(x+1)=1x−1x+1, then integrate each part as a logarithm.

Useful trig identities: sin⁡2x=1−cos⁡2x2 and cos⁡2x=1+cos⁡2x2 turn squares into integrable terms.

2. Definite integrals and their properties

Fundamental theorem of calculus: if F′=f and f is continuous on [a,b], then ∫abf(x) dx=F(b)−F(a).

Leibniz rule: ddx∫a(x)b(x)f(t) dt=f(b(x)) b′(x)−f(a(x)) a′(x).

Properties that save time:

Property Use
∫abf(x) dx=∫abf(a+b−x) dx the "king" property; add the two forms
∫−aaf=0 if f is odd x3, sin⁡x, xcos⁡x
∫−aaf=2∫0af if f is even x2, cos⁡x, ∣x∣
∫0nTf=n∫0Tf if f has period T ∣sin⁡x∣ has period π
∫abf=∫acf+∫cbf split at corners of ∣⋅∣ or floor

Wallis formula for n≥2: ∫0π/2sin⁡nx dx=∫0π/2cos⁡nx dx=n−1n⋅n−3n−2⋯ ending in 12⋅π2 when n is even, and in 23⋅1 when n is odd. So ∫0π/2sin⁡2x dx=π4 and ∫0π/2sin⁡3x dx=23.

The average value of f on [a,b] is 1b−a∫abf(x) dx.

3. Improper integrals

An integral is improper if a limit is infinite or the integrand blows up inside or at an end of the interval. It is defined as a limit, for example ∫1∞f(x) dx=lim⁡b→∞∫1bf(x) dx. If the limit is finite the integral converges; otherwise it diverges.

The p-test settles most questions:

Integral Converges when
∫1∞dxxp p>1 (value 1p−1)
∫01dxxp p<1 (value 11−p)
∫0∞e−ax dx a>0 (value 1a)

At p=1 both diverge: ∫1∞dxx grows like ln⁡b.

Gamma integral: ∫0∞xne−x dx=n! for whole numbers n≥0. More generally Γ(n)=∫0∞xn−1e−x dx, with Γ(n+1)=n Γ(n) and Γ(12)=π.

Check the integrand for points where it is undefined before using the fundamental theorem. For example, ∫−11dxx2 is not −2: the integrand blows up at 0 and the integral diverges.

4. Area under and between curves

For f≥0 on [a,b], ∫abf(x) dx is the area between the curve and the x-axis. Where f<0 the integral counts area as negative, so for total area integrate ∣f∣: split at the roots of f and add the absolute values.

Area between two curves y=f(x) (upper) and y=g(x) (lower): A=∫ab(f(x)−g(x)) dx.

Method:

  1. Solve f(x)=g(x) to get the intersection points; these are usually the limits.
  2. Test one point in between to see which curve is on top.
  3. If the curves cross inside the interval, split there.

For y=x and y=x2: they meet at x=0 and x=1; at x=12, x>x2, so A=∫01(x−x2) dx=12−13=16.

A handy result: the area between the parabola y=x2 and a line that cuts it at x=α and x=β is (β−α)36.

y = x (upper) y = x² (lower) (1, 1) 1 0 area 1/6
The shaded area between $y = x$ and $y = x^2$ on $[0, 1]$ is $\int_0^1 (x - x^2)\,dx = \frac{1}{6}$.

Formulas to remember

Integration by parts
∫u dv=uv−∫v du
Fundamental theorem
∫abf(x) dx=F(b)−F(a),F′=f
Leibniz rule
ddx∫a(x)b(x)f(t) dt=f(b(x)) b′(x)−f(a(x)) a′(x)
King property
∫abf(x) dx=∫abf(a+b−x) dx
Odd and even functions
p-test
∫1∞dxxp=1p−1 (p>1),∫01dxxp=11−p (p<1)
Gamma integral
∫0∞xne−x dx=n!
Area between curvesf above g on [a,b]
A=∫ab(f(x)−g(x)) dx

Common mistakes

  • Forgetting to change the limits after a substitution in a definite integral.
  • Applying the fundamental theorem across a point where the integrand is undefined, such as 1/x² on [−1, 1].
  • Treating the integral of a function that changes sign as its total area; split at the roots and add absolute values.
  • Missing the chain-rule factor b'(x) in the Leibniz rule.
  • Calling ∫ from 1 to ∞ of 1/x convergent; at p = 1 it diverges.
  • Getting the upper and lower curve the wrong way round, which gives a negative area.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Integration by parts

numerical

Evaluate ∫01xex dx.

  1. Step 1: Choose u and dv using ILATE.

    Try it on paper first.

Example 2: Using the king property

numerical

Evaluate I=∫0π/2sin⁡xsin⁡x+cos⁡x dx.

  1. Step 1: Replace x by a + b − x.

    Try it on paper first.

Example 3: Area between a line and a parabola

numerical

Find the area enclosed between y=x and y=x2.

  1. Step 1: Find the intersection points.

    Try it on paper first.

Example 4: Which improper integrals converge?

conceptual

Decide whether each converges, and find the value if it does: (i) ∫1∞dxx2, (ii) ∫1∞dxx, (iii) ∫01dxx.

  1. Step 1: Write (i) as a limit.

    Try it on paper first.

Previous year questions

7 official GATE CSE questions on this topic, newest first.

Practise these 7 PYQs →

Topic test

10 questions: up to 4 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE CSE syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.