Electricity and Magnetism Computer Lab #1: Vector algebra and calculus

Similar documents
Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors

Implicit Differentiation

Table of Common Derivatives By David Abraham

Multivariable Calculus: Chapter 13: Topic Guide and Formulas (pgs ) * line segment notation above a variable indicates vector

11.1 Three-Dimensional Coordinate System

Mathcad Lecture #5 In-class Worksheet Plotting and Calculus

Exam 2 Review Solutions

Chapter 2 Lagrangian Modeling

Euler equations for multiple integrals

1 Matrices and matrix algebra

Rank, Trace, Determinant, Transpose an Inverse of a Matrix Let A be an n n square matrix: A = a11 a1 a1n a1 a an a n1 a n a nn nn where is the jth col

Lecture 1b. Differential operators and orthogonal coordinates. Partial derivatives. Divergence and divergence theorem. Gradient. A y. + A y y dy. 1b.

LB 220 Homework 4 Solutions

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics. MATH A Test #2. June 25, 2014 SOLUTIONS

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

Pure Further Mathematics 1. Revision Notes

Students need encouragement. So if a student gets an answer right, tell them it was a lucky guess. That way, they develop a good, lucky feeling.

Multiple Integrals and Vector Calculus: Synopsis

Mathematical Review Problems

Differentiation Rules Derivatives of Polynomials and Exponential Functions

JUST THE MATHS UNIT NUMBER DIFFERENTIATION 2 (Rates of change) A.J.Hobson

ECE 6310 Spring 2012 Exam 1 Solutions. Balanis The electric fields are given by. E r = ˆxe jβ 0 z

AP Calculus AB One Last Mega Review Packet of Stuff. Take the derivative of the following. 1.) 3.) 5.) 7.) Determine the limit of the following.

1 Lecture 20: Implicit differentiation

Solutions to Math 41 Second Exam November 4, 2010

Math 32A Review Sheet

Outline. MS121: IT Mathematics. Differentiation Rules for Differentiation: Part 1. Outline. Dublin City University 4 The Quotient Rule

Math 2163, Practice Exam II, Solution

PRACTICE PROBLEMS. Please let me know if you find any mistakes in the text so that i can fix them. 1. Mixed partial derivatives.

Ma 1c Practical - Solutions to Homework Set 7

International Journal of Pure and Applied Mathematics Volume 35 No , ON PYTHAGOREAN QUADRUPLES Edray Goins 1, Alain Togbé 2

Math 263 Final. (b) The cross product is. i j k c. =< c 1, 1, 1 >

7.6 The Inverse of a Square Matrix

Math Chapter 2 Essentials of Calculus by James Stewart Prepared by Jason Gaddis

Calculus III. Math 233 Spring Final exam May 3rd. Suggested solutions

Many problems in physics, engineering, and chemistry fall in a general class of equations of the form. d dx. d dx

Solutions to MATH 271 Test #3H

cosh x sinh x So writing t = tan(x/2) we have 6.4 Integration using tan(x/2) = 2 2t 1 + t 2 cos x = 1 t2 We will revisit the double angle identities:

4.3 Equations in 3-space

IMPLICIT DIFFERENTIATION

Review for the Final Exam

Jim Lambers MAT 280 Summer Semester Practice Final Exam Solution. dy + xz dz = x(t)y(t) dt. t 3 (4t 3 ) + e t2 (2t) + t 7 (3t 2 ) dt

February 21 Math 1190 sec. 63 Spring 2017

Chapter 6: Vector Analysis

Math 11 Fall 2016 Section 1 Monday, September 19, Definition: A vector parametric equation for the line parallel to vector v = x v, y v, z v

What is a Linear Space/Vector Space?

? D. 3 x 2 2 y. D Pi r ^ 2 h, r. 4 y. D 3 x ^ 3 2 y ^ 2, y, y. D 4 x 3 y 2 z ^5, z, 2, y, x. This means take partial z first then partial x

Vectors, dot product, and cross product

016A Homework 10 Solution

MATHEMATICAL METHODS

6.642, Continuum Electromechanics Prof. Markus Zahn Lecture 1: Review of Maxwell s Equations

Matrix Recipes. Javier R. Movellan. December 28, Copyright c 2004 Javier R. Movellan

Equations of lines in

Differentiation ( , 9.5)

CHAPTER 1 : DIFFERENTIABLE MANIFOLDS. 1.1 The definition of a differentiable manifold

3.7 Implicit Differentiation -- A Brief Introduction -- Student Notes

Hyperbolic Functions. Notice: this material must not be used as a substitute for attending. the lectures

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

8. Find r a! r b. a) r a = [3, 2, 7], r b = [ 1, 4, 5] b) r a = [ 5, 6, 7], r b = [2, 7, 4]

