Graph
Axes represent \(x\) and \(y\) in your chosen units. The curve updates automatically when you change inputs.
Math Calculus • Differential Equations
Axes represent \(x\) and \(y\) in your chosen units. The curve updates automatically when you change inputs.
Assuming a trial solution y = e^(r x) converts the ODE into the quadratic r^2 + p r + q = 0. Solving this characteristic equation determines the root type and the solution form.
If the discriminant p^2 - 4q equals 0, the root is repeated and the solution becomes (A + Bx)e^(r x). If the discriminant is negative, the roots are alpha ± i beta and the solution becomes e^(alpha x)(A cos(beta x) + B sin(beta x)).
The solver substitutes y(x0)=y0 and y'(x0)=v0 into the solution basis for the detected root case. This produces a 2x2 linear system that is solved for A and B.
These presets correspond to the characteristic-root cases: underdamped means complex roots, critically damped means a repeated real root, and overdamped means distinct real roots. The preset buttons provide quick coefficient examples that match each case.
Yes, entering x* computes y(x*) from the solved form and shows the point on the graph alongside the initial-condition point when x0 is provided.