Practical Linear Algebra: A Geometry Toolbox

Size: px
Start display at page:

Download "Practical Linear Algebra: A Geometry Toolbox"

Transcription

1 Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 3: Lining Up: 2D Lines Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book c 2013 Farin & Hansford Practical Linear Algebra 1 / 27

2 Outline 1 Introduction to 2D Lines 2 Defining a Line 3 Parametric Equation of a Line 4 Implicit Equation of a Line 5 Explicit Equation of a Line 6 Converting Between Parametric and Implicit Equations 7 Distance of a Point to a Line 8 The Foot of a Point 9 A Meeting Place: Computing Intersections 10 WYSK Farin & Hansford Practical Linear Algebra 2 / 27

3 Introduction to 2D Lines 2D lines are the building blocks for many geometric constructions Two sets of parallel lines overlaid Interference pattern called Moiré pattern Used in optics for checking the properties of lenses Chapter focus: representations for lines distance from a line intersections Farin & Hansford Practical Linear Algebra 3 / 27

4 Defining a Line Two elements of 2D geometry define a line: Elements can be two points a point and a vector parallel to the line a point and a vector perpendicular to the line Normal to a line: unit vector that is perpendicular (or orthogonal) to a line Farin & Hansford Practical Linear Algebra 4 / 27

5 Defining a Line Families of lines One family of lines shares a common point The other family of lines shares the same normal Farin & Hansford Practical Linear Algebra 5 / 27

6 Parametric Equation of a Line l(t) = p+tv where p E 2 and v R 2 Scalar value t is the parameter Evaluating for specific parameter generates a point on the line Farin & Hansford Practical Linear Algebra 6 / 27

7 Parametric Equation of a Line Parametric form l(t) = p+tv in terms of barycentric coordinates: Let v = q p, then l(t) = (1 t)p+tq (1 t) and t are the barycentric coordinates of a point on the line with respect to p and q, resp. Typically referred to as linear interpolation Farin & Hansford Practical Linear Algebra 7 / 27

8 Parametric Equation of a Line Barycentric combination: sum of coefficients of points is one l(t) = (1 t)p+tq For t [0,1]: generates points on line between p and q This is a convex combination t < 0 generates points on the line behind p t > 1 generates points past q (Interpret as scaling of v in l(t) = p+tv) This is extrapolation Farin & Hansford Practical Linear Algebra 8 / 27

9 Parametric Equation of a Line Parametric form very good for computing points on a line Example: compute ten equally spaced points on line segment through p and q l(t) = (1 t)p+tq t = i/9, i = 0,...,9 i = 0 t = 0 p i = 9 t = 1 q Equally spaced parameter values correspond to equally spaced points Parametrization: speed line is traversed Farin & Hansford Practical Linear Algebra 9 / 27

10 Implicit Equation of a Line Point p and a vector a perpendicular to the line For any point x on the line a (x p) = 0 a and (x p) are perpendicular If a unit length, called point normal form Expand: a 1 x 1 +a 2 x 2 +( a 1 p 1 a 2 p 2 ) = 0 Results in familiar form: ax 1 +bx 2 +c = 0 Farin & Hansford Practical Linear Algebra 10 / 27

11 Implicit Equation of a Line Given: two points on the line [ ] [ ] 2 6 p = and q = 2 4 Find: implicit line ax 1 +bx 2 +c = 0 [ ] 4 v = q p = 2 [ ] 2 a = 4 c = = 4 Implicit equation of the line: 2x 1 +4x 2 4 = 0 (Not point normal form) Farin & Hansford Practical Linear Algebra 11 / 27

12 Implicit Equation of a Line Implicit form good for deciding if an arbitrary point lies on the line For given point x f = ax 1 +bx 2 +c If f = 0 then the point is on the line Farin & Hansford Practical Linear Algebra 12 / 27

13 Implicit Equation of a Line Numerical caveat: Checking equality f = 0.0 with floating point numbers not recommended Tolerance ǫ needed Meaningful tolerance: true distance of x to line d = f a Sign of d indicates side of the line Farin & Hansford Practical Linear Algebra 13 / 27

14 Explicit Equation of a Line Explicit form is closely related to the implicit form ax 1 +bx 2 +c = 0 Expresses x 2 as a function of x 1 x 2 = a b x 1 c b Simpler: x 2 = âx 1 +ˆb Geometric meaning of coefficients: â is the slope rise/run ˆb is the e 2 -intercept Example: x 2 = 1/3x 1 +1 Drawback: vertical line has infinite slope Farin & Hansford Practical Linear Algebra 14 / 27

15 Converting Between Parametric and Implicit Equations Advantages to both the parametric and implicit representations of a line Depending on the geometric algorithm may be convenient to use one form rather than the other Ignore the explicit form: not very useful for general 2D geometry Farin & Hansford Practical Linear Algebra 15 / 27

