x²y″ − 2y = 0
m² − m − 2 = 0, m = 2, −1
y = c₁x² + c₂/x.
The equation has solutions where . Distinct real roots give ; a repeated root gives ; complex roots give .
This page is easier if you are comfortable with:
Substituting gives and , so every term has the factor and the equation reduces to a quadratic. For : , roots and , so . For : , repeated root 0, so . The quadratic is solved by the quadratic formula.
For : , , so . With the substitution the equation becomes one with constant coefficients, the types in distinct real roots, repeated root and complex roots. The logarithm comes from the derivative of ln x.
The equation arises in problems with scaling symmetry, such as the radial part of Laplace's equation in polar coordinates. Its relatives with variable coefficients are solved by series (the power series solution, Frobenius); the form with constant coefficients is in the auxiliary equation.
This equation has power-function solutions found from a quadratic in the exponent.
The exponents m = 2 and m = −1 come from m² − m − 2 = 0.
These examples are worked by hand, step by step, so you can compare your own working.
Find the general solution.
Find the general solution.
Find the general solution.
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
m² − m − 2 = 0, m = 2, −1
y = c₁x² + c₂/x.
c₁ = 1, c₂ = 2
Then y(2) = 4 + 1.
m² + 4 = 0, m = ±2i
y = cos(2 ln x).
m = 0 twice: y = c₁ + c₂ ln x
x²y″ + xy′ = 0.
For x²y″ + axy′ + by = 0 try y = x^m: m(m − 1) + am + b = 0. Distinct real roots give c₁x^(m₁) + c₂x^(m₂); a repeated root gives (c₁ + c₂ ln x)x^m; complex roots α ± iβ give x^α(c₁cos(β ln x) + c₂ sin(β ln x)).
For x²y″ − 2y = 0 write the quadratic and find the larger root.
y = c₁x² + c₂/x, y(1) = 3, y′(1) = 0. Find y(2).
x²y″ + xy′ + 4y = 0 with y(1) = 1, y′(1) = 0. Find y(2).
For x²y″ + 2xy′ − 2y = 0 find the positive root.
m² + am + b ✗
m(m − 1) + am + b ✓
Second derivative.
constant-coefficient form ✗
x^m ✓
Different equation type.
log x ✗
ln x ✓
Natural log.
all x ✗
x > 0 ✓
ln x needs x > 0.
Try each one on paper, then open the answer. Use the solver above to see the full working.
2
-1
5
0.1835
1
2
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Each term then has the factor x^m.
m(m − 1) + am + b = 0.
Use (c₁ + c₂ ln x)x^m.
Use |x|.
method of Frobenius.
quadratic formula.
More in Differential equations and transforms and the formula sheets.