Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How imaginary numbers work

  1. Sep 18, 2004 #1
    Sorry if this isn't the right forum, I didn't know so I just went to general.

    Could someone explain how this i (imaginary numbers) thing works? I know i is supposed to be a number which is the sqrt of a negative number, which isn't supposed to exist, but what's its use? And yeah...really any information would be appreciated.
     
  2. jcsd
  3. Sep 18, 2004 #2
    i=sqrt(-1)


    why can't it exist? complex numbers have applications everywhere, especially in engineering. Trigonometric identities are proved using complex numbers, not with trig.
     
  4. Sep 18, 2004 #3
    NanakiXIII maybe you should have googled it. They've got tonnes of information about it - mostly elementary. I assume that is what you're looking for.
     
  5. Sep 18, 2004 #4

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    It's purely a formalism, as is the rest of mathematics. Complex numbers are numbers written as:

    x+iy

    where x,y are real numbers (that is, possibly those numbers you think of as being decimal expansions, they aren't but you're used to working with them as if they were, and it's no different with complex numbers: remember the rules and manipulate accordingly)

    x is called the real component, y the imaginary component
    the rules are:

    (x+iy)+(u+iv) = (x+u) + i(y+v)

    (x+iy)(u+iv)= (xu-yv)+i(xv+yu)

    that is i is a symbol with the property that when ever you see i^2, you can replace it with -1, and just do your algebra as if it were what you're used to.

    its utility is that it allows you to solve lots of physical problems. but mathematically it is just a formal object that satisfies some rules, as with everything else.

    another example of this formalism you use without realizing is:

    what is 1/2?
    correct answer, it is the object such that, when multiplied by 2 gives 1, it is *not* 1 divided by 2. you use this idea all the time, just no one tells you you are, so if you can manipulate fractions then you can manipulate complex numbers.

    all these things are just inventions (they really do not exist at all in any physical sense) that are of use for us.

    we have the whole numbers, 1,2,3... good for counting sheep, and half a sheep is no good so we don't need halves and fractions. but we then might want to count things that can be divided up so we invent fractions to describe them, then we realize that there are things, like the length of th diagonal of a square of side 1 unit that aren't fractions of that unit so we invent real numbers, (I missed out negative ones, sorry), then we realize that we can't square root all things, so we invent square roots of negative numbers, and lo and behold these things describe the current flow in an electric circuit, or the oscillation of a spring. ok, that might seem strange, what does a current of 3i amps feel like, but we aren't meauring the current in imaginary numbers, we use it to describe the way currents flow, and we read off the imaginary components (which are real numbers don't forget) when we want to find the numerical

    if you don't like the i thing then there's another way:


    just take all pairs of real numbers (x,y) and define and arithemtic on them:

    (x,y)+(u,v) = (x+y,u+v)

    (x,y)(u,v)=(xu-yv,yu+xv)

    this contains a copy of the real numbers in it: (x,0)

    and has the property that (0,1)(0,1)=(-1,0)
     
  6. Sep 18, 2004 #5
    I meant it doesn't exist as in sqrt(-1) = error on my calculator. And I've no idea what the rest you said means. I'm not a math wiz, just a curious 14-year-old.
     
  7. Sep 18, 2004 #6
    Sorry, those replies weren't there when I started typing mine.

    I did google and read all about it on Wikipedia but I still don't really understand.

    Where did that u come from? And this might be a stupid question, but what does the comma mean in those equasions?
     
  8. Sep 18, 2004 #7

    Integral

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Have you ever played Battleship? The game where you call the coordinates of a grid like A-1 or B-10 to look for your opponents ships. The notation (x,y) is simply that A-1 would be (A,1). So a complex number is represented as a pair of numbers, where the first number is called the Real part with 1 represented as (1,0) or 1 + 0i. The second number is the imaginary part where i = sqrt(-1)=(0,1) or 0 + i. This is the starting part of a very complex (pun intended!) and powerful branch of Mathematics. Though we call the number imaginary it has some very real uses.

    Edit: A sufficently sophisocated scientific calculator should return (0,1) for sqrt(-1)... you need a better calculator!
     
    Last edited: Sep 18, 2004
  9. Sep 18, 2004 #8
    Thanks. I don't understand complex numbers either, but I'll just wait 'til I get that in school....I don't understand any of the pages I've read. sqrt(-1)=(1,0)? Then what exactly are the 1 and 0? And what is the relationship between such a pair of numbers? They're not co-ordinates, are they?

    But so basically, i just equals sqrt(-1), and you need that for certian things?

    I've a TI-83 Plus calculator, which is what school told me to get, so. How do you use i on a calculator? Because whatever I type, the i just remains the letter i. Except for some i^x equasions.
     
  10. Sep 18, 2004 #9

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    The u didn't "come" from anywhere.

    Let's do a quick potted history so you know what the terms are i'm using.

    The natural numbers are the ones you use for counting:
    0,1,2,3.....

    the integers are what you get when you add in negative whole numbers:

    ...-3,-2,-1,0,1,2,3.....

    the rationals are the ones of the form:

    a/b

    for a and b integers.

    the greeks used to think that with these you could describe all the things that needed to be measured in some linear sense: distance, time, area, and so on.

    but then they proved that in a right angled triangle that:

    h^2=a^2+b^2

    h the length of the hypoteneuse, a, b the lengths of the other sides.

    and some one showed that if you've two smaller sides of length 1 unit that the hypoteneuse is sqrt(2) and that isn't writable as a rational.

    so if you like, in the number line, ie on a ruler, there are bits between all the rationals. adding these in, numbers like pi, and the square root of 2, and so on we get the real numbers.

    so each time we're coming up against some restriction and we're finding a way to extend our number system 'til we have what mathematicians call the real numbers.

    in the real numbers x^2 is always positive, so the inverse, the square root, doesn't give an answer inside the reals for the square root of -1, or any other negative number. but this shouldn't worry us too much, after all, there were no solutions to x+1=0 in the naturals, so we added the negatives, but then there were no solutions to 2x=1 in the integers so we added the rationals, and then there were no roots to x^2=2 in the rationals so we added in again to get the reals, thus we can add to the reals so we can solve x^2=-1.

    now at each stage in the extensions above, we were creating the number line: the real numbers come with an ordering, a < or > and we could *represent* them as all being on a line. obviously we can't add IN to this line.
    so we *define* i to be a symbol such that squaring it gives -1, and magically, every root of every polynomial, can be expressed as some real number plus i times some imaginary number.

    that is in some sense all the numbers of the form

    x+iy

    for x and y real are all you need to find write down the zeroes of any polynomial.

    the difference is you can't picture these new numbers on the number line.

    so we often draw them as a plane.

    the (x,y) means the coordinate of some point in the plane.

    if you're trying to imagine what an imaginary number looks like, then i've got a question for you: what does a real number look like? it doesn't look like anything; these things don't actually have a physical existence. all that we have is a set of things and rules for adding multipliying and dividing and so on, that we can use to model stuff in the real world.
     
  11. Sep 18, 2004 #10
    I understand that it's just an extension, but it's harder to comprehend. To me, a real number looks like a point on a line. To me the system of numbers is 1-dimensional.

    What is a polynomial? And what exactly do you mean by a plane?
     
  12. Sep 18, 2004 #11
    A polynomial is an equation of the form,
    f(x)=a_n*x^n+a_(n-1)*x^(n-1)+.....+a_0*x^0

    where a_i is a with subscript i and all such a_i's are constants
    and x^n is x to the power of n

    A plane ....
    draw two number lines , one horizontal and one vertical
    i can then place a point anywhere and pin point its position using a number from the horizontal number line and one from the vertical number line
    The collection of such points becomes a plane.
    **It would be great to have a figure at this point but maybe later.**

    -- AI
    Disclaimer : what i gave is a very non-technical definition ... a very proper definition can be found googling for the phrase 'plane mathworld' or 'plane wikipedia' or ......
     
  13. Sep 18, 2004 #12

    mathwonk

    User Avatar
    Science Advisor
    Homework Helper
    2015 Award

    my teacher taught it to uas like this; make up a new number system as follows:

    a "complex number" is a pair of real numbers (a,b) where both a and b are real numbers, integers if you like.

    then we add them componentwise, i.e. (a,b) + (c,d) = (a+c, b+d), but we multiply in a funnier way: (a,b)(c,d) = (ac-bd, ad+bc).

    Then notice that the complex numbers of form (a,0) behave just loike the usual numbers, i.e. (a,0)+(c,0) = (a+c,0), and (a,0)(c,0) = (ac,0). so its the same as before but wioth an unnecesdsary 0 hanging around thatw e could ignore.

    But notice also that then (1,0) behaves like the old number 1, since (1,0)(c,0) = (c,0) and also (1,0)(c,d) = (c,d). i.e. (1,0) even behaves like 1 when multiplying by new numbers too.

    so (1,0) is our new "1". and when restricted to the subsystem (a,0) of old numbers it really is the old number 1.


    But now we have a new number we did not have before, namely (0,1).

    now square this guy and see what you get! i.e. work out (0,1)(0,1) = (??)

    it should come out that this new number has a squatre that equals one of our old numbers, namely the old number -1.

    so complex numbers are a way of enlarghing our number system so that one of the enw numbers thrown in happoens to have its square equal to minus the old number 1.


    So there is still no square root of minus one in the oldsystem, but if your calculator also handles these new guys it can do this calculation. in fact you can probably program it to do this if it handles vectors, i.e. pairs of numbers.

    actually i learned this in high school when i was 16, from a wonderful book called principles of mathematics by carl allendoerfer and cletus oakley. and then we studied it again in college in my freshman math class from a famous algebraist, john tate.
     
    Last edited: Sep 18, 2004
  14. Sep 18, 2004 #13
    Thanks, both of you. I've an image in my head now. Please tell me if I'm thinking this right.

    The complex numbers system is a 2-dimensional system, like a graph where you determine a place with x an y, and in this case x, the horizontal line, is the old number system, meaning (x, 0) is where you'd have plainly x in the old system.

    Am I right this far? I think so.

    And this new system obviously has different rules, as mathwonk showed.

    (The following is just for me sort of)

    (0,1)(0,1) = (0*0-1*1, 0*1-1*0) = (-1, 0) or plain -1 on the old system.

    Explains i^2=-1, so I'm thinking I'm still on track.


    Now back to what matt grime posted (which suddenly makes a lot more sense). Complex numbers are written as x+iy. I'm not sure I understand this yet. Isn't i itself a complex number?


    Thanks for all the replies so far, I think I'm starting to understand.
     
  15. Sep 18, 2004 #14

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    Your image is excellent!
    Further, in the vector notation i=(0,1)
    A general complex number (x,y) (x and y themselves ordinary reals) can be written as:
    (x,y)=(x,0)+(0,y)=x(1,0)+(0,1)y=x*1+iy=x+iy
     
  16. Sep 18, 2004 #15
    Good. I understand then.

    I see. But like a complex number (5,5) for example, you'd write that 5+5i then?

    But if we're going to have a 2-dimensional system, wouldn't there be systems with 3 or more dimensions? I don't know what they'd be used for, but yeah.
     
  17. Sep 18, 2004 #16
    Yes, if you're talking about complex numbers (5, 5) would be 5+5i . In general x + iy <=> (x, y).

    As for three-dimensionnal complex number systems, look up "quaternions". Not sure what they are used for either. I believed some have used them in advanced quantum theories. Regular complex numbers are immensely more common.
     
    Last edited by a moderator: Sep 18, 2004
  18. Sep 19, 2004 #17
    Thanks. I looked up quaternions and got to that and hypercomplex numbers, octonions, things like that. Seems complex numbers are the simple things. Oh well.
     
  19. Sep 19, 2004 #18

    matt grime

    User Avatar
    Science Advisor
    Homework Helper


    yep, you're getting a good idea now. sorry, thought that if you were asking about complex numbers you'd know about planes and polynomials.

    i, is like a place holder: there is a complex number: 0+1i or (0,1) if you like that by the analogy with the real numbers and algebra in general we write as i, because 1 times x equals x, and that is a rule we want in our extended system.
     
  20. Sep 19, 2004 #19

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    So, sorry, to double post but just remembered what i'm trying to say:

    you';re happy with the plane description as the pairs of numbes (x,y) with the multiplication we've defined.

    now, let's identify the pairs (x,y) with the symbols x+iy where i is a symbol that squares to give -1, and where we can perform addition: x+iy + u+iv =x+u +(y+v)i

    and multiplication like we do for ordinary numbers:

    (x+iy)*(u+iv)= xu +xvi+uyi+yvi^2

    but of course i^2 equals -1 by definition so that expression is the same as

    xu-yv + i(uy+xv)

    which is what we'd identified with the pair (xu-yv,uy+xv)

    so you see given two pairs (x,y) and (u,v) we can do the identification, multiply there, and go back to the pair expression OR we could have just multiplied the two pairs, but both of these methods give the same answer.

    so you can either think in terms of symbols (u,v) or as expressions u+iy and they are essentially the same.
     
  21. Sep 19, 2004 #20
    That's right. And yes, there are multi-dimensional systems, as many dimensions as you want. For example, in the real world, we have 4 dimensions; 3 of space (length, width, and height) and one of time. Events in spacetime are located with respect to some begining point (origin) with four numbers (t, x, y, z).
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: How imaginary numbers work
  1. Imaginary Numbers (Replies: 4)

  2. Imaginary Numbers (Replies: 14)

Loading...