Vector Algebra and Calculus Concepts Laws of Vector Algebra A = a ^ A A = â A A = a ^ A A = a ^ ∣ A ∣ = a ^ n A = â|A| = ân A = a ^ ∣ A ∣ = a ^ n A = Y ^ A x + y ^ A y + Z A z A = ŶAx + ŷAy + ZAz A = Y ^ A x + y ^ A y + Z A z A = ✰ A x + y ^ A y + Z A Z A = ✰Ax + ŷAy + ZAZ A = ✰ A x + y ^ A y + Z A Z A 2 = A < e m > x 2 + A < / e m > y 2 + A z 2 A^2 = A<em>x^2 + A</em>y^2 + A_z^2 A 2 = A < e m > x 2 + A < / e m > y 2 + A z 2 Properties of Vector Operations Equality of Two Vectors:A = a ^ A = A x + y ^ A y + A z A = âA = Ax+ŷAy + Az A = a ^ A = A x + y ^ A y + A z ,B = h ^ B = B x + y ^ B y + ı ^ В z B =ĥB = Bx +ŷBy +îВz B = h ^ B = B x + y ^ B y + ı ^ В z C = A + B = B + A C=A+B=B+A C = A + B = B + A A = B A = B A = B if and only if A = B A = B A = B and \â = ɓ, which requires that A x = B x Ax=Bx A x = B x , A y = B y Ay = By A y = B y , and A z = B z Az = B_z A z = B z . Position and Distance Vectors Position Vector: From origin to point PR 1 = O P 1 = A ^ x 1 + y ^ y ı + z z 1 R₁ = OP₁ = Âx1 + ŷyı + zz₁ R 1 = O P 1 = A ^ x 1 + y ^ y ı + z z 1 Distance Vector: Between two pointsR 12 = P 1 P 2 = R 2 − R 1 = ( x 2 − x 1 ) + y ^ ( y 2 − y 1 ) + ( Z 2 — Z 1 ) R12 = P1 P2 = R2 - R1 = (x2 − x1) + ŷ(y2 − y₁) + (Z2 — Z1) R 12 = P 1 P 2 = R 2 − R 1 = ( x 2 − x 1 ) + y ^ ( y 2 − y 1 ) + ( Z 2— Z 1 ) the distance d d d between P 1 P₁ P 1 and P 2 P2 P 2 equals the magnitude of R 12 R12 R 12 : d = R 12 = [ ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 + ( Z 2 − Z 1 ) 2 ] 1 / 2 d = R12 = [(x2-x1)²+(y2 − y₁)² + (Z2 - Z₁) ^2]^{1/2} d = R 12 = [( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 + ( Z 2 − Z 1 ) 2 ] 1/2 Vector Multiplication: Scalar Product or "Dot Product" A B = A B C O S A B A B = AB COS_{AB} A B = A BCO S A B A = ∣ A ∣ = A ⋅ A A = |A| = \sqrt{A · A} A = ∣ A ∣ = A ⋅ A A B = c o s − 1 A . B A ⋅ A B . B AB = cos^{-1} \frac{A. B}{\sqrt{A · A \sqrt{B. B}}} A B = co s − 1 A ⋅ A B . B A . B x ^ ⋅ y ^ = y ^ ⋅ y ^ = z ^ ⋅ z ^ = 1 \hat{x} · \hat{y} = \hat{y} · \hat{y} = \hat{z} · \hat{z} = 1 x ^ ⋅ y ^ = y ^ ⋅ y ^ = z ^ ⋅ z ^ = 1 x ^ ⋅ y ^ = y ^ ⋅ x ^ = z ^ ⋅ x ^ = 0. \hat{x} · \hat{y} = \hat{y} · \hat{x} = \hat{z} · \hat{x} = 0. x ^ ⋅ y ^ = y ^ ⋅ x ^ = z ^ ⋅ x ^ = 0. A B = B A A B = B A A B = B A A . ( B + C ) = A B + A C A. (B+C) = A B+A C A . ( B + C ) = A B + A C If A = ( A x , A y , A z ) A = (Ax, Ay, Az) A = ( A x , A y , A z ) and B = (Bx, By, Bz), thenA ⋅ B = ( A x + y ^ A 1 + z A z ) ⋅ ( A ^ B x + y ^ B y + ı ^ B z ) A · B = (Ax +ŷA₁ +zAz) · (ÂBx +ŷBy +îBz) A ⋅ B = ( A x + y ^ A 1 + z A z ) ⋅ ( A ^ B x + y ^ B y + ı ^ B z ) .A B = A x B x + A y B y + A z B z A B = AxBx + Ay By + AzBz A B = A x B x + A y B y + A z B z Vector Multiplication: Vector Product or "Cross Product" A × B = ı ^ n A B s i n O A B A × B = în AB sin O_{AB} A × B = ı ^ n A B s in O A B A x B = − B × A AxB=-B × A A x B = − B × A A × ( B + C ) = A × B + A × C A× (B+C) = A× B+A× C A × ( B + C ) = A × B + A × C A x B = n n A B s i n D A B AxB =nn AB sin DAB A x B = nn A B s in D A B A × A = 0 A×A=0 A × A = 0 x ^ × y ^ = z ^ \hat{x} × \hat{y} = \hat{z} x ^ × y ^ = z ^ ,y ^ × z ^ = x ^ \hat{y} × \hat{z} = \hat{x} y ^ × z ^ = x ^ ,z ^ × x ^ = y ^ \hat{z} × \hat{x} = \hat{y} z ^ × x ^ = y ^ .Note the cyclic order (xyzxyz…). x ^ × y ^ ^ = y ^ × y ^ ^ = z ^ × z ^ = 0 \hat{x} × \hat{ŷ} = \hat{y} × \hat{ŷ} = \hat{z} × \hat{z} = 0 x ^ × y ^ ^ = y ^ × y ^ ^ = z ^ × z ^ = 0 If A = ( A x , A y , A z ) A = (Ax, Ay, A_z) A = ( A x , A y , A z ) and B = ( B x , B y , B z ) B = (Bx, By, Bz) B = ( B x , B y , B z ) , then Example 3-1: Vectors and Angles Vector A points from the origin to point P 1 = ( 2 , 3 , 3 ) P₁ = (2, 3, 3) P 1 = ( 2 , 3 , 3 ) , and vector B is directed from P 1 P₁ P 1 to point P 2 = ( 1 , − 2 , 2 ) P2 = (1, -2, 2) P 2 = ( 1 , − 2 , 2 ) .(a) vector A, its magnitude A, and unit vector â, (b) the angle between A and the y-axis, (c) vector B, (d) the angle AB between A and B, and (e) the perpendicular distance from the origin to vector B. Solution:(a) Vector A is given by the position vector of P 1 = ( 2 , 3 , 3 ) P₁ = (2, 3, 3) P 1 = ( 2 , 3 , 3 ) A = 2 + y ^ 3 + 23 A = 2+ŷ3 + 23 A = 2 + y ^ 3 + 23 A = ∣ A ∣ = 2 2 + 3 2 + 3 2 = 22 A = |A|= \sqrt{2²+3²+3²} = \sqrt{22} A = ∣ A ∣ = 2 2 + 3 2 + 3 2 = 22 a ^ = A A = ( 2 + y ^ 3 + 23 ) / 22 \hat{a} = \frac{A}{A} = (2+ŷ3+23)/\sqrt{22} a ^ = A A = ( 2 + y ^ 3 + 23 ) / 22 (b)A y ^ = ∣ A ∣ ∣ y ^ ∣ c o s β = A c o s β A ŷ= |A||ŷ| cos β = A cos β A y ^ = ∣ A ∣∣ y ^ ∣ cos β = A cos β β = c o s − 1 ( 3 22 ) = 50.2 ° . β = cos^{-1} (\frac{3}{\sqrt{22}}) = 50.2°. β = co s − 1 ( 22 3 ) = 50.2°. (c)B = ( 1 − 2 ) + y ^ ( − 2 − 3 ) + 2 ( 2 − 3 ) = − − y ^ 5 — 2 B = (1 − 2) + ŷ(-2-3) + 2(2-3) = − − ŷ5 — 2 B = ( 1 − 2 ) + y ^ ( − 2 − 3 ) + 2 ( 2 − 3 ) = − − y ^ 5—2 (d)O A B = c o s − 1 ( A . B ∣ ∣ A ∣ ∣ B ∣ ) = c o s − 1 ( ( − 2 − 15 − 3 ) 22 30 ) = 145.1 ° . O_{AB} = cos^{-1} (\frac{A.B}{||A||B|}) = cos^{-1} (\frac{(-2-15-3)}{\sqrt{22} \sqrt{30}}) = 145.1°. O A B = co s − 1 ( ∣∣ A ∣∣ B ∣ A . B ) = co s − 1 ( 22 30 ( − 2 − 15 − 3 ) ) = 145.1°. Triple Products Scalar Triple ProductA ⋅ ( B × C ) = B ⋅ ( C × A ) = C ⋅ ( A × B ) A · (B × C) = B · (C × A) = C · (A × B) A ⋅ ( B × C ) = B ⋅ ( C × A ) = C ⋅ ( A × B ) .A ⋅ ( B × C ) = A x ( B y C z − B x C y ) + A y ( B z C x − B x C z ) + A z ( B x C y − B y C x ) A · (B × C) = Ax(ByCz - BxCy) + Ay(BzCx - BxCz)+Az(BxCy-ByCx) A ⋅ ( B × C ) = A x ( B y C z − B x C y ) + A y ( B z C x − B x C z ) + A z ( B x C y − B y C x ) . Where,A ⋅ ( B × C ) = ∣ A x a m p ; A y a m p ; A z B x a m p ; B y a m p ; B z C x a m p ; C y a m p ; C z ∣ A · (B × C) = \begin{vmatrix} Ax & Ay & Az \ Bx & By & Bz \ Cx & Cy & Cz \end{vmatrix} A ⋅ ( B × C ) = A x am p ; A y am p ; A z B x am p ; B y am p ; B z C x am p ; C y am p ; C z Vector Triple ProductA × ( B x C ) = B ( A ⋅ C ) − C ( A ⋅ B ) A × (B x C) = B(A·C) - C(A · B) A × ( B x C ) = B ( A ⋅ C ) − C ( A ⋅ B ) , Cartesian Coordinate System Differential length vectord l = y ^ d l x + y ^ d l y + ı ^ d l z = y ^ d x + y ^ d y + z d z dl = ŷ dlx + ŷ dly +î dlz = ŷ dx +ŷ dy + z dz d l = y ^ d l x + y ^ d l y + ı ^ d l z = y ^ d x + y ^ d y + z d z Differential area vectorsd s x = y ^ d l y d l 2 = y ^ d y d z dsx = ŷdly dl₂ = ŷ dy dz d s x = y ^ d l y d l 2 = y ^ d y d z d s y = y ^ d x d z dsy = ŷ dx dz d sy = y ^ d x d z d s 2 = 1 d x d y ds₂ = 1 dx dy d s 2 = 1 d x d y A differential volume equals the product of all three differential lengths:d V = d x d y d z . dV = dx dy dz. d V = d x d y d z . Cylindrical Coordinate System The position vector OP shown in Fig. 3-9 has components along and z only.R 1 = O P = ı ^ r 1 + ı ^ z 1 R₁ = OP = îr₁ + îz₁ R 1 = OP = ı ^ r 1 + ı ^ z 1 The mutually perpendicular base vectors are 1, 6, and 2, with * ↑ ↑ ↑ pointing away from the origin along r r r , ❖ ❖ ❖ pointing in a direction tangential to the cylindrical surface, and pointing along the vertical. The base unit vectors obey the following right-hand cyclic relations:ı ^ × 6 = 2 î × 6 = 2 ı ^ × 6 = 2 $ xâ= 1 2 × r ˊ = o 2 × ŕ = o 2 × r ˊ = o In cylindrical coordinates, a vector is expressed asA = â|A| = îA, +$A$+zAz d l r = d r dlr = dr d l r = d r d l o = = r d o dlo = = r do d l o == r d o d l z = d z dlz = dz d l z = d z The differential length dl in cylindrical coordinates is given byd1 = f dl, + $ dlo + n dl, = f dr+ội do+idz Example 3-3: Distance Vector in Cylindrical Coordinates Find an expression for the unit vector of vector A shown in Fig. 3-11 in cylindrical coordinates. Solution:A = O P 12 − O P = f r o ― z h , A = OP₁₂- OP = fro― zh, A = O P 12 − OP = f ro ― z h , a ^ = A ∣ A ∣ = f r o − z h + h 2 \hat{a} = \frac{A}{|A|} = \frac{fro-zh}{+h^2} a ^ = ∣ A ∣ A = + h 2 f ro − z h Example 3-4: Cylindrical Area Find the area of a cylindrical surface described by r = 5 , 30 ° ≤ ≤ 60 ° r = 5, 30° ≤ ≤ 60° r = 5 , 30° ≤≤ 60° , and 0 ≤ Z ≤ 3 0 ≤ Z ≤ 3 0 ≤ Z ≤ 3 Solution:S=r \int dφ \int dz =5 \int{π/6}^{π/3} dφ \int {0}^{3} dz =5 \frac π6 3 =
\frac {5π}{2} Spherical Coordinate System R X O ^ = RXÔ = RX O ^ = \, Ô xô = R, $xR=0A vector with components A R , A < e m > θ AR, A<em>{θ} A R , A < e m > θ , and A < / e m > ɸ A</em>{ɸ} A < / e m > ɸ is written asA = a ^ ∣ A ∣ = A ^ A R + O ^ A ^ < e m > θ + O ^ A ^ < / e m > ɸ A = â|A| = ÂAR + ÔÂ<em>{θ} + ÔÂ</em>{ɸ} A = a ^ ∣ A ∣ = A ^ A R + O ^ A ^ < e m > θ + O ^ A ^ < / e m > ɸ The position vector of point P = ( R 1 , θ < e m > 1 , ɸ < / e m > 1 ) P = (R1, θ<em>1, ɸ</em>1) P = ( R 1 , θ < e m > 1 , ɸ < / e m > 1 ) is simplyR 1 = O P = R ˊ R 1 , R1=OP = ŔR₁, R 1 = OP = R ˊ R 1 , Example 3-5: Surface Area in Spherical Coordinates The spherical strip shown in Fig. 3-15 is a section of a sphere of radius 3 cm. Find the area of the strip. Solution:S = R 2 ∫ < e m > θ = 30 ° 60 ° s i n θ d θ ∫ < / e m > ɸ = 0 2 π d ɸ = 9 [ − c o s θ ] 30 ° 60 ° 2 π S = R² \int<em>{θ=30°}^{60°} sin θ dθ \int</em>{ɸ=0}^{2π} dɸ = 9 \big[ -cos θ \big]_{30°}^{60°} 2π S = R 2 ∫ < e m > θ = 30° 60° s in θ d θ ∫ < / e m > ɸ = 0 2 π d ɸ = 9 [ − cos θ ] 30° 60° 2 π = 18 π ( c o s 30 ° − c o s 60 ° ) = 20.7 c m 2 =18π (cos 30°-cos 60°) = 20.7 cm² = 18 π ( cos 30° − cos 60° ) = 20.7 c m 2 Example 3-6: Charge in a Sphere A sphere of radius 2 cm contains a volume charge density ρ v \rho_v ρ v given byρ v = 4 c o s 2 θ \rho_v = 4 cos² θ ρ v = 4 co s 2 θ Find the total charge Q contained in the sphere. Solution:Q = ∫ ρ v d v = ∫ ∫ ∫ ( 4 c o s 2 θ ) R 2 s i n θ d R d θ d φ Q= \int \rho_v dv = \int \int \int (4 cos² θ ) R² sinθ dR dθ dφ Q = ∫ ρ v d v = ∫∫∫ ( 4 co s 2 θ ) R 2 s in θ d R d θ d φ = 32 3 ⋅ 10 − 6 ∫ < e m > 0 π s i n θ c o s 2 θ d θ ∫ < / e m > 0 2 π d φ = 64 9 ⋅ 10 − 6 ∫ 0 2 π d φ =\frac{32}{3} \cdot 10^{-6} \int<em>{0}^{ π} sin θ cos² θ dθ \int</em>{0}^{2π} dφ = \frac{64}{9} \cdot 10^{-6} \int_{0}^{2π} dφ = 3 32 ⋅ 1 0 − 6 ∫ < e m > 0 π s in θ co s 2 θ d θ ∫ < / e m > 0 2 π d φ = 9 64 ⋅ 1 0 − 6 ∫ 0 2 π d φ = 128 π 9 ⋅ 10 − 6 = 44.68 µ C =\frac{128π}{9} \cdot 10^{-6} = 44.68 µC = 9 128 π ⋅ 1 0 − 6 = 44.68µ C Select the coordinate system according to the geometry. Transform between coordinate systems if necessary. r ˊ . ✰ = c o s ɸ ŕ.✰ = cos ɸ r ˊ .✰ = cos ɸ r ˊ y = s i n ɸ ŕ y= sin ɸ r ˊ y = s in ɸ y ^ . ✰ = − s i n ɸ ŷ.✰ = − sin ɸ y ^ .✰ = − s in ɸ y ^ . y ^ = c o s ɸ ŷ. ŷ = cos ɸ y ^ . y ^ = cos ɸ ı ^ = y ^ c o s ɸ + y ^ s i n ɸ î = ŷ cos ɸ + ŷ sin ɸ ı ^ = y ^ cos ɸ + y ^ s in ɸ = − y ^ s i n ɸ + y ^ c o s ɸ = −ŷ sin ɸ + ŷ cos ɸ = − y ^ s in ɸ + y ^ cos ɸ x = r c o s ɸ − 0 s i n d x=rcos ɸ − 0 sind x = rcos ɸ − 0 s in d y ^ = s i n ɸ + c o s ɸ ŷ = sin ɸ + cos ɸ y ^ = s in ɸ + cos ɸ Given point P 1 = ( 3 , − 4 , 3 ) P₁ = (3,-4, 3) P 1 = ( 3 , − 4 , 3 ) and vector A = 82 − y ^ 3 + z 4 A = 82 - ŷ3 + z4 A = 82 − y ^ 3 + z 4 , defined in Cartesian coordinates, express P 1 P₁ P 1 and A in cylindrical coordinates and evaluate A at P 1 P₁ P 1 . Solution:r =$\sqrt{x²+y²} =5 ɸ =tan^{-1}(\frac{y}{x}) = tan^{-1}(\frac{-4}{3}) =-53.1° = 306.9° Ar=Ax cos ɸ + Ay sin ɸ = 2 cos ɸ - 3 sin ɸ A_{ɸ} = -Ax sin ɸ + Ay cos ɸ = -2 sin ɸ - 3 cos ɸ Express vector A = (x + y) +ŷ(y-x)+zz in spherical coordinates. Solution:AR = Ax sin θ cos ɸ + Ay sin θ sin ɸ + Az cos θ =(x + y) sin θ cos ɸ + (y - x) sin θ sin ɸ + z cos θ A_{θ}=(x+y)cos θ cos ɸ + (y-x) cos θ sin ɸ - z sin θ A{ɸ}=-(x+y)sin ɸ +(y-x)cos ɸ A = ÂAR + ÔA{θ} + ɸA {ɸ} = ÂR – ÔR sin θ leads to:A_{θ} = 0 A_{ɸ} = -R sin θ Gradient of a Scalar Field Gradient at point rate of change of the scalar field direction of change The symbol V is called the del or gradient operator and is defined asV = \hat{x} \frac{∂}{∂x} + \hat{y} \frac{∂}{∂y} + \hat{z} \frac{∂}{∂z} Example 3-9: Directional Derivative Find the directional derivative of T = x² + y²za l o n g d i r e c t i o n along direction a l o n g d i rec t i o n x2+ŷ322a n d e v a l u a t e i t a t and evaluate it at an d e v a l u a t e i t a t (1, −1, 2). Solution:First, we find the gradient of T:VT = \frac{∂}{∂x}(\hat{x}) + \frac{∂}{∂y}(\hat{y})) + \frac{∂}{∂z}(\hat{z}) (x² + y²z) = 2x + ŷ2yz + y² We denote I as the given direction,l = x2 + ŷ3 — 2 \hat{a} = \frac{✰2 + ŷ3 — 2}{\sqrt{17}} Application of Eq. (3.75) givesdT = VT • â_{l} = (î2x + ŷ2yz + y²). \frac{✰2+ ŷ3 — 2}{\sqrt{17}} =\frac{4x+6yz - 2y²}{\sqrt{17}} At (1,1,2),dT = \frac{4-12-2}{\sqrt{17}} = \frac{-10}{\sqrt{17}} Divergence of a Vector Field div E= lim_{AV->0} \frac{\oint E \cdot ds}{AV} V E = div E = \frac{∂Ex}{∂x} + \frac{∂Ey}{∂y} + \frac{∂Ez}{∂z} Example 3-11: Calculating the Divergence Determine the divergence of each of the following vector fields and then evaluate them at the indicated points:(a) E = 3x²+ŷ2z+2x²za t at a t (2, -2, 0); (b) E = R(a³ cos θ /R²) – Ô (a³ sin θ/R²)a t at a t (a/2, 0, π). Curl of a Vect Circulation\oint B \cdot dl V x B = curl B = lim{As ->0} {\frac{1}{As {max}} \oint B \cdot dl} Thus, curl B is the circulation of B per unit area, with the area As of the contour C being oriented such that the circulation is maximum. Stokes's Theorem Stokes's theorem converts the surface integral of the curl of a vector over an open surface S into a line integral of the vector along the contour C bounding the surface S. \int (V x B) \cdot ds = \oint B \cdot dl Laplacian Operator Laplacian of a Scalar Field\nabla²V = V · (VV) = \frac{∂²V}{∂x²} + \frac{∂²V}{∂y²} + \frac{∂²V}{∂z²} Laplacian of a Vector FieldV²E =\frac{∂²}{∂x²} + \frac{∂² }{∂y²} +\frac{∂²}{∂z²}$$