Introduction to electromagnetism Vector and Fields What is Electromagnetism Electromagnetism is a branch of physics involving the study of the electromagnetic force, a type of physical interaction that occurs between electrically charged particles. The electromagnetic force is carried by electromagnetic fields composed of electric fields and magnetic fields, and it is responsible for electromagnetic radiation such as light. Wikipedia Why Study Electromagnetism Most everyday equipment involve electromagnetism 1. Mobile 2. Computers 3. Radio 4. Satellite communications 5. Lasers 6. Projectors 7. Light bulbs ……… Engineering Application by Electromagnetism Antenna design in cell phone Photolithography in semiconductor process Electric motor Vector and Fields Scalars and Vectors Scalars: 1. Requires only one number for its description 2. Example: Distance: 5m; Speed: 10 m/s; Temperature: 25oC, etc. 3. Algebra consists of addition, subtraction, multiplication, etc. Vectors: 1. Requires more than one scalars for its description 2. Example: Velocity: 5km/s along the certain direction; ๐ดโ = ๐ด ๐ฅโ + ๐ด ๐ฆโ + ๐ด ๐งโ 3. The corresponding algebra is called Vector Algebra Vector and Fields Addition of two vectors: ๏ฌ Place the tail of B the head of A ๏ฌ Commutative: A+B=B+A ๏ฌ Associative:(A+B)+C=A+(B+C) Vector and Fields Multiplication by a scalar: ๏ฌ Multiplies the magnitude but leaves the direction unchanged. ๏ฌ Distributive: C(A+B)=CA+CB Dot product of two vector (scalar product): ๏ฌ The dot product of two vectors is defined by A·B≡|A||B| cos θ , where θ is the angle they form when placed tail-to-tail. ๏ฌ Commutative: A·B=B·A ๏ฌ Distributive: A·(B+C)=A·B+A·C Vector and Fields Cross product of two vector (vector product): ๏ฌ The cross product of two vectors is defined by A×B≡|A||B|sinθ ๐ , where ๐ is a unit vector pointing perpendicular to the plane of A and B. ๏ฌ A hat is used to designate the unit vector and its direction is determined by the right-hand rule. ๏ฌ Not commutative: A×B=-B×A ๏ฌ Distributive: A×(B+C)=A×B+A×C Vector and Fields Let ๐ฅโ, ๐ฆโ and ๐งโ are unit vectors parallel to the x, y, and z axes, respectively. An arbitrary vector A can be expressed in terms of these basis vectors. ๐ดโ = ๐ด ๐ฅโ + ๐ด ๐ฆโ + ๐ด ๐งโ The numbers Ax, Ay, and Az are called components. Vector and Fields Reformulate the four vector operations as a rule for manipulating components: To add vectors, add like components. ๐ดโ + ๐ต = (๐ด ๐ฅโ + ๐ด ๐ฆโ + ๐ด ๐งโ) + (๐ต ๐ฅโ + ๐ต ๐ฆโ + ๐ต ๐งโ) = (๐ด +๐ต )๐ฅโ + (๐ด +๐ต )๐ฆโ + (๐ด +๐ต )๐งโ) To multiply by a scalar, multiply each component. ๐๐ดโ = ๐(๐ด ๐ฅโ + ๐ด ๐ฆโ + ๐ด ๐งโ) = ๐๐ด ๐ฅโ + ๐๐ด ๐ฆโ + ๐๐ด ๐งโ Vector and Fields To calculate the dot product, multiply like components, and add. ๐ดโ ๐ต = (๐ด ๐ฅโ + ๐ด ๐ฆโ + ๐ด ๐งโ) (๐ต ๐ฅโ + ๐ต ๐ฆโ + ๐ต ๐งโ) = ๐ด ๐ต +๐ด ๐ต +๐ด ๐ต To calculate the cross product, form the determinant whose first row are ๐ฅโ, ๐ฆโ and ๐งโ, whose second row is A (in component form), and whose third row is B. ๐ฅโ ๐ดโ × ๐ต = ๐ด ๐ต ๐ฆโ ๐ด ๐ต ๐งโ ๐ด = ๐ด ๐ต − ๐ด ๐ต ๐ฅโ + ๐ต ๐ด ๐ต − ๐ต ๐ด ๐ฆโ + (๐ด ๐ต − ๐ด ๐ต )๐งโ Vector and Fields Triple Products Since the cross product of two vectors is itself a vector, it can be dotted or crossed with a third vector to form a triple product. ๏ฌ Scalar triple product: A·(B×C). Geometrically, |A·(B×C)| is the volume of a parallelepiped generated by these three vectors as shown below. Vector and Fields Triple Products ๏ฌ Vector triple product: A×(B×C). The vector triple product can be simplified by the so-called BAC-CAB rule. ๐ดโ × (๐ต × ๐ถโ) = ๐ต ๐ดโ ๐ถโ − ๐ถโ(๐ดโ ๐ต) Note. ๐ดโ × (๐ต × ๐ถโ) ≠ (๐ดโ × ๐ต) × ๐ถโ ๐ดโ × ๐ต × ๐ถโ = −๐ถโ × ๐ดโ × ๐ต = −(๐ดโ ๐ต ๐ถโ − ๐ต ๐ดโ ๐ถโ ) Vector and Fields Position, Displacement and Separation Vectors Position vector: The vector to that point from the origin. ๐โ = ๐ฅ๐ฅโ + ๐ฆ๐ฆโ + ๐ง๐งโ Its magnitude (the distance from the origin) ๐= ๐โ ๐โ = ๐ฅ +๐ฆ +๐ง Its direction unit vector (pointing radially outward) ๐ฬโ = ๐โ ๐ฅ๐ฅโ + ๐ฆ๐ฆโ + ๐ง๐งโ = ๐ ๐ฅ +๐ฆ +๐ง The infinitesimal displacement vector from (x, y, z) to (x+dx, y+dy, z+dz) ๐๐โ = ๐๐ฅ๐ฅโ + ๐๐ฆ๐ฆโ + ๐๐ง๐งโ Vector and Fields Position, Displacement and Separation Vectors In electrodynamics one frequently encounters problems involving two points: A source point r′, where an electric field is located A field point r, at which you are calculating the electric field ๐พโ = ๐ − ๐โ, magnitude ๐พโ = ๐ − ๐โ Unit vector ๐พฬโ = ๐พโ ๐ − ๐โ = ๐พ ๐ − ๐โ Vector and Fields Gradient A theorem on partial derivatives states that: ๐๐ป ๐๐ป ๐๐ป ๐๐ป = ๐๐ฅ + ๐๐ฆ + ๐๐ง ๐๐ฅ ๐๐ฆ ๐๐ง ๐๐ป ๐๐ป ๐๐ป = ๐ฅโ + ๐ฆโ + ๐งโ ๐๐ฅ๐ฅโ + ๐๐ฆ๐ฆโ + ๐๐ง๐งโ ๐๐ฅ ๐๐ฆ ๐๐ง = ๐ป๐ป ๐๐โ The gradient of H is ๐๐ป ๐๐ป ๐๐ป ๐ปH = ๐ฅโ + ๐ฆโ + ๐งโ ๐๐ฅ ๐๐ฆ ๐๐ง Vector and Fields Gradient ๏ฌ Geometrical interpretation: Like any vector, the gradient has magnitude and direction. ๏ฌ A dot product in abstract form is ๐๐ป = ๐ป๐ป ๐๐โ = ๐ป๐ป ๐๐โ ๐๐๐ ๐ ๏ฌ The gradient ∇H points in the direction of maximum increase of the function H. ๏ฌ Analogous to the derivative of one variable, a vanishing derivative signals a maximum, a minimum, or an inflection. Vector and Fields Gradient Vector and Fields The Operator ๐ป ๏ฌ The gradient has the formal appearance of a vector, ∇, “multiplying”, a scalar H ๐ ๐ ๐ ๐ปH = ๐ฅโ + ๐ฆโ + ๐งโ ๐ป ๐๐ฅ ๐๐ฆ ๐๐ง ๏ฌ ∇ is a vector operator that acts upon H, not a vector that multiplies H ๐ ๐ ๐ ๐ป= ๐ฅโ + ๐ฆโ + ๐งโ ๐๐ฅ ๐๐ฆ ๐๐ง ๏ฌ ∇ mimics the behavior of an ordinary vector in virtually every way, if we translate “multiply” by “act upon” Vector and Fields The Operator ๐ป An ordinary vector A can be multiply in three ways: ๏ฌ Multiply a scalar a : aA ๏ฌ Multiply another vector (dot product): A·B ๏ฌ Multiply another vector (cross product):A×B The operator ∇ can act ๏ฌ On a scalar function H: ∇H ๏ฌ On a vector function v (dot product): ∇·v ๏ฌ On a vector function v (cross product): ∇ × v Vector and Fields The Divergence Divergence of a vector v is: ๐ ๐ ๐ ๐ป ๐ฃโ = ๐ฅโ + ๐ฆโ + ๐งโ ๐๐ฅ ๐๐ฆ ๐๐ง ๐๐ฃ ๐๐ฃ ๐๐ฃ = + + ๐๐ฅ ๐๐ฆ ๐๐ง ๐ฃ ๐ฅโ + ๐ฃ ๐ฆโ + ๐ฃ ๐งโ ∇·v is a measure of how much the vector v spread out from the point in question. Vector and Fields Vector and Fields Curl of a vector v is: ๐ฅโ ๐ ๐ป × ๐ฃโ = ๐๐ฅ ๐ฃ ๐ฆโ ๐ ๐๐ฆ ๐ฃ ๐งโ ๐๐ฃ ๐๐ฃ ๐ = − ๐๐ฆ ๐๐ง ๐๐ง ๐ฃ ๐๐ฃ ๐๐ฃ ๐๐ฃ ๐๐ฃ ๐ฅโ + − ๐ฆโ + − ๐งโ ๐๐ง ๐๐ฅ๐ง ๐๐ฅ ๐๐ฆ ∇×v is a measure of how much the vector v curl around the point in question. Vector and Fields Product Rules Vector and Fields The sum rule: ๐ ๐๐ ๐๐ ๐+๐ = + ๐๐ฅ ๐๐ฅ ๐๐ฅ ๐ป ๐ดโ + ๐ต = ๐ป ๐ดโ + ๐ป ๐ต ๐ป ๐ + ๐ = ๐ป๐ + ๐ป๐ ๐ป × ๐ดโ + ๐ต = ๐ป × ๐ดโ + ๐ป × ๐ต The rule for multiplying by a constant K: ๐ป ๐ ๐๐ ๐พ๐ = ๐พ ๐๐ฅ ๐๐ฅ ๐ป ๐พ๐ = ๐พ๐ป๐ ๐พ๐ดโ = ๐พ๐ป ๐ดโ ๐ป × ๐พ๐ดโ = ๐พ๐ป × ๐ดโ Vector and Fields Product Rules Scalar fg, vector fA ๐ ๐๐ ๐๐ ๐๐ = ๐ +๐ ๐๐ฅ ๐๐ฅ ๐๐ฅ ๐ป ๐ป ๐๐ = ๐๐ป๐ + ๐๐ป๐ ๐๐ดโ = ๐๐ป ๐ดโ + ๐ดโ ๐ป๐ ๐ป × ๐๐ดโ = ๐๐ป × ๐ดโ + ๐ป๐ × ๐ดโ Scalar ๐ดโ ๐ต, vector ๐ดโ × ๐ต ๐ป ๐ดโ ๐ต = ๐ดโ × ๐ป × ๐ต + ๐ต × ๐ป × ๐ดโ + ๐ดโ ๐ป ๐ต + (๐ต ๐ป)๐ดโ ๐ป ๐ดโ × ๐ต = ๐ต ๐ป × ๐ดโ − ๐ดโ ๐ป×๐ต ๐ป × ๐ดโ × ๐ต = ๐ต ๐ป ๐ดโ − ๐ดโ ๐ป ๐ต + ๐ดโ ๐ป ๐ต − ๐ต(๐ป ๐ดโ) Vector and Fields Quotient Rules Scalar f/g, vector A/g ๐ ๐ = ๐๐ฅ ๐ ๐ ๐๐ ๐๐ −๐ ๐๐ฅ ๐๐ฅ ๐ ๐ ๐๐ป๐ − ๐๐ป๐ ๐ป = ๐ ๐ ๐ดโ ๐๐ป ๐ดโ − ๐ดโ ๐ป๐ ๐ป = ๐ ๐ ๐ดโ ๐๐ป × ๐ดโ − ๐ป๐ × ๐ดโ ๐๐ป × ๐ดโ + ๐ดโ × ๐ป๐ ๐ป× = = ๐ ๐ ๐ Vector and Fields Second Derivative Scalar f, vector A Five species of second derivatives. ๏ฌ Divergence of gradient: ๐ป ๐ป๐ ๏ฌ Curl of gradient: ๐ป × ๐ป๐ ๏ฌ Gradient of divergence: ๐ป(๐ป ๐ดโ) ๏ฌ Divergence of curl: ๐ป (๐ป × ๐ดโ) ๏ฌ Curl of curl: ๐ป × (๐ป × ๐ดโ) Vector and Fields Second Derivative Divergence of gradient ๐ ๐ ๐ ๐๐ ๐๐ ๐๐ ๐ป ๐ป๐ = ๐ฅโ + ๐ฆโ + ๐งโ ๐ฅโ + ๐ฆโ + ๐งโ ๐๐ฅ ๐๐ฆ ๐๐ง ๐๐ฅ ๐๐ฆ ๐๐ง ๐ ๐ ๐ ๐ ๐ ๐ --The Laplacian of f = + + ๐๐ฅ ๐๐ฆ ๐๐ง Curl of gradient ๐ฅโ ๐ ๐ป × ๐ป๐ = ๐๐ฅ ๐๐ ๐๐ฅ ๐ฆโ ๐ ๐๐ฆ ๐๐ ๐๐ฆ ๐งโ ๐ ๐ ๐๐ ๐ ๐๐ ๐ ๐๐ ๐ ๐๐ ๐ ๐๐ ๐ ๐๐ ๐๐ง = − ๐ฅโ + − ๐ฆโ + − ๐งโ ๐๐ฆ ๐๐ง ๐๐ง ๐๐ฆ ๐๐ง ๐๐ฅ ๐๐ฅ ๐๐ง ๐๐ฅ ๐๐ฆ ๐๐ฆ ๐๐ฅ ๐๐ ๐๐ง = 0 Why? Vector and Fields Second Derivative Gradient of divergence ๐๐ด ๐ ๐ ๐ ๐๐ด ๐๐ด ๐ฅโ + ๐ฆโ + ๐งโ + + ๐๐ฅ ๐๐ฆ ๐๐ง ๐๐ฅ ๐๐ฆ ๐๐ง ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด = + + ๐ฅโ + + + ๐ฆโ + + + ๐๐ฅ ๐๐ฅ๐๐ฆ ๐๐ฅ๐๐ง ๐๐ฆ๐๐ฅ ๐๐ฆ ๐๐ฆ๐๐ง ๐๐ง๐๐ฅ ๐๐ง๐๐ฆ ๐๐ง ๐ป(๐ป ๐ดโ) = ๐งโ Divergence of curl ๐ป (๐ป × ๐ดโ) = ๐ ๐ ๐ ๐ฅโ + ๐ฆโ + ๐งโ ๐๐ฅ ๐๐ฆ ๐๐ง ๐๐ด ๐๐ด − ๐๐ฆ ๐๐ง ๐๐ด ๐๐ด ๐ฅโ + − ๐๐ง ๐๐ฅ ๐๐ด ๐๐ด ๐ฆโ + − ๐๐ฅ ๐๐ฆ ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด = − + − + − = 0 Why? ๐๐ฅ๐๐ฆ ๐๐ฅ๐๐ง ๐๐ฆ๐๐ง ๐๐ฆ๐๐ฅ ๐๐ง๐๐ฅ ๐๐ง๐๐ฆ ๐งโ Vector and Fields Second Derivative Curl of curl ๐ป × ๐ป × ๐ดโ = ๐ฅโ ๐ ๐๐ฅ ๐ฆโ ๐ ๐๐ฆ ๐งโ ๐ ๐๐ง ๐๐ด ๐๐ด − ๐๐ฆ ๐๐ง ๐๐ด ๐๐ด − ๐๐ง ๐๐ฅ ๐๐ด ๐๐ด − ๐๐ฅ ๐๐ฆ ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด − − + ๐ฅโ + − − + ๐ฆโ + − − + ๐งโ ๐๐ฆ๐๐ฅ ๐ ๐ฆ ๐ ๐ง ๐๐ง๐๐ฅ ๐๐ง๐๐ฆ ๐ ๐ง ๐ ๐ฅ ๐๐ฅ๐๐ฆ ๐๐ฅ๐๐ง ๐ ๐ฅ ๐ ๐ฆ ๐๐ฆ๐๐ง ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด = + + −( + + ) ๐ฅโ + + + −( + + ) ๐ฆโ ๐๐ฅ ๐๐ฆ๐๐ฅ ๐๐ง๐๐ฅ ๐๐ฅ ๐ ๐ฆ ๐ ๐ง ๐๐ฆ๐๐ฅ ๐๐ฆ ๐๐ฆ๐๐ง ๐๐ฅ ๐ ๐ฆ ๐ ๐ง ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด ๐ ๐ด + + + −( + + ) ๐งโ = ๐ป ๐ป ๐ดโ − ๐ป ๐ดโ ๐๐ง๐๐ฅ ๐๐ง๐๐ฆ ๐๐ง ๐๐ฅ ๐ ๐ฆ ๐ ๐ง = ๐ดโ × (๐ต × ๐ถโ) = ๐ต ๐ดโ ๐ถโ − ๐ถโ(๐ดโ ๐ต) Integral Calculus Vector and Fields Line integrals: an integral is an expression of the form ๐ฃโ ๐๐โ Where v is a vector function, dl is the infinitesimal displacement vector, and the integral is to be carried out along a prescribed path P from point a to point b. ๏ฌ Put a circle on the integral, in the path in question forms a closed loop ๐ฃโ ๐๐โ Vector and Fields Integral Calculus (Line) The line integral is independent of the path, and is determined entirely by the end points, e. g. ๐= ๐นโ ๐๐โ Conservative Vector and Fields Vector and Fields Vector and Fields Integral Calculus (Surface) ๏ฌ Surface integrals: an integral is an expression of the form ๐ฃโ ๐๐โ where v is a vector function, and da is the infinitesimal patch of area, with direction perpendicular to the surface. ๏ฌ The value of a surface integral depends on the particular surface chosen, but there is a special class of vector functions for which it is independent of the surface, and is determined entirely by the boundary. Vector and Fields Vector and Fields Integral Calculus (Volume) ๏ฌ Volume integrals: an integral is an expression of the form ๐๐๐ where T is a scalar function, and d τ is an infinitesimal volume element. In Cartesian coordinates, dτ =dxdydz ๏ฌ The volume integrals of vector functions ๐๐๐ = ๐ ๐๐๐ฅโ + ๐ ๐๐๐ฆโ + ๐ ๐๐๐งโ Vector and Fields Vector and Fields Fundamental theorem of calculus: ๐๐ ๐๐ฅ = ๐๐ฅ ๐๐ = ๐ ๐ − ๐(๐) Geometrical Interpretation: two ways to determine the total change in the function: ๏ฌ Go step-by-step adding up all the tiny increments as you go ๏ฌ Subtract the values at the ends Vector and Fields Fundamental theorem of gradient: ๏ฌ A scalar function of three variables T(x, y, z) changes by a small amount. ๐๐ = (๐ป๐) ๐๐โ ๏ฌ The total change in T in going from a to b along the path selected is (๐ป๐) ๐๐โ = ๐ ๐ − ๐(๐) Geometrical Interpretation ๏ฌMeasure the high of each floor and add them all up ๏ฌPlace an altimeter at the top and the bottom, subtract the readings at the ends Vector and Fields Fundamental theorem of gradient: ∫ (๐ป๐) ๐๐โ = ๐ ๐ − ๐(๐) the right side of this equation makes no reference to the path---only to the end points. Thus gradients have special property that their line integrals are path independent. Corollary 1: ∫ (๐ป๐) ๐๐โ is independent of path taken from a to b. Corollary 2: โฎ(๐ป๐) ๐๐โ = 0, since the beginning and end points are identical, and hence T(b)-T(a)=0. Vector and Fields Potential Energy and Conservative Forces ๏ฌ Potential energy defined in terms of work done by the associated conservative force. ๐ −๐ =− ๐นโ ๐๐โ ๏ฌ Conservative forces tend to minimize the potential energy within any system: It allowed to, an apple falls to the ground and a spring returns to its natural length. ๏ฌ Non-conservative force does not imply it is dissipative, for example, magnetic force, and also does not mean it will decrease the potential energy, such as hand force. Vector and Fields Conservative and Non-conservative Forces ๏ฌ The distinction between conservative and non-conservative forces is best stated as follows ๏ฌ A conservative force may be associated with a scalar potential energy function, whereas a non-conservative force cannot. ๐ −๐ =− ๐นโ ๐๐โ ๐นโ = −๐ป๐ Vector and Fields Conservative and Non-conservative Forces ๏ฌ A conservative force can be derived from a scalar potential energy function ๐นโ = −๐ป๐ ๏ฌ The negative sign indicates that the force points in the direction of decreasing potential energy. Gravity Ug = mgy, F = -mg Spring Ug = ½(kx2), F = -kx Vector and Fields The Fundamental Theorem for Divergences ๏ฌ The fundamental theorem for divergences states that: ∫ ๐ป ๐ฃโ ๐๐ = โฎ ๐ฃโ ๐๐โ ๏ฌ The integration of a derivative (in this case the divergence) over a region (in this case a volume) is equal to the value of the function at the boundary (in this case the surface that bounds the volume) ๏ฌ This theorem has at least three special names: Gauss’s theorem, Green’s theorem, or the divergence theorem. Vector and Fields Vector and Fields The Fundamental Theorem for Curls The fundamental theorem for curls---Stokes theorem--states that: ๐ป × ๐ฃโ ๐๐โ = ๐ฃโ ๐๐โ The integration of a derivative (here, the curl) over a region (here, a patch of surface) is equal to the value of the function at the boundary (in this case the perimeter of the patch) Vector and Fields The Fundamental Theorem for Curls Ambiguity in Stokes theorem: Concerning the boundary line integral, which way are we supposed to go around (clockwise or counterclockwise)? The right-hand rule. Corollary 1: ∫ ๐ป × ๐ฃโ ๐๐โ depends only on the boundary lines, not on the particular surface used. Corollary 2: โฎ ๐ป × ๐ฃโ ๐๐โ for any closed surface, since the boundary line shrinks down to a point These corollaries are analogous to those for the gradient theorem. Vector and Fields Vector and Fields Curvilinear Coordinates (Spherical Polar Coordinates) The spherical (polar) coordinates (r, θ, φ)of a point Pare defined below: r: the distance from the origin (the magnitude of the position vector) θ: the angle down from the z-axis (called polar angle) φ: The angle around from the x-axis (call the azimuthal angle). ๐ฅ = ๐๐ ๐๐๐๐๐๐ ๐ ๐ฆ = ๐๐ ๐๐๐๐ ๐๐๐ ๐ง = ๐๐๐๐ ๐ Vector and Fields Curvilinear Coordinates (Spherical Polar Coordinates) The direction of the coordinates: the unit vector ๐โ, ๐โ, ๐ They constitute an orthogonal (mutually perpendicular) basis set (just like ๐ฅโ, ๐ฆโ, ๐งโ) So any vector A can be expressed in terms of them: ๐ดโ = ๐ด ๐โ + ๐ด ๐โ + ๐ด ๐ ๐โ = ๐ ๐๐๐๐๐๐ ๐๐ฅโ + ๐ ๐๐๐๐ ๐๐๐๐ฆโ + ๐๐๐ ๐๐งโ ๐โ = ๐๐๐ ๐๐๐๐ ๐๐ฅโ + ๐๐๐ ๐๐ ๐๐๐๐ฆโ − ๐ ๐๐๐๐งโ ๐ = −๐ ๐๐๐๐ฅโ + ๐๐๐ ๐๐ฆโ In terms of Cartesian unit vector Vector and Fields Curvilinear Coordinates (Spherical Polar Coordinates) ๏ฌ ๐โ, ๐, ๐ are associated with particular point P, and they change direction as P moves around. For example, ๐โ always points radially outward, but “radially outward” can be the x direction, the y direction, or any other direction, depending on where you are. ๏ฌ Since the unit vectors are function of position, we must handle the differential and integral with care. 1. Differentiate a vector that is expressed in spherical coordinates. 2. Do not take ๐โ, ๐, ๐ outside an integral. Vector and Fields Curvilinear Coordinates (Spherical Polar Coordinates) ๐๐โ = ๐๐ ๐โ + ๐๐ ๐โ + ๐๐ ๐ = ๐๐๐โ + ๐๐๐๐โ + ๐๐ ๐๐๐๐๐๐ ๐๐โ = ๐๐ ๐๐ ๐โ = ๐ ๐ ๐๐๐๐๐๐๐๐โ ๐๐ = ๐๐ ๐๐ ๐๐ = ๐ ๐ ๐๐๐๐๐๐๐๐๐ Vector and Fields Curvilinear Coordinates (Spherical Polar Coordinates) The vector derivatives in spherical coordinates: Vector and Fields Curvilinear Coordinates (Cylindrical Coordinates) The cylindrical coordinates (s, φ , z)of a point Pare defined below: s: the distance from the z axis φ: the same meaning as in spherical coordinates z: the same as Cartesian ๐ฅ = ๐ ๐๐๐ ๐ ๐ฆ = ๐ ๐ ๐๐๐ ๐ง=๐ง ๐โ = ๐๐๐ ๐๐ฅโ + ๐ ๐๐๐๐ฆโ ๐ = −๐ ๐๐๐๐ฅโ + ๐๐๐ ๐๐ฆโ ๐งโ = ๐งโ In terms of Cartesian unit vector Vector and Fields Curvilinear Coordinates (Cylindrical Coordinates) ๐๐โ = ๐๐ ๐โ + ๐๐ ๐ + ๐๐ง๐งโ = ๐๐ ๐ โ + ๐ ๐๐๐ + ๐๐ง๐งโ ๐๐ = ๐๐ ๐๐ ๐๐ = ๐ ๐๐ ๐๐๐๐ง Vector and Fields Curvilinear Coordinates (Cylindrical Coordinates) Vector and Fields The Dirac Delta Function A vector function ๐ฃโ = โ 1 ๐ 1 1 ๐ The divergence of this vector function is ๐ป ๐ฃโ = (๐ )= (1) = 0 ๐ ๐๐ ๐ ๐ ๐๐ The surface integral of this function is ๐ป ๐ฃโ ๐๐ = ๐ฃโ ๐๐โ = 1 ๐ ๐ ๐๐๐ ๐๐๐๐ = 2๐ ๐ Dirac delta function ๐ ๐๐๐๐๐ ≠ 0 Vector and Fields The 1D Dirac Delta Function The 1-D Dirac delta function can be pictured as an infinitely high, infinitesimally narrow “spike”, with area just 1. 0 ๐๐ ๐ฅ ≠ 0 ๐ฟ ๐ฅ = with ∞ ๐๐ ๐ฅ = 0 ๐ฟ ๐ฅ ๐๐ฅ = 1 Technically, δ(x) is not a function at all, since its value is not finite at x=0. Such function is called the generalized function, or distribution. Vector and Fields The 1D Dirac Delta Function If f(x) is continuous function, then the product f(x)δ(x) is zero everywhere except at x=0. It follows that f(x)δ(x)=f(0)δ(x). In particular, ๐ ๐ฅ ๐ฟ ๐ฅ ๐๐ฅ = ๐ 0 ๐ฟ ๐ฅ ๐๐ฅ = ๐(0) We can shift the spike from x=0 to x=a 0 ๐๐ ๐ฅ ≠ ๐ ๐ฟ ๐ฅ−๐ = with ∞ ๐๐ ๐ฅ = ๐ ๐ ๐ฅ ๐ฟ ๐ฅ − ๐ ๐๐ฅ = ๐ ๐ ๐ฟ ๐ฅ − ๐ ๐๐ฅ = 1 ๐ฟ ๐ฅ − ๐ ๐๐ฅ = ๐(๐) Vector and Fields The 1D Dirac Delta Function ๐ฅ ๐ฟ ๐ฅ − 2 ๐๐ฅ = 8 ๐ฅ ๐ฟ ๐ฅ − 2 ๐๐ฅ = 0 Although δ(x) is not a legitimate function, integrals over δ(x) are perfectly acceptable. It is best to think of the delta function as something that is always intended for use under an integral sign. In particular, two expressions involving delta function are considered equal if: ๐ ๐ฅ ๐ท (๐ฅ)๐๐ฅ = ๐(๐ฅ)๐ท (๐ฅ)๐๐ฅ Vector and Fields The 1D Dirac Delta Function 1 ๐ฟ ๐๐ฅ = ๐ฟ(๐ฅ) where k is any (nonzero) constant ๐ Changing variables, we let y = kx, so that x = y/k, and dx = (1/k)dy. If k is positive, the integration still runs from -∞ to ∞, but if k is negative, then x = ∞ implies y = - ∞, and vice versa, so the order of the limits is reversed. Restoring the "proper" order costs a minus sign. Thus 1 ๐ ๐ฅ ๐ฟ ๐๐ฅ ๐๐ฅ = ๐ ๐ ๐ฆ 1 1 ๐ ๐ฟ ๐ฆ ๐๐ฆ = ± ๐ ๐ 0 = ๐ ๐(0) 1 ๐ฟ ๐๐ฅ = ๐ฟ(๐ฅ) ๐ Vector and Fields The 3D Dirac Delta Function ๐ฟ ๐ = ๐ฟ(๐ฅ)๐ฟ(๐ฆ)๐ฟ(๐ง) Its volume integral is ๐ฟ ๐ ๐τ = ๐ฟ ๐ฅ ๐ฟ ๐ฆ ๐ฟ ๐ง ๐๐ฅ๐๐ฆ๐๐ง = 1 As in the 1-D case, the integral with delta function picks out the value of the function at the location of the spike ๐ ๐ ๐ฟ ๐ − ๐ ๐τ = ๐(๐) Vector and Fields The 3D Dirac Delta Function We found that the divergence of โ is zero everywhere except at the origin, and yet its integral over any volume containing the origin is a constant of 4π. The Dirac delta function can be defined as: ๐โ ๐ป = 4๐๐ฟ ๐ ๐ More generally: ๐ป ๐พโ ๐ป = 4๐๐ฟ ๐พ ๐พ 1 =๐ป ๐พ 1 ๐ป ๐พ =๐ป ๐พโ = ๐โ − ๐′ ๐พโ − ๐พ = −4๐๐ฟ ๐พ Vector and Fields The Helmholtz Theorem To what extent is a vector function F determined by its divergence and curl? The divergence of F is a specified scalar function D, ๐ป ๐นโ = ๐ท and the curl of F is a specified vector function C, ๐ป × ๐นโ = ๐ถโ with ๐ป ๐ป × ๐นโ = ๐ป ๐ถโ = 0 Helmholtz theorem guarantees that the field F is uniquely determined by the divergence and curl with appropriate boundary conditions. Vector and Fields The Helmholtz Theorem (Potential) If the curl of a vector field (F) vanishes (everywhere), then F can be written as the gradient of a scalar potential (V): ๐ป × ๐นโ = 0 ⇒ ๐นโ = −๐ป๐ If the divergence of a vector field (F) vanishes (everywhere), then F can be expressed as the curl of a vector potential (A): ๐ป ๐นโ = 0 ⇒ ๐นโ = ๐ป × ๐ดโ