This blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane?

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

1.8 Coordinate Geometry. Copyright Cengage Learning. All rights reserved.

Rational Numbers: Graphing: The Coordinate Plane

Rectangular Coordinates in Space

Infinite Geometry supports the teaching of the Common Core State Standards listed below.

Review for Mastery Using Graphs and Tables to Solve Linear Systems

7 Fractions. Number Sense and Numeration Measurement Geometry and Spatial Sense Patterning and Algebra Data Management and Probability

TABLE 2: Mathematics College Readiness Standards for Score Range 13 15

Grade 9 Math Terminology

Math 2 Coordinate Geometry Part 3 Inequalities & Quadratics

Mathematics High School Geometry An understanding of the attributes and relationships of geometric objects can be applied in diverse contexts

Stage 7 Checklists Have you reached this Standard?

SHAPE, SPACE & MEASURE

High School Geometry. Correlation of the ALEKS course High School Geometry to the ACT College Readiness Standards for Mathematics

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

Geometry I Can Statements I can describe the undefined terms: point, line, and distance along a line in a plane I can describe the undefined terms:

PITSCO Math Individualized Prescriptive Lessons (IPLs)

This assignment is due the first day of school. Name:

round decimals to the nearest decimal place and order negative numbers in context

EXPLORE MATHEMATICS TEST

Analytic Geometry Vocabulary Cards and Word Walls Important Notes for Teachers:

Mathematics Background

Mathematics High School Geometry

10-2 Circles. Warm Up Lesson Presentation Lesson Quiz. Holt Algebra2 2

Overview for Families

The Research- Driven Solution to Raise the Quality of High School Core Courses. Geometry. Course Outline

Content Standard 1: Numbers, Number Sense, and Computation

Edexcel Linear GCSE Higher Checklist

MATHEMATICS Geometry Standard: Number, Number Sense and Operations

3.7. Vertex and tangent

Cecil Jones Academy Mathematics Fundamental Map

GEOMETRY CCR MATH STANDARDS

Year 8 Mathematics Curriculum Map

Rational Numbers on the Coordinate Plane. 6.NS.C.6c

Mathematics. Year 7. Autumn Term

3 Identify shapes as two-dimensional (lying in a plane, flat ) or three-dimensional ( solid ).

Geometry. (F) analyze mathematical relationships to connect and communicate mathematical ideas; and

Chislehurst and Sidcup Grammar School Mathematics Department Year 9 Programme of Study

Prentice Hall Algebra Correlated to: ACT College Readiness Standards for Mathematics

2003/2010 ACOS MATHEMATICS CONTENT CORRELATION GEOMETRY 2003 ACOS 2010 ACOS

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

Module 1 Session 1 HS. Critical Areas for Traditional Geometry Page 1 of 6

Planes Intersecting Cones: Static Hypertext Version

Illinois Math Assessment Framework, Grade 7. correlated to

Correlation of the ALEKS courses Algebra 1 and High School Geometry to the Wyoming Mathematics Content Standards for Grade 11

YEC Geometry Scope and Sequence Pacing Guide

WHAT YOU SHOULD LEARN

Honors Geometry Pacing Guide Honors Geometry Pacing First Nine Weeks

Prentice Hall Mathematics: Geometry 2007 Correlated to: Arizona Academic Standards for Mathematics (Grades 9-12)

Geometry. Given a rectangle, parallelogram, trapezoid, or regular polygon, describe the rotations and reflections that carry it onto itself.

MADISON ACADEMY GEOMETRY PACING GUIDE

MATHEMATICS DEPARTMENT COURSE OUTLINE TERM 1/2/3 YEAR 7

GEOMETRY Graded Course of Study

Introduction to Geometry

Pre AP Geometry. Mathematics Standards of Learning Curriculum Framework 2009: Pre AP Geometry

Unit Activity Correlations to Common Core State Standards. Geometry. Table of Contents. Geometry 1 Statistics and Probability 8

Ohio s Learning Standards Mathematics Scope and Sequence YEC Geometry

Ohio Tutorials are designed specifically for the Ohio Learning Standards to prepare students for the Ohio State Tests and end-ofcourse

Bramhall High school Year 8 Assessment Descriptors Mathematics

Matija Gubec International School Zagreb MYP 0. Mathematics

104, 107, 108, 109, 114, 119, , 129, 139, 141, , , , , 180, , , 128 Ch Ch1-36