16 Converting Between Parametric and Implicit Equations Parametric to Implicit Given: l(t) = p+tv Find: coefficients a,b,c of ax[ 1 +bx] 2 +c = 0 v2 Solution: Form a vector a = perpendicular to vector v Determines the coefficients a = a 1 and b = a 2 Use p from l(t) to compute c = (a 1 p 1 +a 2 p 2 ) v 1 Farin & Hansford Practical Linear Algebra 16 / 27

17 Converting Between Parametric and Implicit Equations Implicit to Parametric Given: ax 1 +bx 2 +c = 0 Find: l(t) = p+tv Solution: Need [ ] one point on the line and a vector parallel to the line b Vector v = is perpendicular to a a Point candidates: intersections with the e 1 - or e 2 -axis [ ] [ ] c/a 0 or 0 c/b For numerical stability, choose the intersection closest to the origin Farin & Hansford Practical Linear Algebra 17 / 27

18 Converting Between Parametric and Implicit Equations Non-uniqueness of representations Two parametric representations for the same line Lines will be traced will differently Conversion process for example parametric implicit parametric Original and final parametric form different in general Farin & Hansford Practical Linear Algebra 18 / 27

19 Distance of a Point to a Line Robot will travel along the line (thick black) Points represent objects in the room Verify needed robot clearance (gray) by computing distance of point to line Smallest distance d(r, l) of a point to a line is the orthogonal or perpendicular distance Farin & Hansford Practical Linear Algebra 19 / 27

20 Distance of a Point to a Line Starting with an Implicit Line Given: l : ax 1 +bx +c and point r Find: d(r, l) [ ] a Solution: let a = b d = ar 1 +br 2 +c a = a (r p) a Let w = r p v = a w = a w cos(θ) cos(θ) = d w then v = a d d = ar 1 +br 2 +c a Farin & Hansford Practical Linear Algebra 20 / 27

21 Distance of a Point to a Line Starting with a Parametric Line Given: l(t) = p+tv and a point r Find: d(r, l) Solution: Let w = r p d = w sin(α) sin(α) = 1 cos(α) 2 cos(α) = v w v w Farin & Hansford Practical Linear Algebra 21 / 27

22 The Foot of a Point Which point on the line is closest to a given point? This point is the foot of the given point Given: l(t) = p+tv and point r Find: q, the foot of r Solution: t such that q = p+tv Define w = r p Solve for t cos(θ) = tv w = v w v w t = v w v 2 Farin & Hansford Practical Linear Algebra 22 / 27

23 A Meeting Place: Computing Intersections Intersection problems important in many applications Fun figure: finding intersections to create an artistic image Possible questions: Do the lines intersect? At what point do they intersect? At what parameter value on one or both lines is the intersection point? Question(s) + line representation(s) best method Farin & Hansford Practical Linear Algebra 23 / 27

24 A Meeting Place: Computing Intersections Parametric and Implicit Given: l 1 (t) = p+tv l 2 : ax 1 +bx 2 +c = 0 Find: intersection point i Solution: i = p+ˆtv a[p 1 +ˆtv 1 ]+b[p 2 +ˆtv 2 ]+c = 0 One equation and one unknown ˆt = c ap 1 bp 2 av 1 +bv 2 i = l 1 (ˆt) What if the lines are parallel? Farin & Hansford Practical Linear Algebra 24 / 27

25 A Meeting Place: Computing Intersections Both Parametric Given: l 1 (t) = p+tv l 2 (s) = q+sw Find: intersection point i Solution: ˆt and ŝ such that Rewritten: p+ˆtv = q+ŝw. ˆtv ŝw = q p Two equations and two unknowns If v and w linearly dependent: no solution Geometric meaning? Farin & Hansford Practical Linear Algebra 25 / 27

26 A Meeting Place: Computing Intersections Both Implicit Given: l 1 : ax 1 +bx 2 +c = 0 l 2 : āx 1 + bx 2 + c = 0 Find: intersection point i = ˆx that satisfies l 1 and l 2 Solution: aˆx 1 +bˆx 2 = c āˆx 1 + bˆx 2 = c Two equations and two unknowns Lines parallel a and ā linearly dependent Farin & Hansford Practical Linear Algebra 26 / 27

27 WYSK parametric form of a line linear interpolation point normal form implicit form of a line explicit form of a line line through two points line defined by a point and a vector parallel to the line line defined by a point and a vector perpendicular to the line distance of a point to a line line form conversions foot of a point intersection of lines Farin & Hansford Practical Linear Algebra 27 / 27

Practical Linear Algebra: A Geometry Toolbox

Practical Linear Algebra: A Geometry Toolbox Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 1: Affine Maps in 3D Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/pla

More information

Practical Linear Algebra: A Geometry Toolbox

Practical Linear Algebra: A Geometry Toolbox Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 17: Breaking It Up: Triangles Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/pla

More information

Practical Linear Algebra: A Geometry Toolbox

Practical Linear Algebra: A Geometry Toolbox Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 18: Putting Lines Together: Polylines and Polygons Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book

More information

The Essentials of CAGD

