Differential Equations Calculator
Solve first-order linear ordinary differential equations (ODEs) of the form dy/dx + P(x)y = Q(x) using an integrating factor method. Provides step-by-step solution.
Was this calculator helpful?
How to use this tool?
This calculator solves first-order linear ordinary differential equations (ODEs) of the form:
dy/dx + P(x)y = Q(x)
How to use:
- Enter P(x) – the coefficient of y (e.g.,
2*x,sin(x),exp(x)). - Enter Q(x) – the right-hand side function (e.g.,
cos(x),x^2). - Click "Solve".
What you get:
- Numerical solution – evaluated at x = 0, 0.5, 1, 1.5, 2.
- Step-by-step explanation – shows the integrating factor method used.
Tips:
- Use JavaScript math syntax:
^for exponent,sin(),cos(),exp(),log(), etc. - Avoid singularities (e.g., division by zero) in your functions.
- All inputs are treated as functions of
xonly.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
This calculator solves first-order linear ordinary differential equations of the form dy/dx + P(x)y = Q(x).
Enter functions using JavaScript syntax, e.g., 2*x, sin(x), exp(x), x^2 for x squared. Use * for multiplication.
This calculator provides the general solution without initial conditions. For particular solutions, you would need to apply the condition manually.