Vectors and Vector Arithmetic

Size: px
Start display at page:

Download "Vectors and Vector Arithmetic"

Transcription

1 Vectors and Vector Arithmetic Introduction and Goals: The purpose of this lab is to become familiar with the syntax of Maple commands for manipulating and graphing vectors. It will introduce you to basic vector defining and manipulation using Maple. By the end of the lab we hope that you will be comfortable defining, manipulating and graphing vectors. We also hope that you will obtain the expertise to use these concepts to solve more involved problems that use vector arithmetic in their solution. Before You Start: Before you start this lab you should be familiar with the basic concepts of vectors and vector arithmetic, such as addition, subtraction, scalar multiplication, dot product and cross product. Furthermore, you should know how to calculate work and torque. Textbook Correspondence: Stewart 5 th Edition: Stewart 5 th Edition Early Transcendentals: Thomas Calculus 10 th Edition Early Transcendentals: 9.1, 9.2, 10.1, Johnston & Mathews Calculus: Maple Commands and Packages Used: Packages: linalg and plots. Commands: vector, evalm, arrow, crossprod, dotprod. History & Biographies: Maple Commands Defining a Vector: To define a vector in Maple we first need to load the linear algebra package. Maple treats vectors as 1 n matrices, much like we do. Execute the following command, > with(linalg): Warning, the protected names norm and trace have been redefined and unprotected

2 You will get a warning that the functions norm and trace have been redefined. Don t worry about it, everything is fine. As with just about everything in Maple there are many different ways to do the same thing. If you find other series of commands that accomplish the same task and you find them easier to use, feel free to use them. As always, we will use the commands that are, in our opinion, the easiest and most straightforward to accomplish the tasks needed. To define a vector v as 1,2, 3 we use the command > v:=[1, 2, 3]; v := [ 1, 2, 3 ] Note that the Maple output is in matrix form. Again, Maple is viewing a vector as an 1 n matrix. We can define vectors of any dimension. For example, the commands > v:=[1, 2, 3, 4, 5, 6]; v := [ 1, 2, 3, 4, 5, 6 ] > v:=[1, 2]; > v:=[x, y, z, w]; v := [ 1, 2 ] v := [ x, y, z, w ] define v as a 6, 2 and 4 dimensional vector respectively. Another way to define a vector is as a column vector, that is, an n 1 matrix. To do this we simply put the vector components inside angled brackets. For example, the following commands define two vectors > t:=<5,-3,2>; > s:=<1,0,-4>; t := s := Arithmetic: Define two vectors in your worksheet, v as 1,2, 3 and w as 1,3, 5 > v:=[1, 2, 3];

3 v := [ 1, 2, 3 ] > w:=[-1, 3, 5]; w := [ -1, 3, 5 ] Vector arithmetic is as easy as numeric arithmetic in Maple, simply input the vector expression. > v+w; > v-w; > 2*v+5*w; [ 0, 5, 8 ] [ 2, -1, -2] [-3, 19, 31 ] To do dot and cross products we use the two commands dotprod and crossprod. Execute the following commands, > dotprod(v,w); > crossprod(v,w); 20 [ 1, -8, 5 ] We can use column vectors in exactly the same way as row vectors. For example, execute the commands > s+t; > 3*s-2*t; The dot and cross products are done in the same way as well. Notice that the output of the cross product is in row vector form and not column vector form like the input vectors. > dotprod(s,t); -3 > crossprod(s,t);

4 [-12, -22, -3] Furthermore, we can use both forms together in arithmetic expressions, with a little alteration. For example, if we wish to add v and s together the following command produces, > v+s; [ 1, 2, 3 ] which is not what we wanted, although it is correct. If you have had or are taking a course in Linear Algebra you may be surprised with the output. In Linear Algebra you find that you can only add two matrices if they are the same size. Since v is a 1 3 matrix and s is a 3 1 matrix under the strict rules of matrix addition Maple should produce an error here. Instead Maple simply output the question because it knows that the matrix addition is undefined but it is not sure what calculation the user had in mind. Its answer is in essence asking the user to be a bit more specific. To get Maple to see v and s as vectors of the same size and perform the calculation we need to use the command evalm which is a general matrix evaluation command. Execute the following command, > evalm(v+s); [ 2, 2, -1] In this command, Maple converted s to a 1 3 matrix and then did the addition. In general, Maple tries to adjust the form of its inputs to complete the desired command and if it can t there are sometimes extra commands that will do the conversions. The commands below show that the dot and cross product functions also adjust the inputs to complete the calculation. > dotprod(v,t); > crossprod(v,s); 5 [-8, 7, -2] > dotprod(crossprod(v,s),t); -65 In many cases the column vector notation is easier to work with in Maple but since it is customary to write a vector as a row vector, at least in Calculus, we will stick with the row vector notation.

5 When calculating the cross product of two vectors by hand you usually place the vectors in a 3 3 matrix as the second and third rows with an i, j, k row at the top and then take the determinant of the matrix. Although there is a cross product command you can find the cross product using this technique. First define the matrix using the syntax below > A:=matrix([[i,j,k],[1,2,3],[-1,3,5]]); i j k A := and then calculate the determinant using the det command. > det(a); i 8 j + 5 k The major difference between these methods is that the result here is not a vector, at least Maple does not see this as a vector. Maple is treating i, j and k as variables so the output expression is really a polynomial of three variables. All in all the above method is good to see but the crossprod command is better to use for most applications. The length of a vector is obtained using the norm command. For example, to find the length of the vector v we use the following command, > norm(v,2); 14 Note the 2 as the second argument. There are many different norms in mathematics and you will see a few of them in your undergraduate career. The norm function in Maple is designed to calculate several of the norms we encounter in mathematics, so we must tell it which norm we want to find the length of a vector. Since the norm we need is the 2- norm (the Pythagorean theorem calculation) we use a 2 as the second argument. In the exercises we will use these commands to do some standard but more involved calculation such as determining the angle between two vectors, projections of a vector onto another, torque and the scalar triple product. Graphing Vectors: As with all graphics commands in Maple, the vector plotting commands have many options and styles. We will look at some of the basic options and styles for vectors here but we will not look at an exhaustive list of them. For more information on all of the vector plotting options your version of Maple has please refer to the Maple help system or one of the printed manuals. Also, most of the plotting commands needed for vector and multivariable Calculus are not loaded into Maple on startup so we need to load another package. The plots package will contain all of the extended graphics routines for

