Cartesian coordinates
In classical mathematics, analytic geometry, also known as coordinate geometry, or Cartesian geometry, is the study of geometry using a coordinate system. This contrasts with synthetic geometry.
Analytic geometry is widely used in physics and engineering, and is the foundation of most modern fields of geometry, including algebraic, differential, discrete and computational geometry.
Usually the Cartesian coordinate system is applied to manipulate equations for planes, straight lines, and squares, often in two and sometimes in three dimensions. Geometrically, one studies the Euclidean plane (two dimensions) and Euclidean space (three dimensions). As taught in school books, analytic geometry can be explained more simply: it is concerned with defining and representing geometrical shapes in a numerical way and extracting numerical information from shapes' numerical definitions and representations. The numerical output, however, might also be a vector or a shape. That the algebra of the real numbers can be employed to yield results about the linear continuum of geometry relies on the Cantor–Dedekind axiom.
History
Ancient Greece
The Greek mathematician Menaechmus solved problems and proved theorems by using a method that had a strong resemblance to the use of coordinates and it has sometimes been maintained that he had introduced analytic geometry.^{[1]}
Apollonius of Perga, in On Determinate Section, dealt with problems in a manner that may be called an analytic geometry of one dimension; with the question of finding points on a line that were in a ratio to the others.^{[2]} Apollonius in the Conics further developed a method that is so similar to analytic geometry that his work is sometimes thought to have anticipated the work of Descartes by some 1800 years. His application of reference lines, a diameter and a tangent is essentially no different from our modern use of a coordinate frame, where the distances measured along the diameter from the point of tangency are the abscissas, and the segments parallel to the tangent and intercepted between the axis and the curve are the ordinates. He further developed relations between the abscissas and the corresponding ordinates that are equivalent to rhetorical equations of curves. However, although Apollonius came close to developing analytic geometry, he did not manage to do so since he did not take into account negative magnitudes and in every case the coordinate system was superimposed upon a given curve a posteriori instead of a priori. That is, equations were determined by curves, but curves were not determined by equations. Coordinates, variables, and equations were subsidiary notions applied to a specific geometric situation.^{[3]}
Persia
The eleventh century Persian mathematician Omar Khayyám saw a strong relationship between geometry and algebra, and was moving in the right direction when he helped to close the gap between numerical and geometric algebra^{[4]} with his geometric solution of the general cubic equations,^{[5]} but the decisive step came later with Descartes.^{[4]}
Western Europe
Analytic geometry was independently invented by René Descartes and Pierre de Fermat,^{[6]}^{[7]} although Descartes is sometimes given sole credit.^{[8]}^{[9]} Cartesian geometry, the alternative term used for analytic geometry, is named after Descartes.
Descartes made significant progress with the methods in an essay titled La Geometrie (Geometry), one of the three accompanying essays (appendices) published in 1637 together with his Discourse on the Method for Rightly Directing One's Reason and Searching for Truth in the Sciences, commonly referred to as Discourse on Method. This work, written in his native French tongue, and its philosophical principles, provided a foundation for calculus in Europe. Initially the work was not well received, due, in part, to the many gaps in arguments and complicated equations. Only after the translation into Latin and the addition of commentary by van Schooten in 1649 (and further work thereafter) did Descarte's masterpiece receive due recognition.^{[10]}
Pierre de Fermat also pioneered the development of analytic geometry. Although not published in his lifetime, a manuscript form of Ad locos planos et solidos isagoge (Introduction to Plane and Solid Loci) was circulating in Paris in 1637, just prior to the publication of Descartes' Discourse.^{[11]}^{[12]}^{[13]} Clearly written and well received, the Introduction also laid the groundwork for analytical geometry. The key difference between Fermat's and Descartes' treatments is a matter of viewpoint: Fermat always started with an algebraic equation and then described the geometric curve which satisfied it, whereas Descartes started with geometric curves and produced their equations as one of several properties of the curves.^{[10]} As a consequence of this approach, Descartes had to deal with more complicated equations and he had to develop the methods to work with polynomial equations of higher degree.
Coordinates
Illustration of a Cartesian coordinate plane. Four points are marked and labeled with their coordinates: (2,3) in green, (−3,1) in red, (−1.5,−2.5) in blue, and the origin (0,0) in purple.
In analytic geometry, the plane is given a coordinate system, by which every point has a pair of real number coordinates. Similarly, Euclidean space is given coordinates where every point has three coordinates. There are a variety of coordinate systems used, but the most common are the following:^{[14]}
Cartesian coordinates
The most common coordinate system to use is the Cartesian coordinate system, where each point has an xcoordinate representing its horizontal position, and a ycoordinate representing its vertical position. These are typically written as an ordered pair (x, y). This system can also be used for threedimensional geometry, where every point in Euclidean space is represented by an ordered triple of coordinates (x, y, z).
Polar coordinates
In polar coordinates, every point of the plane is represented by its distance r from the origin and its angle θ from the polar axis.
Cylindrical coordinates
In cylindrical coordinates, every point of space is represented by its height z, its radius r from the zaxis and the angle θ it makes with respect to its projection on the xyplane.
Spherical coordinates
In spherical coordinates, every point in space is represented by its distance ρ from the origin, the angle θ it makes with respect to its projection on the xyplane, and the angle φ that it makes with respect to the zaxis. The names of the angles are often reversed in physics.^{[14]}
Equations and curves
In analytic geometry, any equation involving the coordinates specifies a subset of the plane, namely the solution set for the equation, or locus. For example, the equation y = x corresponds to the set of all the points on the plane whose xcoordinate and ycoordinate are equal. These points form a line, and y = x is said to be the equation for this line. In general, linear equations involving x and y specify lines, quadratic equations specify conic sections, and more complicated equations describe more complicated figures.^{[15]}
Usually, a single equation corresponds to a curve on the plane. This is not always the case: the trivial equation x = x specifies the entire plane, and the equation x^{2} + y^{2} = 0 specifies only the single point (0, 0). In three dimensions, a single equation usually gives a surface, and a curve must be specified as the intersection of two surfaces (see below), or as a system of parametric equations.^{[16]} The equation x^{2} + y^{2} = r^{2} is the equation for any circle centered at the origin (0, 0) with a radius of r.
Lines and planes
Lines in a Cartesian plane or, more generally, in affine coordinates, can be described algebraically by linear equations. In two dimensions, the equation for nonvertical lines is often given in the slopeintercept form:

