Skip to content
GATEiit

GATE All 17 EM papers & ES · Differential Equations

First-Order Ordinary Differential Equations

Order, degree and linearity of ODEs, separable, homogeneous and exact equations, linear integrating factor method, Bernoulli reduction, and orthogonal trajectories.

Before you start

  • Integration techniques

    Every first-order method ends in an integral: substitution, by parts and partial fractions.

  • Roots of polynomials and complex numbers

    Higher-order solutions come from the roots of the auxiliary equation, often complex a±jb.

  • Partial derivatives →

    The test for an exact equation compares ∂M/∂y with ∂N/∂x.

  • Integration →

    Solving first-order ODEs requires computing integrating factors and antiderivatives.

This topic comes before: Faraday’s law, Transient response of DC and AC networks, Euler–Cauchy Equations and Variation of Parameters, Higher-Order Linear ODEs (Complementary Function and Particular Integral), Numerical Solution of ODEs (Euler, Heun and Runge–Kutta Methods), Partial Differential Equations and Classification

Concept notes

1. Order, degree and linearity

The order of a differential equation is the order of its highest derivative. The degree is the power of that highest derivative after the equation is made free of radicals and fractions in the derivatives. Degree is defined only when the equation is a polynomial in the derivatives.

An nth-order equation is linear if it can be written as

an(x) y(n)+an−1(x) y(n−1)+⋯+a1(x) y′+a0(x) y=f(x)

that is, y and its derivatives appear only to the first power, are not multiplied together, and are not inside functions like sin⁡y or ey. The coefficients may depend on x. If f(x)=0 it is homogeneous.

Equation Order Degree Linear?
y′′+x2y=sin⁡x 2 1 Yes
(y′′)3+(y′)4+y=0 2 3 No
y y′=x 1 1 No (y y′ product)
y′′+sin⁡y=0 2 1 No (sin⁡y)
1+(y′)2=y′′ 2 2 (square first) No

Superposition: if y1 and y2 solve a linear homogeneous equation, so does c1y1+c2y2. This is why the general solution of an nth-order linear equation has exactly n arbitrary constants.

2. Standard linear form and the integrating factor

A first-order linear ODE writes in standard form as dydx+P(x) y=Q(x). Note the coefficient of dydx must be normalized to 1 first. Multiply through by the integrating factor μ(x)=exp⁡ ⁣(∫P(x) dx), turning the LHS directly into the exact product derivative ddx[μ(x)y]=μ(x)Q(x). Integrating both sides yields y(x) μ(x)=∫μ(x) Q(x) dx+C, where initial condition y(x0)=y0 fixes C. When P(x)=a and Q(x)=Q0 are constant, y(t)=Q0a+(y0−Q0a)e−at with time constant τ=1/a.

ty(t)τ = 1/a (initial tangent)Forced response: y → Q/a
Constant-coefficient first-order solutions: exponential free decay with time constant τ = 1/a (solid) and step response toward steady state Q/a (dashed).

3. Separable and exact differential equations

  • Variable separable: g(y) dy=f(x) dx  ⟹  ∫g(y) dy=∫f(x) dx+C. Always check whether dividing by h(y) drops a constant equilibrium solution (h(y)=0).
  • Homogeneous 1st-order ODE: dydx=F(y/x) reduces to separable via substitution v=y/x  ⟹  y=vx,  dydx=v+xdvdx.
  • Exact equation: M(x,y) dx+N(x,y) dy=0 is exact iff ∂M∂y=∂N∂x. Its solution is ∫M dx (treat y const)+∫(terms of N free of x) dy=C.
  • If not exact, an integrating factor μ(x) or μ(y) exists when My−NxN depends only on x, or Nx−MyM depends only on y.

4. Bernoulli equations and aerospace applications

A Bernoulli equation has the non-linear power yn (n≠0,1): dydx+P(x)y=Q(x) yn. Divide by yn and substitute v=y1−n (dvdx=(1−n)y−ndydx) to turn it directly into a standard linear ODE: dvdx+(1−n)P(x) v=(1−n)Q(x). Quadratic drag dynamics (mdVdt=mg−kV2 for descending probes) and boundary-layer momentum thickness ODEs frequently take linear, separable or Bernoulli forms.

