# [Maxima] Disable simplification on input

Mike Higgins mike at kayaker.net
Mon Jul 23 12:10:35 CDT 2007

```How do I disable the automatic simplification on input?
Here is a trivial example, If I type:
(%i1) a*x^2+b*x+c+a*x^2;
then the output is:
(%o1) 2*a*x^2+b*x+c

I've tried various combinations of the single quote operator but the
simplification is always done. I found by random experimentation that
when an input equation is a function, this automatic simplification is
not done! for example:
(%i2) f(x):=a*x^2+b*x+c+a*x^2;
then the output is the same as the input without the simplification.
I most want to do this with matrix equations, where wxMaxima does a
beautiful job of displaying them, but Maxima keeps symplifying them into
the final algebraic form before I can see them. For example:
(%i3) matrix([t^3,t^2,t,1]).matrix([a],[b],[c],[d]);
simplifies immediately to
(%o3) a*t^3+b*t^2+c*t+d
When I wanted to see it in matrix form first, which I can only get by
making %i3 a function. I can always hit the simplify button (ratsimp) to
see the final form later.
Other functions don't display nicely even when part of a function
definition. For example:
(%i4) f(t):=integrate(a*t^3+b*t^2+c*t+d, x);
does not draw an integral sign, it just repeats the input line as is.
If I take off the f(t):= then it simplifies the equation and performs
the integration before displaying the output. Again by random
experimentation I found in this case the single quote before the
integrate function DOES cause wxMaxima to display the formula with the
integral sign. (Although on my system the vertical part of the integral
sign is broken up into several diagonal lines. But that is the subject
of a different bug report...)

--
------------------------------------
Code in haste, debug at leisure
```