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


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

Re: algebraic simplification

From Andrzej Kozlowski <akoz@mimuw.edu.pl>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: algebraic simplification
Date 2011-09-29 06:15 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j612d8$m62$1@smc.vnet.net> (permalink)
References <201109280645.CAA07755@smc.vnet.net>

Show all headers | View raw


On 28 Sep 2011, at 08:45, 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?
> 


In[1]:= Collect[a*x^4 + a*x^3 + b*x^2 + b*x + c*y^3 + c, {a, b, c}]

Out[1]= a (x^4+x^3)+b (x^2+x)+c (y^3+1)

Andrzej Kozlowski

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


Thread

Re: algebraic simplification Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-09-29 06:15 +0000

csiph-web