RHIT MA113/Vectors

From testwiki
Jump to navigation Jump to search

Template:Navigate Template:TOC right

Vectors

Scalars vs Vectors

Scalars are numbers, or quantities which represent numbers, such as 7,x,y,e,π,...

Vectors are composed of a direction and a magnitude, or multiple scalar components, such as 3,4,5i^,3i^+4j^,... The magnitude of a vector is found with the Pythagorean theorem, a=ax2+ay2

Vector Multiplication

Vector-Scalar Multiplication

When a vector is multiplied by a scalar, each component of the vector is multiplied by the scalar, such as ax,y=ax,ay

Dot Product

a depiction of the relationship between the angle θ, the vectors x and y, and the dot product xy

The Dot Product (or Scalar Product) of two vectors is given by a,bc,d=ac+bd. The dot product is equal to the cosine of the angle between the vectors, multiplied by the product of their magnitudes, and therefore the angle between the vectors can easily be calculated using cos(θ)=abab

Cross Product

A depiction of the cross product of vectors u and v.

The Cross Product of two vectors results in another vector, normal to both initial vectors. The magnitude of the cross product is equal to the area of the parallelogram formed by the two vectors, or a×b=absin(θ)