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


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

Re: How can I force mathematica to collect a symbol from a polynomial

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How can I force mathematica to collect a symbol from a polynomial
Date 2013-04-10 17:52 +0000
Message-ID <kk48sn$i7m$1@smc.vnet.net> (permalink)
References <20130409083015.0249069F0@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


expr=a+b+c;

expr2=a*HoldForm[Evaluate[Expand[expr/a]]]

a (1+b/a+c/a)

expr2//ReleaseHold//Simplify

a+b+c


Bob Hanlon



On Tue, Apr 9, 2013 at 4:05 AM, <syzhaoyu@gmail.com> wrote:

> Let's say I have a polynomial:
>           a+b+c
> Is there any way I can force mathematica to produce the following result:
>           a*(1+b/a+c/a)
>
> I think such transformation of polynomials should be very common; however,
> I have been trying all day and still can not get mathematica to do so
> automatically.
>
>

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


Thread

Re: How can I force mathematica to collect a symbol from a polynomial Bob Hanlon <hanlonr357@gmail.com> - 2013-04-10 17:52 +0000

csiph-web