BEKP 2453 Electromagnetics Theory Chapter 1 Vector Analysis Part 1: Vector Algebra NUR HAKIMAH AB AZIZ 1 Learning Outcomes NUR HAKIMAH AB AZIZ 2 SCALARS AND VECTORS • A quantity can either be a scalar or a vector. • Scalar - a quantity that only has magnitude. – e.g. time, mass, distance, temperature, electric potential. ิฆ ๐ต, ๐or – Represented by a letter with an arrow on top of it e.g. ๐ด, by a letter in boldface type e.g. A, B, U. • Vector – a quantity that has both magnitude and direction. – e.g. velocity, force, displacement, electric field intensity. – Represented simply by a letter A, B, U etc NUR HAKIMAH AB AZIZ 3 Position and Distance Vectors Cartesian Coordinate ๐1 = (1,2,3) ๐1 = (๐ฅ1 , ๐ฆ1 , ๐ง1 ) = (1, 2, 3) ๐2 =(๐ฅ2 , ๐ฆ2 , ๐ง2 ) = (3, 5, 6) ๐2 = (3,5,6) Position Vector Starts from the origin เท + ๐ง1 ๐ณเท = ๐ฑเท + 2เท ๐๐1 = ๐ 1 = ๐ ๐ = ๐ฅ1 ๐ฑเท + ๐ฆ1 ๐ ๐ + 3เท๐ณ = 1, 2, 3 ๐ ๐ = ๐๐ + 2๐๐ + 3๐๐ เท + ๐ง2 ๐ณเท = 3เท๐ฑ + 5เท ๐๐2 = ๐ 2 = ๐ ๐ = ๐ฅ2 ๐ฑเท + ๐ฆ2 ๐ ๐ + 6เท๐ณ = 3, 5, 6 ๐ ๐ = 3๐๐ + 5๐๐ + 6๐๐ Distance Vector From one point to another ๐1 ๐2 = ๐ 12 = ๐ 2 − ๐ 1 = 3, 5, 6 − 1, 2, 3 = 2, 3, 3 = 2เท๐ฑ + 3เท ๐ + 3เท๐ณ NUR HAKIMAH AB AZIZ 4 Magnitude of A Vector ๐ดิฆ = ๐ด๐ฅ ๐ฅเท + ๐ด๐ฆ ๐ฆเท + ๐ด๐ง ๐งฦธ = 4, 5, 3 ๐ด = = ๐ด๐ 2 + ๐ด๐ง 2 2 2 2 ๐ด๐ฅ + ๐ด๐ฆ + ๐ด๐ง = 42 + 52 + 32 = 50 NUR HAKIMAH AB AZIZ ๐1 (4,5,3) 5 Unit Vector ๐ฅเท = 1๐ฅเท , ๐ฆเท = 1๐ฆ, เท ๐งฦธ = 1๐งฦธ ๐ฅเท = ๐ฆเท = ๐งฦธ = 1 Unit vector is a vector with magnitude 1 ๐ดิฆ = 4, 5, 3 Unit vector of ๐ดิฆ ๐ดิฆ = ๐ด๐ฅ ๐ฅเท + ๐ด๐ฆ ๐ฆเท + ๐ด๐ง ๐งฦธ = ๐เท = ๐ดิฆ ๐ด๐ฅ 2 + ๐ด๐ฆ 2 + ๐ด๐ง 2 4 50 5 , 50 , 3 (4,5,3) 50 Magnitude of ๐เท ๐เท = 4 50 2 + 5 50 2 + 3 2 50 Magnitude of a unit vector is always 1 = 50 =1 50 NUR HAKIMAH AB AZIZ 6 Try this.. ๐๐ = ๐ถ − ๐ต ๐ด(2, −3, 1) = 4, −7, −5 ๐ต(3, 2, 0) ๐ถ(7, −5, −5) ๐ต๐ถ = 42 + 72 + 52 = 90 4, −7, −5 เทข= ๐๐ 90 ๐๐ = ๐ด − ๐ถ Find the unit vector of AB, BC and CA ๐๐ = ๐ต − ๐ด = 1, 5, −1 ๐ด๐ต = 12 + 52 + 12 = 27 1, 5, −1 เทข ๐๐ = 27 = −5, 2, 6 ๐ถ๐ด = 52 + 22 + 62 = 65 −5, 2, 6 ๐เท ๐= 65 NUR HAKIMAH AB AZIZ 7 Vector Addition Vector Subtraction ๐ท = ๐ดิฆ − ๐ต ๐ท = ๐ด๐ฅ − ๐ต๐ฅ ๐ฅเท + ๐ด๐ฆ − ๐ต๐ฆ ๐ฆเท + ๐ด๐ง − ๐ต๐ง ๐งฦธ = ๐ด๐ฅ − ๐ต๐ฅ , ๐ด๐ฆ − ๐ต๐ฆ , ๐ด๐ง − ๐ต๐ง ๐ดิฆ = ๐ด๐ฅ ๐ฅเท + ๐ด๐ฆ ๐ฆเท + ๐ด๐ง ๐งฦธ ๐ต = ๐ต๐ฅ ๐ฅเท + ๐ต๐ฆ ๐ฆเท + ๐ต๐ง ๐งฦธ Commutative Property ๐ถิฆ = ๐ดิฆ + ๐ต = ๐ต + ๐ดิฆ ๐ถิฆ = ๐ด๐ฅ + ๐ต๐ฅ ๐ฅเท + ๐ด๐ฆ + ๐ต๐ฆ ๐ฆเท + ๐ด๐ง + ๐ต๐ง ๐งฦธ = ๐ด๐ฅ + ๐ต๐ฅ , ๐ด๐ฆ + ๐ต๐ฆ , ๐ด๐ง + ๐ต๐ง NUR HAKIMAH AB AZIZ 8 Vector Addition: Head-To-Tail Rule B A + เท + ๐ด๐ง ๐ณเท ๐ดิฆ = ๐ด๐ฅ ๐ฑเท + ๐ด๐ฆ ๐ เท + ๐ต๐ง ๐ณเท ๐ต = ๐ต๐ฅ ๐ฑเท + ๐ต๐ฆ ๐ B = A A+B = A+B A B ๐ดิฆ + ๐ต = ๐ต + ๐ดิฆ = (๐ด๐ฅ + ๐ต๐ฅ )เท๐ฑ + (๐ด๐ฆ + ๐ต๐ฆ )เท ๐ + (๐ด๐ง + ๐ต๐ง )เท๐ณ 9 Vector Addition: Parallelogram Rule B A + เท + ๐ด๐ง ๐ณเท ๐ดิฆ = ๐ด๐ฅ ๐ฑเท + ๐ด๐ฆ ๐ = เท + ๐ต๐ง ๐ณเท ๐ต = ๐ต๐ฅ ๐ฑเท + ๐ต๐ฆ ๐ A B A+B ๐ดิฆ + ๐ต = ๐ต + ๐ดิฆ = (๐ด๐ฅ + ๐ต๐ฅ )เท๐ฑ + (๐ด๐ฆ + ๐ต๐ฆ )เท ๐ + (๐ด๐ง + ๐ต๐ง )เท๐ณ 10 Vector Subtraction B A - เท + ๐ด๐ง ๐ณเท ๐ดิฆ = ๐ด๐ฅ ๐ฑเท + ๐ด๐ฆ ๐ เท + ๐ต๐ง ๐ณเท ๐ต = ๐ต๐ฅ ๐ฑเท + ๐ต๐ฆ ๐ + -B Head-To-Tail Rule Parallelogram Rule -B = A A-B = -B A-B ๐ดิฆ − ๐ต = ๐ดิฆ + (−๐ต) = (๐ด๐ฅ − ๐ต๐ฅ )เท๐ฑ + (๐ด๐ฆ − ๐ต๐ฆ )เท ๐ + (๐ด๐ง − ๐ต๐ง )เท๐ณ A 11 Try this.. ๐ด ๐๐ a) ๐๐ + ๐๐ = ๐๐ ๐ด(2, −3, 1) = −๐๐ ๐ต(3, 2, 0) = −4, 7, 5 ๐ต ๐๐ ๐๐ ๐ถ ๐ถ(7, −5, −5) ๐ด b) ๐๐ − ๐๐ = ๐๐ + ๐๐ Find : = ๐๐ a) CA + AB = −๐๐ b) AB - CB = 5, −2, −6 ๐๐ ๐ต ๐๐ ๐๐ ๐ถ NUR HAKIMAH AB AZIZ 12 Vector Multiplication – Scalar/Dot Product ๐ โ ๐ = ๐ด ๐ต cos ๐๐ด๐ต Where ๐๐ด๐ต is the smaller angle between A and B, drawn tail to tail. Prove that: ๐ฑเท โ ๐ฑเท = ๐ฑเท ๐ฑเท cos 0° = 1 1 (1) =1 ๐ฑเท โ ๐ฒเท = ๐ฑเท ๐ฒเท cos 90° = 1 1 (0) =0 NUR HAKIMAH AB AZIZ 13 Vector Multiplication – Scalar/Dot Product Given: ๐ดิฆ = ๐ด๐ฅ , ๐ด๐ฆ , ๐ด๐ง = 0, −2, 5 ๐ต = ๐ต๐ฅ , ๐ต๐ฆ , ๐ต๐ง = 3, −3, −2 ๐โ๐=๐โ๐ Commutative Property ๐โ ๐+๐ =๐โ๐+๐โ๐ Distributive Property ๐ โ ๐ = ๐ด2 เท + ๐ด๐ง ๐ต๐ง (เท๐ โ ๐เท ) ๐ โ ๐ = (๐ด๐ฅ ๐ต๐ฅ )(เท๐ฑ โ ๐ฑเท ) + ๐ด๐ฆ ๐ต๐ฆ )(๐ฒเท โ ๐ฒ) ๐ โ ๐ = ๐ด๐ฅ ๐ต๐ฅ + ๐ด๐ฆ ๐ต๐ฆ +๐ด๐ง ๐ต๐ง = ๐ด ๐ต cos ๐๐ด๐ต ๐๐ด๐ต = cos −1 ๐ด๐ฅ ๐ต๐ฅ + ๐ด๐ฆ ๐ต๐ฆ + ๐ด๐ง ๐ต๐ง ๐โ๐ = cos −1 ๐ด ๐ต ๐ด ๐ต Vectors A and B are said to be orthogonal or perpendicular if ๐โ๐=0 since cos 90๏ฐ = 0 ๐ โ ๐ = 0 3 + −2 −3 + (5)(−2) = −4 ๐ด = 22 + 52 = 29 32 + 32 + 22 = 22 −4 = cos −1 = 99.11° 29 22 ๐ต = ๐ฝ๐จ๐ฉ NUR HAKIMAH AB AZIZ 14 Vector Multiplication – Vector/Cross Product เท ๐×๐ =๐ง เท ๐ด ๐ต sin ๐๐ด๐ต ๐×๐=๐ง Prove that: เท = ๐เท ๐ฑเท × ๐ เท ๐ฒเท × ๐เท = ๐ xyzxyz cyclic order เท = −เท๐ ๐ฒเท × ๐ เท = −เท ๐ณเท × ๐ ๐ เท ๐ฑเท × ๐ฑเท = ๐ง เท ๐ฑเท ๐ฑเท sin 0° ๐ง เท 1 1 (0) =๐ง =0 เท=๐ เท ๐ณเท × ๐ ๐ฑเท × ๐เท = −เท ๐ ๐๐ด๐ต measured from the tail of ๐ดิฆ to the tail of ๐ต ๐๐ด๐ต = ๐๐ต − ๐๐ด เท is a unit vector normal to the ๐ง plane containing ๐ดิฆ and ๐ต The magnitude of the cross product, equals the area of the parallelogram defined by the two vectors เท ๐ฑเท × ๐ เท = ๐ณเท ๐ฑเท ๐ฒเท sin 90° ๐ง = ๐ณเท 1 1 (1) = ๐ณเท เท ๐ฒเท × ๐ เท = ๐ณเท ๐ฑเท ๐ฒเท sin −90° ๐ง = ๐ณเท 1 1 (-1) = −เท๐ณ NUR HAKIMAH AB AZIZ 15 Vector Multiplication – Vector/Cross Product Given ๐ดิฆ = ๐ด๐ฅ , ๐ด๐ฆ , ๐ด๐ง = 3, −3, −2 = 0, −2, 5 ๐ฑเท ๐ × ๐ = ๐ด๐ฅ ๐ต๐ฅ ๐ฑเท ๐ฒเท ๐เท ๐ฑเท ๐ × ๐ = 0 −2 5 เธญ 0 3 −3 −2 3 = −2 −2 − 5 −3 , 5 3 ๐ต = ๐ต๐ฅ , ๐ต๐ฆ , ๐ต๐ง ๐ฒเท ๐ด๐ฆ ๐ต๐ฆ ๐เท ๐ฑเท ๐ด๐ง แฎ ๐ด๐ฅ ๐ต๐ง ๐ต๐ฅ ๐ฒเท ๐ด๐ฆ ๐ต๐ฆ ๐ฒเท −2 −3 − 0 −2 , 0 −3 − 3(−2) = 19, 15, 6 ๐×๐ = ๐ฝ๐จ๐ฉ = เท ๐ × ๐ = ๐ด๐ฆ ๐ต๐ง − ๐ด๐ง ๐ต๐ฆ ๐ฑเท + ๐ด๐ง ๐ต๐ฅ − ๐ด๐ฅ ๐ต๐ง ๐ฒเท + ๐ด๐ฅ ๐ต๐ฆ − ๐ด๐ฆ ๐ต๐ฅ ๐ณเท ๐ง 192 + 152 + 62 = 622 sin−1 622 29 22 = 80.89° @ 99.11° เท ๐×๐ =๐ง เท ๐ด ๐ต sin ๐๐ด๐ต ๐ง ๐๐ด๐ต = sin−1 ๐×๐ ๐ด ๐ต The magnitude of the cross product, equals the area of the parallelogram defined by the two vectors ๐ × ๐ = −๐ × ๐ Anticommutative Property ๐ × ๐ + ๐ = ๐ × ๐ + ๐ × ๐ Distributive Property ๐×๐=0 NUR HAKIMAH AB AZIZ 16 Parallel Vectors Vector A and B are parallel and in the same direction, if • ๐ = ๐๐ (The simplest approach) • ๐ โ ๐ = ๐ ๐ cos 0 = ๐ ๐ ; (๐๐ด๐ต = 0°, cos ๐๐ด๐ต = 1) เท ๐ด ๐ต sin 0 = 0 • ๐×๐ =๐ง ; (๐๐ด๐ต = 0°, sin ๐๐ด๐ต = 0) *If k = -ve number, it means the vectors are parallel but in the opposite direction where ๐๐ด๐ต = 180° NUR HAKIMAH AB AZIZ 17 Mid-Term Exam Sem 2-2020/2021 i) Perimeter = ๐ด๐ต + ๐ต๐ถ + ๐ถ๐ท + ๐ท๐ด = −6, −2, −3 + 0, 5, −6 + −24, −8, −12 + −30, −5, −21 = 62 + 22 + 32 + 02 + 52 + 62 + 242 + 82 + 122 + 302 + 52 + 212 = 7 + 61 + 784 + 1366 = 79.77 ii) ๐ด๐ต = ๐ ๐ถ๐ท −6, −2, −3 = −24๐1 , −8๐2 , −12๐3 ๐ต๐ถ = ๐ ๐ท๐ด 0, 5, −6 = −30๐1 , −5๐2 , −21๐3 ๐1 = ๐2 = ๐3 = 0.25 ๐1 = 0, ๐2 = −1, ๐3 = 0.29 ๐ด๐ต โฅ ๐ถ๐ท ๐1 ≠ ๐2 ≠ ๐3 ๐ต๐ถ โฆ ๐ท๐ด NUR HAKIMAH AB AZIZ 18 Mid-Term Exam Sem 1-2022/2023 (b)(ii) ๐๐ = 6, 3, 6 (b) Three point-charges are located at P(10, 5, 11), Q(4, 2, 5) and R(2, 1, z), where y depends on the phase angle between ๐๐ = 2, 1, 5 − ๐ง If QP is perpendicular to RQ, ๐๐ โ ๐๐ = 0 vectors QP and RQ. Solve for y if: 6, 3, 6 โ 2, 1, 5 − ๐ง = 0 6 2 +3 1 +6 5−๐ง =0 i. QP and RQ are parallel. 45 − 6๐ง = 0 ii. QP and RQ are perpendicular. ๐ง= iii. The angle between QP and QR is 60๏ฐ. 45 = 7.5 6 (b)(iii) If the angle between QP and QR is 60๏ฐ (b)(i) 6, 3, 6 โ −2, −1, ๐ง − 5 = ๐๐ ๐๐ cos 60° ๐๐ = 10, 5, 11 − 4, 2, 5 = 6, 3, 6 6๐ง − 45 = ๐๐ ๐๐ cos 60° ๐๐ = 4, 2, 5 − (2, 1, ๐ง) = 2, 1, 5 − ๐ง ๐๐ = If QP is parallel with RQ, 62 + 32 + 62 = 9 ๐๐ = ๐๐ = ๐๐๐ 6๐ง − 45 = 9(0.5) ๐ง 2 − 10๐ง + 30 6, 3, 6 = ๐ 2, 1, 5 − ๐ง 6๐ง − 45 6 ๐ = = 3 thus, 2 6=3 5−๐ง ๐ง= 15 − 6 =3 3 5 + (๐ง − 5)2 2 = 4.52 (๐ง 2 − 10๐ง + 30) 36๐ง 2 − 540๐ง + 2025 = 20.25๐ง 2 − 202.5๐ง + 607.5 15.75๐ง 2 − 337.5๐ง + 1417.5 = 0 ๐ง = 5.735 ๐ก๐๐ข๐ ๐๐๐ 120° @๐๐. ๐๐๐ NUR HAKIMAH AB AZIZ 19 Vector Component Given vector A and B where the component of A along vector B (AB ) is given as แ cos ๐๐ด๐ต = ๐ โ ๐ แ ๐๐ = ๐ cos ๐๐ด๐ต = ๐ ๐ แ = ๐โ๐ แ ๐ แ = ๐โ ๐๐ = ๐๐ ๐ ๐ ๐ NUR HAKIMAH AB AZIZ ๐ (๐ โ ๐)๐ = ๐ ๐๐ 20 Quiz 1 Sem 3-2021/2022 Figure Q1 shows 4 points P, Q, R and S in Cartesian coordinate where abc is the last three digits of your Matrix Number. Determine: a) Vector PS b) The magnitude of PS ๐๐ = 7, 2, 3 − 10, 0, −2 = −3, 2, 5 Let’s say, abc=001 ๐๐ = 0, 0, 1 − 10, 0, −2 = −10, 0, 3 ๐๐ 2 = 102 + 0 + 32 = 109 ๐๐ โ ๐๐ = −3 −10 + 2 0 + 5 3 = 45 ๐๐ โ ๐๐ ๐๐ 45 −10, 0, 3 ๐๐ = = = −4.13, 0,1.24 ๐๐ 2 109 ๐๐ = ๐๐ − ๐๐ = −4.13, 0,1.24 − −3, 2, 5 = −1.13, −2, −3.76 ๐๐ = NUR HAKIMAH AB AZIZ 1.132 + 22 + 3.762 = 4.4 21 Triple Product Scalar Triple Product ๐ โ ๐ × ๐ = ๐ โ ๐ × ๐ = ๐ โ (๐ × ๐) ABCABC.. Cyclic order is preserved Vector Triple Product ๐ × ๐ × ๐ = ๐ ๐ โ ๐ − ๐(๐ โ ๐) known as the “bac-cab” rule ๐ × ๐ × ๐ ≠ (๐ × ๐) × ๐ NUR HAKIMAH AB AZIZ 22 Mid-Term Exam Sem 1-2022/2023 (a) (a) Prove the “BAC-CAB” rule of the vector triple product using the three vector fields given as follows: ๐๐ ๐๐ฝ ๐× ๐×๐ = ๐× 0 3 −1 0 ๐๐ ๐๐ −2 0 4 −1 ๐๐ฝ 3 0 = ๐ × 12 + 0,2 − 0,0 + 3 เทก + (3) ๐ เทก เทก + −5 ๐ ๐= 4 ๐ = ๐ × 12, 2, 3 เทก + (2) ๐ เทก ๐= 3 ๐ ๐๐ ๐๐ฝ ๐๐ ๐๐ ๐๐ฝ = −4 5 2 −4 5 12 2 3 12 2 = 15 − 4, 24 + 12, −8 − 60 เทก เทก + (−4) ๐ ๐= 1 ๐ = 11, 36, −68 ๐ ๐โ๐ −๐ ๐โ๐ = ๐ −4(−1) + 5(0) + 2(4) − ๐ −4(0) + 5(3) + 2(−2) = 12๐ − 11๐ = 12 0, 3, −2 − 11 −1, 0, 4 = 0, 36, −24 − −11, 0, 44 = 11, 36, 68 NUR HAKIMAH AB AZIZ 23 Exercise 1 Given ๐ = 3๐๐ฑ − 5๐๐ฒ − 7๐๐ณ ๐ = −2๐๐ฑ − 4๐๐ฒ − 8๐๐ณ ๐ = ๐๐ฑ + 2๐๐ฒ + 4๐๐ณ ๐ = 2๐๐ฑ + ๐๐ฒ + 6๐๐ณ Find: P(0, -1, 1) Q(5, 5, 5) R(x, 8, 7) a) The magnitude of ๐ − 2๐๐ฑ − ๐๐ (10.724) b) |๐ − 2๐๐ฑ − 2B||2C|A <294.86,-491.4,-688> c) The component of B along ๐๐ฑ , ๐๐ฒ , and ๐๐ณ (-2 ๐๐ฑ ; −4๐๐ฒ ; −8๐๐ณ ) d) A unit vector in the direction of ๐ − 2๐๐ฑ − 2๐ <0.466,0.28,0.84> e) ๐ โ ๐ (-35) f) The area of parallelogram formed by ๐ and ๐ (22.76) g) ๐๐ด๐ถ using both dot product and cross product (147๏ฐ) h) Whether vector ๐ parallel to A and B (no,yes opposite direction) i) The component of B along A ๏ฑ<2.53,-4.22,-5.9> j) The end point of vector A if the vector starts at P. (3,-6,-6) Then, find the perpendicular distance from point Q to A (7.4) k) Find x of R if • PQ||QR (7.5) • QP is perpendicular to QR (-0.2) • Angle between QP and QR is 150๏ฐ (5.29@12.65) l)Prove that ๐ โ ๐ × ๐ = ๐ โ ๐ × ๐ = ๐ ๐ × ๐ ≠ ๐ โ ๐ × ๐ -70=-70=-70๏น70 m) Prove that ๐ × ๐ × ๐ = ๐ ๐ โ ๐ − ๐ ๐ โ ๐ ≠ ๐ × ๐ × ๐ <-58,94,-92>=<-58,94,-92> ๏น <250,-116,-64> NUR HAKIMAH AB AZIZ 24 Example 1 Given the vectors M = -10ax + 4ay - 8az and N = 8ax + 7ay - 2az, find: a) a unit vector in the direction of -M + 2N b) the magnitude of 5ax + N - 3M c) |M||2N|(M + N) a) Let’s say ๐ดิฆ = −๐ + 2๐ ๐ดิฆ = 10, −4, 8 + 16, 14, −4 = 26, 10, 4 Unit vector of ๐ดิฆ therefore, ๐ดิฆ 26, 10, 4 26, 10, 4 ๐เท = = = = 0.924, 0.355, 0.142 2 2 2 ิฆ 792 26 + 10 + 4 ๐ด b) Let’s say ๐ต = 5๐ฅเท + ๐ − 3๐ ๐ต = 5, 0, 0 + 8, 7, −2 − −30, 12, −24 = 43, −8, 22 ๐ต = 432 + 82 + 222 = 48.96 c) ๐ 2๐ ๐ + ๐ = 102 + 42 + 82 162 + 142 + 42 −10, 4, −8 + 8, 7, −2 = −580.5, 3192.7, −2902.4 NUR HAKIMAH AB AZIZ = 180 468 −2, 11, −10 25 Example 2 The three vertices of a triangle are located at A(-1, 2, 5), B(-4, -2, -3), and C(1, 3, -2). a) Find the length of the perimeter of the triangle b) Find a unit vector that is directed from the midpoint of side AB to the midpoint of side BC c) Show that this unit vector is parallel to AC. A(-1, 2, 5) MPAB ๐ C(1, 3, -2) B(-4, -2, -3) a) Perimeter = ๐ด๐ต + ๐ต๐ถ + ๐ถ๐ด = −3, −4, −8 + 5, 5, 1 + −2, −1, 7 MPBC = 32 + 42 + 82 + 52 + 52 + 12 + 22 + 12 + 72 = 89 + 51 + 54 = 23.92 b) ๐๐๐ด๐ต = ๐ด+๐ต 2 −1,2,5 + −4,−2,−3 2 = = (−2.5, 0, 1) ๐๐๐ต๐ถ = ๐ต+๐ถ 2 = −4, −2, −3 +(1, 3, −2) 2 = −1.5, 0.5, −2.5 ๐ = −1.5, 0.5, −2.5 − −2.5, 0, 1 = 1, 0.5, −3.5 ๐ฃเท = ๐ ๐ = 1, 0.5, −3.5 12 + 0.52 + 3.52 = 0.272, 0.136, −0.953 c) From a) , ๐ด๐ถ = 2, 1, −7 = ๐๐ฃเท = 0.272๐1 , 0.136๐2 , −0.953๐3 0.272๐1 = 2 ๐1 = 7.35 0.136๐2 = 1 ๐2 = 7.35 − 0.953๐3 = −7 ๐ = 7.35 3 HAKIMAH AB AZIZ NUR ๐1 = ๐2 = ๐3 ∴ ๐ด๐ถ โฅ ๐ฃเท 26 Example 3 A(6, −2, −4) The vector from the origin to the point A is given as 6, −2, −4 , and the unit vector directed from the origin towards point B is 2, −2, 1 /3. If points A and B are ten units apart, find the coordinates of point B. ๐ต = ๐๐เท = B ๐เท = ๐ 2, −2, 1 3 ๐ด๐ต = 10 = ๐ต − ๐ดิฆ = |AB|=10 2, −2, 1 3 ๐ 2, −2, 1 − 6, −2, −4 3 (2๐ − 18)2 + (−2๐ + 6)2 + (๐ + 12)2 = 10 3 (2๐ − 18)2 + (−2๐ + 6)2 + (๐ + 12)2 = 900 9๐ 2 − 72๐ − 396 = 0 ๐ = 11.75 ๐ต = (7.83, −7.83, 3.92) NUR HAKIMAH AB AZIZ 27 Example 4 Points P and Q are located at (0, 2, 4) and (-3, 1, 5). Calculate a) The position vector P b) The distance vector from P to Q c) The distance between P and Q d) A vector parallel to PQ with magnitude of 10 a)๐ = 0, 2, 4 b) ๐๐ = −3, 1, 5 − 0, 2, 4 = −3, −1, 1 c) ๐๐ = 32 + 12 + 12 = 11 = 3.32 d) ๐ดิฆ = ๐ −3, −1, 1 ๐ดิฆ = ๐ 32 + 12 + 12 = ๐ 11 = 10 ๐ = 3.015 ๐ดิฆ = 3.015 −3, −1, 1 = −9.045, −3.015, 3.015 Ans: b) rPQ = -3ax – ay + az AB a AZIZ- 3.015a + 3.015a ) c) 3.317 d) ANUR = ๏ฑHAKIMAH (-9.045 x y z 28 Example 5 เท + ๐เท and B = 2เท Given vectors A = 3เท๐ฑ + 4 ๐ ๐ - 5เท๐, find xเท ii. ๐ × ๐ = 3 0 i. ๐ โ ๐ ๐ โ ๐ = 3,4,1 โ 0,2, −5 = 0 + 8 − 5 = 3 ๐ฆเท 4 2 ๐งฦธ 1 −5 ๐ฅเท 3 0 ๐ฆเท 4 2 = −20 − 2 xเท + 0 + 15 yเท + 6 − 0 ๐งฦธ = −22,15,6 ๐×๐ = 222 + 152 + 62 = 745 iii. ๐๐ด๐ต using both dot product and cross product ๐ = 32 + 42 + 12 = 26 ๐ = 02 + 22 + 52 = 29 ๐๐ด๐ต = COS −1 ๐๐ด๐ต = sin−1 ๐โ๐ 3 = COS −1 = ๐๐. ๐๐° ๐ ๐ 26 29 NUR HAKIMAH AB AZIZ ๐×๐ ๐ ๐ = sin−1 745 26 29 = ๐๐. ๐๐° 29 Example 6 In Cartesian coordinates, vector A points from the origin to point P1 = (2, 3, 3), and vector B is directed from P1 to point P2 = (1, -2, 2). Find: เท, (a) vector A, its magnitude A, and unit vector ๐ (b) the angle between A and the y axis, (c) vector B, (d) the angle ๐๐ด๐ต between A and B, and (e) perpendicular distance from the origin to vector B ๐ = 22 + 32 + 32 = 22 a) ๐ = 2,3,3 ๐เท = 2,3,3 22 b) ๐๐ด๐ฆ = COS −1 ๐๐ฆเท ๐ = COS −1 3 22 = ๐๐. ๐๐° c) ๐ = 1, −2,2 − 2,3,3 = −1, −5, −1 ๐ = 12 + 52 + 12 = 2๐ d) ๐๐ด๐ต = COS−1 ๐โ๐ ๐ ๐ = COS−1 −2−15−3 22 2๐ = ๐๐๐. ๐๐° e) ๐๐๐ = ๐ sin 180 − ๐๐ด๐ต = 2.68 NUR HAKIMAH AB AZIZ 30 Example 7 A vector field is specified as G = 24xyax + 12(x2 + 2)ay + 18z2az. Given two points, P (1, 2, -1) and Q(-2, 1, 3), find: a) ๐๐ = 24 1 2 , 12 12 + 2 , 18(−1)2 = 48,36,18 a) G at P b) a unit vector in the direction of G at Q b) ๐๐ = 24 −2 1 , 12 −22 + 2 , 18(3)2 = −48,72,162 c) a unit vector directed from Q toward P d) the equation of the surface on which |G| = 60 −48,72,162 ๐ เท๐ = 482 + 722 + 1622 = −0.26,0.392,0.882 c) ๐๐ = 1,2, −1 − −2,1,3 = 3,1, −4 เทข = ๐๐ 3,1,−4 32 +12 +42 d) ๐ = ๐๐ = = 0.588,0.196, −0.784 (24๐ฅ๐ฆ)2 +(12 ๐ฅ 2 + 2 )2 +(18๐ง 2 )2 (24๐ฅ๐ฆ)2 +(12 ๐ฅ 2 + 2 )2 +(18๐ง 2 )2 = 3600 (24๐ฅ๐ฆ)2 +(12 ๐ฅ 2 + 2 )2 +(18๐ง 2 )2 = 3600 576๐ฅ 2 ๐ฆ 2 + 144 ๐ฅ 2 + 2 2 + 324๐ง 4 = 3600 16๐ฅ 2 ๐ฆ 2 + 4 ๐ฅ 2 + 2 2 + 9๐ง 4 = 100 16๐ฅ 2 ๐ฆ 2 + 4๐ฅ 4 + 16๐ฅ 2 + 16 + 9๐ง 4 = 100 4๐ฅ 4 + 16๐ฅ 2 (๐ฆ 2 + 1) + 9๐ง 4 = 84 NUR HAKIMAH AB AZIZ 31 Example 8 Given A = ๐ฑเท - ๐ฒเท + 2เท๐ณ, B = ๐ฒเท + ๐ณเท, and C = -2เท๐ฑ + 3เท๐ณ, find (A × B) × C and compare it with A × (B × C) xเท ๐ฆเท ๐ × ๐ = 1 −1 0 1 ๐งฦธ 2 1 ๐ฅเท 1 0 xเท ๐ฆเท (๐ × ๐) × ๐ = −3 −1 −2 0 xเท ๐ฆเท ๐×๐= 0 1 −2 0 ๐งฦธ 1 3 ๐ฅเท 0 −2 xเท ๐ฆเท ๐งฦธ ๐ × (๐ × ๐) = 1 −1 2 3 −2 2 (๐ × ๐) × ๐ ≠ ๐ × (๐ × ๐) ๐ฆเท −1 = (−1 − 2)เทx + 0 − 1 yเท + 1 − 0 ๐งฦธ = −3, −1,1 1 ๐งฦธ 1 3 ๐ฅเท −3 −2 ๐ฆเท −1 = (−3 − 0)เทx + −1 + 9 yเท + 0 − 2 ๐งฦธ = −3,7, −2 0 ๐ฆเท 1 = (3 − 0)เทx + −2 − 0 yเท + 0 + 2 ๐งฦธ = 3, −2,2 0 ๐ฅเท 1 3 ๐ฆเท −1 = (−2 + 4)เทx + 6 − 2 yเท + −2 + 3 ๐งฦธ = 2,4,1 −2 NUR HAKIMAH AB AZIZ 32 Example 9 Given P = 2เท๐ฑ - ๐ณเท, Q = 2เท๐ฑ - ๐ฒเท + 2เท๐ณ, and R = 2เท๐ฑ - 3๐ฒเท + ๐ณเท, a) Prove that ๐ โ ๐ × ๐ = ๐ โ ๐ × ๐ = ๐ โ ๐ × ๐ ≠ ๐ โ ๐ × ๐ b) Prove that ๐ × ๐ × ๐ = ๐ ๐ โ ๐ − ๐ ๐ โ ๐ c) The component of P along Q xเท ๐ฆเท ๐งฦธ ๐ฅเท ๐ฆเท xเท ๐ฆเท ๐งฦธ ๐ฅเท ๐ฆเท a) ๐ × ๐ = 2 −3 1 2 −3 = 3,4,6 , ๐ × ๐ = 2 0 −1 2 0 = −1, −6, −2 2 0 −1 2 0 2 −1 2 2 −1 ๐ โ ๐ × ๐ = 6 − 4 + 12 = 14 ๐ โ ๐ × ๐ = −2 + 18 − 2 = 14 xเท ๐ฆเท ๐งฦธ ๐ฅเท ๐ฆเท xเท ๐ฆเท ๐งฦธ ๐ฅเท ๐ฆเท ๐ × ๐ = 2 −1 2 2 −1 = 5,2, −4 , ๐ × ๐ = 2 −3 1 2 −3 = −5, −2,4 2 −3 1 2 −3 2 −1 2 2 −1 ๐ โ ๐ × ๐ = 10 + 0 + 4 = 14 ๐ โ ๐ × ๐ = −10 + 0 − 4 = −14 xเท ๐ฆเท ๐งฦธ ๐ฅเท ๐ฆเท b) ๐ × ๐ × ๐ = 2 0 −1 2 0 = 2,3,4 5 2 −4 5 2 ๐ ๐ โ ๐ − ๐ ๐ โ ๐ = 2, −1,2 4 + 0 − 1 − 2, −3,1 4 + 0 − 2 = 6, −3,6 − 4, −6,2 = 2,3,4 c) ๐๐ = ๐โ๐ ๐ ๐๐ = 4+0−2 2,−1,2 22 +12 +22 = 4,−2,4 9 NUR HAKIMAH AB AZIZ 33