The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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, 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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.