HP Forums

Full Version: canonical form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am trying to use the"canonical_form" function from the catalog, in CAS mode.
According to the help it should act as in this example:

canonical_form(2*x^2-12*x+1) -> 2*(x-3)^2-17

on the emulator it works like expected, on the real prime it does this:

canonical_form(2*x^2-12*x+1) -> 2*x^2-12*x+1

Actually the canonical form should be 2*x^2-12*x+1, 2*(x-3)^2-17 is the vertex form as (3,-17) is the vertex. So I don't know what should be the intended behaviour, but a function that returns 2*x^2-12*x+1 is not very useful, it only simplifies the expression.

So how can I find 2*(x-3)^2-17 starting from 2*x^2-12*x+1 on the real Prime?

Thank you very much for the help.

reto
Just off the top of my head: perhaps you have simplification set to max in the CAS settings?
Yes, simplification was set to maximum, I changed it to minimum and it works fine!

Thank you very much for the fast and correct answer.

reto
(01-23-2015 08:57 PM)retoa Wrote: [ -> ]I changed it to minimum and it works fine!

And i've put in a note to fix that. Definitely should be on the list of commands that aren't auto-simplified. Thanks for finding it.

Seriously though, don't use "maximum". We're actually contemplating on removing that or changing it completely so it doesn't just do "simplify" after anything like what happens now.
Thank you Tim, then I will not use maximum.

What is exactly the difference between none, minimum and maximum simplification?
Better said, for none and maximum it is clear, but where is the limit between minimum and maximum?

The user manual says only (page 55) "Minimum: do basic simplifications"
By the way in the figure at the bottom of page 55 the "simplify" menu is missing.

Thank you very much for the help !

reto
Reference URL's