Practice Problems for Exam 3 (Solutions) 1. Let F(x, y) = xyi+(y 3x)j, and let C be the curve r(t) = ti+(3t t 2 )j for 0 t 2. Compute F dr.

Homework 1/Solutions. Graded Exercises

23 Implicit differentiation

Final Exam Study Guide and Practice Problems Solutions

송석호 ( 물리학과 )

Lecture XII. where Φ is called the potential function. Let us introduce spherical coordinates defined through the relations

f. D that is, F dr = c c = [2"' (-a sin t)( -a sin t) + (a cos t)(a cost) dt = f2"' dt = 2

Vector Calculus - GATE Study Material in PDF

Potential due to thin disk

Two Posts to Fill On School Board

CHAPTER 1 Systems of Linear Equations

LINE AND SURFACE INTEGRALS: A SUMMARY OF CALCULUS 3 UNIT 4

Fall 2016: Calculus I Final

8.022 (E&M) Lecture 19

Tangent Plane. Linear Approximation. The Gradient

2 ODEs Integrating Factors and Homogeneous Equations

The derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x)

Partial Differential Equations

Physics 5153 Classical Mechanics. The Virial Theorem and The Poisson Bracket-1

Tangent Planes, Linear Approximations and Differentiability

LINE AND SURFACE INTEGRALS: A SUMMARY OF CALCULUS 3 UNIT 4

SINGLE MATHEMATICS B : Vectors Summary Notes

Created by T. Madas VECTOR OPERATORS. Created by T. Madas

Math 115 Section 018 Course Note

Contents. MATH 32B-2 (18W) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables. 1 Multiple Integrals 3. 2 Vector Fields 9

MATH 52 FINAL EXAM SOLUTIONS

Math 180, Exam 2, Fall 2012 Problem 1 Solution. (a) The derivative is computed using the Chain Rule twice. 1 2 x x

Math 2153, Exam III, Apr. 17, 2008

Final Exam: Sat 12 Dec 2009, 09:00-12:00

MA 441 Advanced Engineering Mathematics I Assignments - Spring 2014

MAC Module 5 Vectors in 2-Space and 3-Space II

Short Review of Basic Mathematics

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Solutions to old Exam 3 problems

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

C4 "International A-level" (150 minute) papers: June 2014 and Specimen 1. C4 INTERNATIONAL A LEVEL PAPER JUNE 2014

MATH 332: Vector Analysis Summer 2005 Homework

Tensors, Fields Pt. 1 and the Lie Bracket Pt. 1

( ) ( ) ( ) ( ) Calculus III - Problem Drill 24: Stokes and Divergence Theorem

Math 241, Exam 1 Information.

Transcription:

Electricity an Magnetism Computer Lab #: Vector algebra an calculus We are going to learn how to use MathCa. First we use MathCa as a calculator. Type: 54.4+.-(/5+4/5)^= To get the power we type hat. 54.4. 4 55.64 5 5 To get square root type \. For instance type: \/ space bar+.^=..6 Next we learn how to efine functions an variables. An important operator is the assign operator. Type colon. It shows as := Another important operator is until. Type semi-colon. It shows.. f( x) sin x sin x x 4π4 π. 4π sin 5x sin 7x sin x To type greek letters, e. g. π, you either use the Greek Symbol Toolbar or type the corresponing English letter followe by control g. To graph the function efine above click on the graph palette an choose xy plot. Then click on Format Graph an ajust the graph format to the esire form. 5 f( x) 5 9 9 5 5 x Copyright @Miron Kaufman 7

We raw a sphere using a D parametric graph. We use spherical coorinates. xrθ ( ϕ) rcos( ϕ) sin( θ) yrθ ( ϕ) rsin( ϕ) sin( θ) zrθ ( ϕ) rcos( θ) i 4 j 4 r θ π i ϕ π j i 4 j 4 X ij xrθ ϕ i j Y ij yrθ ϕ i j Z ij zrθ ϕ i j Now chose Graph Surface Plot. In the place holer type (X,Y,Z). ( XY Z) Besie assign (efinition) := an evaluate numerically = operators, we can also use evalua symbolicaly (from evaluation toolbar). Compute volume of sphere: π π R r sin( θ) r ϕ θ 4πR Compute area of sphere: π π R sin( θ) ϕ θ 4πR Copyright @Miron Kaufman 7

We graph next a cyliner, by using cylinrical coorinates. s x( sϕ ζ) scos( ϕ) y( sϕ ζ) ssin( ϕ) z( sϕ ζ) ζ i 4 j 4 ϕ π i j ζ i 4 j X ij xsϕ ζ i j Y ij ysϕ ζ i j Z ij zsϕ ζ i j ( XY Z) Compute volume of cyliner: Compute lateral area of cyliner: H π R s s ϕ z H π R ϕ z πhr πhr Copyright @Miron Kaufman 7

