4.6.16Ordinary Differential Equations

Cauchy-Euler (Equidimensional) equation

1,937 words9 min readdifficulty · medium2 backlinks

WHAT is it?

The defining feature: degree of xx = order of derivative. This balance is what makes the substitution y=xmy=x^m work.


HOW we solve it — derive from scratch

Method 1: the power guess

Try y=xmy = x^m. Then y=mxm1,y=m(m1)xm2.y' = m x^{m-1}, \qquad y'' = m(m-1)x^{m-2}.

Substitute into ax2y+bxy+cy=0ax^2y'' + bxy' + cy = 0: ax2m(m1)xm2+bxmxm1+cxm=0a x^2\cdot m(m-1)x^{m-2} + b x\cdot m x^{m-1} + c\, x^m = 0

Why this step? Each xx-power cancels: x2xm2=xmx^2\cdot x^{m-2}=x^m and xxm1=xmx\cdot x^{m-1}=x^m. So: [am(m1)+bm+c]xm=0.\big[\,a\,m(m-1) + b\,m + c\,\big]\,x^m = 0.

For x0x\neq 0 we need the bracket =0=0:

The three cases (and WHY each form)

Case 1 — distinct real roots m1m2m_1\neq m_2: y=C1xm1+C2xm2.y = C_1 x^{m_1} + C_2 x^{m_2}. Why: two independent power solutions, linear combination is general.

Case 2 — repeated root m1=m2=mm_1=m_2=m: We only get one solution xmx^m. Where does the second come from?

y=(C1+C2lnx)xm.y = (C_1 + C_2 \ln x)\,x^m.

Case 3 — complex roots m=α±iβm = \alpha \pm i\beta: xα±iβ=xαx±iβ=xαe±iβlnxx^{\alpha\pm i\beta}=x^\alpha x^{\pm i\beta}=x^\alpha e^{\pm i\beta \ln x}. Using Euler's formula eiθ=cosθ+isinθe^{i\theta}=\cos\theta+i\sin\theta with θ=βlnx\theta=\beta\ln x: y=xα[C1cos(βlnx)+C2sin(βlnx)].y = x^{\alpha}\big[\,C_1\cos(\beta \ln x) + C_2\sin(\beta \ln x)\,\big].

Figure — Cauchy-Euler (Equidimensional) equation

Method 2: substitution x=etx=e^t (proves Method 1)

Let t=lnxt=\ln x, so dtdx=1x\dfrac{dt}{dx}=\dfrac1x. By chain rule: dydx=1xdydt  xy=dydt.\frac{dy}{dx}=\frac{1}{x}\frac{dy}{dt}\ \Rightarrow\ x y' = \frac{dy}{dt}. Differentiate again (product + chain rule): y=1x2(d2ydt2dydt)  x2y=d2ydt2dydt.y'' = \frac{1}{x^2}\Big(\frac{d^2y}{dt^2}-\frac{dy}{dt}\Big)\ \Rightarrow\ x^2 y'' = \frac{d^2y}{dt^2}-\frac{dy}{dt}.

Why this step? Substituting these into ax2y+bxy+cy=0ax^2y''+bxy'+cy=0 kills every xx: a(y¨y˙)+by˙+cy=0    ay¨+(ba)y˙+cy=0,a\Big(\ddot y - \dot y\Big) + b\,\dot y + c\,y = 0 \;\Longrightarrow\; a\,\ddot y + (b-a)\dot y + c\,y = 0, a constant-coefficient ODE in tt whose characteristic equation is am2+(ba)m+c=0am^2+(b-a)m+c=0identical to the indicial equation. Solve in tt, then replace t=lnxt=\ln x. This is why repeated roots produce temt(lnx)xmt e^{mt}\to (\ln x)x^m.


Worked Examples


Steel-manned Mistakes


Recall Feynman: explain to a 12-year-old

Imagine a special spring puzzle where the rule stays the same no matter how big or small you draw it — it doesn't have a favourite size (that's "equidimensional"). For springs that don't care about size, the natural shapes aren't bendy waves but stretchy power curves like xx, x2x^2, 1x\frac1x. So instead of guessing wiggles, we guess "xx to some power", plug it in, and the whole equation shrinks down to a tiny number-puzzle (a quadratic) that tells us which powers fit. If two powers come out equal, we sneak in a lnx\ln x to find the second hidden answer. If they come out imaginary, the curve gently spins as it grows — that's where cos(lnx)\cos(\ln x) and sin(lnx)\sin(\ln x) come from.


Flashcards

