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


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

Re: algebraic simplification

From Richard Hofler <rhofler@bus.ucf.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: algebraic simplification
Date 2011-09-29 06:07 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j611ut$m1e$1@smc.vnet.net> (permalink)
References <201109280645.CAA07755@smc.vnet.net>

Show all headers | View raw


Bruno,

You should look at the documentation about Collect:

In[1]:= expr = a*x^4+a*x^3+b*x^2+b*x+c*y^3+c;

In[2]:= Collect[expr,{a,b,c}]

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


Richard Hofler


-----Original Message-----
From: Bruno Panetta [mailto:bpanetta@gmail.com]
Sent: Wednesday, September 28, 2011 2:46 AM
Subject: algebraic simplification

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?

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


Thread

Re: algebraic simplification Richard Hofler <rhofler@bus.ucf.edu> - 2011-09-29 06:07 +0000

csiph-web