Vector dot and cross product practice

To get practice doing vector dot and cross products, try the following until you get the correct answer every time in less than a minute (1/2 minute is better).

Create two vectors, A, and B using random numbers for the vector components (use both positive and negative values). Start with two component vectors, then later use three components.

Compute AxB

Now take the dot product of A with the result, you should get zero every time.

Now take the dot product of B with the result, you should get zero every time.

Compute BxA, you should get -(AxB) every time.


Back