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


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

Re: algebraic simplification

Started byAndrzej Kozlowski <akoz@mimuw.edu.pl>
First post2011-09-29 06:15 +0000
Last post2011-09-29 06:15 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#5287 — Re: algebraic simplification

FromAndrzej Kozlowski <akoz@mimuw.edu.pl>
Date2011-09-29 06:15 +0000
SubjectRe: algebraic simplification
Message-ID<j612d8$m62$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web