The Essentials of CAGD The Essentials of CAGD Chapter 1: The Bare Basics Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/essentials-cagd c 2000 Farin & Hansford

More information

Chapter 9. Linear algebra applications in geometry

Chapter 9. Linear algebra applications in geometry Chapter 9. Linear algebra applications in geometry C.O.S. Sorzano Biomedical Engineering August 25, 2013 9. Linear algebra applications in geometry August 25, 2013 1 / 73 Outline 9 Linear algebra applications

More information

Topic 1.6: Lines and Planes

Topic 1.6: Lines and Planes Math 275 Notes (Ultman) Topic 1.6: Lines and Planes Textbook Section: 12.5 From the Toolbox (what you need from previous classes): Plotting points, sketching vectors. Be able to find the component form

More information

2D Transformations Introduction to Computer Graphics Arizona State University

2D Transformations Introduction to Computer Graphics Arizona State University 2D Transformations Introduction to Computer Graphics Arizona State University Gerald Farin January 31, 2006 1 Introduction When you see computer graphics images moving, spinning, or changing shape, you

More information

with slopes m 1 and m 2 ), if and only if its coordinates satisfy the equation y y 0 = 0 and Ax + By + C 2

with slopes m 1 and m 2 ), if and only if its coordinates satisfy the equation y y 0 = 0 and Ax + By + C 2 CHAPTER 10 Straight lines Learning Objectives (i) Slope (m) of a non-vertical line passing through the points (x 1 ) is given by (ii) If a line makes an angle α with the positive direction of x-axis, then

More information

Algebra 1 Semester 2 Final Review

Algebra 1 Semester 2 Final Review Team Awesome 011 Name: Date: Period: Algebra 1 Semester Final Review 1. Given y mx b what does m represent? What does b represent?. What axis is generally used for x?. What axis is generally used for y?

More information

1.5 Equations of Lines and Planes in 3-D

1.5 Equations of Lines and Planes in 3-D 1.5. EQUATIONS OF LINES AND PLANES IN 3-D 55 Figure 1.16: Line through P 0 parallel to v 1.5 Equations of Lines and Planes in 3-D Recall that given a point P = (a, b, c), one can draw a vector from the

More information

Section 13.5: Equations of Lines and Planes. 1 Objectives. 2 Assignments. 3 Lecture Notes

Section 13.5: Equations of Lines and Planes. 1 Objectives. 2 Assignments. 3 Lecture Notes Section 13.5: Equations of Lines and Planes 1 Objectives 1. Find vector, symmetric, or parametric equations for a line in space given two points on the line, given a point on the line and a vector parallel

More information

Computer Graphics Ray Casting. Matthias Teschner

Computer Graphics Ray Casting. Matthias Teschner Computer Graphics Ray Casting Matthias Teschner Outline Context Implicit surfaces Parametric surfaces Combined objects Triangles Axis-aligned boxes Iso-surfaces in grids Summary University of Freiburg

More information

Geometry Pre AP Graphing Linear Equations

Geometry Pre AP Graphing Linear Equations Geometry Pre AP Graphing Linear Equations Name Date Period Find the x- and y-intercepts and slope of each equation. 1. y = -x 2. x + 3y = 6 3. x = 2 4. y = 0 5. y = 2x - 9 6. 18x 42 y = 210 Graph each

More information

The Essentials of CAGD

The Essentials of CAGD The Essentials of CAGD Chapter 6: Bézier Patches Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/essentials-cagd c 2 Farin & Hansford The

More information

Vertical Line Test a relationship is a function, if NO vertical line intersects the graph more than once

Vertical Line Test a relationship is a function, if NO vertical line intersects the graph more than once Algebra 2 Chapter 2 Domain input values, X (x, y) Range output values, Y (x, y) Function For each input, there is exactly one output Example: Vertical Line Test a relationship is a function, if NO vertical

More information

3.1 INTRODUCTION TO THE FAMILY OF QUADRATIC FUNCTIONS

3.1 INTRODUCTION TO THE FAMILY OF QUADRATIC FUNCTIONS 3.1 INTRODUCTION TO THE FAMILY OF QUADRATIC FUNCTIONS Finding the Zeros of a Quadratic Function Examples 1 and and more Find the zeros of f(x) = x x 6. Solution by Factoring f(x) = x x 6 = (x 3)(x + )

More information

Practical Linear Algebra

Practical Linear Algebra Practical Linear Algebra AGeometryToolbox Third Edition Gerald Farin Dianne Hansford CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 2014 by Taylor &

More information

The Graph of an Equation Graph the following by using a table of values and plotting points.

The Graph of an Equation Graph the following by using a table of values and plotting points. Precalculus - Calculus Preparation - Section 1 Graphs and Models Success in math as well as Calculus is to use a multiple perspective -- graphical, analytical, and numerical. Thanks to Rene Descartes we

More information

Last week. Machiraju/Zhang/Möller

