integrating trig functions with large constants, exponent out of range
Subject: integrating trig functions with large constants, exponent out of range
From: Robert Dodier
Date: Tue, 9 Jan 2007 08:47:51 -0700
On 1/9/07, Raymond Toy <raymond.toy at ericsson.com> wrote:
> It might be possible to add another test to MONSTERTRIG (responsible
> for handling messy trig integrands) so that if the trig arg is of the
> form a*x to try the substitution y = a*x and integrate that. If it
> succeeds, we're done; if not, call the Risch integrator.
Maxima knows integrate(sin(n*x)*x, x) with symbolic n. Maybe we
can throw in a heuristic: replace literal constants with symbols and
try to integrate it; if that fails then fall back on whatever is done now.
I believe that this problem is not the only example for which
Maxima knows the general solution but fails on a special case.
FWIW
Robert