y = mx + b \,
where:

m is the slope or gradient of the line.

b is the yintercept of the line.

x is the independent variable of the function y = f(x).
In a manner analogous to the way lines in a twodimensional space are described using a pointslope form for their equations, planes in a three dimensional space have a natural description using a point in the plane and a vector orthogonal to it (the normal vector) to indicate its "inclination".
Specifically, let \mathbf{r}_0 be the position vector of some point P_0 = (x_0,y_0,z_0), and let \mathbf{n} = (a,b,c) be a nonzero vector. The plane determined by this point and vector consists of those points P, with position vector \mathbf{r}, such that the vector drawn from P_0 to P is perpendicular to \mathbf{n}. Recalling that two vectors are perpendicular if and only if their dot product is zero, it follows that the desired plane can be described as the set of all points \mathbf{r} such that

\mathbf{n} \cdot (\mathbf{r}\mathbf{r}_0)=0.
(The dot here means a dot product, not scalar multiplication.) Expanded this becomes

a (xx_0)+ b(yy_0)+ c(zz_0)=0,
which is the pointnormal form of the equation of a plane.^{[17]} This is just a linear equation:

ax + by + cz + d = 0, \text{ where } d = (ax_0 + by_0 + cz_0).
Conversely, it is easily shown that if a, b, c and d are constants and a, b, and c are not all zero, then the graph of the equation


ax + by + cz + d = 0,
is a plane having the vector \mathbf{n} = (a,b,c) as a normal.^{[18]} This familiar equation for a plane is called the general form of the equation of the plane.^{[19]}
In three dimensions, lines can not be described by a single linear equation, so they are frequently described by parametric equations:

x = x_0 + at \,

y = y_0 + bt \,

z = z_0 + ct \,
where:

x, y, and z are all functions of the independent variable t which ranges over the real numbers.

(x_{0}, y_{0}, z_{0}) is any point on the line.

a, b, and c are related to the slope of the line, such that the vector (a, b, c) is parallel to the line.
Conic sections
In the Cartesian coordinate system, the graph of a quadratic equation in two variables is always a conic section – though it may be degenerate, and all conic sections arise in this way. The equation will be of the form

Ax^2 + Bxy + Cy^2 +Dx + Ey + F = 0\text{ with }A, B, C\text{ not all zero.} \,
As scaling all six constants yields the same locus of zeros, one can consider conics as points in the fivedimensional projective space \mathbf{P}^5.
The conic sections described by this equation can be classified with the discriminant^{[20]}

B^2  4AC .\,
If the conic is nondegenerate, then:

if B^2  4AC < 0 , the equation represents an ellipse;

if A = C and B = 0 , the equation represents a circle, which is a special case of an ellipse;

if B^2  4AC = 0 , the equation represents a parabola;

if B^2  4AC > 0 , the equation represents a hyperbola;
Quadric surfaces
A quadric, or quadric surface, is a 2dimensional surface in 3dimensional space defined as the locus of zeros of a quadratic polynomial. In coordinates x_{1}, x_{2},x_{3}, the general quadric is defined by the algebraic equation^{[21]}