6 vector and multivariable Calculus that will be used in these labs. To load the plots package, like any other package, execute the following command. > with(plots): Warning, the name changecoords has been redefined Plotting vectors in Maple is done with the arrow command. For example the following command > arrow(w, axes=boxed); produces the figure to the right. The axes=boxed option simply places the boxed axes around the vector. If we omit this option and simply use the command arrow(w); we would get the vector arrow but not the box around it. We can change the size and style of the vectors to better suit our visual needs. For example, in the last figure the vector is a bit fat. We tend to think of vectors, graphically, as directed line segments and hence we usually draw them as thin lines and not large cylinders. We can change the width with the width option added to the arrow command. For example, execute the following command. > arrow(w, width=0.1, axes=boxed); This produces the image to the right. All it did was take the default width of the vector and made it a tenth of its size. To draw a vector as a directed line segment, with no width you might try the command, > arrow(w, width=0, axes=boxed); Unfortunately, this does not work the way we want it to. In fact, all we get from this command is the box. To draw vectors as line segments and not cylinders we use the shape option with either arrow or harpoon as the value. For example, execute the following commands. > arrow(w, shape=arrow, axes=boxed); > arrow(w, shape=harpoon, axes=boxed);

7 These commands produce the following images respectively. The main difference between the two is that the arrow option puts a double-sided arrow on the vector and the harpoon option puts a single-sided arrow on the end. If you have trouble seeing the arrows add the color option to the arrow plotting command. For example, > arrow(w, shape=arrow, color=black, axes=boxed); When displaying many vectors at once it is usually better to have the vectors as thin as possible. For example, the command > arrow({seq(<sin(i), sin(i^2), sin(i^3)>, i=1..500)}, shape=arrow, scaling=constrained, axes=framed); produces the image to the right. We will look at two more shape option values, double_arrow and cylindrical_arrow. The cylindrical_arrow option is the default that produces the cylinder type vectors we saw above and the double_arrow option produces a flat arrow with some width to it. For example, execute the following command.

8 > arrow(w, shape=double_arrow, axes=boxed); This produces the following images. When you move the display around you can see that the arrow is in fact flat. As mentioned above, the cylindrical_arrow option is the default. So executing the command, > arrow(w, shape=cylindrical_arrow, axes=boxed); produces the same image as we had with the command arrow(w, axes=boxed); Selecting the 1:1 button gives the following image. Moving this image around makes it clear that the vector is graphically produced using a cylinder and a cone.

9 To plot several vectors together you use syntax similar to the syntax used to plot several functions on the same set of axes. Combine the set of vectors you wish to plot together into a list delimited by curly brackets. For example, > arrow({w, v}, shape=arrow, color=black, axes=boxed); produces the image to the right. We can do the same thing by first creating a list of vectors and then plotting them. For example, the sequence of commands > VL:= {v,w}; VL := { v, w } > arrow(vl, shape=arrow, color=black, axes=boxed); produces the same figure as above. Let s use this to visualize the cross product of two vectors. From your reading you know that the cross product of two vectors produces a vector that is orthogonal to both vectors in the cross product. If we take the cross product of the vectors v and w and set the result to the vector s we can visualize the cross product as follows. > s:=crossprod(v,w); s := [ 1, -8, 5 ] > VL:= {v,w,s}; VL := { w, s, v } > arrow(vl, shape=arrow, color=black, axes=boxed);

10 Make sure that you select 1:1 to get the image to the right. Another feature of the arrow command is that we can draw a vector starting at any point we wish. For example, the command > arrow(v,w, shape=arrow, axes=boxed, color=black); produces the image below. Note that this is the vector w moved so that its beginning point is at the position of the vector v, as a point. We can place a set of vectors as the second argument to draw the entire set beginning at the same starting point. For example, > t:=[5,-3,2]; t := [ 5, -3, 2 ] > arrow(v,{w,t}, shape=arrow, axes=boxed, color=black); produces the image to the right. If we place a set of vectors as the first argument Maple will graph the second set of vectors at each of the beginning points defined in the first set of vectors. For example, > arrow({v,w},{w,t}, shape=arrow, axes=boxed, color=black); produces,

11 Another option in the vector plotting command arrow is difference. If we include the option difference in the list of arguments the arrow command will plot a vector from the first vector, thinking of it as a point, to the second vector, also thinking of it as a point. For example, the command > arrow(v,w, difference, shape=arrow, axes=boxed, color=black); produces the image to the right. Exercises: 1. The angle between two vectors. a. Write the mathematical formula for finding the angle between two vectors, v and w. b. Convert the mathematical formula into Maple syntax. c. Define the function AngBet(v,w) that takes two vectors v and w as input and returns the numerical angle, in radians, between the two vectors v and w. This may be the first time that you have defined a function of two variables. Defining functions of several variables is just as easy as defining functions of a single 2 variable. For example, to define the function f ( x) = x in Maple you simply input > f:=x->x^2; f := x x 2 Recall that the := is to define f as a function and the -> defines the rule that takes x to x 2. For functions of more than one variable the syntax is nearly identical, the

