Graph
Drag to pan; mouse wheel to zoom; double-click resets. Axes are \(x\) (horizontal) and \(y\) (vertical) in your input units.
Math Calculus • Differential Equations
Drag to pan; mouse wheel to zoom; double-click resets. Axes are \(x\) (horizontal) and \(y\) (vertical) in your input units.
It is an equation that can be written as y' + P(x) y = Q(x), where P and Q depend only on x. The unknown function y appears only to the first power and is not multiplied by y'.
The method uses mu(x)=e^(int P(x) dx) to turn the left side into a product derivative: d/dx(mu(x) y(x)) = mu(x) Q(x). Integrating then gives mu(x) y(x) = int mu(x) Q(x) dx + C.
After integrating, the constant C is determined by substituting x=x0 and y=y0 into the integrated expression. The tool can also express the result using a definite-integral form from x0 to x.
It plots multiple solution curves for the same P(x) and Q(x) using different initial values y(x0)=y0 provided in the y0 list. Your main IVP remains highlighted while the family curves are shown as additional overlays.
RK4 steps control the numerical resolution of the plotted solution curve. More steps typically give a smoother and more accurate plot over the chosen x-range.