\sum_{i,j=1}^{3} x_i Q_{ij} x_j + \sum_{i=1}^{3} P_i x_i + R = 0
Quadric surfaces include ellipsoids (including the sphere), paraboloids, hyperboloids, cylinders, cones, and planes.
Distance and angle
The distance formula on the plane follows from the Pythagorean theorem.
In analytic geometry, geometric notions such as distance and angle measure are defined using formulas. These definitions are designed to be consistent with the underlying Euclidean geometry. For example, using Cartesian coordinates on the plane, the distance between two points (x_{1}, y_{1}) and (x_{2}, y_{2}) is defined by the formula

d = \sqrt{(x_2  x_1)^2 + (y_2  y_1)^2},\!
which can be viewed as a version of the Pythagorean theorem. Similarly, the angle that a line makes with the horizontal can be defined by the formula

\theta = \arctan(m)\!
where m is the slope of the line.
In three dimensions, distance is given by the generalization of the Pythagorean theorem:

d = \sqrt{(x_2  x_1)^2 + (y_2  y_1)^2+ (z_2  z_1)^2},\!,
while the angle between two vectors is given by the dot product. The dot product of two Euclidean vectors A and B is defined by^{[22]}

\mathbf A\cdot\mathbf B = \\mathbf A\\,\\mathbf B\\cos\theta,
where θ is the angle between A and B.
Transformations
a) y = f(x) = x b) y = f(x+3) c) y = f(x)3 d) y = 1/2 f(x)
Transformations are applied to a parent function to turn it into a new function with similar characteristics.
The graph of R(x,y) is changed by standard transformations as follows:

Changing x to xh moves the graph to the right h units.

Changing y to yk moves the graph up k units.

Changing x to x/b stretches the graph horizontally by a factor of b. (think of the x as being dilated)

Changing y to y/a stretches the graph vertically.

Changing x to x\cos A+ y\sin A and changing y to x\sin A + y\cos A rotates the graph by an angle A.
There are other standard transformation not typically studied in elementary analytic geometry because the transformations change the shape of objects in ways not usually considered. Skewing is an example of a transformation not usually considered. For more information, consult the WorldHeritage article on affine transformations.
For example, the parent function y=1/x has a horizontal and a vertical asymptote, and occupies the first and third quadrant, and all of its transformed forms have one horizontal and vertical asymptote,and occupies either the 1st and 3rd or 2nd and 4th quadrant. In general, if y=f(x), then it can be transformed into y=af(b(xk))+h. In the new transformed function, a is the factor that vertically stretches the function if it is greater than 1 or vertically compresses the function if it is less than 1, and for negative a values, the function is reflected in the xaxis. The b value compresses the graph of the function horizontally if greater than 1 and stretches the function horizontally if less than 1, and like a, reflects the function in the yaxis when it is negative. The k and h values introduce translations, h, vertical, and k horizontal. Positive h and k values mean the function is translated to the positive end of its axis and negative meaning translation towards the negative end.
Transformations can be applied to any geometric equation whether or not the equation represents a function. Transformations can be considered as individual transactions or in combinations.
Suppose that R(x,y) is a relation in the xy plane. For example
x^2+y^21=0
is the relation that describes the unit circle.
Finding intersections of geometric objects
For two geometric objects P and Q represented by the relations P(x,y) and Q(x,y) the intersection is the collection of all points (x,y) which are in both relations.^{[23]}
For example, P might be the circle with radius 1 and center (0,0): P = \{(x,y)  x^2+y^2=1\} and Q might be the circle with radius 1 and center (1,0): Q = \{(x,y)  (x1)^2+y^2=1\}. The intersection of these two circles is the collection of points which make both equations true. Does the point (0,0) make both equations true? Using (0,0) for (x,y), the equation for Q becomes (01)^2+0^2=1 or (1)^2=1 which is true, so (0,0) is in the relation Q. On the other hand, still using (0,0) for (x,y) the equation for P becomes 0^2+0^2=1 or 0=1 which is false. (0,0) is not in P so it is not in the intersection.
The intersection of P and Q can be found by solving the simultaneous equations:
x^2+y^2 = 1
(x1)^2+y^2 = 1
Traditional methods for finding intersections include substitution and elimination.
Substitution: Solve the first equation for y in terms of x and then substitute the expression for y into the second equation.
x^2+y^2 = 1
y^2=1x^2
We then substitute this value for y^2 into the other equation and proceed to solve for x.
(x1)^2+(1x^2)=1
x^2 2x +1 +1 x^2 =1
2x = 1
x=1/2
Next, we place this value of x in either of the original equations and solve for y.
(1/2)^2+y^2 = 1
y^2 =3/4
y = \frac{\pm \sqrt{3}}{2}
So our intersection has two points.
\left(1/2,\frac{+ \sqrt{3}}{2}\right) \;\; \mathrm{and} \;\; \left(1/2,\frac{\sqrt{3}}{2}\right)
Elimination: Add (or subtract) a multiple of one equation to the other equation so that one of the variables is eliminated. For our current example, if we subtract the first equation from the second we get (x1)^2x^2=0. The y^2 in the first equation is subtracted from the y^2 in the second equation leaving no y term. The variable y has been eliminated. We then solve the remaining equation for x, in the same way as in the substitution method.
x^2 2x +1 +1 x^2 =1
2x = 1
x=1/2
We then place this value of x in either of the original equations and solve for y.
(1/2)^2+y^2 = 1
y^2 = 3/4
y = \frac{\pm \sqrt{3}}{2}
So our intersection has two points.
\left(1/2,\frac{+ \sqrt{3}}{2}\right) \;\; \mathrm{and} \;\; \left(1/2,\frac{\sqrt{3}}{2}\right)
For conic sections, as many as 4 points might be in the intersection.
Finding intercepts
One type of intersection which is widely studied is the intersection of a geometric object with the x and y coordinate axes.
The intersection of a geometric object and the yaxis is called the yintercept of the object. The intersection of a geometric object and the xaxis is called the xintercept of the object.
For the line y=mx+b, the parameter b specifies the point where the line crosses the y axis. Depending on the context, either b or the point (0,b) is called the yintercept.
Tangents and normals
Tangent lines and planes
In geometry, the tangent line (or simply tangent) to a plane curve at a given point is the straight line that "just touches" the curve at that point. Informally, it is a line through a pair of infinitely close points on the curve. More precisely, a straight line is said to be a tangent of a curve y = f(x) at a point x = c on the curve if the line passes through the point (c, f(c)) on the curve and has slope f '(c) where f ' is the derivative of f. A similar definition applies to space curves and curves in ndimensional Euclidean space.
As it passes through the point where the tangent line and the curve meet, called the point of tangency, the tangent line is "going in the same direction" as the curve, and is thus the best straightline approximation to the curve at that point.
Similarly, the tangent plane to a surface at a given point is the plane that "just touches" the surface at that point. The concept of a tangent is one of the most fundamental notions in differential geometry and has been extensively generalized; see Tangent space.
Normal line and vector
In geometry, a normal is an object such as a line or vector that is perpendicular to a given object. For example, in the twodimensional case, the normal line to a curve at a given point is the line perpendicular to the tangent line to the curve at the point.
In the threedimensional case a surface normal, or simply normal, to a surface at a point P is a vector that is perpendicular to the tangent plane to that surface at P. The word "normal" is also used as an adjective: a line normal to a plane, the normal component of a force, the normal vector, etc. The concept of normality generalizes to orthogonality.
See also
Notes

