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


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

(x - 1) or (-1 + x)

From Ralph Dratman <ralph.dratman@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject (x - 1) or (-1 + x)
Date 2011-09-18 08:17 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j549eq$6c4$1@smc.vnet.net> (permalink)

Show all headers | View raw


I feel like a small child asking this, but how can I get Mathematica to say
(x - 1) instead of  (-1 + x), or to give me

 4 (1 - q)

 instead of the doubly annoying

-4 (-1 + q)  ?

In brief, given the choice, I prefer to look at subtraction rather than
negation. The binary operator instead of the unary.

I'm not asking Mathematica to read my mind about the way I want every
possible expression to look, rather I am hoping to find out how to transform
something I don't like into something I like, in a way that is guaranteed
not to change the value of the expression.

Ralph Dratman

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


Thread

(x - 1) or (-1 + x) Ralph Dratman <ralph.dratman@gmail.com> - 2011-09-18 08:17 +0000
  Re: (x - 1) or (-1 + x) David Bailey <dave@removedbailey.co.uk> - 2011-09-18 12:28 +0000

csiph-web