Vectors in the Plane

Similar documents
Classroom Tips and Techniques: Drawing a Normal and Tangent Plane on a Surface

Classroom Tips and Techniques: Plotting Curves Defined Parametrically

Arc Length, Curvature and The TNB Frame

Student Multivariate Calculus

Engineering Mathematics (4)

Chapter 3 Numerical Methods

Lagrange Multipliers

Geometry. Prof. George Wolberg Dept. of Computer Science City College of New York

A Guide to Maple 8 & 9 Commands for Calculus I, II & III Dr. Jennifer Bergner Dr. Don Spickler

Contour Diagrams. restart:with(plots): setoptions3d(axes=normal,labels=["x","y","z"],orientation=[20,70]);

Laplacian Operator and Smoothing

Geometric Transformations: Translation:

MATH 2400, Analytic Geometry and Calculus 3

Section 4.3. Graphing Exponential Functions

Double Integrals. Integrals of Functions of One Variable.

Answers to Worksheet 5, Math 272

Interactive Math Glossary Terms and Definitions

Lagrange multipliers October 2013

Lagrange multipliers 14.8

Properties. Comparing and Ordering Rational Numbers Using a Number Line

Principles of Computer Game Design and Implementation. Lecture 6

K-5 Mathematics Missouri Learning Standards: Grade-Level Expectations

Motivation. Parametric Curves (later Surfaces) Outline. Tangents, Normals, Binormals. Arclength. Advanced Computer Graphics (Fall 2010)

Section 17.7: Surface Integrals. 1 Objectives. 2 Assignments. 3 Maple Commands. 4 Lecture. 4.1 Riemann definition

BASIC ELEMENTS. Geometry is the study of the relationships among objects in an n-dimensional space

ENGI Parametric & Polar Curves Page 2-01

Mastery. PRECALCULUS Student Learning Targets

Graphs and transformations 4G

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A

Cambridge IGCSE mapping

Visualizing Linear Transformations in R 3

Workbook. MAT 397: Calculus III

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

MATH 19520/51 Class 8

Partial Shape Matching using Transformation Parameter Similarity - Additional Material

x 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ

2-9 Operations with Complex Numbers

Parametric Curves and Polar Coordinates

Parametric Curves and Polar Coordinates

Geometry. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

This is called the vertex form of the quadratic equation. To graph the equation

- number of elements - complement linear, simple quadratic and cubic sequences - exponential sequences and - simple combinations of these

MATH Harrell. Which way is up? Lecture 9. Copyright 2008 by Evans M. Harrell II.

Rational Numbers: Graphing: The Coordinate Plane

EXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES

GCSE Higher Revision List

Wits Maths Connect Secondary Project Card-sorting Activities

21-256: Lagrange multipliers

Year Nine Scheme of Work. Overview

Preview Notes. Systems of Equations. Linear Functions. Let y = y. Solve for x then solve for y

Direction Fields; Euler s Method

Edge and local feature detection - 2. Importance of edge detection in computer vision

Geometry. CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science

mjb March 9, 2015 Chuck Evans

Geometric Primitives. Chapter 5

AQA GCSE Maths - Higher Self-Assessment Checklist

Vector Addition. Qty Item Part Number 1 Force Table ME-9447B 1 Mass and Hanger Set ME Carpenter s level 1 String

Dynamics and Vibrations Mupad tutorial

3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers

Calculus III Meets the Final

Example 1: Give the coordinates of the points on the graph.

GEOMETRY. slide #3. 6th Grade Math Unit 7. 6th Grade Unit 7: GEOMETRY. Name: Table of Contents. Area of Rectangles

Edge and corner detection

Maths PoS: Year 7 HT1. Students will colour code as they work through the scheme of work. Students will learn about Number and Shape

Real-Time Shape Editing using Radial Basis Functions

(Discrete) Differential Geometry

Each point P in the xy-plane corresponds to an ordered pair (x, y) of real numbers called the coordinates of P.

Sung-Eui Yoon ( 윤성의 )

Graphics and Interaction Transformation geometry and homogeneous coordinates

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

Geometry for Computer Graphics Part 1

MEI Desmos Tasks for AS Pure

3D Game Engine Programming. Understanding Quaternions. Helping you build your dream game engine. Posted on June 25, 2012 by Jeremiah van Oosten

CS452/552; EE465/505. Geometry Transformations

The Justin Guide to Matlab for MATH 241 Part 1.

VISUALIZING FUNCTIONS OF COMPLEX NUMBERS USING GEOGEBRA

