Cauchy–Euler ODE Solver
This Cauchy–Euler ODE Solver helps you solve Cauchy–Euler differential equations and shows each step clearly. It works by recognising the variable-coefficient ODE form, using the standard trial solution method, and optionally applying initial conditions to find a particular solution. This makes it useful for checking answers, understanding how the Cauchy–Euler method works, and practising differential equations step by step.
Step-by-step method
- Rewrite into Euler–Cauchy form: a x^2 y'' + b x y' + c y = f(x).
- Divide by a to get: x^2 y'' + α x y' + β y = r(x).
- If homogeneous, try y = x^m and build the characteristic equation.
- Solve for m and write the general solution based on root type.
- If initial conditions are given, solve for constants.
Formula bank:
Example 1: x^2*y'' - 3*x*y' + 4*y = 0, x, y
Step 1 - Write the ODE.
In this problem: Start with the given differential equation.
| d2y |
| dx2 |
| dy |
| dx |
Step 2 - Confirm Euler–Cauchy form.
In this problem: Match a x²y″ + b x y′ + c y = f(x).
Step 3 - Divide into standard form.
In this problem: x²y″ + αxy′ + βy = r(x).
Step 4 - Use y = x^m.
In this problem: Build the characteristic equation.
Step 5 - Solve for m.
In this problem: Find the roots of the characteristic equation.
Step 6 - Write the general solution.
In this problem: Use the root type to choose the correct form.
Step 7 - Final answer.
In this problem: Write the solution.
Final answer: See final step
Example 2: x^2*y'' + x*y' - y = 0, x, y, y(1)=2, y'(1)=0
Step 1 - Write the ODE.
In this problem: Start with the given differential equation.
| dy |
| dx |
| d2y |
| dx2 |
Step 2 - Confirm Euler–Cauchy form.
In this problem: Match a x²y″ + b x y′ + c y = f(x).
Step 3 - Divide into standard form.
In this problem: x²y″ + αxy′ + βy = r(x).
Step 4 - Use y = x^m.
In this problem: Build the characteristic equation.
Step 5 - Solve for m.
In this problem: Find the roots of the characteristic equation.
Step 6 - Write the general solution.
In this problem: Use the root type to choose the correct form.
| 1 |
| x |
Step 7 - Apply initial conditions.
In this problem: Solve for C1 and C2.
Step 8 - Final answer.
In this problem: Write the solution.
| 1 |
| x |
Final answer: See final step
Sign up or login to get the full step solution for free!