← Engineering Mathematics · UPSC ESE Civil

Chapter 5 of 6

Differential Equations

In the UPSC ESE Civil syllabus under Engineering Mathematics · 2 parts

📑 Contents (19 sections)

Part 1 of 2

Ordinary Differential Equations

Last reviewed 16 Sept 2026 · 7 min read

Basic definitions

  • Ordinary differential equation (ODE) — involves derivatives with respect to one independent variable.
  • Order — highest derivative present.
  • Degree — power of the highest-order derivative after removing radicals and fractions in derivatives.
  • Linear — dependent variable and its derivatives appear to the first power and are not multiplied together.
  • General solution contains as many arbitrary constants as the order; particular solution — constants fixed by initial/boundary conditions.
  • Formation — eliminating arbitrary constants gives an ODE of order .

First-order equations

1. Variable separable

→ integrate both sides.

2. Homogeneous equations

— substitute , → separable.

3. Exact equations

is exact if

Solution: .

Integrating factors for non-exact equations:

  • If → IF .
  • If → IF .

4. Linear first-order equation

FormulaLinear equation

Integrating factor ; solution

5. Bernoulli's equation

— divide by and substitute → linear in .

Applications of first-order ODEs

Application Model Solution
Exponential growth/decay (population, radioactive decay, compound interest) ; half-life
Newton's law of cooling
RC circuit (charging) ; time constant
RL circuit
Mixing problems Rate in − rate out Linear ODE
Orthogonal trajectories Replace by —

Higher-order linear equations with constant coefficients

General solution = complementary function (CF) + particular integral (PI).

Complementary function

Solve the auxiliary equation (replace by ), e.g. :

Roots CF
Real and distinct
Real and equal
Complex

Particular integral — operator method

:

Rule
if ; if (resonance),
or Replace by in ; if denominator becomes zero, multiply by and differentiate the denominator — e.g.
(polynomial) Expand in ascending powers of (binomial series)

Method of variation of parameters

For with CF :

(Wronskian .) Works for any (e.g. , ).

Part 2 of 2

Partial Differential Equations

Last reviewed 16 Sept 2026 · 6 min read

Definitions

  • A partial differential equation (PDE) involves partial derivatives of a function of two or more independent variables.
  • Notation for : , , , , .
  • Order, degree and linearity defined as for ODEs.

Formation of PDEs

  1. Eliminating arbitrary constants — differentiate partially and eliminate (if the number of constants equals the number of independent variables, a first-order PDE results).
  2. Eliminating arbitrary functions — e.g. , .

Lagrange's linear equation

Auxiliary (subsidiary) equations:

Find two independent solutions and ; the general solution is .

(Methods: grouping, and multipliers with .)

Classification of second-order linear PDEs

For :

Discriminant Type Standard example
Elliptic Laplace equation (steady state)
Parabolic Heat (diffusion) equation
Hyperbolic Wave equation

Fourier series

A periodic function of period can be represented as

FormulaEuler coefficients (interval −L to L)
  • Even function (): — cosine series only
  • Odd function (): — sine series only
  • Half-range series on : sine series ; cosine series
  • Dirichlet conditions — a function that is bounded, has finitely many discontinuities and extrema in a period has a convergent Fourier series; at a jump it converges to the average of left and right limits.

Method of separation of variables

Assume , substitute, separate into ODEs set equal to a separation constant (chosen negative, , for oscillatory/decaying physically meaningful solutions), solve with boundary conditions, and superpose using Fourier series for initial conditions.

One-dimensional heat (diffusion) equation

FormulaRod of length L with ends kept at zero temperature

Boundary conditions ; initial temperature :

Higher modes decay faster; the steady state is (or linear for fixed unequal end temperatures).

Terzaghi's one-dimensional consolidation equation (excess pore pressure) has exactly this form (see Consolidation in Geotechnical Engineering).

Finished reading? Test yourself.

A timed chapter test from the UPSC ESE Civil series, on exactly this chapter.

Practice this chapter →