Earlier this week, we learned about vectors in space. A vector is given by:
v = <v1, v2, v3> (component form)
or
v = v1i + v2j + v3k (unit vector form)
Many operations can be performed with vectors, and, to demonstrate, I will perform these operations with the following vectors:
u = <2, 8, 4>
v = <6, 12, 10>
To find the length (also known as magnitude) of the vector:
||u|| = √(u12 + u22 + u32)
||u|| = √(22 + 82 + 42) = √(4 + 64 + 16) = √84 = ~9.165
To find the sum of the two vectors:
u + v = <u1 + v1, u2 + v2, u3 + v3>
u + v = <2 + 6, 8 + 12, 4 + 10> = <8, 20, 14>
To perform a scalar multiplication on the vector:
cu = <cu1, cu2, cu3>
4u = <4(2), 4(8), 4(4)> = <8, 32, 16>
To find the dot product of the vectors:
u • v = u1v1 + u2v2 + u3v3
u • v = 2(6) + 8(12) + 4(10) = 12 + 96 + 40 = 148
For more information on vector operations, you can visit section 11.2 on page 837 of our book.
No comments:
Post a Comment