12 only difference is that we need to put more than one variable between the := and the ->. This is done by placing all of the variables inside parentheses separated 2 3 by commas. For example to define the function f ( x, y) = x y we use the command, > f:=(x,y)->x^2-y^3; f := ( x, y ) x 2 y 3 So the beginning of the AngBet command you will write will look like > AngBet:=(v,w)-> d. Define the function AngBetDeg(v,w) that takes two vectors v and w as input and returns the numerical angle, in degrees, between the two vectors v and w. e. Use these commands to find the angle between each of the following sets of vectors. i. 1,4, 2 and 3,5, 7. ii. 3,7, 9 and 2,1, 6. iii. 2, 5 and 5, 2. iv. 1,2,3,4, 5 and 4,6,2,7, 15. v. a, b, c and x, y, z. 2. The projection of one vector onto another. a. Write the mathematical formula for finding the projection of the vector v onto the vector w. b. Convert the mathematical formula into Maple syntax. c. Define the function VecProj(v,w) that takes two vectors v and w as input and returns the projection of the vector v onto the vector w. d. Use this command to find the projections of the first vectors onto the second for each of the following pairs of vectors. i. 1,4, 2 and 3,5, 7. ii. 3,7, 9 and 2,1, 6. iii. 2, 5 and 5, 2. e. For each pair above, plot the two vectors given along with the calculated projection. 3. The scalar triple product of three vectors. a. Write the mathematical formula for finding the scalar triple product of the vectors u, v and w. b. Convert the mathematical formula into Maple syntax. c. Define the function STP(u,v,w) that takes three vectors u, v and w as input and returns the scalar triple product of the vectors.

13 d. Use this command to find the scalar triple product of 1,4, 2, 3,5, 7 and 2,1,6. e. Using the arrow function and the display function create an image of the parallelepiped formed by the vectors 1,4, 2, 3,5, 7 and 2,1, 6. f. What is the volume of this parallelepiped? 4. Torque. a. Write the mathematical formula for finding the torque given a force vector F and a position vector r. b. Convert the mathematical formula into Maple syntax. c. Define the function Torque(F,r) that takes two vectors F and r as input and returns the torque of the system. d. Consider the following fulcrum system below. W is a large weight weighing 1500 Kilograms, the length AB is 2 meters, the length BC is 38 cm and the length BD is 20 cm. A force F is applied at A straight down. i. What is the torque at B needed to begin to lift the weight? ii. What assumptions were made in the above calculation? iii. What is the magnitude of the force F needed to begin to move the weight? iv. Assuming that the force F is always pointing down, find a function for the amount of force needed to lift the weight in terms of the angle θ which is the angle between BC and BD. v. Graph the function you derived above for θ between the at rest angle (shown in the picture) and 90 o. vi. From the graph, interpret the amount of effort you would be exerting to lift the weight 20 cm. vii. How would the calculations change if we were to remove some of the assumptions listed in the second part? That is, for each assumption you made describe the necessary alterations to the calculations if the assumption were removed. You do not need to redo the calculations. e. Consider the following fulcrum system below. W is a large weight weighing 1500 Kilograms, the length AB is 2 meters, the length BC is 38 cm and the length BD is 20 cm. A force F is applied at A perpendicular to AC.

14 i. What is the torque at B needed to begin to lift the weight? ii. What assumptions were made in the above calculation? iii. What is the magnitude of the force F needed to begin to move the weight? iv. Assuming that the force F is always perpendicular to AC, find a function for the amount of force needed to lift the weight in terms of the angle θ which is the angle between BC and BD. v. Graph the function you derived above for θ between the at rest angle (shown in the picture) and 90 o. vi. From the graph, interpret the amount of effort you would be exerting to lift the weight 20 cm. vii. How would the calculations change if we were to remove some of the assumptions listed in the second part? That is, for each assumption you made describe the necessary alterations to the calculations if the assumption were removed. You do not need to redo the calculations. f. Consider the following fulcrum system below. W is a large weight weighing 1500 Kilograms, the length AB is 2 meters, the length BC is 38 cm, the length BD is 20 cm and the length DE is 2.5 meters. A rope is tied to A and goes around a pulley at E so that the force F applied at A is always in the direction of AE. i. What is the torque at B needed to begin to lift the weight? ii. What assumptions were made in the above calculation? iii. What is the magnitude of the force F needed to begin to move the weight?

15 iv. Assuming that the force F is always in the direction of AE, find a function for the amount of force needed to lift the weight in terms of the angle θ which is the angle between BC and BD. v. Graph the function you derived above for θ between the at rest angle (shown in the picture) and 90 o. vi. From the graph, interpret the amount of effort you would be exerting to lift the weight 20 cm. vii. How would the calculations change if we were to remove some of the assumptions listed in the second part? That is, for each assumption you made describe the necessary alterations to the calculations if the assumption were removed. You do not need to redo the calculations. g. Compare and contrast the three force graphs you obtained above. From them, select the method you would use to lift the weight. What were the reasons for your choice, be as explicit as possible?

Double Integrals using Riemann Sums

Double Integrals using Riemann Sums Double Integrals using Riemann Sums Introduction and Goals: The goal of this lab is to become more familiar with Riemann sums both as a definition for the double integral and as an approximation method

More information

Exploring the Mathematics Behind Skateboarding: Analysis of the Directional Derivative

Exploring the Mathematics Behind Skateboarding: Analysis of the Directional Derivative Exploring the Mathematics Behind Skateboarding: Analysis of the Directional Derivative Chapter 13, Section 6 Adapted from a worksheet prepared for Thomas' Calculus, Finney, Weir, Giordano updated for Maple

