A vector is a directed line segment described by its components (a, b), where a = x2 - x1 and b = y2 - y1. Its magnitude is sqrt(a^2 + b^2). Scalar multiplication k*(a, b) = (ka, kb) produces a parallel vector. Vector addition (a1 + a2, b1 + b2) can be visualized tip-to-tail. The dot product of (a1, b1) and (a2, b2) is a1*a2 + b1*b2, which equals the product of the magnitudes times the cosine of the angle between them. If the dot product is zero, the vectors are perpendicular. A unit vector in the direction of (a, b) is (a, b) divided by its magnitude. The standard unit vectors are i = (1, 0) and j = (0, 1). A vector-valued function p(t) = (x(t), y(t)) gives the position of a particle at time t. The velocity vector is v(t) = (x'(t), y'(t)), and the speed is its magnitude. The sign of x'(t) tells you left or right; the sign of y'(t) tells you up or down.
- Component form (a, b): a = x2 - x1, b = y2 - y1; the vector points from tail to head with these horizontal and vertical displacements.
- Magnitude: sqrt(a^2 + b^2); the length of the vector, also the speed when the vector is a velocity vector.
- Dot product: a1*a2 + b1*b2; equals |u||v|cos(theta), so a zero dot product means the vectors are perpendicular.
- Unit vector: A vector of magnitude 1 found by dividing any nonzero vector by its magnitude.
- Velocity vector v(t): v(t) = (x'(t), y'(t)); its magnitude is the particle's speed, and its component signs indicate direction of motion.
Given u = (3, -4) and v = (2, 1), find the dot product, the angle between them, and the unit vector in the direction of u.