Last week. Machiraju/Zhang/Möller Last week Machiraju/Zhang/Möller 1 Overview of a graphics system Output device Input devices Image formed and stored in frame buffer Machiraju/Zhang/Möller 2 Introduction to CG Torsten Möller 3 Ray tracing:

More information

8.1 Geometric Queries for Ray Tracing

8.1 Geometric Queries for Ray Tracing Fall 2017 CSCI 420: Computer Graphics 8.1 Geometric Queries for Ray Tracing Hao Li http://cs420.hao-li.com 1 Outline Ray-Surface Intersections Special cases: sphere, polygon Barycentric coordinates 2 Outline

More information

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc. Chapter 1 Linear Equations and Straight Lines 2 of 71 Outline 1.1 Coordinate Systems and Graphs 1.4 The Slope of a Straight Line 1.3 The Intersection Point of a Pair of Lines 1.2 Linear Inequalities 1.5

More information

1 EquationsofLinesandPlanesin 3-D

1 EquationsofLinesandPlanesin 3-D 1 EquationsofLinesandPlanesin 3-D Recall that given a point P (a, b, c), one can draw a vector from the origin to P. Such a vector is called the position vector of the point P and its coordinates are a,

More information

GEOMETRY IN THREE DIMENSIONS

GEOMETRY IN THREE DIMENSIONS 1 CHAPTER 5. GEOMETRY IN THREE DIMENSIONS 1 INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW GEOMETRY IN THREE DIMENSIONS Contents 1 Geometry in R 3 2 1.1 Lines...............................................

More information

Review Exercise. 1. Determine vector and parametric equations of the plane that contains the

Review Exercise. 1. Determine vector and parametric equations of the plane that contains the Review Exercise 1. Determine vector and parametric equations of the plane that contains the points A11, 2, 12, B12, 1, 12, and C13, 1, 42. 2. In question 1, there are a variety of different answers possible,

More information

Review for Mastery Using Graphs and Tables to Solve Linear Systems

Review for Mastery Using Graphs and Tables to Solve Linear Systems 3-1 Using Graphs and Tables to Solve Linear Systems A linear system of equations is a set of two or more linear equations. To solve a linear system, find all the ordered pairs (x, y) that make both equations

More information

Geometric Queries for Ray Tracing

Geometric Queries for Ray Tracing CSCI 420 Computer Graphics Lecture 16 Geometric Queries for Ray Tracing Ray-Surface Intersection Barycentric Coordinates [Angel Ch. 11] Jernej Barbic University of Southern California 1 Ray-Surface Intersections

More information

CHAPTER - 10 STRAIGHT LINES Slope or gradient of a line is defined as m = tan, ( 90 ), where is angle which the line makes with positive direction of x-axis measured in anticlockwise direction, 0 < 180

More information

1.5 Equations of Lines and Planes in 3-D

1.5 Equations of Lines and Planes in 3-D 56 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE Figure 1.16: Line through P 0 parallel to v 1.5 Equations of Lines and Planes in 3-D Recall that given a point P = (a, b, c), one can draw a vector from

More information

Planes Intersecting Cones: Static Hypertext Version

Planes Intersecting Cones: Static Hypertext Version Page 1 of 12 Planes Intersecting Cones: Static Hypertext Version On this page, we develop some of the details of the plane-slicing-cone picture discussed in the introduction. The relationship between the

More information

The shortest distance from point K to line is the length of a segment perpendicular to from point K. Draw a perpendicular segment from K to.

The shortest distance from point K to line is the length of a segment perpendicular to from point K. Draw a perpendicular segment from K to. 8. Find the distance between each pair of parallel lines with the given equations. Copy each figure. Construct the segment that represents the distance indicated. 12. K to The shortest distance from point

More information

MATH 200 (Fall 2016) Exam 1 Solutions (a) (10 points) Find an equation of the sphere with center ( 2, 1, 4).

MATH 200 (Fall 2016) Exam 1 Solutions (a) (10 points) Find an equation of the sphere with center ( 2, 1, 4). MATH 00 (Fall 016) Exam 1 Solutions 1 1. (a) (10 points) Find an equation of the sphere with center (, 1, 4). (x ( )) + (y 1) + (z ( 4)) 3 (x + ) + (y 1) + (z + 4) 9 (b) (10 points) Find an equation of

More information

CS452/552; EE465/505. Geometry Transformations