More information

Vector Valued Functions

Vector Valued Functions Vector Valued Functions Introduction and Goals: The main goal of this lab will help you visualie the graphs of vector-valued functions and their tangent vectors. Moreover, we want you to begin to view

More information

Distance in the Plane

Distance in the Plane Distance in the Plane The absolute value function is defined as { x if x 0; and x = x if x < 0. If the number a is positive or zero, then a = a. If a is negative, then a is the number you d get by erasing

More information

Vectors Year 12 Term 1

Vectors Year 12 Term 1 Vectors Year 12 Term 1 1 Vectors - A Vector has Two properties Magnitude and Direction - A vector is usually denoted in bold, like vector a, or a, or many others. In 2D - a = xı + yȷ - a = x, y - where,

More information

Vector Geometry. Chapter 5

Vector Geometry. Chapter 5 Chapter 5 Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at

More information

12.3 Curvature, torsion and the TNB frame

12.3 Curvature, torsion and the TNB frame 1.3 Curvature, torsion and the TNB frame Acknowledgments: Material from a Georgia Tech worksheet by Jim Herod, School of Mathematics, herod@math.gatech.edu, is incorporated into the section on curvature,

More information

4.1 Distance and Length

4.1 Distance and Length Chapter Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at vectors

More information

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2. Midterm 1 Review Comments about the midterm The midterm will consist of five questions and will test on material from the first seven lectures the material given below. No calculus either single variable

More information

Vector Basics, with Exercises

Vector Basics, with Exercises Math 230 Spring 09 Vector Basics, with Exercises This sheet is designed to follow the GeoGebra Introduction to Vectors. It includes a summary of some of the properties of vectors, as well as homework exercises.

More information

(arrows denote positive direction)

(arrows denote positive direction) 12 Chapter 12 12.1 3-dimensional Coordinate System The 3-dimensional coordinate system we use are coordinates on R 3. The coordinate is presented as a triple of numbers: (a,b,c). In the Cartesian coordinate

More information

1 Review of the dot product

1 Review of the dot product Any typographical or other corrections about these notes are welcome. Review of the dot product The dot product on R n is an operation that takes two vectors and returns a number. It is defined by n u

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018 ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 2017/2018 DR. ANTHONY BROWN 1. Arithmetic and Algebra 1.1. Arithmetic of Numbers. While we have calculators and computers

More information

Mathematics with Maple

Mathematics with Maple Mathematics with Maple A Comprehensive E-Book Harald Pleym Preface The main objective of these Maple worksheets, organized for use with all Maple versions from Maple 14, is to show how the computer algebra

More information

Main topics for the First Midterm Exam

Main topics for the First Midterm Exam Main topics for the First Midterm Exam The final will cover Sections.-.0, 2.-2.5, and 4.. This is roughly the material from first three homeworks and three quizzes, in addition to the lecture on Monday,

More information

MAHAPATRA218FALL12 ( MPMAHAPATRA218FALL12 )

MAHAPATRA218FALL12 ( MPMAHAPATRA218FALL12 ) Logged in as Rupak Mahapatra, Instructor Help Log Out MAHAPATRA218FALL12 ( MPMAHAPATRA218FALL12 ) My Courses Course Settings Course Home Assignments Roster Gradebook Item Library University Physics with

More information

102 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE

102 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE 102 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE 3.4 Cross Product 3.4.1 De nitions Unlike the dot product, the cross product is only de ned for 3-D vectors. In this section, when we use the word vector,

More information

Lab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations

Lab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations Lab 2 Worksheet Problems Problem : Geometry and Linear Equations Linear algebra is, first and foremost, the study of systems of linear equations. You are going to encounter linear systems frequently in

More information

CHAPTER 4 VECTORS. Before we go any further, we must talk about vectors. They are such a useful tool for

CHAPTER 4 VECTORS. Before we go any further, we must talk about vectors. They are such a useful tool for CHAPTER 4 VECTORS Before we go any further, we must talk about vectors. They are such a useful tool for the things to come. The concept of a vector is deeply rooted in the understanding of physical mechanics

More information

LINEAR ALGEBRA KNOWLEDGE SURVEY

LINEAR ALGEBRA KNOWLEDGE SURVEY LINEAR ALGEBRA KNOWLEDGE SURVEY Instructions: This is a Knowledge Survey. For this assignment, I am only interested in your level of confidence about your ability to do the tasks on the following pages.

More information

Maximums and Minimums of Functions of Two Variables

Maximums and Minimums of Functions of Two Variables Maximums and Minimums of Functions of Two Variables Introduction and Goals: The goal of this lab is to become familiar with the Maple commands necessary to find maxima and minima of surfaces over a region.

More information

Maple in Calculus. by Harald Pleym. Maple Worksheets Supplementing. Edwards and Penney. CALCULUS 6th Edition Early Transcendentals - Matrix Version

Maple in Calculus. by Harald Pleym. Maple Worksheets Supplementing. Edwards and Penney. CALCULUS 6th Edition Early Transcendentals - Matrix Version Maple in Calculus by Harald Pleym Maple Worksheets Supplementing Preface Edwards and Penney CALCULUS 6th Edition Early Transcendentals - Matrix Version These worksheets provide a comprehensive Maple supplement

More information

Finding Limits Graphically and Numerically

Finding Limits Graphically and Numerically Finding Limits Graphically and Numerically 1. Welcome to finding limits graphically and numerically. My name is Tuesday Johnson and I m a lecturer at the University of Texas El Paso. 2. With each lecture

More information

Math Precalculus I University of Hawai i at Mānoa Spring

Math Precalculus I University of Hawai i at Mānoa Spring Math 135 - Precalculus I University of Hawai i at Mānoa Spring - 2013 Created for Math 135, Spring 2008 by Lukasz Grabarek and Michael Joyce Send comments and corrections to lukasz@math.hawaii.edu Contents

More information

Chapter Five Notes N P U2C5

Chapter Five Notes N P U2C5 Chapter Five Notes N P UC5 Name Period Section 5.: Linear and Quadratic Functions with Modeling In every math class you have had since algebra you have worked with equations. Most of those equations have

More information

Figure Two. Then the two vector equations of equilibrium are equivalent to three scalar equations:

Figure Two. Then the two vector equations of equilibrium are equivalent to three scalar equations: 2004- v 10/16 2. The resultant external torque (the vector sum of all external torques) acting on the body must be zero about any origin. These conditions can be written as equations: F = 0 = 0 where the

More information

Worksheet 1.4: Geometry of the Dot and Cross Products

Worksheet 1.4: Geometry of the Dot and Cross Products Boise State Math 275 (Ultman) Worksheet 1.4: Geometry of the Dot and Cross Products From the Toolbox (what you need from previous classes): Basic algebra and trigonometry: be able to solve quadratic equations,

More information

SECTION 6.3: VECTORS IN THE PLANE

SECTION 6.3: VECTORS IN THE PLANE (Section 6.3: Vectors in the Plane) 6.18 SECTION 6.3: VECTORS IN THE PLANE Assume a, b, c, and d are real numbers. PART A: INTRO A scalar has magnitude but not direction. We think of real numbers as scalars,

More information

Physics 212E Spring 2004 Classical and Modern Physics. Computer Exercise #2

Physics 212E Spring 2004 Classical and Modern Physics. Computer Exercise #2 Physics 212E Spring 2004 Classical and Modern Physics Chowdary Computer Exercise #2 Launch Mathematica by clicking on the Start menu (lower left hand corner of the screen); from there go up to Science

More information

Science Olympiad. Machines. Roger Demos

Science Olympiad. Machines. Roger Demos Science Olympiad Machines. Roger Demos Some Basic Physics Concepts What do Machines do? Do they allow one to do more work? Not really, at best they make completing a task easier. So then what do Machines

More information

CSCI 239 Discrete Structures of Computer Science Lab 6 Vectors and Matrices

CSCI 239 Discrete Structures of Computer Science Lab 6 Vectors and Matrices CSCI 239 Discrete Structures of Computer Science Lab 6 Vectors and Matrices This lab consists of exercises on real-valued vectors and matrices. Most of the exercises will required pencil and paper. Put

More information

Pre-calculus is the stepping stone for Calculus. It s the final hurdle after all those years of

Pre-calculus is the stepping stone for Calculus. It s the final hurdle after all those years of Chapter 1 Beginning at the Very Beginning: Pre-Pre-Calculus In This Chapter Brushing up on order of operations Solving equalities Graphing equalities and inequalities Finding distance, midpoint, and slope

More information

Notes on multivariable calculus

Notes on multivariable calculus Notes on multivariable calculus Jonathan Wise February 2, 2010 1 Review of trigonometry Trigonometry is essentially the study of the relationship between polar coordinates and Cartesian coordinates in

More information

Calculus 1 for AE (WI1421LR) Lecture 1: 12.3 The dot product 12.4 The cross product

Calculus 1 for AE (WI1421LR) Lecture 1: 12.3 The dot product 12.4 The cross product Calculus 1 for AE (WI1421LR) : 12.3 The dot product 12.4 The cross product About this course Textbook James Stewart, Calculus, Early Transcendentals, 7th edition Course Coordinator Dr. Roelof Koekoek,

More information

1. Vectors.

1. Vectors. 1. Vectors 1.1 Vectors and Matrices Linear algebra is concerned with two basic kinds of quantities: vectors and matrices. 1.1 Vectors and Matrices Scalars and Vectors - Scalar: a numerical value denoted

More information

MATH 12 CLASS 2 NOTES, SEP Contents. 2. Dot product: determining the angle between two vectors 2

MATH 12 CLASS 2 NOTES, SEP Contents. 2. Dot product: determining the angle between two vectors 2 MATH 12 CLASS 2 NOTES, SEP 23 2011 Contents 1. Dot product: definition, basic properties 1 2. Dot product: determining the angle between two vectors 2 Quick links to definitions/theorems Dot product definition

More information

Physics 6A Lab Experiment 6

Physics 6A Lab Experiment 6 Biceps Muscle Model Physics 6A Lab Experiment 6 Introduction This lab will begin with some warm-up exercises to familiarize yourself with the theory, as well as the experimental setup. Then you ll move

More information

The geometry of least squares

The geometry of least squares The geometry of least squares We can think of a vector as a point in space, where the elements of the vector are the coordinates of the point. Consider for example, the following vector s: t = ( 4, 0),

More information

College Algebra Through Problem Solving (2018 Edition)

College Algebra Through Problem Solving (2018 Edition) City University of New York (CUNY) CUNY Academic Works Open Educational Resources Queensborough Community College Winter 1-25-2018 College Algebra Through Problem Solving (2018 Edition) Danielle Cifone

More information

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space Chapter 13: Vectors and the Geometry of Space 13.1 3-Dimensional Coordinate System 13.2 Vectors 13.3 The Dot Product 13.4 The Cross Product 13.5 Equations of Lines and Planes 13.6 Cylinders and Quadratic

More information

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space Chapter 13: Vectors and the Geometry of Space 13.1 3-Dimensional Coordinate System 13.2 Vectors 13.3 The Dot Product 13.4 The Cross Product 13.5 Equations of Lines and Planes 13.6 Cylinders and Quadratic

More information

Chapter 1 Review of Equations and Inequalities

Chapter 1 Review of Equations and Inequalities Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve

More information

NOTES ON VECTORS, PLANES, AND LINES

NOTES ON VECTORS, PLANES, AND LINES NOTES ON VECTORS, PLANES, AND LINES DAVID BEN MCREYNOLDS 1. Vectors I assume that the reader is familiar with the basic notion of a vector. The important feature of the vector is that it has a magnitude

More information

Dot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem.

Dot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem. Dot Products K. Behrend April 3, 008 Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem. Contents The dot product 3. Length of a vector........................

More information

If the pull is downward (Fig. 1), we want C to point into the page. If the pull is upward (Fig. 2), we want C to point out of the page.

If the pull is downward (Fig. 1), we want C to point into the page. If the pull is upward (Fig. 2), we want C to point out of the page. 11.5 Cross Product Contemporary Calculus 1 11.5 CROSS PRODUCT This section is the final one about the arithmetic of vectors, and it introduces a second type of vector vector multiplication called the cross

More information

Please read this introductory material carefully; it covers topics you might not yet have seen in class.

Please read this introductory material carefully; it covers topics you might not yet have seen in class. b Lab Physics 211 Lab 10 Torque What You Need To Know: Please read this introductory material carefully; it covers topics you might not yet have seen in class. F (a) (b) FIGURE 1 Forces acting on an object

More information

Course Notes Math 275 Boise State University. Shari Ultman

Course Notes Math 275 Boise State University. Shari Ultman Course Notes Math 275 Boise State University Shari Ultman Fall 2017 Contents 1 Vectors 1 1.1 Introduction to 3-Space & Vectors.............. 3 1.2 Working With Vectors.................... 7 1.3 Introduction

More information

Vector components and motion

Vector components and motion Vector components and motion Objectives Distinguish between vectors and scalars and give examples of each. Use vector diagrams to interpret the relationships among vector quantities such as force and acceleration.

More information

Linear Algebra in Derive 6. David Jeffrey, New FACTOR commands in Derive 6

Linear Algebra in Derive 6. David Jeffrey, New FACTOR commands in Derive 6 Linear Algebra in Derive 6 David Jeffrey, Applied Mathematics, UWO and ORCCA - Ontario Research Centre for Computer Algebra Slides given at TIME 2004 conference at ETS in Montreal. Please read in conjunction

More information

Slope Fields: Graphing Solutions Without the Solutions

Slope Fields: Graphing Solutions Without the Solutions 8 Slope Fields: Graphing Solutions Without the Solutions Up to now, our efforts have been directed mainly towards finding formulas or equations describing solutions to given differential equations. Then,

More information

22 Approximations - the method of least squares (1)

22 Approximations - the method of least squares (1) 22 Approximations - the method of least squares () Suppose that for some y, the equation Ax = y has no solutions It may happpen that this is an important problem and we can t just forget about it If we

More information

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction MAT4 : Introduction to Applied Linear Algebra Mike Newman fall 7 9. Projections introduction One reason to consider projections is to understand approximate solutions to linear systems. A common example

More information

Math (P)Review Part II:

Math (P)Review Part II: Math (P)Review Part II: Vector Calculus Computer Graphics Assignment 0.5 (Out today!) Same story as last homework; second part on vector calculus. Slightly fewer questions Last Time: Linear Algebra Touched

More information

Getting Started with Communications Engineering

Getting Started with Communications Engineering 1 Linear algebra is the algebra of linear equations: the term linear being used in the same sense as in linear functions, such as: which is the equation of a straight line. y ax c (0.1) Of course, if we

More information

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4 MATH2202 Notebook 1 Fall 2015/2016 prepared by Professor Jenny Baglivo Contents 1 MATH2202 Notebook 1 3 1.1 Single Variable Calculus versus Multivariable Calculus................... 3 1.2 Rectangular Coordinate

More information

Math (P)Review Part I:

Math (P)Review Part I: Lecture 1: Math (P)Review Part I: Linear Algebra Computer Graphics CMU 15-462/15-662, Fall 2017 Homework 0.0 (Due Monday!) Exercises will be a bit harder / more rigorous than what you will do for the rest

More information

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v 250) Contents 2 Vector Spaces 1 21 Vectors in R n 1 22 The Formal Denition of a Vector Space 4 23 Subspaces 6 24 Linear Combinations and

