Skip to content
GATEiit

GATE EC · Engineering Mathematics

Euler-Cauchy equation

The Euler-Cauchy (equidimensional) equation x²y″ + axy′ + by = f(x): the auxiliary equation m(m − 1) + am + b = 0, the three root cases, the substitution x = e^t for non-homogeneous and higher-order forms, the Legendre form, and initial value problems.

Before you start

Concept notes

1. The equation and the auxiliary equation

The Euler-Cauchy (or equidimensional) equation of second order is

x2y′′+a x y′+b y=0,x>0,

where a,b are constants. Each term has the power of x equal to the order of the derivative, so xky(k) keeps the same 'dimension'. The coefficients are variable, so emx does not work; the right trial is a power.

Trial y=xm. Then xy′=mxm and x2y′′=m(m−1)xm. Dividing by xm gives the auxiliary (indicial) equation

m(m−1)+a m+b=0⟺m2+(a−1)m+b=0.

The most common slip is writing m2+am+b=0; the −m from m(m−1) must be kept.

The point x=0 is a singular point (the leading coefficient x2 vanishes there), so solutions are stated on x>0. For x<0 replace x by ∣x∣ in every power and logarithm.

The equation is also written with D=d/dx as (x2D2+axD+b)y=0. Third-order versions x3y′′′+… are solved the same way with x3y′′′→m(m−1)(m−2)xm.

2. The three cases of roots

Let the roots of m2+(a−1)m+b=0 be m1,m2.

Roots General solution
Real, distinct m1≠m2 y=c1xm1+c2xm2
Real, repeated m y=(c1+c2ln⁡x) xm
Complex α±jβ y=xα[c1cos⁡(βln⁡x)+c2sin⁡(βln⁡x)]

Compare with constant-coefficient equations: there a repeated root gives an extra factor x; here it gives an extra factor ln⁡x. There complex roots give cos⁡βx; here they give cos⁡(βln⁡x). Both follow from x=et, which maps t→ln⁡x.

The repeated-root condition is (a−1)2=4b, and then m=(1−a)/2.

Behaviour near x=0+. A term xm with m<0 blows up as x→0+, and cos⁡(βln⁡x) oscillates infinitely often in (0,1) because ln⁡x→−∞. GATE sometimes asks which solutions stay bounded as x→0+: only terms with m>0 (or α>0) do.

x²y″ + a·x·y′ + b·y = 0 (x > 0)try y = x^m (or put x = e^t)m(m − 1) + a·m + b = 0x·y′ = Dyx²y″ = D(D − 1)yD = d/dtDistinct real rootsm₁ ≠ m₂Repeated rootm₁ = m₂ = mComplex rootsm = α ± jβy = c₁x^m₁ + c₂x^m₂y = (c₁ + c₂ ln x)·x^my = x^α [c₁ cos(β ln x)+ c₂ sin(β ln x)]
Solving $x^2y'' + axy' + by = 0$: put $y = x^m$ (or $x = e^t$), solve $m(m-1) + am + b = 0$ and pick the form by the type of roots.

3. The substitution x = e^t and non-homogeneous equations

Put x=et (so t=ln⁡x) and write D=d/dt. Then

xdydx=Dy,x2d2ydx2=D(D−1)y,x3d3ydx3=D(D−1)(D−2)y.

The equation x2y′′+axy′+by=f(x) becomes the constant-coefficient equation

[D2+(a−1)D+b]y=f(et).

Solve it by the usual CF + PI method, then put t=ln⁡x back. Useful conversions of the right side:

f(x) f(et)
xk ekt
ln⁡x t
sin⁡(ln⁡x) sin⁡t
xkln⁡x t ekt

For f(x)=xk a quicker route is the trial yp=Axk: substituting gives A [k(k−1)+ak+b]=1, valid when k is not a root of the auxiliary equation. If k is a simple root, use yp=Axkln⁡x (the same rule as resonance in constant-coefficient equations).

4. Legendre form and initial value problems

The Legendre linear equation is

(px+q)2y′′+a (px+q) y′+b y=f(x).

Put px+q=et. Then (px+q)y′=p Dy and (px+q)2y′′=p2D(D−1)y. Do not forget the factors p and p2: this is where most errors happen.

Initial value problems. Conditions are usually given at x=1, where ln⁡1=0 and xm=1, so the algebra is clean:

  • y=c1xm1+c2xm2: y(1)=c1+c2, y′(1)=m1c1+m2c2.
  • y=(c1+c2ln⁡x)xm: y(1)=c1, y′(1)=mc1+c2.
  • y=c1cos⁡(βln⁡x)+c2sin⁡(βln⁡x) (with α=0): y(1)=c1, y′(1)=βc2.

Conditions at x=0 cannot generally be imposed, because x=0 is a singular point; a bounded-at-origin requirement instead removes the terms with negative powers.

Checking an answer. Substitute y=xm into the left side of the equation: the result must be [m(m−1)+am+b]xm=0. For a GATE MCQ this check is faster than solving.

Formulas to remember

Euler-Cauchy equation
x2y′′+a x y′+b y=f(x)
Auxiliary equationFrom the trial y=xm
m(m−1)+a m+b=0
Distinct real roots
y=c1xm1+c2xm2
Repeated root
y=(c1+c2ln⁡x) xm
Complex rootsRoots α±jβ
y=xα[c1cos⁡(βln⁡x)+c2sin⁡(βln⁡x)]
Substitution x = e^tD=d/dt
xy′=Dy,x2y′′=D(D−1)y,x3y′′′=D(D−1)(D−2)y
Legendre formWith px+q=et
(px+q)y′=pDy,(px+q)2y′′=p2D(D−1)y

Common mistakes

  • Writing the auxiliary equation as m² + am + b = 0; the correct form is m(m − 1) + am + b = 0, that is m² + (a − 1)m + b = 0.
  • Using x·x^m for a repeated root; the second solution of an Euler-Cauchy equation is x^m ln x.
  • Writing cos βx instead of cos(β ln x) for complex roots.
  • Leaving the right side as a function of x after putting x = e^t; convert x^k to e^(kt) and ln x to t before finding the particular integral.
  • Dropping the factors p and p² in the Legendre form (px + q)²y″ + …; (px + q)y′ = pDy and (px + q)²y″ = p²D(D − 1)y.
  • Trying to impose conditions at x = 0, which is a singular point; apply them at x = 1 or use boundedness.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Distinct roots with initial conditions

numerical

Solve x2y′′−2xy′−4y=0 with y(1)=3, y′(1)=7, and find y(2).

  1. Step 1: Write the auxiliary equation.

    Try it on paper first.

Example 2: Repeated root

numerical

Solve x2y′′−3xy′+4y=0 with y(1)=1, y′(1)=0, and find y(e).

  1. Step 1: Find the roots.

    Try it on paper first.

Example 3: Complex roots

conceptual

Find the general solution of x2y′′+xy′+4y=0 and say how many zeros a non-trivial solution has in (0,1).

  1. Step 1: Write the auxiliary equation.

    Try it on paper first.

Example 4: Non-homogeneous equation by x = e^t

numerical

Solve x2y′′−xy′+y=ln⁡x.

  1. Step 1: Substitute $x = e^t$.

    Try it on paper first.

Previous year questions

1 official GATE EC question on this topic, newest first.

Topic test

9 questions: up to 1 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.