Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: i^2=1
Replies: 3   Last Post: Feb 27, 2013 3:04 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Noqsi

Posts: 51
Registered: 12/8/10
Re: i^2=1
Posted: Feb 26, 2013 1:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Monday, February 25, 2013 12:19:06 AM UTC-7, fc3...@uni-hamburg.de wrote:
> No, not I^2=-1 :-)
>
> But similarly: I'd like to have a symbol with the
>
> property i^2=1. And not like slashdotting with
>
> {i^2->1} (which then ignores i^3 and (i+1)(i-1)),
>
> but really automatically i^2=1 as soon as it appears
>
> somewhere, like for I.
>
>
>
> How do I define that?


Use TagSet[]:

In[1]:= i/:i^2=1;
In[2]:= i^2
Out[2]= 1




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.