More information

4 The Cartesian Coordinate System- Pictures of Equations

4 The Cartesian Coordinate System- Pictures of Equations 4 The Cartesian Coordinate System- Pictures of Equations Concepts: The Cartesian Coordinate System Graphs of Equations in Two Variables x-intercepts and y-intercepts Distance in Two Dimensions and the

More information

Prealgebra. Edition 5

Prealgebra. Edition 5 Prealgebra Edition 5 Prealgebra, Edition 5 2009, 2007, 2005, 2004, 2003 Michelle A. Wyatt (M A Wyatt) 2009, Edition 5 Michelle A. Wyatt, author Special thanks to Garry Knight for many suggestions for the

More information

The useful linear algebra operations are contained in a special package that is loaded with the command

The useful linear algebra operations are contained in a special package that is loaded with the command Matrices in Maple October 24, 1994 1 Linear Algebra Package The useful linear algebra operations are contained in a special package that is loaded with the command > with(linalg); The list of newly defined

More information

MATH 1130 Exam 1 Review Sheet

MATH 1130 Exam 1 Review Sheet MATH 1130 Exam 1 Review Sheet The Cartesian Coordinate Plane The Cartesian Coordinate Plane is a visual representation of the collection of all ordered pairs (x, y) where x and y are real numbers. This

