Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5802
| From | Dushan Mitrovich <dushanm@spinn.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: how do you prevent numerator expansion when using 'Together'? |
| Date | 2011-10-23 10:26 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j80q3v$abl$1@smc.vnet.net> (permalink) |
DrMajorBob wrote: > Factor[(a + b)/d + ((a + b)*(e + f))/(d*g)] > > ((a + b) (e + f + g))/(d g) > > Together[(a + b)/d + ((a + b)*(e + f))/(d*g)] > > ((a + b) (e + f + g))/(d g) > > Yes, this simplified example does this on my system too, but the actual expression I have behaves the way I described. Your counter-example indicates there must be something in my actual expression that causes the behavior. I'll experiment to see what that might be. Thanks for pointing this out. - Dushan > On Sat, 22 Oct 2011 05:07:37 -0500, Dushan Mitrovich <dushanm@nnips.net> > wrote: > >> I'm using Mathematica 8. When using 'Together' on an expression the >> numerator >> is always expanded, complicating the appearance of the final result: >> >> In: Together[ (a+b)/d + ((a+b)*(e+f))/(d*g) ] >> Out: 1/(d*g) * (a*g + b*g + a*e + b*e + a*f + b*f) >> >> Instead, I'd much prefer the simpler form >> 1/(d*g) * (a+b)*(g+e+f) >> >> What do I need to do to get the latter form? Thanks. >> >> - Dushan >> [ reverse the middle word of address to reply ] >> > >
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: how do you prevent numerator expansion when using 'Together'? Dushan Mitrovich <dushanm@spinn.net> - 2011-10-23 10:26 +0000
csiph-web