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


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

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

Started byBob Hanlon <hanlonr357@gmail.com>
First post2013-04-10 17:52 +0000
Last post2013-04-10 17:52 +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: How can I force mathematica to collect a symbol from a polynomial Bob Hanlon <hanlonr357@gmail.com> - 2013-04-10 17:52 +0000

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

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-04-10 17:52 +0000
SubjectRe: How can I force mathematica to collect a symbol from a polynomial
Message-ID<kk48sn$i7m$1@smc.vnet.net>
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.
>
>

[toc] | [standalone]


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


csiph-web