Linear First-Order ODE Calculator (Integrating Factor)

Solve y′ + P(x)y = Q(x) with the integrating factor μ = e^(∫P dx), with an initial condition, and get y at any x.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Multiply through by μ = e^(∫P dx): (μy)′ = μQ, so y = (1/μ)(∫μQ dx + C).

Example

Example: y′ + y = x, y(0) = 1 → y(1) = 0.735758882343 (exact 2/e).

Assumptions

Value found numerically (RK4).

Frequently Asked Questions

Why does the integrating factor work?

It turns the left side into the derivative of a product, μy.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile