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.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

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:
  1. Enter P(x) – the coefficient of y (e.g., 2*x, sin(x), exp(x)).
  2. Enter Q(x) – the right-hand side function (e.g., cos(x), x^2).
  3. 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 x only.

Previous Results

Generate Charts
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.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0