More information

Determinants and Scalar Multiplication

Determinants and Scalar Multiplication Properties of Determinants In the last section, we saw how determinants interact with the elementary row operations. There are other operations on matrices, though, such as scalar multiplication, matrix

More information

Vectors Part 1: Two Dimensions

Vectors Part 1: Two Dimensions Vectors Part 1: Two Dimensions Last modified: 20/02/2018 Links Scalars Vectors Definition Notation Polar Form Compass Directions Basic Vector Maths Multiply a Vector by a Scalar Unit Vectors Example Vectors

More information

A GUI FOR EVOLVE ZAMS

A GUI FOR EVOLVE ZAMS A GUI FOR EVOLVE ZAMS D. R. Schlegel Computer Science Department Here the early work on a new user interface for the Evolve ZAMS stellar evolution code is presented. The initial goal of this project is

More information

Physics 6A Lab Experiment 6

Physics 6A Lab Experiment 6 Rewritten Biceps Lab Introduction This lab will be different from the others you ve done so far. First, we ll have some warmup exercises to familiarize yourself with some of the theory, as well as the

More information

MAT 1339-S14 Class 8

MAT 1339-S14 Class 8 MAT 1339-S14 Class 8 July 28, 2014 Contents 7.2 Review Dot Product........................... 2 7.3 Applications of the Dot Product..................... 4 7.4 Vectors in Three-Space.........................

