MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Those Pesky Minus Signs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43365] Re: Those Pesky Minus Signs
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 26 Aug 2003 07:13:43 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bi7nep$p7e$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

(-1/2)(a + b + c) /. a_*b_Plus /; a < 0 :> (-a)*Expand[-b]

Regards
  Jens

David Park wrote:
> 
> Dear MathGroup,
> 
> How would one simplify
> 
> (-1/2)(a + b + c)
> 1/2(-a - b - c)
> 
> so the minus sign was in front? Why does it get pulled within in the first
> place?
> 
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/


  • Prev by Date: Correlation Coefficient
  • Next by Date: Re: Mathematica to C
  • Previous by thread: Re: Re: Those Pesky Minus Signs
  • Next by thread: Re: Those Pesky Minus Signs