Solve x² d²y/dx² − 3x dy/dx + y = ((sin (log x) + 1)/x) log x.
15 marks · directive: Solve
The core of a good answer
With x = e^z the equation becomes (D² − 4D + 1)y = z e^(−z)(sin z + 1), so y = c₁x^(2+√3) + c₂x^(2−√3) + (1/x)[(log x + 1)/6 + log x (5 sin(log x) + 6 cos(log x))/61 + (54 sin(log x) + 382 cos(log x))/3721].
An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work
What the question asks
A Cauchy Euler (homogeneous linear) equation: the substitution x = e^z turns it into a constant coefficient equation. The particular integral needs the exponential shift and the formula for 1/f(D) acting on z V(z).
Answer outline
Introduction
Put x = e^z, z = log x, D = d/dz. Then x dy/dx = Dy and x² d²y/dx² = D(D − 1)y. The right side becomes e^(−z) z (sin z + 1).
Step 1: Reduced equation
- [D(D − 1) − 3D + 1]y = z e^(−z)(sin z + 1)
- (D² − 4D + 1)y = z e^(−z) + z e^(−z) sin z
Step 2: Complementary function
- m² − 4m + 1 = 0, m = 2 ± √3
- C.F. = c₁e^((2+√3)z) + c₂e^((2−√3)z) = c₁x^(2+√3) + c₂x^(2−√3)
Step 3: Shift e^(−z) through the operator
- P.I. = e^(−z)·[1/f(D − 1)](z + z sin z), with f(D − 1) = (D − 1)² − 4(D − 1) + 1 = D² − 6D + 6
Step 4: Part acting on z
- 1/(6(1 − D + D²/6)) z = (1/6)(1 + D)z = (z + 1)/6
Step 5: Part acting on z sin z
- Use 1/φ(D)(zV) = z·(1/φ(D))V − (φ′(D)/φ(D)²)V with φ(D) = D² − 6D + 6, V = sin z
- With D² = −1: φ = 5 − 6D; 1/(5 − 6D) sin z = (5 + 6D) sin z/(25 + 36) = (5 sin z + 6 cos z)/61
- φ(D)² = (5 − 6D)² = 25 − 60D + 36D² = −11 − 60D, and 1/(−11 − 60D) = (60D − 11)/3721
- (2D − 6)(60D − 11)/3721 = (120D² − 382D + 66)/3721 = (−54 − 382D)/3721
- So −(φ′/φ²) sin z = (54 sin z + 382 cos z)/3721
- Part = z(5 sin z + 6 cos z)/61 + (54 sin z + 382 cos z)/3721
Step 6: Assemble and return to x
- P.I. = e^(−z)[(z + 1)/6 + z(5 sin z + 6 cos z)/61 + (54 sin z + 382 cos z)/3721]
- e^(−z) = 1/x, z = log x
Conclusion
y = c₁x^(2+√3) + c₂x^(2−√3) + (1/x)[(log x + 1)/6 + (log x)(5 sin(log x) + 6 cos(log x))/61 + (54 sin(log x) + 382 cos(log x))/3721]. The particular integral was substituted back into the original equation symbolically and leaves zero residual.
Examples and data to cite
- Note 3721 = 61²: the denominator of the second correction term is the square of the first, as the formula φ′(D)/φ(D)² predicts.
- An equivalent route writes sin z = Im e^(iz) and evaluates e^((−1+i)z)/f(D) acting on z, then takes the imaginary part; the result is the same.
Facts to remember
- Cauchy Euler equation: x²y″ + a x y′ + b y = R(x); substitution x = e^z gives D(D − 1) + aD + b with D = d/dz.
- Exponential shift: (1/f(D)) e^(az) V = e^(az) (1/f(D + a)) V.
- 1/f(D) (zV) = z (1/f(D))V − (f′(D)/f(D)²)V.
- For sin z and cos z, replace D² by −1.