Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5269

Re: algebraic simplification

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: algebraic simplification
Date 2011-09-29 06:06 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j611t0$m02$1@smc.vnet.net> (permalink)
References <201109280645.CAA07755@smc.vnet.net>

Show all headers | View raw


You want:

   Collect[a*x^4 + a*x^3 + b*x^2 + b*x + c*y^3 + c, {a, b, c}]
b*(x + x^2) + a*(x^3 + x^4) + c*(1 + y^3)

Note different ordering of the terms, though.


On 9/28/11 2:45 AM, Bruno Panetta wrote:
> I have an expression like the following
>
> a*x^4 + a*x^3 + b*x^2 + b*x + c*y^3 + c
>
> (only much more complicated). I want to simplify it so that it becomes
> something like
>
> a * (x^4 + x^3) + b * (x^2 + x) + c * (y^3 + 1)
>
> How can I do it in Mathematica?
>

-- 
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: algebraic simplification Murray Eisenberg <murray@math.umass.edu> - 2011-09-29 06:06 +0000

csiph-web