Creating a vector: Use the insert matrix comman. V V Dot prouct: VV Note that the ot prouct oes not work with vectors efine as rows: V ( ) V4 ( 4 ) V V4 Cross prouct: Z Y Z Y The cross prouct oes not work unless the vectors have three elements: 5 Transpose: Z T ( ) Y T ( ) Z T Y T Z T Y T Note that the cross an ot proucts o not work with vectors efine as rows. Copyright @Miron Kaufman 7 4

Matrices, Determinants: M M T M M T M Note that if eterminant of matrix is zero there is no inverse. M M T M 6 M T 6.5 M.5.5.5.5.5.5.5 Note the eterminant of transpose matrix equals eterminant of original matrix. MM M M This is ientity matrix. M.6 M M M 5 MM 8 6 4 MM 7 6 5 6 5 8 Matrix prouct is not commutative. MM 68 M M 68 Determinant of prouct equals prouct of eterminants. Copyright @Miron Kaufman 7 5

Vector Triple Prouct: A.5 B.. 5. C.5.5.5 We verify Ax(BxC)= (A*C)B-(A*B)C.65 B C 6.8 A ( B C).95 AB 9.5 AC.5 ( AC ) B ( AB ) C 5.7 4.65.9 5.7 4.65.9 We verify (AxB)xC = (A*C)B - (B*C)A.8 A B 7.85 ( A B) C AC.5 BC 4. 4. ( AC )B ( BC) A 9.45. 4.75 9.45. 4.75 Scalar Triple Prouct: Equals the volume of the parallelipipe generate by A, B, C. We verify A*(BxC) = C*(AxB) = B*(AxC) = (AxB)*C A( B C) 45.5 C( A B) 45.5 B( C A) 45.5 ( A B) C 45.5 6 Copyright @Miron Kaufman 7

Graient, Divergence, Curl, Laplacean: To insert the graient (el) operator, press [Ctrl] [Shift] G: Type the variable vector in the lower placeholer, an type the function in the upper placeholer. To illustrate this we consier the potential of a point-like charge Q locate at the origin. Up to a multiplicative constant Q/ε, it is: V( R) R R R To evaluate the graient we nee to use the evaluate symbolically operator (you fin it in Evaluation Toolbar an in Symbolic Toolbar). VR ( ) R R R R R R R R R R R R R Copyright @Miron Kaufman 7 7

The electric fiel is the negative of graient of potential: Exy ( z ) x x y z y x y z z x y z The ivergence operator * an the curl operator x are efine next. iv( Ax y z ) x Ax ( yz ) y Ax ( yz ) z Ax ( yz ) curl( Ax y z ) y Ax ( yz ) z Ax ( yz ) z Ax ( yz ) x Ax ( yz ) x Ax ( yz ) y Ax ( yz ) For the electrical fiel E of a point charge at location away from charge location: the Gauss law is *E= an the Faraay law is xe =. Also the potential V, E = - V, satisfies the Laplace equation V =. We verify this next. iv( Exxyyzz) simplify laplacean( Fx y z ) V( xy z ) x y z Fx ( yz ) x Fx ( yz ) y curl( Exxyyzz) Fx ( yz ) z laplacean( Vxxyyzz) simplify Copyright @Miron Kaufman 7 8

By using vector fiel graph we can visualize the lines of electric fiel. Ex( xy z ) x x y z Ey( xy z ) y x y z Ez( xy z ) z x y z i j X ij ex ij i. 6 Ex X Y ij ij Ex X Y ij ij Y ij j EyX Y ij ij. 6 ey ij The reason we a the -6 to the coorinates X an Y is to evaluate the fiel away from the origin (where the charge particle is locate) where E is infinite. Ex X Y ij ij Ey X Y ij ij EyX Y ij ij ( exey) Copyright @Miron Kaufman 7 9

Griffiths Ch. Problem Calculate the graients of the following functions. xxyy xxyy xx yy zz 4 zz xx yy zz 4 zz e xx sin( yy) ln( zz) xxyyzz xx yy 4zz xx yy zz 4 xx yy zz 4 4xx yy zz e xx sin( yy) ln( zz) e xx cos( yy) ln( zz) e xx sin( yy) zz Copyright @Miron Kaufman 7

Griffiths Ch. Problems 5, 8 Calculate ivergence an curl of the following functions. va( xy z ) x x z xz iv( vaxxyyzz) curl( vaxxyyzz) 6xxzz zz zz vb( xy z ) xy y z z x iv( vbxxyyzz) xx yy zz curl( vbxxyyzz) yy zz xx vc( xy z ) y x y z y z iv( vcxxyyzz) xx yy curl( vcxxyyzz) Copyright @Miron Kaufman 7