CS452/552; EE465/505. Geometry Transformations CS452/552; EE465/505 Geometry Transformations 1-26-15 Outline! Geometry: scalars, points & vectors! Transformations Read: Angel, Chapter 4 (study cube.html/cube.js example) Appendix B: Spaces (vector,

More information

Chapter 7 Coordinate Geometry

Chapter 7 Coordinate Geometry Chapter 7 Coordinate Geometry 1 Mark Questions 1. Where do these following points lie (0, 3), (0, 8), (0, 6), (0, 4) A. Given points (0, 3), (0, 8), (0, 6), (0, 4) The x coordinates of each point is zero.

More information

Suggested problems - solutions

Suggested problems - solutions Suggested problems - solutions Writing equations of lines and planes Some of these are similar to ones you have examples for... most of them aren t. P1: Write the general form of the equation of the plane

More information

Geometric Primitives. Chapter 5

Geometric Primitives. Chapter 5 Chapter 5 Geometric Primitives In this chapter, we discuss the basic geometric primitives we will use to represent the world in which our graphic objects live. As discussed at the beginning of this class,

More information

Parallel or Perpendicular? How Can You Tell? Teacher Notes Page 1 of 6

Parallel or Perpendicular? How Can You Tell? Teacher Notes Page 1 of 6 Teacher Notes How can a student be sure when lines are parallel or perpendicular to a given graph using the graphing calculator? The difficulty lies in matching a mechanical graph that is on a rectangular

More information

slope rise run Definition of Slope

slope rise run Definition of Slope The Slope of a Line Mathematicians have developed a useful measure of the steepness of a line, called the slope of the line. Slope compares the vertical change (the rise) to the horizontal change (the

More information

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

COMPUTER AIDED ENGINEERING DESIGN (BFF2612) COMPUTER AIDED ENGINEERING DESIGN (BFF2612) BASIC MATHEMATICAL CONCEPTS IN CAED by Dr. Mohd Nizar Mhd Razali Faculty of Manufacturing Engineering mnizar@ump.edu.my COORDINATE SYSTEM y+ y+ z+ z+ x+ RIGHT

More information

Problems of Plane analytic geometry

Problems of Plane analytic geometry 1) Consider the vectors u(16, 1) and v( 1, 1). Find out a vector w perpendicular (orthogonal) to v and verifies u w = 0. 2) Consider the vectors u( 6, p) and v(10, 2). Find out the value(s) of parameter

More information

Section Graphs and Lines

Section Graphs and Lines Section 1.1 - Graphs and Lines The first chapter of this text is a review of College Algebra skills that you will need as you move through the course. This is a review, so you should have some familiarity

More information

Visual Recognition: Image Formation

Visual Recognition: Image Formation Visual Recognition: Image Formation Raquel Urtasun TTI Chicago Jan 5, 2012 Raquel Urtasun (TTI-C) Visual Recognition Jan 5, 2012 1 / 61 Today s lecture... Fundamentals of image formation You should know

More information

3.5 Equations of Lines and Planes

3.5 Equations of Lines and Planes 3.5 Equations of Lines and Planes Objectives Iknowhowtodefinealineinthree-dimensionalspace. I can write a line as a parametric equation, a symmetric equation, and a vector equation. I can define a plane

More information

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2 CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2 David Breen, William Regli and Maxim Peysakhov Department of Computer Science Drexel University 1 Outline Math review Introduction to 2D curves

More information

3.5 Day 1 Warm Up. Graph each line. 3.4 Proofs with Perpendicular Lines

3.5 Day 1 Warm Up. Graph each line. 3.4 Proofs with Perpendicular Lines 3.5 Day 1 Warm Up Graph each line. 1. y = 4x 2. y = 3x + 2 3. y = x 3 4. y = 4 x + 3 3 November 2, 2015 3.4 Proofs with Perpendicular Lines Geometry 3.5 Equations of Parallel and Perpendicular Lines Day

More information

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

Geometry. CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science Geometry CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012. 1 Objectives Introduce

More information

Instructor: Barry McQuarrie Page 1 of 6

Instructor: Barry McQuarrie Page 1 of 6 Questions 1. Solve the system by graphing: 3x + y = 2 2x y = 3 2. Solve the system by graphing: x + 3y = 9 y = 1 3 x 2 3. Solve the system by graphing: y = 2x + 5 3y + 6x = 15 4. Solve the system algebraically,

More information

AP Physics: Curved Mirrors and Lenses

AP Physics: Curved Mirrors and Lenses The Ray Model of Light Light often travels in straight lines. We represent light using rays, which are straight lines emanating from an object. This is an idealization, but is very useful for geometric

More information

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

Geometry. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico Geometry Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Objectives Introduce the elements of geometry - Scalars - Vectors - Points

More information

Barycentric Coordinates and Parameterization

Barycentric Coordinates and Parameterization Barycentric Coordinates and Parameterization Center of Mass Geometric center of object Center of Mass Geometric center of object Object can be balanced on CoM How to calculate? Finding the Center of Mass

