[Maxima] Completing the square and compact forms for human reading
fateman at cs.berkeley.edu
Wed Aug 12 12:25:12 CDT 2009
I think there is a generalization (completing the nth power) that you
could look at. I don't know specifically about completing the square,
but it would not be hard to produce. Look at ratcoef, bothcoef. First
you need to make a list of variables in the expression, and their
"tends to produce a form that's nice"
is too vague and attempts to make it more concrete tends to degenerate
into costly flailing and search except for very small expressions.
And you usually want to use it for large expressions.
So most people try a few things like factor, ratsimp, trigsimp.
Dan Hatton wrote:
> Dear All,
> Two closely-related questions
> - Is there a Maxima function for completing the square in a polynomial
> - Generally, is there a simplifier function that tends to produce a
> form that's nice and compact for a human to read?
> What's motivating this is that I have a bunch of expressions whose
> radcan()ed forms are like
> and I'd like to automate the process of writing them more like
More information about the Maxima