5. Linear independence, Wronskian and initial values

Solutions y1,…,yn of an nth-order linear equation form a fundamental set when they are linearly independent. Test with the Wronskian:

If W≠0 at some point of the interval, the solutions are independent. For solutions of the same linear equation, W is either zero everywhere or never zero. Example: W(ex,e3x)=3e4x−e4x=2e4x≠0.

Initial-value problems: an nth-order equation needs n conditions, usually y(x0),y′(x0),…,y(n−1)(x0). Always find the complete general solution (CF plus PI) before applying them; applying conditions to the CF alone gives wrong constants.

Working order for any GATE question:

  1. Check order, linearity and whether coefficients are constant.
  2. First order: decide linear / Bernoulli / separable / homogeneous / exact.
  3. Higher order with constant coefficients: auxiliary equation, roots, CF, then PI.
  4. Apply initial conditions and evaluate what is asked (often y at a point, or a limit as x→∞).

Existence and uniqueness: for y′+P(x)y=Q(x) with P,Q continuous on an interval containing x0, the IVP has exactly one solution there.

Formulas to remember

Integrating factorNormalize dy/dx + P(x)y = Q(x) first
μ(x)=exp⁡ ⁣(∫P(x) dx)
Linear ODE general solution
y μ(x)=∫μ(x) Q(x) dx+C
Constant-coefficient step response
y′+ay=Q0  ⟹  y(t)=Q0a+(y0−Q0a)e−at
Exactness condition
M dx+N dy=0 exact  ⟺  ∂M∂y=∂N∂x
Bernoulli substitution
y′+P(x)y=Q(x)yn  ⟹  v=y1−n
Homogeneous substitution
dydx=F(y/x)  ⟹  v=yx,  y′=v+xv′
Exactness testFor M dx+N dy=0
∂M∂y=∂N∂x
Complex roots
m=a±jb  ⇒  y=eax(c1cos⁡bx+c2sin⁡bx)
Repeated root
m1=m2=m  ⇒  y=(c1+c2x)emx
Wronskian
W=y1y2′−y2y1′

Common mistakes

  • Computing μ=exp⁡(∫P dx) BEFORE dividing the ODE by the leading coefficient of y′ (e.g. using P=3 instead of 3/x in xy′+3y=x2).
  • Writing y=∫μQ dx+C without dividing the RHS and the constant C by μ(x).
  • Separating x+y wrongly or dropping equilibrium solutions y=0 when dividing by y.
  • Taking μ=eln⁡x=x while dropping the sign of ∫(−1/x) dx=−ln⁡x  ⟹  1/x.
  • Checking Mx=Ny instead of ∂M∂y=∂N∂x for exactness.
  • Reading P(x) before dividing the equation by the coefficient of dy/dx; the integrating factor needs the standard form.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Linear IVP with variable coefficient P(x)

numerical

Solve (1+x2)dydx+2xy=4x2 given y(0)=0, and find y(1).

  1. Step 1: Normalize coefficient of dy/dx to 1.

    Try it on paper first.

Example 2: Complex roots with initial conditions

numerical

Solve y′′+4y′+13y=0 with y(0)=1, y′(0)=0.

  1. Step 1: Write and solve the auxiliary equation.

    Try it on paper first.

Example 3: Exact differential equation

numerical

Find the constant k so (3x2y+ky2) dx+(x3+4xy) dy=0 is exact, and write the implicit solution.

  1. Step 1: Enforce M_y = N_x.

    Try it on paper first.

Example 4: Repeated root

numerical

Solve y′′−6y′+9y=0 with y(0)=2, y′(0)=5, and find y(1).

  1. Step 1: Find the roots.

    Try it on paper first.

Previous year questions

2 official GATE Engineering Mathematics questions mapped to this topic across published papers, newest first.

Topic test

10 questions: up to 2 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 Engineering Mathematics (All 17 EM papers & ES) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.