Results 1 to 3 of 3

Thread: Showing dot product is commutative, need help please

  1. #1

    Thread Starter
    Hyperactive Member voidflux's Avatar
    Join Date
    Jun 2003
    Location
    Brockway, PA
    Posts
    290

    Showing dot product is commutative, need help please

    Hello everyone. I'm trying to show ab = ba. //communative property of dot product
    This is what I have, is it enough to show this?
    ab = (ax, ay, az) (bx, by, bz) = axbx + ayby + azbz;
    ab = (axi + ayj) (bxi + byj); //note: i and j are unit vectors
    = axbx(i)(i) + ayby(j)(j) + axby(i)(j) + aybx(j)(i)
    = axbx+ayby

    ba = (bx, by, bz) (ax,ay,az) = bxax + byay + bzaz;

    ba = (bxi + byj) (axi + ayj)
    = bxax(i)(i) + byay(j)(j) + bxay(i)(j) + byax(j)(i)
    = bxax + byay

    Is this enough to show the dot product is communative?
    Any help would be great if it isn't!
    C¤ry Sanchez
    Computer Science/Engineering
    @ Penn State
    IBM.zSeries Intern
    Mandriva 2007

  2. #2
    Fanatic Member twanvl's Avatar
    Join Date
    Dec 2001
    Posts
    771

    Re: Showing dot product is commutative, need help please

    (Note: You should write dot product with a dot, not as normal multiplication.)

    If you only work in three dimensions, something like this should be enough:
    Code:
    a.b
    = (ax, ay, az).(bx, by, bz)       { defenition of a,b as 3d vector }
    = ax bx + ay by + az bz           { defenition of dot product }
    = ...                             { multiplication is commutative }
    = ...
    = b.a
    I don't understand where you are going with the unit vectors:
    ab = (ax, ay, az) (bx, by, bz) = axbx + ayby + azbz;
    ab = (axi + ayj) (bxi + byj);
    Where did z go?

  3. #3
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Showing dot product is commutative, need help please

    Even much less is enough:
    Quote Originally Posted by voidflux
    ab = (ax, ay, az) (bx, by, bz) = axbx + ayby + azbz;
    ba = (bx, by, bz) (ax,ay,az) = bxax + byay + bzaz;
    That's simply it! You're being asked to show the dot product is commutative, and this is obvious because the product of 2 numbers is commutative (you're not being asked to prove this!): axbx = bxax (etc), ax and bx being numbers (not vectors).
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width