CALCULUSCalculusMathematics Calculator
โˆซ

Differential Equations Calculator โ€” Solve ODEs Step by Step

Solve first-order ordinary differential equations including separable (dy/dx = y) and linear (dy/dx = x + y) types. Supports initial conditions for particular solutions.

Concept Fundamentals
dy/dx = g(x)h(y)
Separable
dy/dx + P(x)y = Q(x)
Linear
ฮผ = e^(โˆซP dx)
Integrating factor
y = Ce^x
dy/dx = y

Did our AI summary help? Let us know.

dy/dx = y โ†’ y = Ce^x (exponential growth/decay) dy/dx = x + y โ†’ linear, use integrating factor e^(-x) Separable: โˆซdy/h(y) = โˆซg(x)dx

Key quantities
dy/dx = g(x)h(y)
Separable
Key relation
dy/dx + P(x)y = Q(x)
Linear
Key relation
ฮผ = e^(โˆซP dx)
Integrating factor
Key relation
y = Ce^x
dy/dx = y
Key relation

Ready to run the numbers?

Why: Differential equations model real-world phenomena: population growth, radioactive decay, electrical circuits, and mechanical systems. First-order ODEs are foundational โ€” separable and linear types have standard solution methods.

How: Separable: separate variables and integrate. Linear: use integrating factor ฮผ = e^(โˆซP dx), multiply through, integrate. Initial conditions determine the constant C.

dy/dx = y โ†’ y = Ce^x (exponential growth/decay)dy/dx = x + y โ†’ linear, use integrating factor e^(-x)

Run the calculator when you are ready.

Differential Equations CalculatorSolve separable and linear first-order ODEs

First-Order ODE Solver

Solve separable and linear differential equations. Supports dy/dx = y and dy/dx = x + y with initial conditions.

๐Ÿ“ Examples โ€” Click to Load

Input

Format: y(x) = value
Solution
y = 2e^x - x - 1
Particular: y = 2e^x - x - 1
ode_solver.shSOLVED
$ solve_ode "dy/dx = x + y" --ic "y(0) = 1"
General
y = Ce^x - x - 1
Particular
y = 2e^x - x - 1
Share:
Differential Equations
dy/dx = x + y
y = 2e^x - x - 1
numbervibe.com/calculators/mathematics/calculus/differential-equations-calculator

Solution Curve y(x)

Solution Sign Distribution

๐Ÿ“ Calculation Steps

IDENTIFY
Identify equation
dy/dx = x + y (linear first-order)
REWRITE
Rewrite
dy/dx - y = x
ext{Form}: ext{dy}/ ext{dx} + P(x)y = Q(x), P(x) = -1, Q(x) = x
METHOD
Integrating factor
ฮผ(x) = e^(-x)
\text{mu} = e^(โˆซP ext{dx})
SOLUTION
General solution
y = Ce^x - x - 1
y = -x - 1 + ext{Ce}^x
INITIAL CONDITION
Apply y(0) = 1
C = 2
RESULT
Particular solution
y = 2e^x - x - 1

For educational and informational purposes only. Verify with a qualified professional.

๐Ÿงฎ Fascinating Math Facts

๐Ÿ“Š

dy/dx = y models exponential growth (C>0) or decay (C<0)

โ€” Calculus

๐Ÿ”ฌ

Integrating factor converts linear ODE to exact derivative form

โ€” Paul's Online Notes

๐Ÿ“‹ Key Takeaways

  • โ€ข Separable: dy/dx = f(x)g(y) โ†’ โˆซ(1/g(y))dy = โˆซf(x)dx
  • โ€ข Linear: dy/dx + P(x)y = Q(x) โ†’ use integrating factor ฮผ = e^(โˆซP dx)
  • โ€ข dy/dx = y โ†’ y = Ce^x (exponential growth/decay)
  • โ€ข dy/dx = x + y โ†’ linear, solved via integrating factor

๐Ÿ’ก Did You Know?

๐Ÿ“ODEs model population growth, radioactive decay, and circuit behaviorSource: OpenStax
โˆซThe integrating factor ฮผ(x) = e^(โˆซP dx) converts a linear ODE into an exact derivativeSource: Paul's Notes
๐Ÿ”ฌNewton's law of cooling is a first-order linear ODESource: LibreTexts
๐Ÿ“ˆdy/dx = y describes exponential growth (C &gt; 0) or decay (C &lt; 0)Source: Wolfram

๐Ÿ“– How It Works

Separable (dy/dx = y): Rewrite as dy/y = dx, integrate both sides โ†’ ln|y| = x + C โ†’ y = Ce^x.

Linear (dy/dx = x + y): Rewrite as dy/dx - y = x. Integrating factor ฮผ = e^(-x). Multiply, integrate โ†’ y = Ce^x - x - 1.

๐ŸŽฏ Expert Tips

๐Ÿ’ก Identify the type

Separable: variables can be split. Linear: form dy/dx + P(x)y = Q(x).

๐Ÿ’ก Initial conditions

Use y(xโ‚€) = yโ‚€ to find C and get a particular solution.

โš–๏ธ Comparison Table

TypeFormMethod
Separabledy/dx = f(x)g(y)Separate & integrate
Lineardy/dx + P(x)y = Q(x)Integrating factor

โ“ Frequently Asked Questions

What is a separable differential equation?

One that can be written as dy/g(y) = f(x)dx. Both sides can then be integrated separately.

What is an integrating factor?

ฮผ(x) = e^(โˆซP(x)dx). Multiplying the linear ODE by ฮผ converts it to d/dx[ฮผy] = ฮผQ, which is easy to integrate.

Why does dy/dx = y give y = Ce^x?

Separating: dy/y = dx. Integrating: ln|y| = x + Cโ‚. Exponentiating: y = Ce^x where C = ยฑe^Cโ‚.

๐Ÿ“Š Infographic Stats

1st
Order (dy/dx)
ฮผ
Integrating factor
C
Arbitrary constant
e^x
Exponential solution

โš ๏ธ Disclaimer: This calculator supports a limited set of first-order ODEs. For complex equations, use numerical methods or specialized software.

๐Ÿ‘ˆ START HERE
โฌ…๏ธJump in and explore the concept!
AI

Related Calculators