Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Find minimum number of operations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112936] Find minimum number of operations
  • From: brien colwell <xcolwell at gmail.com>
  • Date: Wed, 6 Oct 2010 03:17:26 -0400 (EDT)

Hi all,

I have a set of expressions composed of literals, multiplications,
additions, and powers. For example,

-(-3 Bx (Ax^2 + Ay^2 - 2 Ax Bx + Bx^2 - 2 Ay By + By^2)^(3/2) +
    3 Ax^2 Ay k + 3 Ay^3 k - 8 Ax Ay Bx k + 5 Ay Bx^2 k - Ax^2 By k -
    9 Ay^2 By k + 4 Ax Bx By k - 3 Bx^2 By k + 9 Ay By^2 k -
    3 By^3 k + 2 Ax Ay Cx k - 2 Ay Bx Cx k - 2 Ax By Cx k +
    2 Bx By Cx k - 2 Ax^2 Cy k + 4 Ax Bx Cy k -
    2 Bx^2 Cy k)/(3 (Ax^2 + Ay^2 - 2 Ax Bx + Bx^2 - 2 Ay By + By^2)^(
   3/2))

I would like to find the form for each that minimizes the number of
operations, where each operation is either a multiplication, addition, or
power. Is this easily done in Mathematica (7)? Also, just curious, what
criteria does FullSimplify use to evaluate the "simplest form"?

Thanks,
Brien



  • Prev by Date: Re: double loop do
  • Next by Date: Re: How to apply a list of functions
  • Previous by thread: Re: change the base of the Log[] used by LogLogPlot?
  • Next by thread: Re: Find minimum number of operations