Vector Exercise. Parametric form for a line Passing two points.

Slides:



Advertisements
Similar presentations
More Vectors.
Advertisements

Euclidean m-Space & Linear Equations Euclidean m-space.
Vector Calculus Mengxia Zhu Fall Objective Review vector arithmetic Distinguish points and vectors Relate geometric concepts to their algebraic.
Tangent Vectors and Normal Vectors. Definitions of Unit Tangent Vector.
VECTOR CALCULUS Stokes’ Theorem In this section, we will learn about: The Stokes’ Theorem and using it to evaluate integrals. VECTOR CALCULUS.
Copyright © Cengage Learning. All rights reserved.
Even More Vectors.
Rubono Setiawan, S.Si.,M.Sc.
Chapter 12 – Vectors and the Geometry of Space
Chapter 7: Vectors and the Geometry of Space
Computer Graphics using OpenGL, 3 rd Edition F. S. Hill, Jr. and S. Kelley Chapter Vector Tools for Graphics S. M. Lea University of North Carolina.
PARAMETRIC EQUATIONS AND POLAR COORDINATES 9. Usually, we use Cartesian coordinates, which are directed distances from two perpendicular axes. Here, we.
VECTORS AND THE GEOMETRY OF SPACE 12. VECTORS AND THE GEOMETRY OF SPACE A line in the xy-plane is determined when a point on the line and the direction.
Lines and Planes in Space
11 Analytic Geometry in Three Dimensions
Vectors: planes. The plane Normal equation of the plane.
Copyright © Cengage Learning. All rights reserved. 10 Analytic Geometry in Three Dimensions.
Section 9.5: Equations of Lines and Planes
Vectors and the Geometry of Space
Assigned work: pg. 433 #1-12 Equation of a line – slope and point or two points BUT NOW we will learn to describe an Equation of a Line by using vectors…………………..
10.5 Lines and Planes in Space Parametric Equations for a line in space Linear equation for plane in space Sketching planes given equations Finding distance.
2003CS Hons RW778 Graphics1 Chapter 4: Vector Tools 4.5 Representation of Key Geometric Objects 4.5 Representation of Key Geometric Objects –4.5.1 Coordinate.
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Monday, 26 January 2004 William H. Hsu Department of.
V. Space Curves Types of curves Explicit Implicit Parametric.
Geometry of R 2 and R 3 Lines and Planes. Point-Normal Form for a Plane R 3 Let P be a point in R 3 and n a nonzero vector. Then the plane that contains.
Copyright © Cengage Learning. All rights reserved. 12 Vectors and the Geometry of Space.
Mathematics. Session Three Dimensional Geometry–1(Straight Line)
Vectors CHAPTER 7. Ch7_2 Contents  7.1 Vectors in 2-Space 7.1 Vectors in 2-Space  7.2 Vectors in 3-Space 7.2 Vectors in 3-Space  7.3 Dot Product 7.3.
1.3 Lines and Planes. To determine a line L, we need a point P(x 1,y 1,z 1 ) on L and a direction vector for the line L. The parametric equations of a.
Chapter Content Real Vector Spaces Subspaces Linear Independence
Teorema Stokes. STOKES’ VS. GREEN’S THEOREM Stokes’ Theorem can be regarded as a higher-dimensional version of Green’s Theorem. – Green’s Theorem relates.
Vector-Valued Functions. Step by Step: Finding Domain of a Vector-Valued Function 1.Find the domain of each component function 2.The domain of the vector-valued.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 2 Graphs and Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc.
11.5 Day 2 Lines and Planes in Space. Equations of planes.
Euclidean m-Space & Linear Equations Systems of Linear Equations.
Find the point P that partitions the segment from A (-1, -4) to B (6, 10) in the ratio of 2:5. Answer: (1, 0)
Vectors Addition is commutative (vi) If vector u is multiplied by a scalar k, then the product ku is a vector in the same direction as u but k times the.
SECTION 13.8 STOKES ’ THEOREM. P2P213.8 STOKES ’ VS. GREEN ’ S THEOREM  Stokes ’ Theorem can be regarded as a higher- dimensional version of Green ’
Equations of Lines and Planes
1 Dr. Scott Schaefer Intersecting Simple Surfaces.
Vocabulary Sheets Why??? Do I have to?? Code. Angle [definition] Formed by two rays with the same endpoint [picture or example of term] [symbol]
Lines and Planes In three dimensions, we use vectors to indicate the direction of a line. as a direction vector would indicate that Δx = 7, Δy = 6, and.
Coordinate Systems and Coordinate Frames  vector v = (3, 2, 7)  point P = (5, 3, 1)  coordinate frame consists of a specific point, V, called the origin,
VECTORS AND THE GEOMETRY OF SPACE 12. PLANES Thus, a plane in space is determined by:  A point P 0 (x 0, y 0, z 0 ) in the plane  A vector n that is.
DOT PRODUCT CROSS PRODUCT APPLICATIONS
Chi-Cheng Lin, Winona State University CS430 Computer Graphics Vectors Part III Intersections.
Vectors and the Geometry of Space Section 10.4 Lines and Planes in Space 2015.
Systems of Linear Equations. Solve a System of Equations by Graphing Objectives: Solve a System of Equations by Graphing Standards: Learn and apply geometric.
LECTURE 5 OF 8 Topic 5: VECTORS 5.5 Application of Vectors In Geometry.
University of North Carolina at Greensboro
University of North Carolina at Greensboro
Lines and Planes In three dimensions, we use vectors to indicate the direction of a line. as a direction vector would indicate that Δx = 7, Δy = 6, and.
Chapter 2 Planes and Lines
Copyright © Cengage Learning. All rights reserved.
VECTORS APPLICATIONS NHAA/IMK/UNIMAP.
11 Vectors and the Geometry of Space
Lines and Planes in Space
Find a vector equation for the line through the points {image} and {image} {image}
Find a vector equation for the line through the points {image} and {image} {image}
By the end of Week 3: You would learn how to solve many problems involving lines/planes and manipulate with different coordinate systems. These are.
Vectors and the Geometry
Vectors and the Geometry
3.5 Write and Graph Equations of Lines
Copyright © Cengage Learning. All rights reserved.
Geometry Section 3.5.
11 Vectors and the Geometry of Space
Where do these graphs intersect
Warmup Find the distance between the point (x, y) and the point (h, k).
Warmup Find the distance between the point (x, y) and the point (h, k).
Vectors and the Geometry
Presentation transcript:

