VECTORS IN COMPONENT FORM Vector as position vector of point A in 3 – D in Cartesian coordinate system: ππ₯ π = π π₯ π + ππ¦ π + ππ§ π ≡ ππ¦ ≡ ππ₯ ππ¦ π π§ ππ§ where π, π πππ π are unit vectors in x, y and z directions. π = 1 0 0 π = 0 1 0 π = 0 0 1 Both, position vector of point A and point A have the same coordinates: π = π = ππ₯ ππ¦ , ππ§ ππ₯2 + ππ¦2 + ππ§2 π΄ = (ππ₯ , ππ¦ , ππ§ ) π ππ ππππππ ππππππ‘π’ππ, πππππ‘β, ππππ’ππ’π ππ ππππ example: 2 2 0 0 π= 7 = 0 + 7 + 0 −3 0 0 −3 1 0 0 = 2 0 + 7 1 − 3 0 = 2π + 7π − 3π. 0 0 1 VECTOR BETWEEN TWO POINTS π₯π΅ − π₯π΄ π΄π΅ = π¦π΅ − π¦π΄ = (π₯π΅ − π₯π΄ ) π + (π¦π΅ − π¦π΄ ) π + (π§π΅ − π§π΄ ) π π§π΅ − π§π΄ π₯π΄ − π₯π΅ π΅π΄ = π¦π΄ − π¦π΅ = (π₯π΄ − π₯π΅ ) π + (π¦π΄ − π¦π΅ ) π + (π§π΄ − π§π΅ ) π π§π΄ − π§π΅ ππππ’ππ’π ≡ πππππ‘β: = π΄π΅ = π΅π΄ (π₯π΅ − π₯π΄ )2 +(π¦π΅ − π¦π΄ )2 +(π§π΅ − π§π΄ )2 Unit vector Definition It gives direction only! A unit vector is a vector whose length is 1. For a vector π , a unit vector is in the same direction as π and is given by: π = π = π π ππ₯ π + ππ¦ π + ππ§ π ππ₯2 + ππ¦2 + ππ§2 = 1 ππ₯2 + ππ¦2 + ππ§2 ππ₯ ππ¦ ππ§ ππ₯ = (π₯π΅ − π₯π΄ ) ππ¦ = (π¦π΅ − π¦π΄ ) ππ§ = (π§π΅ − π§π΄ ) PARALLEL and COLLINEAR VECTORS π ππ ππππππππ π‘π π ⇔ π = ππ π= 6 9 3 π= 2 3 1 6 9 3 2 = 3 3 1 πππ → π || π πππππ‘π πππ πππππππππ ππ π‘βππ¦ πππ ππ π‘βπ π πππ ππππ π΄, π΅ πππ πΆ πππ πππππππππ ⇔ π΄π΅ = ππ΄πΆ πππ π πππ π πππππ π (πππ ππππππ πππππ‘ πππ π‘βπ π πππ ππππππ‘πππ) ARE 3 POINTS COLLINEAR ? How can you check it: 1. Form two vectors with these three points. They will definitely have one common point. 2. Check if these two vectors are parallel. If two vectors have a common point and are parallel (or antiparallel) ∴ points are collinear. Show that P(0, 2, 4), Q(10, 0, 0) and R(5, 1, 2) are collinear. 5 ππ = −1 , −2 ππ = −5 1 2 ππ = −1 × ππ ππ πππ ππ have a common direction and a common point. Therefore P, Q and R are collinear. THE DIVISION OF A LINE SEGMENT X divides [AB]≡ AB in the ratio π: π means π΄π: ππ΅ = π βΆ π A = (2, 7, 8) B = ( 2, 3, 12) INTERNAL DIVISION P divides [AB] internally in ratio 1:3. Find P π΄π: ππ΅ = 1: 3 → π΄π = 1 π΄π΅ 4 π΄π = 1 π΄π΅ 4 π₯−2 1 0 π¦−7 = −4 4 4 π§−8 point P is (2, 6, 9) EXTERNAL DIVISION X divide [AB] externally in ratio 2:1, or X divide [AB] in ratio –2:1. Find Q π΄π: ππ΅ = −2: 1 π΅π = π΄π΅ π₯−2 0 π¦ − 3 = −4 4 π§ − 12 point Q is (2,– 1,16) DOT/SCALAR PRODUCT Scalar: ± ππ’ππππ Definition The dot/scalar product of two vectors π and π is: π • π = π • π = π π cos π or: Product of the length of one of them and projection of the other one on the first one π π π π π θ π In Cartesian coordinates: ππ₯ ππ₯ π = ππ¦ and π = ππ¦ ππ§ ππ§ π •π =1 π•π=1 π•π =1 & π•π=0 π•π =0 π • π = ππ₯ π + ππ¦ π + ππ§ π • ππ₯ π + ππ¦ π + ππ§ π = ππ₯ → π • π = ππ¦ ππ§ ππ₯ ππ¦ ππ§ = ππ₯ ππ₯ + ππ¦ ππ¦ + ππ§ ππ§ π•π =0 cos 900 = 0 Properties of dot product β π • π= π • π β ππ π πππ π πππ ππππππππ, π‘βππ π • π = π π β ππ π πππ π πππ πππ‘πππππππππ, π‘βππ π • π = − π π β π • π= π 2 β π • π + π =π•π + π•π β π+π • π+π =π•π + π•π+π•π + π•π β π • π=0 π ≠ 0, π ≠ 0 ↔ π πππ π πππ ππππππππππ’πππ CROSS / VECTOR PRODUCT Definition β The magnitude of the vector π × π is equal to the area determined by both vectors. π × π = π π π ππ π β Direction of the vector π × π is given by right hand rule: Point the fingers in direction of π; curl them toward π. Your thumb points in the direction of cross product. π × π = −π × π In Cartesian coordinates: i×i=j× j=k ×k =0 i× j=k j×k =i k×i = j π π π Using properties of determinates π π π = ππ − ππ π We can write cross product in simple form: + − π π × π = ππ₯ ππ₯ π ππ¦ ππ¦ ππ¦ =π π π¦ + π ππ§ ππ§ ππ§ ππ₯ ππ§ − π ππ₯ ππ₯ ππ§ ππ§ + π ππ₯ ππ¦ ππ¦ = ππ¦ ππ§ − ππ§ ππ¦ ππ§ ππ₯ − ππ₯ ππ§ ππ₯ ππ¦ − ππ¦ ππ₯ Properties of vector/cross product β π × π =−π × π β ππ π πππ π πππ ππππππππππ’πππ, π‘βππ π × π = π π β π × π + π =π×π + π×π β π+π × π+π = π×π + π×π+π×π + π×π β π × π = 0 π ≠ 0, π ≠ 0 ↔ π πππ π πππ ππππππππ πΉππ ππππππππ π£πππ‘πππ π‘βπ π£πππ‘ππ πππππ’ππ‘ ππ 0. π = 5π − 2π + π π = π + π − 3π (a) Find the angle between them (b) Find the unit vector perpendicular to both (a) π = πππ π ππ π π ×π = 5 1 π×π π π π −2 1 π 1 = 5π + 16π + 7π −3 Find all vectors perpendicular to both 1 π= 2 3 π π×π = 1 3 3 πππ π = 2 1 −4 π π 2 3 = 8 −4 2 1 β€ π£πππ‘ππ ππ π‘βπ ππππ π π − 2π + π π€βπππ π ππ πππ¦ πππ − π§πππ ππππ ππ’ππππ. π × π = 5π + 16π + 7π = 330 π = 30 π = 11 π = πππ π ππ 1 = π/2 (b) π = π ×π π ×π = 1 330 5 16 7 Find the area of the triangle with vertices A(1,1,3), B(4,-1,1), and C(0,1,8) It is one-half the area of the parallelogram determined by the vectors 3 π΄π΅ = −2 −2 −1 and π΄πΆ = 0 5 1 1 π΄π΅ × π΅πΆ = 2 2 1 = 2 π 3 −1 π −2 0 π −2 5 (−10)2 +(−13)2 +(−2)2 = 8.26 π’πππ‘π 2 1 β€ 2 −10 −13 −2 How do we use dot and cross product • To find angle between vectors the easiest way is to use dot product, not vector product. π = ππππππ π = ππππππ π • π π π π • π π π • Angle between vectors can be acute or obtuse • Angle between lines is by definition acute angle between them, so π πππ π are direction vectors Dot product of perpendicular vectors is zero. • To show that two lines are perpendicular use the dot product with line direction vectors. • To show that two planes are perpendicular use the dot product on their normal vectors. Volume of a parallelepiped = scalar triple product π = π β π ×π ππ₯ = ππ₯ ππ₯ ππ¦ ππ¦ ππ¦ ππ§ ππ§ π’πππ‘π 3 ππ§ ππ₯ ππ₯ ππ₯ ππ¦ ππ¦ ππ¦ 1 Volume of a tetrahedron = 6 scalar triple product 1 π = π β π ×π 6 1 = 6 ππ§ ππ§ ππ§ π’πππ‘π 3 TEST FOR FOUR COPLANAR POINTS βͺ πΉππ’π πππππ‘π πππ ππππππππ ππ πππ ππππ¦ ππ π‘βπ π£πππ’ππ ππ π‘βπ π‘ππ‘ππβπππππ πππππππ ππ¦ π‘βππ ππ 0: Are the points A(1, 2, -4), B(3, 2, 0), C(2, 5, 1) and D(5, -3, -1) coplanar? 2 π΄π΅ = 0 4 1 π΄πΆ = 3 5 4 π΄π· = −5 3 β€ 2 0 4 π΄π΅ β π΄πΆ × π΄π· = 1 3 5 = 2(9 + 25) + 4(−5 − 12) = 0 4 −5 3 ∴ π΄, π΅, πΆ πππ π· πππ ππππππππ π. πΈ. π· A line is completely determined by a fixed point and its direction. Using vectors gives us a very neat way of writing down an equation which gives the position vector of any point P on a given straight line. This method works equally well in two or three dimensions. LINE EQUATION IN 2 – D and 3 – D COORDINATE SYSTEM β Vector equation of a line The position vector π of any general point P on the line passing through point A and having direction vector π is given by the equation π =π+π‘π π‘∈π IB Convention: π = π1 π + π2 π + π3 π + π π1 π + π2 π + π3 π π’π π π πππ 2 − π· ππππ π πππ 3 − π· ππππ π1 π1 π₯ π¦ = π2 + π π2 π3 π§ π3 ππ β Parametric equation of a line – λ is called a parameter λ ∈ π π1 π1 π₯ π¦ = π2 + π π2 π3 π§ π3 ⇒ π₯ = π1 + ππ1 π¦ = π2 + ππ2 π§ = π3 + ππ3 β Cartesian equation of a line π₯ = π1 + ππ1 βΉ π = (π₯ − π1 )/π1 π¦ = π2 + ππ2 βΉ π = (π¦ − π2 )/π2 π§ = π3 + ππ3 βΉ π = (π§ − π3 )/π3 βΉ π₯−π1 π1 = π¦−π2 π2 = π§−π3 π3 (= π) Find the equation of the line passing through the points A(3, 5, 2) and B(2, -4, 5). Find the direction of the line: One possible direction vector is ο¦ 2 οΆ ο¦ 3 οΆ ο¦ ο1 οΆ AB ο½ ο§ ο4 ο· ο ο§ 5 ο· ο½ ο§ ο9 ο· ο§ο§ ο·ο· ο§ο§ ο·ο· ο§ο§ ο·ο· ο¨5 οΈ ο¨ 2οΈ ο¨3 οΈ The Cartesian equation of this line is xο3 y ο5 z ο2 ο½ ο½ ο1 ο9 3 (using the coordinates f point A). The equivalent vector equation is ο¦ x οΆ ο¦ 3 οΆ ο¦ ο1 οΆ ο§ y ο· ο½ ο§ 5 ο· ο« t ο§ ο9 ο· ο§ο§ ο·ο· ο§ο§ ο·ο· ο§ο§ ο·ο· ο¨ z οΈ ο¨ 2οΈ ο¨3 οΈ ANGLE BETWEEN TWO LINES π = arccos π • π π π Two vectors π = πππ cos π • π π π Shortest distance from a point to a line Point P is at the shortest distance from the line when PQ is perpendicular to π ∴ ππ • π = 0 1 2 Find the shortest distance between π = 3 + π 3 1 2 and point P (1,2,3). (The goal is to find Q first, and then ππ ) Point Q is on the line, hence its coordinates must satisfy line equation: π₯π 1 + 2π 2π π¦π = 3 + 3π ⇒ ππ = 1 + 3π π§π 1 + 2π −2 + 2π 2π 2 ⇒ 1 + 3π • 3 = 0 −2 + 2π 2 ⇒ 4π + 3 + 9π − 4 + 4π = 0 2/17 ⇒ ππ = 20/17 32/17 ⇒ ππππ ππ ⇒ 17 π = 1 ⇒π= 1 17 Relationship between lines 2 – D: 3 – D: β the lines are coplanar (they lie in the same plane). They could be: βͺ intersecting βͺ parallel βͺ coincident β the lines are not coplanar and are therefore skew (neither parallel nor intersecting) 1 4 π1 = 2 + λ 5 6 3 2 1 and π2 = − 2 + π 0 −1 3 . Are the lines β the same?…….check by inspection β parallel?………check by inspection β skew or do they have one point in common? solving π1 = π2 will give 3 equations in ο¬ and µ. Solve two of the equations for ο¬ and µ. if the values of ο¬ and µ do not satisfy the third equation then the lines are skew, and they do not intersect. If these values do satisfy the three equations then substitute the value of ο¬ or µ into the appropriate line and find the point of intersection. Line 1: π₯ = −1 + 2π , Line 2: π₯ = 1 − π‘, Line 3: π₯ = 1 + 2π’, π¦ = 1 − 2π , π¦ = π‘, π¦ = −1 − π’, π§ = 1 + 4π π§ = 3 − 2π‘ π§ = 4 + 3π’ a) Show that lines 2 and 3 intersect and find angle between them b) Show that line 1 and 3 are skew. a) 1 − π‘ = 1 + 2π’ ⇒ π‘ = −2π’, π‘ = −1 − π’ ⇒ −2π’ = −1 − π’ ⇒ π’ = 1 & π‘ = −2 πβππππππ π€ππ‘β π§: 3 − 2π‘ = 4 + 3π’ ⇒ 3 − 2 −2 = 4 + 3 1 πππππππππ πππ‘πππ πππ‘πππ (3, −2, 7) −1 ππππππ‘πππ π£πππ‘πππ πππ ππππ 2 πππ ππππ 3 πππ: π = 1 −2 cos π = π•π π π = −2−1−6 1+1+4 4+1+9 = 9 84 π) − 1 + 2π = 1 + 2π’ ⇒ 2π − 2π’ = 2, πβππππππ π€ππ‘β π§: 1 + 4π = 4 + 3π’ 2 πππ π = −1 3 ⇒ π ≈ 10.9π 1 − 2π = −1 − π’ ⇒ −2π + π’ = −2, ⇒1+4 1 =4+3 0 ⇒π’=0 & π =1 ⇒5≠4 ⇒ ππ π πππ’ππ‘πππππ’π π πππ’π‘πππ π‘π πππ 3 πππ’ππ‘ππππ ∴ π‘βπ ππππ ππ πππ‘ ππππ‘, πππ ππ π‘βππ¦ πππ πππ‘ ππππππππ π ≠ π π , πππ π‘βππ¦ ππ’π π‘ ππ π πππ€. Distance between two skew lines π = π + π π πππ π = π + π π The cross product of π and π is perpendicular to both lines, as is the unit vector: π= π×π π×π The distance between the lines is then π = π • (π − π) (sometimes I see it, sometimes I don’t) PLANE EQUATION β Vector equation of a plane π = π + π π + µπ A plane is completely determined by two intersecting lines, what can be translated into a fixed point A and two nonparallel direction vectors The position vector π of any general point P on the plane passing through point A and having direction vectors π and π is given by the equation π = π + π π + µπ π, µ ∈ π π΄π = π π + µπ β Parametric equation of a plane: λ , μ are called a parameters λ,μ ∈ π π1 π1 π1 π₯ π¦ = π2 + π π2 + π π2 π3 π3 π§ π3 ⇒ π₯ = π1 + ππ1 + ππ1 π¦ = π2 + ππ2 + ππ2 π§ = π3 + ππ3 + ππ3 β Normal/Scalar product form of vector equation of a plane π • π = π • π + π π + µπ ⇒ π • π = π • π ππ π • π − π = 0 β Cartesian equation of a plane π•π =π•π β€ π1 π₯ + π2 π¦ + π3 π§ = π1 π1 + π2 π2 + π3 π3 = π π1 π₯ + π2 π¦ + π3 π§ = π π·ππ π‘ππππ ππππ ππππππ: π·= = π•π = π•π π•π π12 +π22 +π32 = π1 π1 +π2 π2 +π3 π3 π12 +π22 +π32 What does the equation 3x + 4y = 12 give in 2 and 3 dimensions? https://www.osc-ib.com/ib-videos/default.asp http://www.globaljaya.net/secondary/IB/Subjects%20Report/May%202012%20 subject%20report/Maths%20HL%20subject%20report%202012%20TZ1.pdf Find the equation of the plane passing through the three points P1(1,-1,4), P2(2,7,-1), and P3(5,0,-1). π = π1 π2 = 1 8 −5 π = π1 π3 = 1 πππ πππππ‘ ππ π‘βπ πππππ ππ π1 = −1 4 4 1 −5 1 3 5 containing point (-2, 3, 4) . 1 3 • −2,3,4 = −2 + 9 + 20 = 27 5 π₯ + 3π¦ + 5π§ = 27 vector form: 1 π = −1 4 Find the equation of the plane with normal vector +π 1 4 8 +µ 1 −5 −5 −35 π π π π = 1 8 −5 = −15 −31 4 1 −5 3 Find the distance of the plane πβ 2 = 8 −4 from the origin, and the unit vector perpendicular to the plane. 3 2 −4 Any non-zero multiple of π is also a normal vector of the plane. Multiply by -1. 35 π = 15 31 1 35 15 • −1 = 144 4 31 πΆπππ‘ππ πππ ππππ: 35π₯ + 15π¦ + 31π§ = 144 = 29 3 πβ 2 29 −4 1 π·= 8 29 π= = 8 29 3 2 29 −4 1 ANGLES β The angle between a line and a plane π ππ π = πππ π = π = πππ π ππ π•π π π π•π π π β The angle between two planes The angle between two planes is the same as the angle between their 2 normal vectors πππ π = π•π π π π = πππ πππ π•π π π take acute angle β INTERSECTION OF TWO or MORE PLANES