More information

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines Math 18.02 (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines February 12 Reading Material: From Simmons: 17.1 and 17.2. Last time: Square Systems. Word problem. How many solutions?

More information

5.1 Introduction to the Graphs of Polynomials

5.1 Introduction to the Graphs of Polynomials Math 3201 5.1 Introduction to the Graphs of Polynomials In Math 1201/2201, we examined three types of polynomial functions: Constant Function - horizontal line such as y = 2 Linear Function - sloped line,

More information

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a coordinate system and then the measuring of the point with

More information

GEOMETRY HONORS COORDINATE GEOMETRY PACKET

GEOMETRY HONORS COORDINATE GEOMETRY PACKET GEOMETRY HONORS COORDINATE GEOMETRY PACKET Name Period Homework Lesson Assignment Day 1 - Slopes of Perpendicular WKSHT and Parallel Lines Day 2 - Writing an Equation of a Line HW- Honors TXTBK pages 615-617

More information

From Vertices To Fragments-1

From Vertices To Fragments-1 From Vertices To Fragments-1 1 Objectives Clipping Line-segment clipping polygon clipping 2 Overview At end of the geometric pipeline, vertices have been assembled into primitives Must clip out primitives

More information

Objectives. Geometry. Basic Elements. Coordinate-Free Geometry. Transformations to Change Coordinate Systems. Scalars

Objectives. Geometry. Basic Elements. Coordinate-Free Geometry. Transformations to Change Coordinate Systems. Scalars Objecties Geometry CS 432 Interactie Computer Graphics Prof. Daid E. Breen Department of Computer Science Introduce the elements of geometry - Scalars - Vectors - Points Deelop mathematical operations

More information

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material

More information

Rendering Algebraic Surfaces CS348B Final Project

Rendering Algebraic Surfaces CS348B Final Project Rendering Algebraic Surfaces CS348B Final Project Gennadiy Chuyeshov Overview This project is devoted to the visualization of a class consisting of implicit algebraic surfaces in three-dimensional space,

More information

Basics of Computational Geometry

Basics of Computational Geometry Basics of Computational Geometry Nadeem Mohsin October 12, 2013 1 Contents This handout covers the basic concepts of computational geometry. Rather than exhaustively covering all the algorithms, it deals

More information

Revision Problems for Examination 2 in Algebra 1

Revision Problems for Examination 2 in Algebra 1 Centre for Mathematical Sciences Mathematics, Faculty of Science Revision Problems for Examination in Algebra. Let l be the line that passes through the point (5, 4, 4) and is at right angles to the plane

More information

The Graphics Pipeline. Interactive Computer Graphics. The Graphics Pipeline. The Graphics Pipeline. The Graphics Pipeline: Clipping

The Graphics Pipeline. Interactive Computer Graphics. The Graphics Pipeline. The Graphics Pipeline. The Graphics Pipeline: Clipping Interactive Computer Graphics The Graphics Pipeline: The Graphics Pipeline Input: - geometric model - illumination model - camera model - viewport Some slides adopted from F. Durand and B. Cutler, MIT

More information

Vectors and the Geometry of Space

Vectors and the Geometry of Space Vectors and the Geometry of Space In Figure 11.43, consider the line L through the point P(x 1, y 1, z 1 ) and parallel to the vector. The vector v is a direction vector for the line L, and a, b, and c

More information

If three points A (h, 0), P (a, b) and B (0, k) lie on a line, show that: a b 1.

If three points A (h, 0), P (a, b) and B (0, k) lie on a line, show that: a b 1. ASSIGNMENT ON STRAIGHT LINES LEVEL 1 (CBSE/NCERT/STATE BOARDS) 1 Find the angle between the lines joining the points (0, 0), (2, 3) and the points (2, 2), (3, 5). 2 What is the value of y so that the line

More information

Vectors. Section 1: Lines and planes

Vectors. Section 1: Lines and planes Vectors Section 1: Lines and planes Notes and Examples These notes contain subsections on Reminder: notation and definitions Equation of a line The intersection of two lines Finding the equation of a plane

More information

The Rectangular Coordinate System and Equations of Lines. College Algebra

The Rectangular Coordinate System and Equations of Lines. College Algebra The Rectangular Coordinate System and Equations of Lines College Algebra Cartesian Coordinate System A grid system based on a two-dimensional plane with perpendicular axes: horizontal axis is the x-axis

More information

vector space retrieval many slides courtesy James Amherst

vector space retrieval many slides courtesy James Amherst vector space retrieval many slides courtesy James Allan@umass Amherst 1 what is a retrieval model? Model is an idealization or abstraction of an actual process Mathematical models are used to study the

More information

11 1. Introductory part In order to follow the contents of this book with full understanding, certain prerequisites from high school mathematics will

11 1. Introductory part In order to follow the contents of this book with full understanding, certain prerequisites from high school mathematics will 11 1. Introductory part In order to follow the contents of this book with full understanding, certain prerequisites from high school mathematics will be necessary. This firstly pertains to the basic concepts

More information

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH6 2.1 Warm-Up: See Solved Homework questions 2.2 Cartesian coordinate system Coordinate axes: Two perpendicular lines that intersect at the origin O on each line.

More information

CS348B Lecture 2 Pat Hanrahan, Spring Greeks: Do light rays proceed from the eye to the light, or from the light to the eye?

CS348B Lecture 2 Pat Hanrahan, Spring Greeks: Do light rays proceed from the eye to the light, or from the light to the eye? Page 1 Ray Tracing Today Basic algorithms Overview of pbrt Ray-surface intersection for single surface Next lecture Acceleration techniques for ray tracing large numbers of geometric primitives Classic

More information

Section 8.3 Vector, Parametric, and Symmetric Equations of a Line in

Section 8.3 Vector, Parametric, and Symmetric Equations of a Line in Section 8.3 Vector, Parametric, and Symmetric Equations of a Line in R 3 In Section 8.1, we discussed vector and parametric equations of a line in. In this section, we will continue our discussion, but,

More information

Computer Graphics. Lecture 2. Doç. Dr. Mehmet Gokturk

Computer Graphics. Lecture 2. Doç. Dr. Mehmet Gokturk Computer Graphics Lecture 2 Doç. Dr. Mehmet Gokturk Mathematical Foundations l Hearn and Baker (A1 A4) appendix gives good review l Some of the mathematical tools l Trigonometry l Vector spaces l Points,

More information

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides Image formation Thanks to Peter Corke and Chuck Dyer for the use of some slides Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements Geometry

More information

The reconstruction problem. Reconstruction by triangulation

The reconstruction problem. Reconstruction by triangulation The reconstruction problem Both intrinsic and extr insic parameters are known: we can solve the reconstruction problem unambiguously by triangulation. Only the intrinsic parameters are known: we can solve

More information

The Three Dimensional Coordinate System

The Three Dimensional Coordinate System The Three-Dimensional Coordinate System The Three Dimensional Coordinate System You can construct a three-dimensional coordinate system by passing a z-axis perpendicular to both the x- and y-axes at the

More information

Clipping and Intersection

Clipping and Intersection Clipping and Intersection Clipping: Remove points, line segments, polygons outside a region of interest. Need to discard everything that s outside of our window. Point clipping: Remove points outside window.

More information

Lines and Planes in 3D

Lines and Planes in 3D Lines and Planes in 3D Philippe B. Laval KSU January 28, 2013 Philippe B. Laval (KSU) Lines and Planes in 3D January 28, 2013 1 / 20 Introduction Recall that given a point P = (a, b, c), one can draw a

More information

Some Advanced Topics in Linear Programming

Some Advanced Topics in Linear Programming Some Advanced Topics in Linear Programming Matthew J. Saltzman July 2, 995 Connections with Algebra and Geometry In this section, we will explore how some of the ideas in linear programming, duality theory,

More information

1. Answer: x or x. Explanation Set up the two equations, then solve each equation. x. Check

1. Answer: x or x. Explanation Set up the two equations, then solve each equation. x. Check Thinkwell s Placement Test 5 Answer Key If you answered 7 or more Test 5 questions correctly, we recommend Thinkwell's Algebra. If you answered fewer than 7 Test 5 questions correctly, we recommend Thinkwell's

More information

Intersecting Simple Surfaces. Dr. Scott Schaefer

Intersecting Simple Surfaces. Dr. Scott Schaefer Intersecting Simple Surfaces Dr. Scott Schaefer 1 Types of Surfaces Infinite Planes Polygons Convex Ray Shooting Winding Number Spheres Cylinders 2/66 Infinite Planes Defined by a unit normal n and a point

More information

Are isophotes and reflection lines the same?

Are isophotes and reflection lines the same? Computer Aided Geometric Design 18 (001) 711 7 www.elsevier.com/locate/comaid Are isophotes and reflection lines the same? Holger Theisel University of Rostock, Computer Science Department, P.O. Box 999,

More information

Graphics and Interaction Transformation geometry and homogeneous coordinates

Graphics and Interaction Transformation geometry and homogeneous coordinates 433-324 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation

More information

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation

More information

Let s write this out as an explicit equation. Suppose that the point P 0 = (x 0, y 0, z 0 ), P = (x, y, z) and n = (A, B, C).

Let s write this out as an explicit equation. Suppose that the point P 0 = (x 0, y 0, z 0 ), P = (x, y, z) and n = (A, B, C). 4. Planes and distances How do we represent a plane Π in R 3? In fact the best way to specify a plane is to give a normal vector n to the plane and a point P 0 on the plane. Then if we are given any point

More information

Light: Geometric Optics

Light: Geometric Optics Light: Geometric Optics 23.1 The Ray Model of Light Light very often travels in straight lines. We represent light using rays, which are straight lines emanating from an object. This is an idealization,

More information

Equations of planes in

Equations of planes in Roberto s Notes on Linear Algebra Chapter 6: Lines, planes and other straight objects Section Equations of planes in What you need to know already: What vectors and vector operations are. What linear systems

More information

Computer Graphics. Curves and Surfaces. Hermite/Bezier Curves, (B-)Splines, and NURBS. By Ulf Assarsson

Computer Graphics. Curves and Surfaces. Hermite/Bezier Curves, (B-)Splines, and NURBS. By Ulf Assarsson Computer Graphics Curves and Surfaces Hermite/Bezier Curves, (B-)Splines, and NURBS By Ulf Assarsson Most of the material is originally made by Edward Angel and is adapted to this course by Ulf Assarsson.

More information

Lecture 4. If P1(x1,y1) and P2(x2,y2) are points on a non-vertical line, then the slope m of the line is defined by

Lecture 4. If P1(x1,y1) and P2(x2,y2) are points on a non-vertical line, then the slope m of the line is defined by Lines Lecture 4 In this section we shall discuss ways to measure the "steepness" or "slope" of a line in the plane. The ideas we develop here will be important when we discuss equations and graphs of straight

More information

Intro to Curves Week 1, Lecture 2

Intro to Curves Week 1, Lecture 2 CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2 David Breen, William Regli and Maxim Peysakhov Department of Computer Science Drexel University Outline Math review Introduction to 2D curves

More information

True/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY

True/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY True/False 10 points: points each) For the problems below, circle T if the answer is true and circle F is the answer is false. After you ve chosen