More information

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits Lecture for Week 2 (Secs. 1.3 and 2.2 2.3) Functions and Limits 1 First let s review what a function is. (See Sec. 1 of Review and Preview.) The best way to think of a function is as an imaginary machine,

More information

Lesson 12: More Systems

Lesson 12: More Systems Lesson 12: More Systems restart; A geometry problem Here's a nice little application of resultants to a geometrical problem. We're given two concentric circles with radii and. From a given point P at a

More information

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers.

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers. 2 VECTORS, POINTS, and LINEAR ALGEBRA. At first glance, vectors seem to be very simple. It is easy enough to draw vector arrows, and the operations (vector addition, dot product, etc.) are also easy to

More information

Ideas from Vector Calculus Kurt Bryan

Ideas from Vector Calculus Kurt Bryan Ideas from Vector Calculus Kurt Bryan Most of the facts I state below are for functions of two or three variables, but with noted exceptions all are true for functions of n variables..1 Tangent Line Approximation

More information

CHAPTER 1: Functions

CHAPTER 1: Functions CHAPTER 1: Functions 1.1: Functions 1.2: Graphs of Functions 1.3: Basic Graphs and Symmetry 1.4: Transformations 1.5: Piecewise-Defined Functions; Limits and Continuity in Calculus 1.6: Combining Functions

More information

Rigid Geometric Transformations

Rigid Geometric Transformations Rigid Geometric Transformations Carlo Tomasi This note is a quick refresher of the geometry of rigid transformations in three-dimensional space, expressed in Cartesian coordinates. 1 Cartesian Coordinates

More information

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA Andrew ID: ljelenak August 25, 2018 This assignment reviews basic mathematical tools you will use throughout

More information

Section 20: Arrow Diagrams on the Integers

