Re: TraditionForm Appears to be Inconsistent
- To: mathgroup at smc.vnet.net
- Subject: [mg99557] Re: [mg99551] TraditionForm Appears to be Inconsistent
- From: "David Park" <djmpark at comcast.net>
- Date: Fri, 8 May 2009 00:13:05 -0400 (EDT)
- References: <9293149.1241693402776.JavaMail.root@n11>
Because Mathematica automatically simplifies the second expression but not the first expression. So use a HoldForm: TraditionalForm[HoldForm[Cos[x] == Sin[x + \[Pi]/2]]] % // ReleaseHold To verify the first equation use ExpToTrig. TraditionalForm[Exp[I \[Theta]] == Cos[\[Theta]] + I Sin[\[Theta]]] % // ExpToTrig One just has to get used to what simplifications Mathematica automatically does and which ones it doesn't do. Some of the automatic ones are annoying, such as 1/Sin[x] -> Csc[x]. David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ From: uk.org.microserf at googlemail.com Hi The Mathematica 7 documentation says that TraditionalForm[Exp[I \[Theta]] == Cos[\[Theta]] + I Sin[\[Theta]]] will display the expression in traditional form, and indeed it does. However, the following evaluates the expression and then displays True in traditional form: TraditionalForm[Cos[x] == Sin[x + \[Pi]/2]] Why is TraditionalForm behaving differently in these two apparently identical situations, and how can I get Mathematica to display this trigonometric identity in traditional form? Thanks in advance Chris