Vector Exercise

Parametric form for a line Passing two points

Point Normal Form for a Line N.(P-C)=0

Finding the Intersection of Two Lines Given two line segments, determine whether they intersect, and if they do, find their point of intersection

Intersection of Lines with Planes Useful in clipping Ray in parametric form Plane in point normal form

Representing Lines and Planes

The parametric representation of a line This is done using a parameter t that distinguishes one point on the line from another. Call the line L, and give the name L(t) to the position associated with t. Using b = B - A we have: – L(t) = A + b t |t| is the ratio of the distances | L(t) - A| to |B - A|,

Exercise Example A line in 2D. Find a parametric form for the line that passes through C= (3, 5) and B = (2,7). – Solution: Build vector b = B - C = (-1, 2) to obtain the parametric form L(t) = (3 - t, t). Example A line in 3D. Find a parametric form for the line that passes through C= (3, 5,6) and B = (2,7,3). – Solution: Build vector b = B - C = (-1, 2, -3) to obtain the parametric form L(t) = (3 - t, 5+ 2 t, 6 - 3t).

Point normal form for a line (the implicit form) f x + g y = 1

Exercise Example Find the point normal form. Suppose line L passes through points C = (3, 4) and B = (5, -2). Then b = B - C = (2, -6) and b ‘s normal = (6, 2) Choosing C as the point on the line, the point normal form is: (6, 2). ((x, y) - (3, 4)) = 0, or 6x + 2y = 26. Both sides of the equation can be divided by 26 (or any other nonzero number) if desired. f x + g y = 1. Writing this once again as (f, g).(x, y) = 1 it is clear that the normal n is simply (f, g) (or any multiple thereof). For instance, the line given by 5x - 2y = 7 has normal vector (5, -2), or more generally K(5, -2) for any nonzero K.

Moving from each representation to the others. The three representations and their data are: – The two point form: say C and B; data = { C, B} – The parametric form: C + b t; data = { C, b}. – The point normal (implicit) form (in 2D only): n. (P - C) = 0; data = { C, n}.

Planes in 3D space. Planes, like lines, have three fundamental forms: – the three-point form, – the parametric representation and – the point normal form.

The parametric representation of a plane.

Example Find a parametric form given three points in a plane. Consider the plane passing through A = (3,3,3), B = (5,5,7), and C = (1, 2, 4). From Equation 4.43 it has parametric form P(s, t) = (1, 2, 4) + (2, 1, - 1) s + (4, 3, 3) t. This can be rearranged to the component form: P(s, t) = (1 + 2 s + 4 t) i + (2 + s + 3 t) j + (4 - s + 3 t) k, or to the affine combination form P(s, t) = s(3, 3, 3) + t(5, 5, 7) + (1 - s - t)(1,2, 4).

The point normal form for a plane.

Exercise Find a point normal form. Let plane P pass through (1, 2, 3) with normal vector (2, -1, -2). Its point normal form is (2, -1, -2).((x, y, z) - (1, 2, 3)) = 0. The equation for the plane may be written out as 2x - y - 2z = 6.

Exercise Find a parametric form given the equation of the plane. Find a parametric form for the plane 2 x - y + 3 z = 8. Solutio n: By inspection the normal is (2, - 1, 3). There are many parametrizations; we need only find one. For C, choose any point that satisfies the equation; C = (4, 0, 0) will do. Find two (noncollinear) vectors, each having a dot product of 0 with (2, - 1, 3); some hunting finds that a = (1, 5, 1) and b = (0, 3, 1) will work. Thus the plane has parametric form P(s, t) = (4, 0, 0) + (1, 5, 1) s + (0, 3, 1) t.

Find two noncolinear vectors a = (0, 0, 1) x n b = n x a

Moving from each representation to the others. For a plane, the three representations and their data are: – The three point form: say C, B, and A; data = { C, B, A} – The parametric form: C + as + b t; data = { C, a, b}. – The point normal (implicit) form: n. (P - C) = 0; data = { C, n}.

Finding the Intersection of two Line Segments.

AB(t) = A + b t CD(u) = C + d u, intersect: A + bt = C + du Defining c = C - A for convenience we can write this condition in terms of three known vectors and two (unknown) parameter values: bt = c + du

4.6.1: Given the endpoints A = (0, 6), B = (6, 1), C = (1, 3), and D = (5, 5), find the intersection if it exists. Solution: d ^ = (-2,4), so t = 7/16 and u = 13/32 which both lie between 0 and 1, and so the segments do intersect. The intersection lies at (x, y) = (21/8, 61/16). This result may be confirmed visually by drawing the segments on graph paper and measuring the observed intersection. Example

Parallel and overlap

Find the center of a circle

Intersection of lines with planes Hit point R(t) = A + ct n.(p-B) =0 t hit = n.(B-A)/n.c

Intersection of two planes One parametric form one point normal form

Convex polygon Connecting any two points lies completely inside it