Negative numbers - Add and subtract, multiply and divide negative numbers

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12

8 th Grade Mathematics Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the

JMG. Algebra II. Resigning from a job. Working with Radian Measures & the Unit Circle Students. How to Effectively Write a Letter of Resignation

Study Guide - Geometry

Moore Catholic High School Math Department

Los Angeles Unified School District. Mathematics Grade 6

CMP Book: Investigation Number Objective: PASS: 1.1 Describe data distributions and display in line and bar graphs

Algebra II JMG. Module 2 Lesson 2 The Height & Coheight. PBL Community Blood Drive Final Planning

Stage 1 Place Value Calculations Geometry Fractions Data. Name and describe (using appropriate vocabulary) common 2d and 3d shapes

Madison County Schools Suggested Geometry Pacing Guide,

Geometry Critical Areas of Focus

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

6th Grade Report Card Mathematics Skills: Students Will Know/ Students Will Be Able To...

Conic Sections and Locii

Grade 9, 10 or 11- Geometry

Achievement Level Descriptors Geometry

Texas High School Geometry

Common Core State Standards for Mathematics High School

Integrated Algebra/Geometry 1

1.6 Modeling with Equations

SKILL: What we want students to DO. Students will be able to: (pp. 1 61)

Dear Accelerated Pre-Calculus Student:

GEOMETRY. Changes to the original 2010 COS is in red. If it is red and crossed out, it has been moved to another course.

Section A1: Gradients of straight lines

Unit Circle. Project Response Sheet

number Understand the equivalence between recurring decimals and fractions

The Rectangular Coordinate System and Equations of Lines. College Algebra

Common core standards from Grade 8 Math: General categories/domain:

Prentice Hall Mathematics: Course Correlated to: Colorado Model Content Standards and Grade Level Expectations (Grade 8)

Curriculum Area: Mathematics Year: 9

Basics of Computational Geometry

GEOMETRY CURRICULUM MAP

Glossary of dictionary terms in the AP geometry units

Revision Checklist for IGCSE Mathematics A guide for Students

YEAR 10- Mathematics Term 1 plan

Foundations for Functions Knowledge and Skills: Foundations for Functions Knowledge and Skills:

Apply multiplication facts to solve division problems.

MEI Desmos Tasks for AS Pure

Transcription:

Intersecting Circles This blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane? This is a problem that a programmer might have to solve, for example, in planning the movements of an automated character in a game. It will also crop up in programming Computer Aided Design (CAD) tools, and in many other fields of study that have a geometrical aspect to them, such as astronomy. On the surface, this seems like it should be an easy problem. We all learned how to intersect circles in high school geometry: we used a compass to draw the circles, then determined the intersection points by visual inspection. However, this solution suffers from the drawback that it is very difficult to achieve accuracy or precision, and it is clearly not amenable for a computer program. 1 We will want a mathematical way to determine the intersection points. Formulate the problem A circle is the locus of points that are all the same distance from a common point. The common point is the center of the circle, and the distance from it that they all share is the radius of the circle. So, the two circles to be intersected are represented by the coordinates of their respective centers, and their radii: In the Cartesian plane, distance between two points and is given by: The points that belong to a circle must satisfy the equation: Usually, we square both sides of this equation to eliminate the radical, so the intersection points must satisfy the following two equations simultaneously: 1 Actually, one can simulate the compass and ruler solution in the computer: one draws the circles in an array, then looks to see which points they have in common. This gives an approximate solution that can be iteratively refined by drawing progressively smaller parts of the circles with progressively higher resolution. However, this method is computationally expensive.

This is a system of two equations in two unknowns. From linear algebra we know that since the two equations are independent, this should be enough information to determine the answer. However, these equation are not linear they are each quadratic in both variables. At this point, we would generally have to reach into our bag of mathematical tricks to find a set of formal manipulations of these equations to determine a closed-form representation for the solution. However, these are not just any non-linear equations. We should remember that they have an interpretation in the world of geometry as circles. Whenever our equations have an interpretation in the physical world or in some other abstract world like planar geometry, it is worth investigating this interpretation to see whether it can give us insight into what mathematical manipulations will get us to a solution. Insight and Inspiration First, let us recognize that there are four types of answers for our problem. The first, and most prevalent type of answer is that the intersection is empty. A circle occupies a finite area within the plane, and most randomly chosen circles will occupy disjoint regions of the plane, and therefore have no intersection. Even circles whose centers are close together might not intersect because one circle can lie entirely inside the other. We can characterize these situations. Clearly, what will matter is the relationship between the distance between the circle centers, and their radii. If the distance between the circle centers is larger than the sum of their radii, then the circles can t intersect. If the distance between the centers is smaller than the larger of the radii, then the circles won t intersect unless the smaller radius is large enough. Let be the distance between the centers of the circles. Figure 1. Two situations in which the circles fail to intersect.

