First-order equations (linear with an integrating factor, Bernoulli, separable, exact) and higher-order linear equations with constant coefficients: auxiliary equation, root cases, Wronskian and initial-value problems.
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 .
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 th-order equation is linear if it can be written as
that is, and its derivatives appear only to the first power, are not multiplied together, and are not inside functions like or . The coefficients may depend on . If it is homogeneous.
Equation
Order
Degree
Linear?
2
1
Yes
2
3
No
1
1
No ( product)
2
1
No ()
2
2 (square first)
No
Superposition: if and solve a linear homogeneous equation, so does . This is why the general solution of an th-order linear equation has exactly arbitrary constants.
2. First-order linear equations and Bernoulli
Put the equation in standard form (coefficient of equal to 1):
Multiply by the integrating factor . The left side becomes , so
Steps: divide by the coefficient of , read , find IF (no constant needed), integrate, then apply the initial condition.
Useful IFs: gives ; gives ; gives ; gives .
If the equation is linear in instead (form ), use in the same way.
Bernoulli equation: with is non-linear, but the substitution turns it into the linear equation
For example (, ) becomes .
3. Other first-order types: separable, homogeneous, exact
GATE also asks first-order non-linear equations. Identify the type first.
Type
Form
Method
Variable separable
Homogeneous
Put , so , then separate
Exact
with
Find with , ; solution
Linear
Integrating factor
Solving an exact equation: integrate with respect to (treating as constant), then add the terms of that do not contain , integrated with respect to . Set the sum equal to .
If is not exact, an integrating factor may make it exact: if is a function of alone, .
Orthogonal trajectories and growth/decay problems () are separable equations in disguise.
4. Higher-order linear equations with constant coefficients
For with constant , try . This gives the auxiliary (characteristic) equation . Its roots decide the complementary function (CF):
Roots
Contribution to the solution
Real, distinct
Real, repeated (twice)
Repeated times
Complex
Repeated complex pair
A root gives a constant term. Negative real parts mean the solution decays; a positive real part means it grows; purely imaginary roots () give sustained oscillation.
For (the RLC and second-order control equation) the roots are real and distinct for , repeated for , and complex for .
For a non-homogeneous equation the general solution is . For a right side , when , where is the auxiliary polynomial. Particular integrals in general are covered in their own topic.
Solutions of three second-order equations with $y(0) = 1$, $y'(0) = 0$: the root type decides the shape.
5. Linear independence, Wronskian and initial values
Solutions of an th-order linear equation form a fundamental set when they are linearly independent. Test with the Wronskian:
W(y1,y2)=y1y1′y2y2′=y1y2′−y2y1′
If at some point of the interval, the solutions are independent. For solutions of the same linear equation, is either zero everywhere or never zero. Example: .
Initial-value problems: an th-order equation needs conditions, usually . 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:
Check order, linearity and whether coefficients are constant.
First order: decide linear / Bernoulli / separable / homogeneous / exact.
Higher order with constant coefficients: auxiliary equation, roots, CF, then PI.
Apply initial conditions and evaluate what is asked (often at a point, or a limit as ).
Existence and uniqueness: for with continuous on an interval containing , the IVP has exactly one solution there.
Formulas to remember
Integrating factorFor
Bernoulli substitutionFor ,
Exactness testFor
Complex roots
Repeated root
Wronskian
Particular integral for an exponential is the auxiliary polynomial
Common mistakes
Reading P(x) before dividing the equation by the coefficient of dy/dx; the integrating factor needs the standard form.
Writing c1 e^(mx) + c2 e^(mx) for a repeated root; the second solution is x e^(mx).
For complex roots a ± jb, putting b in the exponential; the exponential carries the real part a and the sine and cosine carry b.
Quoting a degree for an equation that is not a polynomial in its derivatives (for example one containing sin(y')); the degree is then undefined.
Applying initial conditions to the complementary function alone in a non-homogeneous problem; add the particular integral first.
Calling y y' = x or y'' + sin y = 0 linear because the order is low; linearity is about how y and its derivatives appear.
Worked examples
Try each step yourself, then reveal the working.
Example 1: First-order linear equation with an initial value
numerical
Solve with , and find .
Step 1: Put it in standard form and read $P$ and $Q$.
Try it on paper first.
Example 2: Complex roots with initial conditions
numerical
Solve with , .
Step 1: Write and solve the auxiliary equation.
Try it on paper first.
Example 3: Recognising and solving an exact equation
numerical
Solve .
Step 1: Test for exactness.
Try it on paper first.
Example 4: Repeated root
numerical
Solve with , , and find .
Step 1: Find the roots.
Try it on paper first.
Previous year questions
2 official GATE EC questions on this topic, newest first.
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 EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.