`Three sides of a 500 square foot rectangle are fenced. Express the fence s length f as a function of height x.

Forces acting on a lamina

Decomposing and Sketching 3D Objects by Curve Skeleton Processing

Graphing Calculator Tutorial

Generalized barycentric coordinates

Edge detection. Goal: Identify sudden. an image. Ideal: artist s line drawing. object-level knowledge)

CAMI Education links: Maths NQF Level 2

In this section we continue our study of functions. We have already been introduced to

Elementary Functions

Edge Detection. Today s reading. Cipolla & Gee on edge detection (available online) From Sandlot Science

Input/Output Machines

04 - Normal Estimation, Curves

A Framework for Achieving the Essential Academic Learning. Requirements in Mathematics Grades 8-10 Glossary

Swept Blend Creates a quilt using swept blend geometry.

PC-MATLAB PRIMER. This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens.

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

Number/Computation. addend Any number being added. digit Any one of the ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9

Mark Schemes for May 2004 examination session

Chapter Multidimensional Gradient Method

1.7.1 Laplacian Smoothing

Maths. Formative Assessment/key piece of work prior to end of unit: Term Autumn 1

C O M P U T E R G R A P H I C S. Computer Graphics. Three-Dimensional Graphics I. Guoying Zhao 1 / 52

MTH309 Linear Algebra: Maple Guide

Parametric Curves, Polar Plots and 2D Graphics

Transcription:

Vectors in the Plane restart:with(plots): We need to input the VectorCalculus package to get the vector commands we need. with(vectorcalculus); &x, `*`, `C`, `-`, `.`,!,,!, About, AddCoordinates, ArcLength, BasisFormat, Binormal, Compatibility, ConvertVector, CrossProd, CrossProduct, Curl, Curvature, D, Del, DirectionalDiff, Divergence, DotProd, DotProduct, Flux, GetCoordinateParameters, GetCoordinates, GetNames, GetPVDescription, GetRootPoint, GetSpace, Gradient, Hessian, IsPositionVector, IsRootedVector, IsVectorField, Jacobian, Laplacian, LineInt, MapToBasis, Nabla, Norm, Normalize, PathInt, PlotPositionVector, PlotVector, PositionVector, PrincipalNormal, RadiusfCurvature, RootedVector, ScalarPotential, SetCoordinateParameters, SetCoordinates, SpaceCurve, SurfaceInt, TNBFrame, Tangent, TangentLine, TangentPlane, TangentVector, Torsion, Vector, VectorField, VectorPotential, VectorSpace, Wronskian, diff, eval, evalvf, int, limit, series Defining free vectors (arrows), rooted vectors, and position vectors. Consider a free vector to be the equivalence class of all arrows having the same direction and magnitude, i.e. an arrow and all of its parallel translates. So that we can enter vectors using standard vector notation, we set BasisFormat to false. BasisFormat(false); true We can enter free vectors as either column (the default) or row vectors. There are two ways to enter column vectors. v:=<3,5>; v := 3 5 v:=vector([3,5]); We enter row vectors as follows. v3:=<3 5>; v := 3 5 v3 := 3 5 We use the About statement to gain information about our vectors. About(v);About(v);About(v3); Type: Free Vector Components: 3, 5 Coordinates: cartesian

Type: Free Vector Components: 3, 5 Type: Free Vector Components: 3, 5 Free vectors are plotted using PlotVector the command. PlotVector(v); 5 4 3 0 3 Curve Polygons We can adjust the shape of the arrow by using parameters. PlotVector(v,width=.,head_width=.,head_length=.4,color=blue);

5 4 3 0 0 3 Curve Polygons If head_length is not given, the head is about the length of the arrow. 5 PlotVector(v,width=.,head_width=.,color=cyan);

5 4 3 0 0 3 Curve Polygons A rooted vector is an arrow whose tail is fixed to a point in the plane. For instance, place the tail of v at the point (-,-3). PlotVector(<-,-3>,v,width=.,head_width=.,head_length=.4, color=green);

K K 0 K K K3 Curve Polygons We define and plot a rooted vector using RootedVector as follows. v4:=rootedvector(root=[-,-3],[3,5]); About(v4); Type: v4 := 3 5 Rooted Vector Components: 3, 5 Coordinates: Root Point: cartesian K, K3 PlotVector(v4,width=.,head_width=.,head_length=.4,color=orange) ;

K K 0 K K K3 Curve Polygons We define and plot a position vector, a vector with tail at the origin, using PositionVector as follows. v5:=positionvector([5,]); v5 := 5 About(v5); Type: Position Vector Components: 5, Coordinates: cartesian Root Point: 0, 0 PlotVector(v5,width=.,head_width=.,head_length=.4,color=violet) ;

0.8 0.6 0.4 0. 0 3 4 5 Curve Polygons We get the extra fat arrow since the axes have diffent scales. We can set scaling to constrained as a plot option to get equally scaled axes. PlotVector(v5,width=.,head_width=.,head_length=.4,color=violet, scaling=constrained);

0.6 0 0 3 4 5 Curve Polygons Basic perations for Vectors. restart:with(plots):with(vectorcalculus):basisformat(false); true We first define six (column) vectors: two free, two rooted, and two position. v:=<3,5>;v:=<-6,>;v3:=rootedvector(root=[-,],[-4,]);v4:= RootedVector(root=[-,],[5,3]);v5:=PositionVector([5,]);v6:= PositionVector([-3,]); v := 3 5 v := K6 v3 := K4

v4 := 5 3 v5 := 5 v6 := K3 We use the Norm command to find the norm or magnitude of the three vectors. Norm(v);Norm(v);Norm(v3);Norm(v4);Norm(v5);Norm(v6); 34 0 5 Vector addition is done by component. We first add two free vectors and then two position vectors. v:=v+v;about(v);v56:=v5+v6;about(v56); 34 6 3 v := K3 7 Type: Free Vector Components: K3, 7 v56 := 3 Type: Position Vector Components:, 3 Root Point: 0, 0 We see the sums are of the same type as the addends. Rooted vectors can only be added if their roots (points of origin) are the same with the sum having the same root.. v34:=v3+v4;about(v34); v34 := 5

Type: Rooted Vector Components:, 5 Root Point: K, What about adding a free vector or a position vector to a rooted vector? v3:=v+v3;about(v3); v3 := K 7 v35:=v3+v5;about(v35); Type: Rooted Vector Components: K, 7 Root Point: K, v35 := 3 Type: Rooted Vector Components:, 3 Root Point: K, We see the sum is a rooted vector with the same root as the rooted addend. What about a free vector with a position vector? v5:=v+v5;about(v5); v5 := 8 6 Type: Free Vector Components: 8, 6 The sum is a free vector. We next look at scalar multiplication. We first multiply by. w:=(/)*v;w3:=(/)*v3;w5:=(/)*v5; 3 w := 5

w3 := K w5 := 5 We view the original vectors in red and the scalar multiples in blue. p4:=plotvector([v,v3,v5],width=.,head_width=.,head_length=.4, scaling=constrained,color=red): p5:=plotvector([w,w3,w5],width=.,head_width=.4,head_length=.4, scaling=constrained,color=blue): p6:=textplot({[3,4,"v"],[-5,,"v3"],[.,.,"w"],[-3,,"w3"], [4,.5,"v5"],[.6,-.,"w5"]},font=[TIMES,BLD,4]): display(p4,p5,p6); 5 4 v v3 w3 w w5 K6 K4 K 0 4 3 v5 Curve Polygons Polygons Next we multiply by -. z:=(-)*v;z3:=(-)*v3;z5:=(-)*v5;

z := z3 := z5 := K6 K0 8 K4 K0 K Again we visualize the original vectors in red and the scalar multiples in blue. p7:=plotvector([v,v3,v5],width=.,head_width=.,head_length=.4, scaling=constrained,color=red): p8:=plotvector([z,z3,z5],width=.,head_width=.,head_length=.4, scaling=constrained,color=blue): p9:=textplot({[3,4,"v"],[-5,,"v3"],[-6,-8,"z"],[5,-,"z3"],[4,.5,"v5"],[-8,-,"z5"]},font=[times,bld,4]): display(p7,p8,p9); 5 v z5 v3 v5 K0 K8 K6 K4 K 0 4 6 z3 K5 z K0 Curve Polygons Polygons Horizontal and vertical components of vectors. restart:with(plots):with(plottools):with(vectorcalculus) :BasisFormat(false);

true We enter the standard vectors. i:=positionvector([,0]);j:=positionvector([0,]); i := 0 j := 0 Now we view the decomposition <3, > = 3i + j in two dimensions. p7:=plotvector([i,j],width=.,head_width=.,head_length=., scaling=constrained,color=blue): p8:=plotvector([3*i,rootedvector(root=3*i,[0,]),3*i+*j],width=.,head_width=.4,head_length=.4,scaling=constrained,color=red): p9:=textplot({[.5,-.,"i"],[-.4,.5,"j"],[,-.4,"3*i"],[3.4,.9,"* j"],[,.4,"*i+3*j"]},font=[times,bld,4]): display(p7,p8,p9);.5 *i+3*j *j j 0.5 0 3 i 3*i Curve Polygons Polygons