A second situation can arise when the centers and radii of the two circles are equal (i.e., the two circles are the same circle). Clearly, the intersection of a circle with itself is itself. The third possibility is that the two circles are tangent, meaning that they just manage to touch. In that case their intersection consists of a single point. By imagining the circles in Figure 1 moving toward one another, it is easy to see that the conditions under which the circles are tangent are related to the conditions under which they fail to intersect: it occurs when the inequalities become equalities: Figure 2. Two ways the circles can be tangent to one another. Furthermore, with a little vector geometry, we can figure out the coordinates of the intersection point. In the case where the circles are outside one another, the intersection point is r 1 units away from the C 1 center in the direction from the C 1 center to the C 2 center. Let be the vector from to. Then. Let be the unit vector in the direction from from to. Then, when, the intersection point is given by: Or, since,, we can also write this as: When one circle is inside the other, the situation is a little more complex, because we have to be concerned about which radius is the larger one. However, taking advantage of the fact that, we can express the solution as:

Then the sign of tangent point. automatically moves us in the right direction to get from the center to the The only remaining situation occurs when. One example of this is depicted in Figure 3. As can be seen in the figure, the two circles intersect in exactly two points. Further, due to the symmetry of circles, each point is the same distance from the line joining the circle centers, and the line joining the two intersection points is therefore perpendicular to that line. Figure 3. One example of circles intersecting in two points. At this point, we could determine the coordinates of the intersection points with a little geometric analysis and a couple of applications of the Pythagorean Theorem to determine the values of and, the sides of the right triangles shown in the figure. The solution would then take the form: where is the unit vector perpendicular to. It can be obtained by rotating through 90 : However, we did this geometric analysis in order to gain insight that would help us to determine how to solve the problem algebraically. Note that, although the coordinates of the circle centers figure prominently in the equations we were trying to solve, they seem to be irrelevant: they only enter into the solutions we ve found to determine the vectors and. In fact, the form of all the solutions we ve found suggest a specific mathematical trick to apply: a change of basis.

Clearly, the solutions are all most easily expressed in terms of the vectors and, so we should consider solving the equations in the version of the plane where and are the coordinate axes. We can do this by: a) translating the center of the first circle to the origin, and b) rotating the center of the second circle onto the horizontal axis. In the transformed space, which we will denote using the variables and, the center of occurs at, and the center of occurs at. So, in this coordinate system our equations become: Now we can eliminate the variable just by subtracting the equations from one another: This equation has only one variable. To solve for, first expand the binomial term: Cancel the two occurrences of of (since they have opposite sign), then isolate the remaining occurrence Substitute this value back into the equation for the first circle, to solve for : To obtain the solutions in the original coordinate system, we undo the transformation. Let be the matrix formed from the two column vectors and. Then,

In our algebraic solution, we made no assumptions about the relative sizes of and. So, the resulting equations should handle all the situations that we distinguished during our geometric analysis, and have no solutions in real numbers when the circles fail to intersect. When, our equation for fails due to division by zero. Thus, we are alerted to this special case wherein the intersection is empty unless the circles are identical. When or (the tangent cases), note that, so we can expect some cancellations in the expression for I leave it as an exercise to verify that in each case the expression will evaluate to either or, so that will evaluate to 0, as expected. In the equation for, the expression under the radical is basically a quadratic in, which we have just shown has zeros at and, so we can expect that the sign of this expression changes at those points. Thus, it is easy to see that the expression will be negative when or, so that there are no solutions in the real numbers when the circles fail to intersect. Similarly, the expression will be positive when is between the zero values, giving us real solutions where they are needed. In summary, a seemingly simple problem results in a complex system of non-linear equations that at first appears difficult to solve. However, analysis of the geometry behind the equations leads to a change of basis that radically simplifies the problem.