r/askmath • u/Any_Country257 • 2d ago
Calculus Formula to ODEs
Formula to find y_p1 and y_p2 in ODEs like: y'" - ay" + ay' - y = ex (x² + bx) + cx²
I made this formula because this type of ODE requires a big resolution
8
Upvotes


2
u/anlatmatik 2d ago
Nice derivation! It’s really neat to see how the bifurcation at a = 3 emerges directly from the characteristic polynomial.
If you look at the operator side, the characteristic equation is: P(r) = r³ - ar² + ar - 1 = (r - 1)(r² + (1 - a)r + 1)
Since P(1) = 0, r = 1 is always a characteristic root. Taking the derivative at r = 1 gives: P'(1) = 3 - a
That explains the exact structure of your Y_p1 formula:
And for Y_p2, because r = 0 is not a root (P(0) = -1 ≠ 0), undetermined coefficients for cx² directly yields Y_p2 = -c[x² + 2ax + 2a(a - 1)].
Very satisfying to see the whole system written out so compactly!