ECE 329 Vector Calculus Primer Spring 2014

Similar documents
Vector surface area Differentials in an OCS

Figure 1.1 Vector A and Vector F

Unified Lecture # 4 Vectors

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

Lecture L3 - Vectors, Matrices and Coordinate Transformations

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

Gradient, Divergence and Curl in Curvilinear Coordinates

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

Vector has a magnitude and a direction. Scalar has a magnitude

Differentiation of vectors

6 J - vector electric current density (A/m2 )

Review of Vector Analysis in Cartesian Coordinates

F = 0. x ψ = y + z (1) y ψ = x + z (2) z ψ = x + y (3)

Section 1.1. Introduction to R n

This makes sense. t /t 2 dt = 1. t t 2 + 1dt = 2 du = 1 3 u3/2 u=5

If Σ is an oriented surface bounded by a curve C, then the orientation of Σ induces an orientation for C, based on the Right-Hand-Rule.

2 Session Two - Complex Numbers and Vectors

CBE 6333, R. Levicky 1 Differential Balance Equations

Electrostatic Fields: Coulomb s Law & the Electric Field Intensity

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Analysis of Stresses and Strains

State of Stress at Point

Teaching Electromagnetic Field Theory Using Differential Forms

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Scalars, Vectors and Tensors

Solutions for Review Problems

Review A: Vector Analysis

The Vector or Cross Product

Elasticity Theory Basics

Math 241, Exam 1 Information.

PHY 301: Mathematical Methods I Curvilinear Coordinate System (10-12 Lectures)

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Rotation Matrices and Homogeneous Transformations

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

CONSERVATION LAWS. See Figures 2 and 1.

Mechanics 1: Conservation of Energy and Momentum

Lecture L6 - Intrinsic Coordinates

Fundamental Theorems of Vector Calculus

The Dot and Cross Products

Electromagnetism - Lecture 2. Electric Fields

1 The basic equations of fluid dynamics

Two vectors are equal if they have the same length and direction. They do not

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

Exam 1 Sample Question SOLUTIONS. y = 2x

Physics of the Atmosphere I

5.3 The Cross Product in R 3

THREE DIMENSIONAL GEOMETRY

discuss how to describe points, lines and planes in 3 space.

v 1 v 3 u v = (( 1)4 (3)2, [1(4) ( 2)2], 1(3) ( 2)( 1)) = ( 10, 8, 1) (d) u (v w) = (u w)v (u v)w (Relationship between dot and cross product)

Vector Algebra II: Scalar and Vector Products

Linear Algebra: Vectors

Practice Final Math 122 Spring 12 Instructor: Jeff Lang

A vector is a directed line segment used to represent a vector quantity.

Chapter 28 Fluid Dynamics

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

6. Vectors Scott Surgent (surgent@asu.edu)

Review B: Coordinate Systems

F Matrix Calculus F 1

When the fluid velocity is zero, called the hydrostatic condition, the pressure variation is due only to the weight of the fluid.

Vector Calculus: a quick review

2. Spin Chemistry and the Vector Model

Dot product and vector projections (Sect. 12.3) There are two main ways to introduce the dot product

AB2.5: Surfaces and Surface Integrals. Divergence Theorem of Gauss

Math 21a Curl and Divergence Spring, Define the operator (pronounced del ) by. = i

Vectors VECTOR PRODUCT. Graham S McDonald. A Tutorial Module for learning about the vector product of two vectors. Table of contents Begin Tutorial

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

Solutions to Homework 10

A Survival Guide to Vector Calculus

27.3. Introduction. Prerequisites. Learning Outcomes

Lecture L5 - Other Coordinate Systems

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Exam 1 Practice Problems Solutions

AP Physics - Vector Algrebra Tutorial

MULTIPLE INTEGRALS. h 2 (y) are continuous functions on [c, d] and let f(x, y) be a function defined on R. Then

FINAL EXAM SOLUTIONS Math 21a, Spring 03

Solutions to Practice Problems for Test 4

Vector Algebra. Addition: (A + B) + C = A + (B + C) (associative) Subtraction: A B = A + (-B)

