AngouriMath
SolveAPolynomialTimesAnExponentialAndATrigonometric(AngouriMath.Entity,AngouriMath.Entity.Variable)
Method (no overloads)
Summary
A polynomial times an exponential times a sine or a cosine —
P(x) e^(a x) cos(b x) and its kin — integrated by the repeated by-parts that
this shape is the textbook case for, run out here rather than through the chain.
this shape is the textbook case for, run out here rather than through the chain.
Remarks
integrates its
by nothing but by-parts — the cyclic one, where the integral comes back a
multiple of itself. So the outer integral was declined for want of the inner one.
integrands and takes
decline — one test, the whole of a 76% slowdown in the calculus suite. The cost and
the gain both arrive on the second round, integrating the antiderivative the
first produced, so no size measure separates them: what separates them is whether the
search succeeds, and that is only known by running it.
https://github.com/asc-community/AngouriMath/issues/1265
dx
e^(ax) [ (a c - b d) cos(bx) + (b c + a d) sin(bx) ] / (a^2 + b^2)
with no search at all, which is what makes this closed.
bare exponential — though those already came out, so what this adds is the two
together. Both zero is a polynomial and is declined, since it is the power rule's.
#1265.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online