Vectors Flashcards
How do you find the magnitude of a vector? e.g |a|
(x2 + y2 + z2)1/2
How do you know if two vectors are parallel?
If the vectors are scalar multiples of one another
What is a position vector?
A vector that’s position is described with relation to the origin. e.g OP
What is the vector equation of a 3d line?
r = a + λb
Where:
* r is a position vector of a point on the line
* a is a position vector connnecting to the line
* b is a vector that travels along the line (between two points)
How do you know if a point lies on a line, given the vector equation of the line and the point?
If once you sub the point in for r your values of λ are consistent the point lies on the line
What is the cartesian equation of a vector line?
(x - a1)/b1 = (x - a2)/b2 = (x - a3)/b3
Where:
A = (a1,a2,a3) and is any point on the line
b = (b1i + b2j + b3k) and is any vector parallel to the line
How do you convert from a vector equation of a line to a cartesian equation of a vector line?
You subtract the start (the ‘a’ vector) and divide the direction (the ‘b’ vector)
What are the three cases for two intersecting lines in 2d?
If the lines are parallel and are not the same line their is no intersection points (no solutions)
If the lines are the same line there are infinitely many intersection points (infinite solutions)
If the lines intersect at a single point there is one intersection point (one solution)
How do you multiply vectors?
Do the dot product of the two vectors
How do you do the dot product between two vectors? e.g (a1i + a2j + a3) · (b1i + b2j + b3)
a · b = a1b1 + a2b2 + a3b3
Your answer should always be a number
What is the formula to find the angle between two vectors?
cos(θ) = (a · b)/(|a||b|)
Where a and b are direction vectors of the two vector lines
If you get an acute angle but it asks for the obtuse angle or vice versa do 180 - first solution
How do you know if two vectors are perpendicular? e.g r = a+λb and r = c+λd?
If the dot product of the two vector lines direction vectors equals zero
b · d = 0
How do you find the shortest distance from a position vector to a vector line? e.g the shortest distance from OP to the line r = a +λb where OQ is the point on the line closest to OP
- State the point on the line closest to your position vector is OQ
- State that OQ has general position vector e.g ((1+3λ) i + (2-5λ)j +(5+2λ)k)
- State the value of PQ from PQ = OQ - OP
- You know for Q to be the shortes distance from P to the line PQ must be perpendicular to the line so PQ · b = 0
- Solve for λ and sub into equation for OQ to find the point
How do you find the shortest distance between two parallel vector lines? e.g r = a+λb and r = c+νd
- State a known point on one of the lines and call it OP
- State a general position vector on the other line e.g ((1+3λ) i + (2-5λ)j +(5+2λ)k) and call it OQ
- You know PQ = OQ - OP
- You know for PQ to be the shortest distance between two lines it must be perpendicular to both lines direction vectors
- Therefore PQ · ‘b or a’ = 0 and solve for λ or ν
- Sub λ or ν back in to your equation for PQ or OP
- |PQ| is now the shortest distance between the lines
How do you find the shortest distance between two non parallel vector lines? e.g r = a+λb and r = c+νd
- Let P be a point on line 1 and Q be a point on line 2 such that PQ is the shortest distance between the two lines
- Write OP and OQ as the general position vectors of their respective lines
- You know PQ = OQ - OP
- For PQ to be the shortest distance between the two lines PQ · b = 0 and PQ · ν = 0 solve the two equations you get simultaneously to find the values of ν and λ
- Sub these values into your equation for PQ
- |PQ| is now the shortest distance between the lines