More information

MATH-G Geometry SOL Test 2015 Exam not valid for Paper Pencil Test Sessions

MATH-G Geometry SOL Test 2015 Exam not valid for Paper Pencil Test Sessions MATH-G Geometry SOL Test 2015 Exam not valid for Paper Pencil Test Sessions [Exam ID:2LKRLG 1 Which Venn diagram accurately represents the information in the following statement? If a triangle is equilateral,

More information

Math-2. Lesson 3-1. Equations of Lines

Math-2. Lesson 3-1. Equations of Lines Math-2 Lesson 3-1 Equations of Lines How can an equation make a line? y = x + 1 x -4-3 -2-1 0 1 2 3 Fill in the rest of the table rule x + 1 f(x) -4 + 1-3 -3 + 1-2 -2 + 1-1 -1 + 1 0 0 + 1 1 1 + 1 2 2 +

More information

Viewing and Ray Tracing

Viewing and Ray Tracing Viewing and Ray Tracing CS 4620 Lecture 4 2018 Steve Marschner 1 Projection To render an image of a 3D scene, we project it onto a plane Most common projection type is perspective projection 2018 Steve

More information

Writing Equations of Lines and Midpoint

Writing Equations of Lines and Midpoint Writing Equations of Lines and Midpoint MGSE9 12.G.GPE.5 Prove the slope criteria for parallel and perpendicular lines and use them to solve geometric problems (e.g., find the equation of a line parallel

More information

2. If triangle ABC is translated 2 units right and 3 units up, what are the coordinates of C'?

2. If triangle ABC is translated 2 units right and 3 units up, what are the coordinates of C'? Accelerated Algebra 1/Geometry A Summer Work Name: Please complete each of the following questions. You may use a calculator but you should show all steps to problem solving. You will turn this in to Ms.

More information

Surfaces. Ron Goldman Department of Computer Science Rice University

Surfaces. Ron Goldman Department of Computer Science Rice University Surfaces Ron Goldman Department of Computer Science Rice University Representations 1. Parametric Plane, Sphere, Tensor Product x = f (s,t) y = g(s,t) z = h(s,t) 2. Algebraic Plane, Sphere, Torus F(x,

More information

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra MPM 1D - Grade Nine Academic Mathematics This guide has been organized in alignment with the 2005 Ontario Mathematics Curriculum. Each of the specific curriculum expectations are cross-referenced to the

More information

Objectives. Geometry. Coordinate-Free Geometry. Basic Elements. Transformations to Change Coordinate Systems. Scalars

Objectives. Geometry. Coordinate-Free Geometry. Basic Elements. Transformations to Change Coordinate Systems. Scalars Objecties Geometry CS Interactie Computer Graphics Prof. Daid E. Breen Department of Computer Science Introduce the elements of geometry - Scalars - Vectors - Points Deelop mathematical operations among

More information

Optics II. Reflection and Mirrors

Optics II. Reflection and Mirrors Optics II Reflection and Mirrors Geometric Optics Using a Ray Approximation Light travels in a straight-line path in a homogeneous medium until it encounters a boundary between two different media The

More information

Generation of lattices of points for bivariate interpolation

Generation of lattices of points for bivariate interpolation Generation of lattices of points for bivariate interpolation J. M. Carnicer and M. Gasca Departamento de Matemática Aplicada. University of Zaragoza, Spain Abstract. Principal lattices in the plane are

More information

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

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 Computer Graphics Three-Dimensional Graphics I Guoying Zhao 1 / 52 Geometry Guoying Zhao 2 / 52 Objectives Introduce the elements of geometry Scalars Vectors Points Develop mathematical operations among

More information

JUST THE MATHS SLIDES NUMBER 5.2. GEOMETRY 2 (The straight line) A.J.Hobson

JUST THE MATHS SLIDES NUMBER 5.2. GEOMETRY 2 (The straight line) A.J.Hobson JUST THE MATHS SLIDES NUMBER 5.2 GEOMETRY 2 (The straight line) by A.J.Hobson 5.2.1 Preamble 5.2.2 Standard equations of a straight line 5.2.3 Perpendicular straight lines 5.2.4 Change of origin UNIT 5.2

More information