What substitution converts a Cauchy-Euler equation to constant-coefficient?
x=etx=e^t, i.e. t=lnxt=\ln x.
For ax2y+bxy+cy=0ax^2y''+bxy'+cy=0, what is the indicial equation?
am(m1)+bm+c=0am(m-1)+bm+c=0, i.e. am2+(ba)m+c=0am^2+(b-a)m+c=0.
Why does guessing y=xmy=x^m work?
xkdkdxkxmx^k\frac{d^k}{dx^k}x^m is always a constant times xmx^m, so every term collapses to (number)xm\cdot x^m.
General solution for distinct real roots m1,m2m_1,m_2?
y=C1xm1+C2xm2y=C_1x^{m_1}+C_2x^{m_2}.
General solution for a repeated root mm?
y=(C1+C2lnx)xmy=(C_1+C_2\ln x)x^m.
General solution for complex roots α±iβ\alpha\pm i\beta?
y=xα[C1cos(βlnx)+C2sin(βlnx)]y=x^\alpha[C_1\cos(\beta\ln x)+C_2\sin(\beta\ln x)].
Where does the lnx\ln x in the repeated-root case come from?
From the temtte^{mt} second solution in the tt-world; t=lnxt=\ln x.
Why is it called "equidimensional"?
Every term xky(k)x^k y^{(k)} has the same physical dimensions, so the equation is scale-invariant.
What is x2yx^2y'' in terms of t=lnxt=\ln x derivatives?
y¨y˙\ddot y-\dot y (and xy=y˙xy'=\dot y).
Is x=0x=0 a regular point?
No, it's a singular point — the leading coefficient ax2ax^2 vanishes there.

Connections

  • Constant-Coefficient Linear ODEs — Cauchy-Euler becomes one via x=etx=e^t.
  • Characteristic / Auxiliary Equation — same role, here it's the indicial equation.
  • Euler's Formula — converts xiβx^{i\beta} into real cos(lnx),sin(lnx)\cos(\ln x),\sin(\ln x).
  • Reduction of Order — alternate route to the lnx\ln x second solution.
  • Frobenius Method & Regular Singular Points — Cauchy-Euler is the simplest regular singular point; indicial equation generalizes here.
  • Variation of Parameters — for the non-homogeneous case.

Concept Map

defined by

makes work

equidimensional means

substitute, x powers cancel

solve quadratic

distinct real

repeated

complex a ± i b

converts to

repeated root gives t e^mt

analogy explains

Cauchy-Euler equation

degree of x = derivative order

Guess y = x^m

scale-invariant in x

Indicial equation a m^2 + b-a m + c = 0

Roots for m

y = C1 x^m1 + C2 x^m2

y = C1 + C2 ln x times x^m

y = x^a cos and sin of b ln x

Substitution x = e^t

constant-coefficient ODE in t

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Cauchy-Euler equation hota hai jaisa ax2y+bxy+cy=0ax^2y''+bxy'+cy=0 — yahan ek special pattern hai: jis derivative ka order kk hai, uske aage exactly xkx^k lagaa hota hai. Isi balance ki wajah se ise "equidimensional" bolte hain, kyunki har term ka dimension same hota hai aur equation ko xx ke scale se koi farak nahi padta.

Constant-coefficient ODE mein hum erxe^{rx} guess karte hain. Yahan multiply-by-xx wali duniya hai, isliye hum y=xmy=x^m guess karte hain. Jab plug karte ho, har term mein xx ki power cancel ho jaati hai aur sirf ek chhota quadratic bachta hai: am(m1)+bm+c=0am(m-1)+bm+c=0. Yeh indicial equation hai. Yaad rakho, x2yx^2y'' se m(m1)m(m-1) banta hai, sidha m2m^2 nahi — yahin pe bachche galti karte hain.

Roots se solution decide hota hai. Do alag real roots → C1xm1+C2xm2C_1x^{m_1}+C_2x^{m_2}. Repeated root → second solution mein lnx\ln x aata hai: (C1+C2lnx)xm(C_1+C_2\ln x)x^m. Complex roots α±iβ\alpha\pm i\betaxα[cos(βlnx)x^\alpha[\cos(\beta\ln x) aur sin(βlnx)]\sin(\beta\ln x)]. Yeh lnx\ln x kahan se aaya? Substitution x=etx=e^t karo to puri equation constant-coefficient ban jaati hai tt mein, aur wahan repeated root par temtte^{mt} aata hai — wapas t=lnxt=\ln x daalo to lnx\ln x aa jaata hai. Bas dhyaan rakho: yeh sab x>0x>0 ke liye valid hai, aur x=0x=0 ek singular point hai.

Go deeper — visual, from zero

Test yourself — Ordinary Differential Equations

Connections