canonical form - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: canonical form (/thread-2907.html) |
canonical form - retoa - 01-23-2015 08:46 PM 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 RE: canonical form - Han - 01-23-2015 08:50 PM Just off the top of my head: perhaps you have simplification set to max in the CAS settings? RE: canonical form - retoa - 01-23-2015 08:57 PM 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 RE: canonical form - Tim Wessman - 01-23-2015 10:25 PM (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. RE: canonical form - retoa - 01-24-2015 10:18 AM 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 |