^

^

^

^ ^{a} ^{b}

^ Glen M. Cooper (2003). "Omar Khayyam, the Mathematician", The Journal of the American Oriental Society 123.

^

^ Boyer 2004, p. 74

^

^ Boyer 2004, p. 82

^ ^{a} ^{b} Katz 1998, pg. 442

^ Katz 1998, pg. 436

^ Pierre de Fermat, Varia Opera Mathematica d. Petri de Fermat, Senatoris Tolosani (Toulouse, France: Jean Pech, 1679), "Ad locos planos et solidos isagoge," pp. 91103.

^ "Eloge de Monsieur de Fermat" (Eulogy of Mr. de Fermat), Le Journal des Scavans, 9 February 1665, pp. 6972. From p. 70: "Une introduction aux lieux, plans & solides; qui est un traité analytique concernant la solution des problemes plans & solides, qui avoit esté veu devant que M. des Cartes eut rien publié sur ce sujet." (An introduction to loci, plane and solid; which is an analytical treatise concerning the solution of plane and solid problems, which was seen before Mr. des Cartes had published anything on this subject.)

^ ^{a} ^{b} Stewart, James (2008). Calculus: Early Transcendentals, 6th ed., Brooks Cole Cengage Learning. ISBN 9780495011668

^ Percey Franklyn Smith, Arthur Sullivan Gale (1905)Introduction to Analytic Geometry, Athaeneum Press

^ William H. McCrea, Analytic Geometry of Three Dimensions Courier Dover Publications, Jan 27, 2012

^ Anton 1994, p. 155

^ Anton 1994, p. 156

^

^ , Section 3.2, page 45

^ Silvio Levy Quadrics in "Geometry Formulas and Facts", excerpted from 30th Edition of CRC Standard Mathematical Tables and Formulas, CRC Press, from The Geometry Center at University of Minnesota

^

^ While this discussion is limited to the xyplane, it can easily be extended to higher dimensions.
References
Books
Articles
External links

Coordinate Geometry topics with interactive animations
This article was sourced from Creative Commons AttributionShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, EGovernment Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a nonprofit organization.