The Geometry of the Dot and Cross Products

The Geometry of the Dot and Cross Products

Lecture L22-2D Rigid Body Dynamics: Work and Energy

arxiv: v2 [physics.acc-ph] 27 Oct 2014

Fundamentals of Electromagnetic Fields and Waves: I

Class Meeting # 1: Introduction to PDEs

MAT 1341: REVIEW II SANGHOON BAEK

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

The Math Circle, Spring 2004

Chapter 4. Electrostatic Fields in Matter

Chapter 3 Vectors. m = m1 + m2 = 3 kg + 4 kg = 7 kg (3.1)

Mechanics 1: Vectors

Vector Calculus Solutions to Sample Final Examination #1

Equations Involving Lines and Planes Standard equations for lines in space

Vectors and Scalars. AP Physics B

THE ELECTROMAGNETIC FIELD DUE TO THE ELECTRONS.

APPLIED MATHEMATICS ADVANCED LEVEL

ON CERTAIN DOUBLY INFINITE SYSTEMS OF CURVES ON A SURFACE

ELECTRIC FIELD LINES AND EQUIPOTENTIAL SURFACES

Difference between a vector and a scalar quantity. N or 90 o. S or 270 o

Transcription:

ECE 329 Vector Calculus Primer Spring 2014 1. VECTORS AND FIELDS A field is a physical quantity that has a value associated with each point in space and time. The space and time-dependent values associated with scalar fields (such as temperature or density) are simply numbers, while those for vector fields (such as velocity, force, current density, electric field, or magnetic field) have both a scalar magnitude and a direction. Typeset vector fields will be denoted as boldfaced symbols (e.g., electric field E), but sometimes they are denoted with an arrow above the symbol (e.g., E ). Since vectors can point in any direction, we usually express them in component form by specifying their magnitude in three mutually orthogonal directions. Cartesian coordinates, having a basis set of unit vectors (dimensionless vectors of length one) pointing along the x, y, and z axes are commonly used. Denoting the unit vector directions with hats (e.g., ˆx), an arbitrary vector is expressed as A = A xˆx + A y ŷ + A z ẑ = (A x, A y, A z ) where A x, A y, and A z are the scalar magnitudes of the components of A along the positive ˆx, ŷ, and ẑ directions, respectively. Note that for an arbitrary vector field, the magnitude of each vector component can itself be a function of location and time, such that A can be expressed most generally as: A = A x (x, y, z, t)ˆx + A y (x, y, z, t)ŷ + A z (x, y, z, t)ẑ The magnitude of vector A is denoted A (or sometimes just A), and is given by A = A = A 2 x + A 2 y + A 2 z Sometimes it is convenient to define a unit vector in the direction of vector A, usually denoted â, which is defined as â = A A = (A x A, A y A, A z A ) In this notation, an alternative way of representing vector A is A = â A = âa. Two vectors A and B can be added together component by component to produce a third vector: 1.1 DOT PRODUCT C = A + B = ˆx(A x + B x ) + ŷ(a y + B y ) + ẑ(a z + B z ) The three unit vectors of a given coordinate system are mutually orthogonal, such that the dot product of any two different (orthogonal) unit vectors yields zero (e.g., ˆx ẑ = 0), while the dot product of a unit vector with itself yields one (e.g., ẑ ẑ = 1). As a result, the dot product of any two vectors A and B yields the scalar quantity A B = A x B x + A y B y + A z B z The dot product is both commutative, such that A B = B A, and distributive, such that A (B + C) = A B + A C. Note also that A A = A 2 and that A x = A ˆx. 1

