Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1994
*January
*February
*March
*April
*May
*June
*July
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1994

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

Search the Archive

simplification rules

  • To: mathgroup at yoda.physics.unc.edu (Mathematica mailing list)
  • Subject: simplification rules
  • From: nachbar at merck.com
  • Date: Thu, 3 Mar 1994 14:06:53 -0500 (EST)

Roman Maeder gives a nice exposition on using transformation rules to 
simplify trigonometric expressions in chapter 6 of his book "Programming 
in Mathematica, 2nd edition." i'm doing some work where i have the 
following identity

	ex^2 + ey^2 + ez^2 == 1

i would like to be able to use it, and its various equivalent forms (e.g., 
ez^2 == 1 - ex^2 - ey^2) to simplify expressions such as

	ex^2 - 2 ex^4 - 2 ex^2 ey^2 - 2 ex^2 ez^2 + Cos[delta] - 
	3 ex^2 Cos[delta] + 2 ex^4 Cos[delta] + ex^2 ey^2 Cos[delta] + 
	2 ex^2 ez^2 Cos[delta]

(you can see the identity lurking there in two places!). Simplify[] does 
not change the above expression. i know part of the "problem" is that ex^4 
is stored internally as Power[ex,4]. is there a *general* way of using 
Factor, Expand, Collect, ... along with ReplaceAll (/.) and ReplaceRepeated 
(//.) to simplify the above expression? by hand i get

	Cos[delta] - ex^2 Cos[delta] - ex^2

thanks in advance for any useful suggestions.

bob

-- 
Dr. Robert B. Nachbar | Merck Research Laboratories | 908/594-7795
nachbar at merck.com     | R50S-100                    | 908/594-4224 FAX
                      | PO Box 2000                 |
                      | Rahway, NJ 07065            |






  • Prev by Date: Re: Nonlinear Discrete
  • Next by Date: Bug in SplineFit ?
  • Previous by thread: Re: Nonlinear Discrete
  • Next by thread: Bug in SplineFit ?