[Tutor] Re: complex numbers: j vs. i

Derrick 'dman' Hudson dman@dman.ddts.net
Fri, 23 Aug 2002 14:59:37 -0400


--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 23, 2002 at 10:48:28AM -0400, Lance E Sloan wrote:
| I skimmed the Python documentation for a reason why the letter "j" is use=
d=20
| to represent the imaginary part of complex numbers rather than the letter=
=20
| "i".  I didn't find anything.  In fact, I didn't see anything that=20
| mentioned either letter.  Perhaps I didn't look at the right document.  I=
=20
| was reading "Python Reference Manual"=20
| <URL:http://www.python.org/doc/current/ref/ref.html>.
|=20
| Does anybody know why "j" is used?  I'm guessing that either "i" caused a=
=20
| conflict or that the Dutch word for "imaginary" starts with "j".

Rob has part of the answer -- mathematicians use 'i' but engineers use
'j' (because 'i' was already taken).  A long time ago Guido asked
people (on comp.lang.python, aka python-list@lists.python.org) to hash
out the pros and cons of using each letter, and both were equally
reasonable.  So he decided on one of them.

-D

--=20
Running Windows is kinda like playing blackjack:
User stays on success, reboots on failure
=20
http://dman.ddts.net/~dman/

--cNdxnHkX5QqsyA0e
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj1mhhgACgkQO8l8XBKTpRReswCeL93vwUvwAkMXi7a3e9tSgFOT
rmgAn1W70YaZqXJmQVyHSPds+yysWI1m
=kSQj
-----END PGP SIGNATURE-----

--cNdxnHkX5QqsyA0e--