What You ll See in This Chapter. Word Cloud. Polar Coordinate Space. Fletcher Dunn. Ian Parberry University of North Texas
|
|
- Derick Manning
- 7 years ago
- Views:
Transcription
1 What You ll See in This Chapter Chapter 7 Polar Coordinate Systems Fletcher Dunn Valve Software Ian Parberry University of North Texas 3D Math Primer for Graphics & Game Development This chapter describes the polar coordinate system. It is divided into four sections. Section 7.1 describes 2D polar coordinates. Section 7.2 gives some examples where polar coordinates are preferable to Cartesian coordinates. Section 7.3 shows how polar space works in 3D and introduces cylindrical and spherical coordinates. Section 7.4 makes it clear that polar space can be used to describe vectors as well as positions. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 2 Word Cloud Section 7.1: 2D Polar Coordinates Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 3 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 4 Polar Coordinate Space Recall that 2D Cartesian coordinate space has an origin and two axes that pass through the origin. A 2D polar coordinate space also has an origin (known as the pole), which has the same basic purpose: it defines the center of the coordinate space. A polar coordinate space only has one axis, sometimes called the polar axis, which is usually depicted as a ray from the origin. It is customary in math literature for the polar axis to point to the right in diagrams, and thus it corresponds to the +x axis in a Cartesian system. It's often convenient to use different conventions than this, as we'll discuss later in this lecture. Until then, we ll use the traditional conventions of the math literature. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 5 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 6
2 Polar Coordinates In Cartesian coordinates we described a 2D point using the using two signed distances, x and y. Polar coordinates use a distance and an angle. By convention, the distance is usually called r (which is short for radius) and the angle is usually called θ. The polar coordinate pair (r, θ) species a point in 2D space as follows: 1. Start at the origin, facing in the direction of the polar axis, and rotate by angle θ. Positive values of θ are usually interpreted to mean counterclockwise rotation, with negative values indicating clockwise rotation. 2. Now move forward from the origin a distance of r units. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 7 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 8 Examples Polar Diagrams The grid circles show lines of constant r. The straight grid lines that pass through the origin show lines of constant θ, consisting of points that are the same direction from the origin. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 9 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 10 Angular Measurement It really doesn't matter whether you use degrees or radians (or grads, mils, minutes, signs, sextants, or Furmans) to measure angles, so long as you keep it straight. In the text of our book we almost always give specific angular measurements in degrees and use the symbol after the number. We do this because we are human beings, and most humans who are not math professors find it easier to deal with whole numbers rather than fractions of π. Indeed, the choice of the number 360 was specifically designed to make fractions avoidable in many common cases. However, computers prefer to work with angles expressed using radians, and so the code snippets in our book use radians rather than degrees. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 11 Some Ponderable Questions 1. Can the radial distance r ever be negative? 2. Can θ ever go outside of 180 θ 180? 3. The value of the angle directly west of the origin (i.e. for points where x < 0 and y = 0 using Cartesian coordinates) is ambiguous. Is θ equal to +180 or 180 for these points? 4. The polar coordinates for the origin itself are also ambiguous. Clearly r = 0, but what value of θ should we use? Wouldn't any value work? Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 12
3 Aliasing The answer to all of these questions is yes. In fact, for any given point, there are infinitely many polar coordinate pairs that can be used to describe that point. This phenomenon is known as aliasing. Two coordinate pairs are said to be aliases of each other if they have different numeric values but refer to the same point in space. Notice that aliasing doesn't happen in Cartesian space. Each point in space is assigned exactly one (x, y) coordinate pair. A given point in polar space corresponds to many coordinate pairs, but a coordinate pair unambiguously designates exactly one point. Creating Aliases One way to create an alias for a point (r, θ) is to add a multiple of 360 to θ. Thus (r, θ) and (r, θ + k360 ) describe the same point, where k is an integer. We can also generate an alias by adding 180 to θ and negating r; which means we face the other direction, but we displace by the opposite amount. In general, for any point (r, θ) other than the origin, all of the polar coordinates that are aliases for (r, θ) be expressed as: Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 13 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 14 Canonical Polar Coordinates A polar coordinate pair (r, θ) is in canonical form if all of the following are true: Algorithm to Make (r, θ) Canonical 1. If r = 0, then assign θ = If r < 0, then negate r, and add 180 to θ. 3. If θ 180, then add 360 to until θ > If θ > 180, then subtract 360 from θ until θ 180. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 15 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 16 A Nit Picky Observation Picky readers may notice that while this code ensures that θ is in range π θ π radians, it does not explicitly avoid the case where θ = π. The value π cannot be represented exactly in floating point. In fact, because π is irrational, it can never be represented exactly with any finite number of digits in any base! The value of the constant PI in our code is not exactly equal to π, it's the closest number to π that can be represented by a float. While double precision arithmetic is closer, it s not exact. So, you can think of this function as returning a value from π to π, exclusive. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 17 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 18
4 Converting from Polar to Cartesian Coordinates in 2D Converting polar coordinates (r, θ) to the corresponding Cartesian coordinates (x, y) follows from the definition of sin and cos. x = r cos θ y = r sin θ Converting from Cartesian to Polar Coordinates in 2D Computing polar coordinates (r, θ) from Cartesian coordinates (x, y) is slightly tricky. Due to aliasing, there isn't only one right answer; there are infinitely many (r, θ) pairs that describe the point (x, y). Usually, we want canonical coordinates. We can easily compute r using Pythagoras's theorem Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 19 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 20 Solve for θ Computing r was pretty easy. Now solve for θ: Pause for Thought There are two problems with this approach. The first is that if x = 0, then the division is undefined. The second is that arctan has a range from 90 to +90. The basic problem is that the division y/x effectively discards some useful information when x = y. Both x and y can either be positive or negative, resulting in four different possibilities, corresponding to the four different quadrants that may contain the point. But the division y/x results in a single value. If we negate both x and y, we move to a different quadrant in the plane, but the ratio x/y doesn't change. Because of these problems, the complete equation for conversion from Cartesian to polar coordinates requires some if statements to handle each quadrant, and is a bit of a mess for math people. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 21 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 22 atan2 atan2 Luckily, programmers have the atan2 function, which properly computes the angle for all x and y except for the pesky case at the origin. Borrowing this notation, let's define an atan2 function we can use in these notes in our math notation. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 23 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 24
5 Two Key Observations Two key observations about this definition. 1. First, following the convention of the atan2 function as found in the standard libraries of most computer languages, the arguments are in reverse order: y, x. You can either just remember that it's reversed, or you might find it handy to remember that atan2(y, x) is similar to arctan(y/x). Or remember that tan θ = sin θ / cos θ, and θ = atan2(sin θ, cos θ). 2. Second, in many software libraries, the atan2 function is undefined at the origin, when x = y = 0. The atan2 function we are defining for use in our equations in these notes is defined such that atan2(0, 0) = 0. In our code snippets we'll use atan2 and explicitly handle the origin as a special case, but in our equations, we'll use atan2 which is defined at the origin. (Note the difference in typeface.) Computing θ Back to the task at hand: computing the polar angle θ from a set of 2D Cartesian coordinates. Armed with the atan2 function, we can easily convert 2D Cartesian coordinates to polar form. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 25 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 26 Code Snippet Section 7.2: Why Use Polar Coordinates? Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 27 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 28 Why Use Polar Coordinates? They re better for humans (eg. I live 22 miles NNE of Dallas, TX ) They re useful in video games (for cameras and turrets and assassin s arms, oh my). Sometimes we even use 3D spherical coordinates for locating things on the globe latitude and longitude. More coming up Section 7.3: 3D Polar Space Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 29 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 30
6 3D Polar Space There are two kinds in common use: 1. Cylindrical coordinates 1 angle and 2 distances 2. Spherical coordinates 2 angles and 1 distance 3D Cylindrical Space To locate the point described by cylindrical coordinates (r, θ, z), start by processing r and θ just like we would for 2D polar coordinates, and then move up or down the z axis by z. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 31 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 32 3D Spherical Coordinates As with 2D polar coordinates, 3D spherical coordinates also work by defining a direction and distance. The only difference is that in 3D it takes two angles to define a direction. There are two polar axes in 3D spherical space. 1. The first axis is horizontal and corresponds to the polar axis in 2D polar coordinates or +x in our 3D Cartesian conventions. 2. The other axis is vertical, corresponding to +y in our 3D Cartesian conventions. Notational Confusion Different people use different conventions and notation for spherical coordinates, but most math people have agreed that the two angles are named θ and φ. Math people also are in general agreement about how these two angles are to be interpreted to define a direction. You can imagine it like this: Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 33 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 34 Finding the Point (r, θ, φ) 1. Begin by standing at the origin, facing the direction of the horizontal polar axis. The vertical axis points from your feet to your head. 2. Rotate counterclockwise by the angle θ (the same way that we did for 2D polar coordinates). 3. Point your arm straight up, in the direction of the vertical polar axis. 4. Rotate your arm downward by the angle φ. Your arm now points in the direction specified by the polar angles θ, φ. 5. Displace from the origin along this direction by the distance r, and we've arrived at the point described by the spherical coordinates (r, θ, φ). Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 35 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 36
7 Azimuth, Zenith, Lat, and Long The horizontal angle θ is known as the azimuth, and φ is the zenith. Other terms that you've probably heard are longitude and latitude. Longitude is basically θ, and latitude is the angle of inclination, 90 φ. So you see, the latitude/longitude system for describing locations on planet Earth is actually a type of spherical coordinate system. We're often only interested in describing points on the planet's surface, and so the radial distance r, which would measure the distance to the center of the Earth, isn't necessary. Visualizing Polar Coordinates The spherical coordinate system described in the previous section is the traditional right handed system used by math people. We'll soon see that the formulas for converting between Cartesian and spherical coordinates are rather elegant under these assumptions. However, if you are like most people in the video game industry, you probably spend more time visualizing geometry than manipulating equations, and for our purposes these conventions carry a few irritating disadvantages: Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 37 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 38 Irritating Disadvantage 1 The default horizontal direction at θ = 0 points in the direction of +x. This is unfortunate, since for us, +x points to the right or east, neither of which are the default directions in most people's mind. Similar to the way that numbers on a clock start at the top, it would be nicer for us if the horizontal polar axis pointed towards +z, which is forward or north. Irritating Disadvantage 2 The conventions for the angle φ are unfortunate in several respects. It would be nicer if the 2D polar coordinates (r, θ) were extended into 3D simply by adding a third coordinate of zero, like we extend the Cartesian system from 2D to 3D. But the spherical coordinates (r, θ, 0) don't correspond to the 2D polar coordinates (r, θ) as we'd like. In fact, assigning φ = 0 puts us in the awkward situation of Gimbal lock, a singularity we'll describe later. Instead, the points in the 2D plane are represented as (r, θ, 90 ). It might have been more intuitive to measure latitude, rather than zenith. Most people think of the default as horizontal and up as the extreme case. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 39 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 40 Irritating Disadvantage 3 No offense to the Greeks, but θ and φ take a little while to get used to. The symbol r isn't so bad because at least it stands for something meaningful: radial distance or radius. Wouldn't it be great if the symbols we used to denote the angles were similarly short for English words, rather than completely arbitrary Greek symbols? Irritating Disadvantages 4 and 5 4. It would be nice if the two angles for spherical coordinates were the same as the first two angles we use for Euler angles, which are used to describe orientation in 3D. (We're not going to discuss Euler angles until Chapter 8.) 5. It's a right handed system, and we use a lefthanded system. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 41 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 42
8 Spherical Coordinates for Gamers The horizontal angle θ we will rename to h, which is short for heading and is similar to a compass heading. A heading of zero indicates a direction of forward or to the north, depending on the context. This matches the standard aviation conventions. If we assume our 3D cartesian conventions described in Chapter 1, then a heading of zero (and thus our primary polar axis) corresponds to +z. Also, since we prefer a left handed coordinate system, positive rotation will rotate clockwise when viewed from above. Spherical Coordinates for Gamers The vertical angle φ is renamed to p, which is short for pitch and measures how much we are looking up or down. The default pitch value of zero indicates a horizontal direction, which is what most of us intuitively expect. Perhaps not so intuitively, positive pitch rotates downward, which means that pitch actually measures the angle of declination. This might seem to be a bad choice, but it is consistent with the left hand rule. Later we'll see how consistency with the left hand rule bears fruit worth suffering this small measure of counterintuitiveness. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 43 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 44 Aliasing in 3D Sperical Coordinates The first sure fire way to generate an alias is to add a multiple of 360 to either angle. This is really the most trivial form of aliasing and is caused by the cyclic nature of angular measurements. The other two forms of aliasing are a bit more interesting, because they are caused by the interdependence of the coordinates. In other words, the meaning of one coordinate (r) depends on the values of the other coordinate(s) the angles) This dependency created a form of aliasing and a singularity: Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 45 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 46 The Aliasing and the Singularity The aliasing in 2D polar space could be triggered by negating the radial distance r and adjusting the angle so that the opposite direction is indicated. We can do the same with spherical coordinates. Using our heading and pitch conventions, all we need to do is flip the heading by adding an odd multiple of 180, and then negate the pitch. The singularity in 2D polar space occurred at the origin, since the angular coordinate is irrelevant when r = 0. With spherical coordinates, both angles are irrelevant at the origin. That s Not All, Folks So spherical coordinates exhibit similar aliasing behavior because the meaning of r changes depending on the values of the angles. However, spherical coordinates also suffer additional forms of aliasing because the pitch angle rotates about an axis that varies depending on the heading angle. This creates an additional form of aliasing and an additional singularity, analogous to those caused by the dependence of r on the direction. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 47 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 48
9 More Aliasing and Singularities Different heading and pitch values can result in the same direction, even excluding trivial aliasing of each individual angle. An alias of (h, p) can be generated by (h±180, 180 p). For example, instead of turning right 90 (facing east) and pitching down 45, we could turn left 90 (facing west) and then pitch down 135. Although we would be upside down, we would still be looking in the same direction. A singularity occurs when the pitch angle is set to 90 (or any alias of these values). In this situation, known as Gimbal lock, the direction indicated is purely vertical (straight up or straight down), and the heading angle is irrelevant. We'll have a great deal more to say about Gimbal lock when we discuss Euler angles in Chapter 8. Canonical Spherical Coordinates Just as we did in 2D, we can define a set of canonical spherical coordinates such that any given point in 3D space maps unambiguously to exactly one coordinate triple within the canonical set. We place similar restrictions on r and h as we did for polar coordinates. Two additional constraints are added related to the pitch angle. 1. Pitch is restricted to be in the range 90 to Since the heading value is irrelevant when pitch reaches the extreme values of Gimbal lock, we force h = 0 in that case. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 49 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 50 Conditions for Canonical Spherical Coordinates Algorithm to Make (r, p, h) Canonical 1. If r = 0, then assign h = p = 0 2. If r < 0, then negate r, add 180 to h, and negate p 3. If p < 90, then add 360 to p until p If p > 270, then subtract 360 from p until p If p > 90, add 180 to h and set p = 180 p 6. If h 180, then add 360 to h until h > If h > 180, then subtract 360 from h until h 180 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 51 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 52 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 53 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 54
10 Converting Spherical Coordinates to 3D Cartesian Coordinates. Let's see if we can convert spherical coordinates to 3D Cartesian coordinates. For now, our discussion will use the traditional right handed conventions for both Cartesian and spherical spaces. Later we'll show conversions applicable to our left handed conventions. Examine the figure on the next slide, which shows both spherical and Cartesian coordinates. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 55 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 56 What is d? Notice that we've introduced a new variable d, the horizontal distance between the point and the vertical axis. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 57 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 58 Computing z From the right triangle with hypotenuse r and legs d and z, we see that z/r = cos φ, that is, z = r cos φ. Computing x and y Consider that if φ = 90, we basically have 2D polar coordinates. Let x' and y' stand for the x and y coordinates that would result if φ = 90. As in 2D, x' = r cos θ, y' = r sin θ. Notice that when φ = 90, d = r. As φ decreases, d decreases, and by similar triangles x/x' = y/y' = d/r. Looking at triangle dzr again, we observe that d/r = sin φ. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 59 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 60
11 Putting it All Together Putting all this together, we have: x = r sin φ cos θ y = r sin φ sin θ z = r cos θ Using our gamer conventions: x = r cos p sin h y = r sin p z = r cos p cos h Continuing r is easy: As before, the singularity at the origin when r = 0 is handled as a special case. The heading angle is surprisingly simple to compute using our atan2 function, h = atan2(x, z). This trick works because atan2 only uses the ratio of its arguments and their signs. Examine the equations x = r cos p sin h, y = r sin p, and z = r cos p cos h and notice that the scale factor of r cos p is common to both x and z. Furthermore, by using canonical coordinates we are assuming r > 0 and 90 p 90, thus cos p 0 and the common scale factor is always nonnegative. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 61 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 62 Finally Finally, once we know r, we can solve for p from y. y = r sin p y/r = sin p p = arcsin( y/r) The arcsin function has a range of 90 to 90, which fortunately coincides with the range for p within the canonical set. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 63 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 64 Using Polar Coords to Specify Vectors Section 7.4: Using Polar Coordinates to Specify Vectors We've seen how to describe a point using polar coordinates, and how to describe a vector using cartesian coordinates. It's also possible to use polar form to describe vectors. Polar coordinates directly describe the two key properties of a vector, its direction and length. As for the details of how polar vectors work, we've actually already covered them. Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 65 Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 66
12 That concludes Chapter 7. Next, Chapter 8: Rotation in Three Dimensions Chapter 7 Notes 3D Math Primer for Graphics & Game Dev 67
Trigonometric Functions and Triangles
Trigonometric Functions and Triangles Dr. Philippe B. Laval Kennesaw STate University August 27, 2010 Abstract This handout defines the trigonometric function of angles and discusses the relationship between
More informationTriangle Trigonometry and Circles
Math Objectives Students will understand that trigonometric functions of an angle do not depend on the size of the triangle within which the angle is contained, but rather on the ratios of the sides of
More informationAngles and Quadrants. Angle Relationships and Degree Measurement. Chapter 7: Trigonometry
Chapter 7: Trigonometry Trigonometry is the study of angles and how they can be used as a means of indirect measurement, that is, the measurement of a distance where it is not practical or even possible
More information2 Session Two - Complex Numbers and Vectors
PH2011 Physics 2A Maths Revision - Session 2: Complex Numbers and Vectors 1 2 Session Two - Complex Numbers and Vectors 2.1 What is a Complex Number? The material on complex numbers should be familiar
More information6. Vectors. 1 2009-2016 Scott Surgent (surgent@asu.edu)
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 informationComputing Euler angles from a rotation matrix
Computing Euler angles from a rotation matrix Gregory G. Slabaugh Abstract This document discusses a simple technique to find all possible Euler angles from a rotation matrix. Determination of Euler angles
More informationTrigonometry for AC circuits
Trigonometry for AC circuits This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,
More information11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space
11 Vectors and the Geometry of Space 11.1 Vectors in the Plane Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. 2 Objectives! Write the component form of
More informationUnified Lecture # 4 Vectors
Fall 2005 Unified Lecture # 4 Vectors These notes were written by J. Peraire as a review of vectors for Dynamics 16.07. They have been adapted for Unified Engineering by R. Radovitzky. References [1] Feynmann,
More informationSession 7 Fractions and Decimals
Key Terms in This Session Session 7 Fractions and Decimals Previously Introduced prime number rational numbers New in This Session period repeating decimal terminating decimal Introduction In this session,
More informationThe Dot and Cross Products
The Dot and Cross Products Two common operations involving vectors are the dot product and the cross product. Let two vectors =,, and =,, be given. The Dot Product The dot product of and is written and
More informationLecture L3 - Vectors, Matrices and Coordinate Transformations
S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between
More informationx 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1
Implicit Functions Defining Implicit Functions Up until now in this course, we have only talked about functions, which assign to every real number x in their domain exactly one real number f(x). The graphs
More informationMODERN APPLICATIONS OF PYTHAGORAS S THEOREM
UNIT SIX MODERN APPLICATIONS OF PYTHAGORAS S THEOREM Coordinate Systems 124 Distance Formula 127 Midpoint Formula 131 SUMMARY 134 Exercises 135 UNIT SIX: 124 COORDINATE GEOMETRY Geometry, as presented
More informationTrigonometric Functions: The Unit Circle
Trigonometric Functions: The Unit Circle This chapter deals with the subject of trigonometry, which likely had its origins in the study of distances and angles by the ancient Greeks. The word trigonometry
More informationAlgebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123
Algebra Eponents Simplify each of the following as much as possible. 1 4 9 4 y + y y. 1 5. 1 5 4. y + y 4 5 6 5. + 1 4 9 10 1 7 9 0 Absolute Value Evaluate 5 and 1. Eliminate the absolute value bars from
More informationSolving Simultaneous Equations and Matrices
Solving Simultaneous Equations and Matrices The following represents a systematic investigation for the steps used to solve two simultaneous linear equations in two unknowns. The motivation for considering
More informationLecture L5 - Other Coordinate Systems
S. Widnall, J. Peraire 16.07 Dynamics Fall 008 Version.0 Lecture L5 - Other Coordinate Systems In this lecture, we will look at some other common systems of coordinates. We will present polar coordinates
More informationSection 9.1 Vectors in Two Dimensions
Section 9.1 Vectors in Two Dimensions Geometric Description of Vectors A vector in the plane is a line segment with an assigned direction. We sketch a vector as shown in the first Figure below with an
More informationThe Force Table Introduction: Theory:
1 The Force Table Introduction: "The Force Table" is a simple tool for demonstrating Newton s First Law and the vector nature of forces. This tool is based on the principle of equilibrium. An object is
More informationMath 3000 Section 003 Intro to Abstract Math Homework 2
Math 3000 Section 003 Intro to Abstract Math Homework 2 Department of Mathematical and Statistical Sciences University of Colorado Denver, Spring 2012 Solutions (February 13, 2012) Please note that these
More informationSolutions to Homework 10
Solutions to Homework 1 Section 7., exercise # 1 (b,d): (b) Compute the value of R f dv, where f(x, y) = y/x and R = [1, 3] [, 4]. Solution: Since f is continuous over R, f is integrable over R. Let x
More information2. Spin Chemistry and the Vector Model
2. Spin Chemistry and the Vector Model The story of magnetic resonance spectroscopy and intersystem crossing is essentially a choreography of the twisting motion which causes reorientation or rephasing
More information9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes
The Scalar Product 9.4 Introduction There are two kinds of multiplication involving vectors. The first is known as the scalar product or dot product. This is so-called because when the scalar product of
More information2.2 Magic with complex exponentials
2.2. MAGIC WITH COMPLEX EXPONENTIALS 97 2.2 Magic with complex exponentials We don t really know what aspects of complex variables you learned about in high school, so the goal here is to start more or
More informationGrade 7 & 8 Math Circles Circles, Circles, Circles March 19/20, 2013
Faculty of Mathematics Waterloo, Ontario N2L 3G Introduction Grade 7 & 8 Math Circles Circles, Circles, Circles March 9/20, 203 The circle is a very important shape. In fact of all shapes, the circle is
More informationTrigonometry Hard Problems
Solve the problem. This problem is very difficult to understand. Let s see if we can make sense of it. Note that there are multiple interpretations of the problem and that they are all unsatisfactory.
More informationVector surface area Differentials in an OCS
Calculus and Coordinate systems EE 311 - Lecture 17 1. Calculus and coordinate systems 2. Cartesian system 3. Cylindrical system 4. Spherical system In electromagnetics, we will often need to perform integrals
More informationEDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS
EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS TUTORIAL 1 NON-CONCURRENT COPLANAR FORCE SYSTEMS 1. Be able to determine the effects
More informationSection V.3: Dot Product
Section V.3: Dot Product Introduction So far we have looked at operations on a single vector. There are a number of ways to combine two vectors. Vector addition and subtraction will not be covered here,
More informationTrigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus
Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus Objectives: This is your review of trigonometry: angles, six trig. functions, identities and formulas, graphs:
More informationAnalysis of Stresses and Strains
Chapter 7 Analysis of Stresses and Strains 7.1 Introduction axial load = P / A torsional load in circular shaft = T / I p bending moment and shear force in beam = M y / I = V Q / I b in this chapter, we
More informationChapter 17. Orthogonal Matrices and Symmetries of Space
Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length
More informationANALYTICAL METHODS FOR ENGINEERS
UNIT 1: Unit code: QCF Level: 4 Credit value: 15 ANALYTICAL METHODS FOR ENGINEERS A/601/1401 OUTCOME - TRIGONOMETRIC METHODS TUTORIAL 1 SINUSOIDAL FUNCTION Be able to analyse and model engineering situations
More informationWeek 13 Trigonometric Form of Complex Numbers
Week Trigonometric Form of Complex Numbers Overview In this week of the course, which is the last week if you are not going to take calculus, we will look at how Trigonometry can sometimes help in working
More informationTHE COMPLEX EXPONENTIAL FUNCTION
Math 307 THE COMPLEX EXPONENTIAL FUNCTION (These notes assume you are already familiar with the basic properties of complex numbers.) We make the following definition e iθ = cos θ + i sin θ. (1) This formula
More information13.4 THE CROSS PRODUCT
710 Chapter Thirteen A FUNDAMENTAL TOOL: VECTORS 62. Use the following steps and the results of Problems 59 60 to show (without trigonometry) that the geometric and algebraic definitions of the dot product
More informationFigure 1.1 Vector A and Vector F
CHAPTER I VECTOR QUANTITIES Quantities are anything which can be measured, and stated with number. Quantities in physics are divided into two types; scalar and vector quantities. Scalar quantities have
More informationPlotting and Adjusting Your Course: Using Vectors and Trigonometry in Navigation
Plotting and Adjusting Your Course: Using Vectors and Trigonometry in Navigation ED 5661 Mathematics & Navigation Teacher Institute August 2011 By Serena Gay Target: Precalculus (grades 11 or 12) Lesson
More informationPYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
More informationAdditional Topics in Math
Chapter Additional Topics in Math In addition to the questions in Heart of Algebra, Problem Solving and Data Analysis, and Passport to Advanced Math, the SAT Math Test includes several questions that are
More informationGeometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi
Geometry of Vectors Carlo Tomasi This note explores the geometric meaning of norm, inner product, orthogonality, and projection for vectors. For vectors in three-dimensional space, we also examine the
More informationThe GED math test gives you a page of math formulas that
Math Smart 643 The GED Math Formulas The GED math test gives you a page of math formulas that you can use on the test, but just seeing the formulas doesn t do you any good. The important thing is understanding
More information4 The Rhumb Line and the Great Circle in Navigation
4 The Rhumb Line and the Great Circle in Navigation 4.1 Details on Great Circles In fig. GN 4.1 two Great Circle/Rhumb Line cases are shown, one in each hemisphere. In each case the shorter distance between
More informationCopyrighted Material. Chapter 1 DEGREE OF A CURVE
Chapter 1 DEGREE OF A CURVE Road Map The idea of degree is a fundamental concept, which will take us several chapters to explore in depth. We begin by explaining what an algebraic curve is, and offer two
More informationGeometric Transformations
Geometric Transformations Definitions Def: f is a mapping (function) of a set A into a set B if for every element a of A there exists a unique element b of B that is paired with a; this pairing is denoted
More informationAP Physics - Vector Algrebra Tutorial
AP Physics - Vector Algrebra Tutorial Thomas Jefferson High School for Science and Technology AP Physics Team Summer 2013 1 CONTENTS CONTENTS Contents 1 Scalars and Vectors 3 2 Rectangular and Polar Form
More informationObjectives After completing this section, you should be able to:
Chapter 5 Section 1 Lesson Angle Measure Objectives After completing this section, you should be able to: Use the most common conventions to position and measure angles on the plane. Demonstrate an understanding
More informationReview B: Coordinate Systems
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of hysics 8.02 Review B: Coordinate Systems B.1 Cartesian Coordinates... B-2 B.1.1 Infinitesimal Line Element... B-4 B.1.2 Infinitesimal Area Element...
More informationFactoring Patterns in the Gaussian Plane
Factoring Patterns in the Gaussian Plane Steve Phelps Introduction This paper describes discoveries made at the Park City Mathematics Institute, 00, as well as some proofs. Before the summer I understood
More informationFURTHER VECTORS (MEI)
Mathematics Revision Guides Further Vectors (MEI) (column notation) Page of MK HOME TUITION Mathematics Revision Guides Level: AS / A Level - MEI OCR MEI: C FURTHER VECTORS (MEI) Version : Date: -9-7 Mathematics
More informationContinued Fractions and the Euclidean Algorithm
Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction
More informationThe purposes of this experiment are to test Faraday's Law qualitatively and to test Lenz's Law.
260 17-1 I. THEORY EXPERIMENT 17 QUALITATIVE STUDY OF INDUCED EMF Along the extended central axis of a bar magnet, the magnetic field vector B r, on the side nearer the North pole, points away from this
More information5.3 The Cross Product in R 3
53 The Cross Product in R 3 Definition 531 Let u = [u 1, u 2, u 3 ] and v = [v 1, v 2, v 3 ] Then the vector given by [u 2 v 3 u 3 v 2, u 3 v 1 u 1 v 3, u 1 v 2 u 2 v 1 ] is called the cross product (or
More informationMath 1B, lecture 5: area and volume
Math B, lecture 5: area and volume Nathan Pflueger 6 September 2 Introduction This lecture and the next will be concerned with the computation of areas of regions in the plane, and volumes of regions in
More informationSection V.2: Magnitudes, Directions, and Components of Vectors
Section V.: Magnitudes, Directions, and Components of Vectors Vectors in the plane If we graph a vector in the coordinate plane instead of just a grid, there are a few things to note. Firstl, directions
More informationArea and Arc Length in Polar Coordinates
Area and Arc Length in Polar Coordinates The Cartesian Coordinate System (rectangular coordinates) is not always the most convenient way to describe points, or relations in the plane. There are certainly
More informationCharlesworth School Year Group Maths Targets
Charlesworth School Year Group Maths Targets Year One Maths Target Sheet Key Statement KS1 Maths Targets (Expected) These skills must be secure to move beyond expected. I can compare, describe and solve
More informationMath Review. for the Quantitative Reasoning Measure of the GRE revised General Test
Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important
More informationCoordinate Systems. Orbits and Rotation
Coordinate Systems Orbits and Rotation Earth orbit. The earth s orbit around the sun is nearly circular but not quite. It s actually an ellipse whose average distance from the sun is one AU (150 million
More information6. LECTURE 6. Objectives
6. LECTURE 6 Objectives I understand how to use vectors to understand displacement. I can find the magnitude of a vector. I can sketch a vector. I can add and subtract vector. I can multiply a vector by
More information10 Polar Coordinates, Parametric Equations
Polar Coordinates, Parametric Equations ½¼º½ ÈÓÐ Ö ÓÓÖ Ò Ø Coordinate systems are tools that let us use algebraic methods to understand geometry While the rectangular (also called Cartesian) coordinates
More informationAdding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors
1 Chapter 13. VECTORS IN THREE DIMENSIONAL SPACE Let s begin with some names and notation for things: R is the set (collection) of real numbers. We write x R to mean that x is a real number. A real number
More informationThe Theory and Practice of Using a Sine Bar, version 2
The Theory and Practice of Using a Sine Bar, version 2 By R. G. Sparber Copyleft protects this document. 1 The Quick Answer If you just want to set an angle with a sine bar and stack of blocks, then take
More informationLinear Programming Notes V Problem Transformations
Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material
More informationMATH 60 NOTEBOOK CERTIFICATIONS
MATH 60 NOTEBOOK CERTIFICATIONS Chapter #1: Integers and Real Numbers 1.1a 1.1b 1.2 1.3 1.4 1.8 Chapter #2: Algebraic Expressions, Linear Equations, and Applications 2.1a 2.1b 2.1c 2.2 2.3a 2.3b 2.4 2.5
More informationEDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT
EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT 4 Understand single-phase alternating current (ac) theory Single phase AC
More informationSection 10.4 Vectors
Section 10.4 Vectors A vector is represented by using a ray, or arrow, that starts at an initial point and ends at a terminal point. Your textbook will always use a bold letter to indicate a vector (such
More information... ... . (2,4,5).. ...
12 Three Dimensions ½¾º½ Ì ÓÓÖ Ò Ø ËÝ Ø Ñ So far wehave been investigatingfunctions ofthe form y = f(x), withone independent and one dependent variable Such functions can be represented in two dimensions,
More informationD.3. Angles and Degree Measure. Review of Trigonometric Functions
APPENDIX D Precalculus Review D7 SECTION D. Review of Trigonometric Functions Angles and Degree Measure Radian Measure The Trigonometric Functions Evaluating Trigonometric Functions Solving Trigonometric
More informationSolving Rational Equations
Lesson M Lesson : Student Outcomes Students solve rational equations, monitoring for the creation of extraneous solutions. Lesson Notes In the preceding lessons, students learned to add, subtract, multiply,
More informationChapter 6 Circular Motion
Chapter 6 Circular Motion 6.1 Introduction... 1 6.2 Cylindrical Coordinate System... 2 6.2.1 Unit Vectors... 3 6.2.2 Infinitesimal Line, Area, and Volume Elements in Cylindrical Coordinates... 4 Example
More informationMATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.
MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column
More informationTWO-DIMENSIONAL TRANSFORMATION
CHAPTER 2 TWO-DIMENSIONAL TRANSFORMATION 2.1 Introduction As stated earlier, Computer Aided Design consists of three components, namely, Design (Geometric Modeling), Analysis (FEA, etc), and Visualization
More informationWith the Tan function, you can calculate the angle of a triangle with one corner of 90 degrees, when the smallest sides of the triangle are given:
Page 1 In game development, there are a lot of situations where you need to use the trigonometric functions. The functions are used to calculate an angle of a triangle with one corner of 90 degrees. By
More informationCOMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012
Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about
More informationLecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization
Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization 2.1. Introduction Suppose that an economic relationship can be described by a real-valued
More informationTRIGONOMETRY Compound & Double angle formulae
TRIGONOMETRY Compound & Double angle formulae In order to master this section you must first learn the formulae, even though they will be given to you on the matric formula sheet. We call these formulae
More informationMath Workshop October 2010 Fractions and Repeating Decimals
Math Workshop October 2010 Fractions and Repeating Decimals This evening we will investigate the patterns that arise when converting fractions to decimals. As an example of what we will be looking at,
More informationSection 1.1. Introduction to R n
The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to
More informationDiscrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2
CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us
More informationdiscuss how to describe points, lines and planes in 3 space.
Chapter 2 3 Space: lines and planes In this chapter we discuss how to describe points, lines and planes in 3 space. introduce the language of vectors. discuss various matters concerning the relative position
More informationSOLVING TRIGONOMETRIC EQUATIONS
Mathematics Revision Guides Solving Trigonometric Equations Page 1 of 17 M.K. HOME TUITION Mathematics Revision Guides Level: AS / A Level AQA : C2 Edexcel: C2 OCR: C2 OCR MEI: C2 SOLVING TRIGONOMETRIC
More informationStack Contents. Pressure Vessels: 1. A Vertical Cut Plane. Pressure Filled Cylinder
Pressure Vessels: 1 Stack Contents Longitudinal Stress in Cylinders Hoop Stress in Cylinders Hoop Stress in Spheres Vanishingly Small Element Radial Stress End Conditions 1 2 Pressure Filled Cylinder A
More informationLinear Algebra: Vectors
A Linear Algebra: Vectors A Appendix A: LINEAR ALGEBRA: VECTORS TABLE OF CONTENTS Page A Motivation A 3 A2 Vectors A 3 A2 Notational Conventions A 4 A22 Visualization A 5 A23 Special Vectors A 5 A3 Vector
More informationMathematics. Mathematical Practices
Mathematical Practices 1. Make sense of problems and persevere in solving them. 2. Reason abstractly and quantitatively. 3. Construct viable arguments and critique the reasoning of others. 4. Model with
More informationTennessee Mathematics Standards 2009-2010 Implementation. Grade Six Mathematics. Standard 1 Mathematical Processes
Tennessee Mathematics Standards 2009-2010 Implementation Grade Six Mathematics Standard 1 Mathematical Processes GLE 0606.1.1 Use mathematical language, symbols, and definitions while developing mathematical
More informationSAT Math Facts & Formulas Review Quiz
Test your knowledge of SAT math facts, formulas, and vocabulary with the following quiz. Some questions are more challenging, just like a few of the questions that you ll encounter on the SAT; these questions
More informationSolutions to Homework 5
Solutions to Homework 5 1. Let z = f(x, y) be a twice continously differentiable function of x and y. Let x = r cos θ and y = r sin θ be the equations which transform polar coordinates into rectangular
More informationGRE Prep: Precalculus
GRE Prep: Precalculus Franklin H.J. Kenter 1 Introduction These are the notes for the Precalculus section for the GRE Prep session held at UCSD in August 2011. These notes are in no way intended to teach
More information4. How many integers between 2004 and 4002 are perfect squares?
5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started
More informationSolutions to Practice Problems
Higher Geometry Final Exam Tues Dec 11, 5-7:30 pm Practice Problems (1) Know the following definitions, statements of theorems, properties from the notes: congruent, triangle, quadrilateral, isosceles
More informationExperiment 5: Magnetic Fields of a Bar Magnet and of the Earth
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Physics 8.02 Spring 2005 Experiment 5: Magnetic Fields of a Bar Magnet and of the Earth OBJECTIVES 1. To examine the magnetic field associated with a
More informationVector Algebra II: Scalar and Vector Products
Chapter 2 Vector Algebra II: Scalar and Vector Products We saw in the previous chapter how vector quantities may be added and subtracted. In this chapter we consider the products of vectors and define
More informationSection 1.1 Linear Equations: Slope and Equations of Lines
Section. Linear Equations: Slope and Equations of Lines Slope The measure of the steepness of a line is called the slope of the line. It is the amount of change in y, the rise, divided by the amount of
More informationEquations Involving Lines and Planes Standard equations for lines in space
Equations Involving Lines and Planes In this section we will collect various important formulas regarding equations of lines and planes in three dimensional space Reminder regarding notation: any quantity
More informationISI Theodolite Calculations
ISI Theodolite Calculations Ken Tatebe July 11, 2006 After changing baselines the positions of the telescopes must be measured in order to allow the computer to calculate the position angle, spatial frequency,
More informationLecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20
Lecture 8 : Coordinate Geometry The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 0 distance on the axis and give each point an identity on the corresponding
More informationNumber Sense and Operations
Number Sense and Operations representing as they: 6.N.1 6.N.2 6.N.3 6.N.4 6.N.5 6.N.6 6.N.7 6.N.8 6.N.9 6.N.10 6.N.11 6.N.12 6.N.13. 6.N.14 6.N.15 Demonstrate an understanding of positive integer exponents
More information1 Symmetries of regular polyhedra
1230, notes 5 1 Symmetries of regular polyhedra Symmetry groups Recall: Group axioms: Suppose that (G, ) is a group and a, b, c are elements of G. Then (i) a b G (ii) (a b) c = a (b c) (iii) There is an
More information