Second Order ODE Solver
This Second Order ODE Solver helps you solve second-order differential equations and shows each step clearly. It can be used to work with common second-order ODE forms, apply suitable solution methods, and optionally use up to two initial conditions to find a particular solution. This makes it useful for checking answers, understanding how second-order ODEs are solved, and practising differential equations step by step.
Step-by-step method
- Write the ODE clearly (use y'' or d2y/dx2).
- Detect the second-order type (constant coefficients, Euler-Cauchy, or general).
- Apply the matching method (characteristic / Euler ansatz / symbolic solver).
- Include constants (C1, C2).
- If initial conditions are given, solve for the constants.
- Rewrite the final solution in terms of y(x).
Formula bank:
| d²y |
| dx² |
| dy |
| dx |
Example 1: y'' + y = 0, x, y, y(0)=0, y'(0)=1
Step 1 - Write the ODE.
In this problem: Start with the given differential equation.
| d²y |
| dx² |
Step 2 - Identify the type.
In this problem: Second-order linear with constant coefficients (homogeneous).
| d²y |
| dx² |
| dy |
| dx |
Step 3 - Identify constant coefficients.
In this problem: Match a y'' + b y' + c y = 0.
Step 4 - Write the characteristic equation.
In this problem: Replace y with e^{rx}.
Step 5 - Solve for r.
In this problem: Find the roots of the characteristic equation.
Step 6 - Write the general solution.
In this problem: Complex conjugate roots.
Step 7 - Apply initial conditions (if possible).
In this problem: Use the given values to determine constants.
Step 8 - Final answer.
In this problem: Write the solution in standard form.
Final answer: Solution
Example 2: x^2y'' - xy' + y = 0, x, y
Step 1 - Write the ODE.
In this problem: Start with the given differential equation.
| d²y |
| dx² |
| dy |
| dx |
Step 2 - Identify the type.
In this problem: Euler-Cauchy (homogeneous).
Step 3 - Identify Euler-Cauchy form.
In this problem: Match x²y'' + a x y' + b y = 0 (up to a constant factor).
Step 4 - Write the indicial equation.
In this problem: Try y = x^m.
Step 5 - Solve for m.
In this problem: Find the roots of the indicial equation.
Step 6 - Write the general solution.
In this problem: Repeated root.
Step 7 - Final answer.
In this problem: Write the solution in standard form.
Final answer: Solution
Sign up or login to get the full step solution for free!