Section 20: Arrow Diagrams on the Integers Section 0: Arrow Diagrams on the Integers Most of the material we have discussed so far concerns the idea and representations of functions. A function is a relationship between a set of inputs (the leave

More information

Making the grade: Part II

Making the grade: Part II 1997 2009, Millennium Mathematics Project, University of Cambridge. Permission is granted to print and copy this page on paper for non commercial use. For other uses, including electronic redistribution,

More information

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2 Final Review Sheet The final will cover Sections Chapters 1,2,3 and 4, as well as sections 5.1-5.4, 6.1-6.2 and 7.1-7.3 from chapters 5,6 and 7. This is essentially all material covered this term. Watch

More information

Sums of Squares (FNS 195-S) Fall 2014

Sums of Squares (FNS 195-S) Fall 2014 Sums of Squares (FNS 195-S) Fall 014 Record of What We Did Drew Armstrong Vectors When we tried to apply Cartesian coordinates in 3 dimensions we ran into some difficulty tryiing to describe lines and

More information

Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class

Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class Matter & Motion Winter 2017 18 Name: Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class Goals: 1. Gain exposure to terminology and

More information

Chapter 1: January 26 January 30

Chapter 1: January 26 January 30 Chapter : January 26 January 30 Section.7: Inequalities As a diagnostic quiz, I want you to go through the first ten problems of the Chapter Test on page 32. These will test your knowledge of Sections.

More information

Linear Algebra, Summer 2011, pt. 3

Linear Algebra, Summer 2011, pt. 3 Linear Algebra, Summer 011, pt. 3 September 0, 011 Contents 1 Orthogonality. 1 1.1 The length of a vector....................... 1. Orthogonal vectors......................... 3 1.3 Orthogonal Subspaces.......................

More information

Definition: Quadratic equation: A quadratic equation is an equation that could be written in the form ax 2 + bx + c = 0 where a is not zero.

Definition: Quadratic equation: A quadratic equation is an equation that could be written in the form ax 2 + bx + c = 0 where a is not zero. We will see many ways to solve these familiar equations. College algebra Class notes Solving Quadratic Equations: Factoring, Square Root Method, Completing the Square, and the Quadratic Formula (section

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

MA 510 ASSIGNMENT SHEET Spring 2009 Text: Vector Calculus, J. Marsden and A. Tromba, fifth edition

MA 510 ASSIGNMENT SHEET Spring 2009 Text: Vector Calculus, J. Marsden and A. Tromba, fifth edition MA 510 ASSIGNMENT SHEET Spring 2009 Text: Vector Calculus, J. Marsden and A. Tromba, fifth edition This sheet will be updated as the semester proceeds, and I expect to give several quizzes/exams. the calculus

More information

We will work with two important rules for radicals. We will write them for square roots but they work for any root (cube root, fourth root, etc.).

We will work with two important rules for radicals. We will write them for square roots but they work for any root (cube root, fourth root, etc.). College algebra We will review simplifying radicals, exponents and their rules, multiplying polynomials, factoring polynomials, greatest common denominators, and solving rational equations. Pre-requisite

More information

Linear Motion with Constant Acceleration

Linear Motion with Constant Acceleration Linear Motion 1 Linear Motion with Constant Acceleration Overview: First you will attempt to walk backward with a constant acceleration, monitoring your motion with the ultrasonic motion detector. Then

More information

PHY 123 Lab 1 - Error and Uncertainty and the Simple Pendulum

PHY 123 Lab 1 - Error and Uncertainty and the Simple Pendulum To print higher-resolution math symbols, click the Hi-Res Fonts for Printing button on the jsmath control panel. PHY 13 Lab 1 - Error and Uncertainty and the Simple Pendulum Important: You need to print

More information

Math Lecture 4 Limit Laws

Math Lecture 4 Limit Laws Math 1060 Lecture 4 Limit Laws Outline Summary of last lecture Limit laws Motivation Limits of constants and the identity function Limits of sums and differences Limits of products Limits of polynomials

More information

LECTURE 2: CROSS PRODUCTS, MULTILINEARITY, AND AREAS OF PARALLELOGRAMS

LECTURE 2: CROSS PRODUCTS, MULTILINEARITY, AND AREAS OF PARALLELOGRAMS LECTURE : CROSS PRODUCTS, MULTILINEARITY, AND AREAS OF PARALLELOGRAMS MA1111: LINEAR ALGEBRA I, MICHAELMAS 016 1. Finishing up dot products Last time we stated the following theorem, for which I owe you

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 017/018 DR. ANTHONY BROWN. Lines and Their Equations.1. Slope of a Line and its y-intercept. In Euclidean geometry (where

More information

Section 1.8 Matrices as Linear Transformations

Section 1.8 Matrices as Linear Transformations Section.8 Matrices as Linear Transformations Up to this point in the course, we have thought of matrices as stand alone constructions, objects of interest in their own right. We have learned multiple matrix

More information

Math 123, Week 2: Matrix Operations, Inverses

Math 123, Week 2: Matrix Operations, Inverses Math 23, Week 2: Matrix Operations, Inverses Section : Matrices We have introduced ourselves to the grid-like coefficient matrix when performing Gaussian elimination We now formally define general matrices

More information

PH 120 Project # 2: Pendulum and chaos

PH 120 Project # 2: Pendulum and chaos PH 120 Project # 2: Pendulum and chaos Due: Friday, January 16, 2004 In PH109, you studied a simple pendulum, which is an effectively massless rod of length l that is fixed at one end with a small mass

More information

MEI Core 1. Basic Algebra. Section 1: Basic algebraic manipulation and solving simple equations. Manipulating algebraic expressions

MEI Core 1. Basic Algebra. Section 1: Basic algebraic manipulation and solving simple equations. Manipulating algebraic expressions MEI Core Basic Algebra Section : Basic algebraic manipulation and solving simple equations Notes and Examples These notes contain subsections on Manipulating algebraic expressions Collecting like terms

More information

Linear Algebra and Matrices

Linear Algebra and Matrices Linear Algebra and Matrices 4 Overview In this chapter we studying true matrix operations, not element operations as was done in earlier chapters. Working with MAT- LAB functions should now be fairly routine.

More information

Note: Every graph is a level set (why?). But not every level set is a graph. Graphs must pass the vertical line test. (Level sets may or may not.

Note: Every graph is a level set (why?). But not every level set is a graph. Graphs must pass the vertical line test. (Level sets may or may not. Curves in R : Graphs vs Level Sets Graphs (y = f(x)): The graph of f : R R is {(x, y) R y = f(x)} Example: When we say the curve y = x, we really mean: The graph of the function f(x) = x That is, we mean

More information

SYDE 112, LECTURE 7: Integration by Parts

SYDE 112, LECTURE 7: Integration by Parts SYDE 112, LECTURE 7: Integration by Parts 1 Integration By Parts Consider trying to take the integral of xe x dx. We could try to find a substitution but would quickly grow frustrated there is no substitution

More information

Vectors for Beginners

Vectors for Beginners Vectors for Beginners Leo Dorst September 6, 2007 1 Three ways of looking at linear algebra We will always try to look at what we do in linear algebra at three levels: geometric: drawing a picture. This

More information

M. Matrices and Linear Algebra

M. Matrices and Linear Algebra M. Matrices and Linear Algebra. Matrix algebra. In section D we calculated the determinants of square arrays of numbers. Such arrays are important in mathematics and its applications; they are called matrices.

More information

The Gram-Schmidt Process

The Gram-Schmidt Process The Gram-Schmidt Process How and Why it Works This is intended as a complement to 5.4 in our textbook. I assume you have read that section, so I will not repeat the definitions it gives. Our goal is to

More information

6. Vectors. Given two points, P 0 = (x 0, y 0 ) and P 1 = (x 1, y 1 ), a vector can be drawn with its foot at P 0 and

6. Vectors. Given two points, P 0 = (x 0, y 0 ) and P 1 = (x 1, y 1 ), a vector can be drawn with its foot at P 0 and 6. Vectors For purposes of applications in calculus and physics, a vector has both a direction and a magnitude (length), and is usually represented as an arrow. The start of the arrow is the vector s foot,

More information