Cross Product

Cross Product

These are two vectors:

vectors-ab

They can be multiplied using the "Cross Product"
(also see Dot Product)

The Cross Product a × b of two vectors is another vector that is at right angles to both:

oduct-simple
And it all happens in 3 dimensions!

Calculating
We can calculate the Cross Product this way:

ross-product

a × b = |a| |b| sin(θ) n

  • |a| is the magnitude (length) of vector a
  • |b| is the magnitude (length) of vector b
  • θ is the angle between a and b
  • n is the unit vector at right angles to both a and b

So the length is: the length of a times the length of b times the sine of the angle between a and b,

Then we multiply by the vector n to make sure it heads in the right direction (at right angles to both a and b).

OR we can calculate it this way:

1447260857900148

When a and b start at the origin point (0,0,0), the Cross Product will end at:

  • cx = aybz − azby
  • cy = azbx − axbz
  • cz = axby − aybx
Example: The cross product of a = (2,3,4) and b = (5,6,7)
  • cx = aybz − azby = 3×7 − 4×6 = −3
  • cy = azbx − axbz = 4×5 − 2×7 = 6
  • cz = axby − aybx = 2×6 − 3×5 = −3

Answer: a × b = (−3,6,−3)

t-hand-rule

Which Way?

The cross product could point in the completely opposite direction and still be at right angles to the two other vectors, so we have the:

"Right Hand Rule"

With your right-hand, point your index finger along vector a, and point your middle finger along vector b: the cross product goes in the direction of your thumb.

Dot Product

The Cross Product gives a vector answer, and is sometimes called the vector product.

But there is also the Dot Product which gives a scalar (ordinary number) answer, and is sometimes called the scalar product.

smile

Question: What do you get when you cross an elephant with a banana?

Answer: |elephant| |banana| sin(θ) n

转载于:https://www.cnblogs.com/McKean/p/6087672.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值