Maths Lesson: Dot Product

In this morning’s lesson with Ant we learnt about Dot Product, the dot product or scalar product is an algebraic operation that takes two equal-length sequences of numbers (usually vectors) and returns a single number.

Vector components we were introduced to are associated with the X,Y,Z axes, like the ones used in programs like 3DS Max, Maya and Unity.

xyz.gifVectors:

If something has 3 planes, X,Y,Z It’s 3D.

If something has 2 planes, X,Y It’s 2D.

If something has 1 planes, X, It’s 1D.

We did some simple addition and subtraction of vectors:j.png

e.g.     {6,-2,8} + -{4,7,-3} = 2,5,5

We then did some Dot Product/Scalar Product Calculations to finish off:

The Dot Product is the Cosine of the angle between two vectors, times by the length of each vector.

e.g.    {8,3.2,-3} . {-2.5,2,2} = -19.6

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s