Re: Simplifying Ploynomials
- To: mathgroup at smc.vnet.net
- Subject: [mg5681] Re: Simplifying Ploynomials
- From: tharter at nswc.navy.mil (Terry Harter)
- Date: Tue, 7 Jan 1997 11:22:58 -0500
- Organization: Naval Surface Warfare Center, Dahlgren Division
- Sender: owner-wri-mathgroup at wolfram.com
Ted Ersk wrote:
>Dear Math Group,
>
>The two polynomials "messy" and "clean" below are equivalentl.
>
>messy = c0 + a*c1 - b*c1 + a^2*c2 - 2*a*b*c2 + b^2*c2
>
>clean = c0 + c1(a-b) + c2(a-b)^2
>
>If I get a polynomial like the messy one, how can I get Mma
>to convert is to the clean polynimial.
>
>I don't yet have Version 3..0.
>Using Collect and Factor in version 2.2 does no good.
>Maybe FullSimplify in version 3.0 will work.
>
>Still I would like to do this without using FullSimplify,
>because it can take a very long time.
>
>Please Help
> T.E.
Look for a package called "Pattern Rearrange" that appearred in a
past issue of "The Mathematica Jornal" (published quaterly). Or you can
search MathSource as it may also be there. I don't have the Vol & Number
of the specific issue that it appearred in (I think it was in late 94 or
late 95), but if you can't find it, email me and I will make
a point to look it up. "Pattern Rearrange" does quite nicely as I have
used it on some long complicated algebraic expressions.
Dr. Terry Harter
NSWCDD, Code B35
Dahlgren, VA. 22448