Sunday, April 22, 2012

Vector Addition and Subtraction

Vectors are basically slopes.
Vectors look like this:
<x, y>
Vector addition: v + u = (x + y) + (x0 + y0) = <x + x1, y + y1>
Vector subtraction: same but with minuses (minii?)
Vector equation: (x, y) = (x1, y1) + t(a, b)
Magnitude: |u| = sqrt(x^2 + y^2)

Examples:
Subtract it!
A(2, 3) B(-1, 5)
<-3, 2>

Add it!
A(4, 1) B(3, 2)
<-1, 1>

No comments:

Post a Comment