1.2 CROSS PRODUCT The unit vectors of all three coordinate systems are also right-handed, such that the cross product of a unit vector with itself yields zero (e.g., ẑ ẑ = 0) and the cross product of two orthogonal unit vectors yields a unit vector perpendicular to both following the right hand rule (e.g., ˆx ŷ = ẑ and ẑ ŷ = ˆx). As a result, the cross product between vectors A and B is a vector quantity defined (in Cartesian coordinates) in terms of the determinant of the following matrix: ˆx ŷ ẑ A B = det A x A y A z = ˆx(A y B z A z B y ) + ŷ(a z B x A x B z ) + ẑ(a x B y A y B x ) B x B y B z Note that the cross product operation is not commutative, since A B = B A, nor associative, since A (B C) (A B) C, but it is distributive, such that A (B + C) = A B + A C. Given three vectors A, B, and C, there are two different ways to form a triple product. The scalar triple product is defined as A (B C) = B (C A) = C (A B) while the vector triple product is defined as A (B C) and can be expressed more simply as A (B C) = B(A C) C(A B) 1.3 CURVILINEAR COORDINATES The physical properties of electromagnetic fields and waves studied in this class do not depend on the particular coordinate system used to describe the vector quantities. Scalar products, cross products, and other vector operations are all independent of the mathematical frame of reference used to describe them. In practice, however, description and computation of vector quantities in a given problem may be easier and more intuitive in coordinate geometries other than the rectangular Cartesian system. In this class, spherical polar and cylindrical coordinate systems, whose basis unit vector directions depend on location, often will be more useful for describing fields which exhibit spherical and cylindrical symmetries, respectively. cartesian spherical cylindrical x z ẑ (x, y, z) (r, φ, θ) ŷ ˆx r z θ y φ ˆθ ˆφ ˆφ x y φ (x, y, z) (r, θ, φ) (r, φ,z) 2

As with Cartesian coordinates, the basis set of three unit vectors in curvilinear coordinate systems are also mutually orthogonal and right-handed. In the spherical coordinate system depicted above, the unit vectors are (ˆr, ˆθ, ˆφ), where ˆr ˆθ = ˆφ, r = x 2 + y 2 + z 2, and θ is the polar angle from the ẑ axis. The cylindrical coordinate system above uses (ˆr, ˆφ, ẑ), where r = x 2 + y 2, φ is an azimuthal angle measured in the ˆxŷ plane from the ˆx axis and the ẑ unit vector is the same as that in Cartesian geometry. Transformation between curvilinear and rectangular Cartesian coordinates uses the following trigonometric rules: Spherical coordinate variables r = x 2 + y 2 + z 2 θ = cos 1 ( z r ) φ = tan 1 ( y x ) Spherical unit vectors ˆr = ˆx sin θ cos φ + ŷ sin θ sin φ + ẑ cos θ ˆθ = ˆx cos θ cos φ + ŷ cos θ sin θ ẑ sin θ ˆφ = ˆx sin φ + ŷ cos φ Cylindrical coordinate variables r = x 2 + y 2 φ = tan 1 ( y x ) z = z Cylindrical unit vectors ˆr = ˆx cos φ + ŷ sin φ ˆφ = ˆx sin φ + ŷ cos φ ẑ = ẑ 2. PARTIAL DERIVATIVES The derivative of a multivariable function, such as the scalar magnitude A x (x, y, z, t), should be taken one variable at a time while treating the others as constants. For example, the partial derivative of the function f(x, y) = x 2 y + 4y with respect to the variable x is f f = 2xy, while x y = x2 + 4. For higher order partial derivatives with respect to two or more variables, the order of differentiation does not matter. So, for example, the derivative with respect to the variable y of the derivative with respect to x of the function f(x, y) = x 2 y + 4y is: y ( f x ) = (2xy) = 2x = y x (x2 + 4) = x ( f y ) The chain rule is used to take the derivative of a composition of two or more functions. For example, if x = cos(θ) and θ = ωt, then x t = x θ = ω sin(ωt). θ t 3

