Solve constant-coefficient non-homogeneous equations in normalized form \(\displaystyle y''+ay'+by=G(x)\) using undetermined coefficients. The calculator finds the complementary solution, detects resonance, builds an automatic particular-solution guess, solves for the coefficients, and graphs \(y_h\), \(y_p\), and \(y=y_h+y_p\).
Second Order Non Homogeneous Solver
Math Calculus • Multivariable Calculus
Frequently Asked Questions
What type of differential equation does this calculator solve?
It solves second-order linear non-homogeneous equations with constant coefficients in the form y'' + ay' + by = G(x).
What is the complementary solution?
The complementary solution y_h solves the associated homogeneous equation y'' + ay' + by = 0.
What is a particular solution?
A particular solution y_p is one specific solution of the full non-homogeneous equation y'' + ay' + by = G(x).
What is the method of undetermined coefficients?
It guesses the form of y_p based on the forcing term G(x), substitutes it into the differential equation, and solves for unknown coefficients.
What is resonance?
Resonance occurs when the natural complementary solution already contains the same family as the forcing-term guess. The particular guess must then be multiplied by x or a higher power of x.
How does the calculator handle y'' + 4y = sin(2x)?
The characteristic roots are ±2i, which match the sine forcing. The calculator detects resonance and multiplies the usual sine/cosine guess by x.
Does the calculator support every possible G(x)?
No. Undetermined coefficients applies to specific forcing families such as polynomials, exponentials, sine/cosine terms, and their simple products and sums.
Can it graph the forcing term and solution parts separately?
Yes. The graph can show G(x), y_h, y_p, and the total solution y.
Are the graph axes labeled with units?
Yes. The graph axes have labels and numbered tick marks with the selected units.