Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.symbolic.independent

Topic: Another question about Factor
Replies: 13   Last Post: Nov 23, 2012 6:11 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 5,688
Registered: 2/7/05
Re: Another question about Factor
Posted: Nov 22, 2012 7:23 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 11/22/2012 6:11 PM, Tang Laoya wrote:

> The function HornerForm can factor part of the express, but still not the most compressed:
>
> bb1 = -Det[{{1, 1, 1}, {y2, y3, y4}, {z2, z3, z4}}];
> bb = HornerForm[bb1]
>
> The output is
> -y4 z2 + y4 z3 + y3 (z2 - z4) + y2 (-z3 + z4)
>
> appearently it can be factored furthermore:
> y4 (z3-z2) + y3 (z2 - z4) + y2 (-z3 + z4)
>


You'll get the second form, one with less multiplications,
if you also give it also a list of the variables as the example
I just posted. see ?HornerForm for more details

--Nasser




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.