2.1 GRADIENT The vector differential operator, denoted and called the del operator, is expressed in Cartesian coordinates as = ˆx x + ŷ y + ẑ z = ( x, y, z ) Note that in curvilinear coordinate systems, the del operator takes a different form when acting on the different vector components. When acting on a scalar function f(x, y, z), it yields a vector quantity known as the gradient of f: f = ˆx f x + ŷ f y + ẑ f z For example, the linear ramp function f = 2x, has a vector gradient f = 2ˆx, which has magnitude of 2 along the direction of function variation (ˆx), independent of position. In contrast, the non-linear scalar function g = 2xy has a position-dependent gradient of g = 2yˆx + 2xŷ. At point P = (2, 2, 2), the gradient of g is g (x,y,z)=p = 4ˆx + 4ŷ. 2.2 DIVERGENCE When operating on a vector via the dot product (e.g., A) the resulting scalar quantity is known as the divergence of vector A: A = A x x + A y y + A z z For example, for the vector field A = ˆx4xy + ŷz 2 + ẑz 3, the divergence A at the point P = (2, 2, 2) is A (x,y,z)=p = 4(2) + 0 + 3(2) 2 = 20. 2.3 CURL When operating on a vector via the cross product (e.g., A), the resulting vector quantity is known as the curl of vector A: A = ˆx( A z y A y z ) + ŷ( A x z A z x )+ẑ( A y x A x y ) For example, for the vector field A = ˆx2y ŷx, the curl A at the point P = (2, 2, 2) is A (x,y,z)=p = ẑ( 1 2) = 3ẑ. Fields which are curl-free (fields whose curl evaluates to zero everywhere) are known as conservative fields. Any field which can be expressed as the gradient of a scalar function (e.g., F = f) is by definition a conservative field, since f = 0 for all functions f. 4

3. INTEGRATION The integral of a derivative of a function along a given dimension is simply related to the values of the function at the limits of integration: b df dx = f(b) f(a) dx a Similarly, the integral of the gradient of a function (its derivative in three dimensions) along a given threedimensional path is simply related to the values of the function at the 3D end points of that path, denoted by vectors A and B: B A f dl = f(b) f(a) Here, dl = ˆxdx + ŷdy + ẑdz is the infinitesimal displacement along the path, and, because the vector field f is conservative (curl-free) by definition, it is an exact differential, such that: f dl = f x dx + f y f dy + dz = df z In addition, the value of the line integral is path-independent, provided the path end points remain the same. For example, the force F exerted to move a massive object within a gravitational field is the gradient of potential energy U, F = U, and the work W done to move it from point A to point B against gravity, W = B A U dl = U(A) U(B), is independent of the path taken to move the object. As a result, reversing the limits of integration (integrating backwards along the path) simply yields the negative of the integration along the forward path: B A f dl = A B f dl and thus, for conservative fields, integration around a closed path C (e.g., from point A to B and back to A), a quantity known as the circulation of f, yields f dl = 0 C 3.1 CIRCULATION AND STOKES THEOREM The circulation of an arbitrary vector field F (that is potentially not conservative and hence potentially has non-zero curl) is related to its curl via the Stokes Theorem: F dl = ( F) ds C S Here, the curl of F is the circulation of F per unit area, such that the circulation around the closed path C equals the flux of F through any open surface S that is bounded by C (see below). Here, note that ds is a differential surface area with a vector direction that corresponds to the direction of dl along C via the right hand rule. 5

3.2 FLUX AND DIVERGENCE THEOREM The flux of an arbitrary vector field A through surface S, is written as S A ds, where ds = ˆndS is a vector pointing in the direction that is perpendicular to the surface (defined ˆn for normal) and ds is a differential area (having magnitude one) on that surface. For example, when integrating in the +ẑ direction over a flat surface lying in the xy-plane, ds = (ˆxdx ŷdy) = ẑdxdy. Only the component of the vector field that is parallel to the surface normal direction contributes to flux through the surface, hence the flux calculation utilizes the dot product operation. The flux through a given surface can be calculated from either direction (specified by ˆn), and a positive flux implies that A has a component that is parallel to ˆn rather than anti-parallel (which yields a negative flux). When calculating flux through a closed surface S, the surface normal vector must point outwards from the volume V enclosed by the surface. The flux of a vector field A through a closed surface is related to the divergence of A via the divergence theorem: A ds = A dv S Specifically, the flux of A through S equals the volume integration of A over the region V enclosed by S. V 6