Fundamentholfundamenthol

Basic Concepts of Coordinate Geometry

MathsStraight LinesFor JEE aspirants

Coordinate geometry (also called analytical geometry) is the branch of mathematics that uses algebraic equations to describe points, lines, and curves. In the two-dimensional plane, every point is fixed by an ordered pair measured against two perpendicular axes. The basic concepts of coordinate geometry - distance formula, section formula, centroid, incentre, circumcentre, orthocentre, area of a triangle, locus, and change of axes - form the foundation on which all of JEE Main and Advanced coordinate-geometry problems are built.

Key Formulas - Quick Reference
  1. Distance:
  2. Section (internal, ratio ):
  3. Section (external, ratio ):
  4. Midpoint:
  5. Centroid:
  6. Incentre:
  7. Area of triangle:
  8. Translation ():
  9. Rotation (through angle ):

1. Rectangular Cartesian Coordinate System

Two perpendicular number lines - the -axis (horizontal) and the -axis (vertical) - meet at a point called the origin. Any point in the plane is located by an ordered pair , where (the abscissa) is the signed distance from the -axis and (the ordinate) is the signed distance from the -axis.

The two axes divide the plane into four regions called quadrants, numbered anti-clockwise starting from the top-right:

Rectangular Cartesian coordinate system with four quadrants Two perpendicular axes labelled x and y meet at the origin O and divide the plane into four quadrants numbered anti-clockwise from the top right. The signs of the coordinates are plus plus in quadrant one, minus plus in quadrant two, minus minus in quadrant three and plus minus in quadrant four. A point P with coordinates x comma y is plotted in the first quadrant, with dashed perpendiculars dropped to both axes marking the abscissa and the ordinate. x y O x′ y′ Quadrant I ( + , + ) Quadrant II ( − , + ) Quadrant III ( − , − ) Quadrant IV ( + , − ) P(x, y) x y abscissa ordinate
Figure 1. The rectangular Cartesian plane. For the abscissa is the signed distance from the -axis and the ordinate is the signed distance from the -axis. Quadrants are numbered anti-clockwise.

2. Distance Between Two Points

The distance between and is

The formula is a direct application of Pythagoras' theorem to the right triangle whose legs are horizontal and vertical distances between the two points.

Distance between two points from Pythagoras theorem Points A and B are joined by a slanting segment. A horizontal leg from A and a vertical leg up to B form a right angled triangle whose right angle is at the third vertex C. The horizontal leg has length the modulus of x two minus x one and the vertical leg has length the modulus of y two minus y one, so the hypotenuse AB equals the square root of the sum of their squares. x y O A(x1, y1) B(x2, y2) C(x2, y1) | x2 − x1 | | y2 − y1 | d
Figure 2. The distance formula is Pythagoras' theorem in disguise: , so .
Note. Distance is always non-negative, so the order of subtraction doesn't matter: . Distance of from the origin is .

Using distance to identify quadrilaterals

  • Square: all four sides equal and both diagonals equal.
  • Rhombus (not a square): four sides equal but diagonals unequal.
  • Rectangle (not a square): opposite sides equal and diagonals equal.
  • Parallelogram (not a rectangle): opposite sides equal but diagonals unequal.
  • Equilateral triangle: all three sides equal.
  • Isosceles triangle: two sides equal.

In every parallelogram (and its special cases), the diagonals bisect each other, which gives another way to check.

Solved Example 1
Find if the distance between and is .
Solution:

Using the distance formula, .

Squaring: .

So or .

Solved Example 2
Find the circumcentre of the triangle with vertices , , and , and its circumradius.
Solution:

Let the circumcentre be . Then is equidistant from all three vertices.

From : , giving .

From : , giving .

So and circumradius .

3. Section Formula

Internal division

If divides the line segment joining and internally in the ratio , then

External division

If divides externally in the ratio (so lies on the line outside the segment), then

Internal and external division of a line segment A segment from A to B carries a point P between A and B dividing it internally in the ratio m to n. The segment is extended beyond B by a dashed line to a point Q which divides the same segment externally in the ratio m to n. The internal point lies inside the segment and the external point lies outside it. A(x1, y1) B(x2, y2) P Q m n P divides AB internally: AP : PB = m : n (P lies between A and B) Q divides AB externally: AQ : QB = m : n (Q lies outside the segment)
Figure 3. Internal versus external division. lies between and with ; lies on the extension with . Only the sign in the denominator changes: becomes .

Midpoint

Setting in the internal formula gives the midpoint:

Sign convention. If the division is internal; if it is external. Some textbooks use one formula with a signed ratio.

Harmonic conjugate points

If divides internally in the ratio and divides externally in the same ratio , then and are called harmonic conjugates of each other with respect to and . In that case

so , , are in harmonic progression (H.P.).

Solved Example 3
Find the coordinates of the point dividing the segment joining and in the ratio (i) internally and (ii) externally.
Solution:

(i) Internal: and . So .

(ii) External: and . So .

Solved Example 4
Find the points that trisect the segment joining and .
Solution:

Let and be the points of trisection with . Then divides in the ratio (internally) and in the ratio (internally).

.

.

Solved Example 5
Three vertices of a parallelogram taken in order are , , and . Find the fourth vertex.
Solution:

Let the fourth vertex be so the vertices in order are . In a parallelogram, diagonals and share the same midpoint.

Midpoint of .

Midpoint of .

Equating: and . So .

4. Special Points of a Triangle

Let , , be the vertices of a triangle with side lengths , , .

Centroid

The centroid is the intersection of the three medians (lines from each vertex to the midpoint of the opposite side). It divides each median in the ratio from the vertex.

Centroid of a triangle as the meeting point of the three medians Triangle ABC has the midpoints of its three sides marked D, E and F. Each vertex is joined to the midpoint of the opposite side by a dashed median. All three medians cross at a single interior point G, the centroid. On the median from A to D the part from A to G is drawn twice as long as the part from G to D, showing the two to one division. D E F A B C G G is the centroid: the three medians meet at G and AG : GD = 2 : 1
Figure 4. The centroid is the common point of the three medians and divides each of them in the ratio from the vertex, so .

Incentre

The incentre is the intersection of the three internal angle bisectors and the centre of the inscribed circle.

Incentre and inscribed circle of a triangle Triangle ABC has its three internal angle bisectors drawn as dashed lines. They meet at one interior point I. A circle centred at I touches all three sides, and the perpendicular from I to side BC is marked as the inradius r with a right angle symbol at the point of contact. r A B C I I is the incentre: the three internal angle bisectors meet at the centre of the inscribed circle
Figure 5. The incentre is where the three internal angle bisectors meet and is the centre of the incircle. Its coordinates are the side-weighted average , and the inradius is .

Excentres

Each excentre is the intersection of one internal angle bisector and the two external angle bisectors from the other two vertices. It is the centre of one of the three escribed (excircles).

(opposite to ) and (opposite to ) follow the same pattern - flip the sign of or respectively in both numerator and denominator.

Circumcentre

The circumcentre is the intersection of the perpendicular bisectors of the three sides and the centre of the circumscribed circle. It is equidistant from the three vertices; the common distance is the circumradius .

Practical method: Let . Solve and - two linear equations in .

Orthocentre

The orthocentre is the intersection of the three altitudes (perpendiculars from each vertex to the opposite side).

Practical method: Find the equations of any two altitudes and solve them simultaneously.

Key properties (memorise)

  • Euler line: The orthocentre , centroid , and circumcentre are always collinear, and divides in the ratio (from ).
  • The incentre divides each internal angle bisector in the ratio (and cyclic).
  • Incentre and the excentre on the same angle bisector are harmonic conjugates with respect to the two feet of the bisector.
  • Isosceles triangle: , , , all lie on the axis of symmetry.
  • Equilateral triangle: , , , all coincide.
  • Right-angled triangle: orthocentre is at the right-angle vertex; circumcentre is the midpoint of the hypotenuse.
  • Obtuse-angled triangle: circumcentre and orthocentre both lie outside the triangle.
Euler line through the orthocentre, centroid and circumcentre Triangle ABC is drawn inside its dashed circumscribed circle. The orthocentre H, the centroid G and the circumcentre O all lie on one straight line, drawn in orange across the figure. The centroid sits between the other two so that the piece from H to G is twice the piece from G to O. H G O A B C Euler line: H, G, O are collinear and HG : GO = 2 : 1
Figure 6. The Euler line. In every non-equilateral triangle the orthocentre , centroid and circumcentre are collinear, with .
Solved Example 6
Find the centroid and the incentre of the triangle with vertices , , .
Solution:

Centroid: .

Side lengths. . . .

Incentre: . . So .

Solved Example 7
Find the orthocentre of the triangle with vertices , , .
Solution:

Side lies on the -axis, so the altitude from is the vertical line . Hence the orthocentre has -coordinate .

Altitude from is perpendicular to . Slope of , so altitude slope , giving .

At : . So the orthocentre is .

5. Area of a Triangle and Polygon

Area of a triangle

The area of triangle with vertices , , is

Without absolute value, the determinant is positive when the vertices are taken in anti-clockwise order and negative when clockwise. The sign carries useful information (orientation), so problems that ask for a signed area drop the modulus.

Sign of the area determinant depends on the order of the vertices Two identical triangles are shown side by side with their vertices numbered one, two and three. In the left triangle the numbering runs anti-clockwise and a curved arrow shows that direction, giving a positive determinant. In the right triangle the numbering runs clockwise and the curved arrow is reversed, giving a negative determinant. The physical area is the absolute value in both cases. 1 2 3 vertices taken anti-clockwise determinant is +ve 1 2 3 vertices taken clockwise determinant is −ve
Figure 7. Orientation decides the sign. The determinant is positive for an anti-clockwise labelling and negative for a clockwise one; the area is its modulus.

Area of an -sided polygon (shoelace formula)

For a polygon with vertices taken in order,

Solved Example 8
If and and satisfies with area of , find .
Solution:

Let . .

Expanding: , giving .

Area .

So , i.e., or .

Solving with : first pair gives ; second gives . Both are valid.

6. Collinearity of Three Points

Three points , , are collinear if any one of these holds:

  1. Equal slopes: slope of = slope of , i.e., .
  2. Zero area: .
  3. Distance test: (or ) - one of the three points lies between the other two on the line.
  4. Section test: one of the three points divides the segment joining the other two in some real ratio.

In practice the determinant test is fastest; use the distance test only when order matters.

Solved Example 9
Show that , , and are collinear.
Solution:

Slope of . Slope of . Slopes equal and both lines pass through , so lie on one line.

7. Locus and Equation of a Locus

The locus of a moving point is the set of all positions the point can take when it moves according to a given geometric condition. The equation of the locus is the algebraic equation in and that every point of the locus satisfies (and no other point does).

Working rule to find a locus

  1. Let the coordinates of the moving point be .
  2. Write the given geometric condition and express it in terms of (and any given constants).
  3. Eliminate any parameters using the given constraints, leaving a relation between and alone.
  4. Replace by and by - that is the equation of the locus.
Solved Example 10
A point has coordinates . Find its locus as varies.
Solution:

Let . Then and .

Using : , i.e., .

Replacing by : . This is a circle in disguise (centre , radius ).

Solved Example 11
Find the locus of a point which moves such that its distance from is always twice its distance from .
Solution:

Let be the moving point. Given .

Squaring: , i.e., .

Simplifying: .

Locus: , a circle with centre and radius .

Locus of a point whose distance from one fixed point is twice its distance from another Two fixed points A at two comma zero and B at minus one comma zero lie on the x axis. A moving point P is joined to both by dashed segments. Every position of P for which the distance PA is twice the distance PB traces out a shaded circle centred at minus two comma zero with radius two, whose equation is x squared plus y squared plus four x equals zero. x y A(2, 0) B(−1, 0) P O Condition: PA = 2 PB Locus: x2 + y2 + 4x = 0
Figure 8. A locus made visible. Every point with lies on the circle , centre and radius : the geometric condition becomes an algebraic equation.

8. Transformation of Coordinates

Sometimes a problem becomes far simpler if we shift or rotate the axes to a more convenient position. Two standard transformations are used.

Translation of axes (shifting the origin)

Shift the origin from to without changing the directions of the axes. If the old coordinates of a point are and the new coordinates (in the shifted system) are , then

Translation of axes, shifting the origin to a new point The original x and y axes meet at the origin O. A second pair of axes, drawn dashed and labelled capital X and capital Y, is parallel to the first pair but meets at a new origin O dash with coordinates h comma k. A point P is measured against both systems, and the horizontal shift h and vertical shift k are marked along the old axes. x y O X Y h k O′(h, k) P old coordinates (x, y) new coordinates (X, Y) x = X + h, y = Y + k
Figure 9. Translation of axes. The directions of the axes are unchanged, only the origin moves to , so and .

The equation of any curve in the old system becomes a new equation in by substitution.

Solved Example 12
Transform the equation to a form free of the first-degree terms.
Solution:

Substitute , and choose so that the coefficients of and vanish.

The expression becomes .

Set and . The constant becomes .

Transformed equation: , a circle of radius centred at the new origin .

Rotation of axes

Rotate the axes about the origin through an angle (anti-clockwise). If a point has old coordinates and new coordinates , then

and the inverse relations are

Rotation of axes about the origin through an angle theta The original x and y axes are drawn in brown. A second pair of axes labelled capital X and capital Y is drawn in orange through the same origin but turned anti-clockwise through an angle theta, marked by arcs between each old axis and its new partner. A point P keeps its position while its coordinates change from x comma y in the old system to capital X comma capital Y in the rotated system. x y O X Y θ θ P X Y x = X cos θ − Y sin θ y = X sin θ + Y cos θ
Figure 10. Rotation of axes through . The point does not move, only the frame does: and .
Compact table (memorise).
Read a row as: . Read a column (with signs flipped on the off-diagonal) for the inverse.

Removal of the term (application of rotation)

A general second-degree curve can be rotated so that the term vanishes in the new coordinates. Choose satisfying

This trick reduces conics to their standard axis-aligned form and is a favourite JEE Advanced tool.

Solved Example 13
Remove the term from by a suitable rotation of axes.
Solution:

Here , so we take . Substituting and :

, so . The original equation is , giving .

The curve is the pair of parallel lines - clean and axis-aligned in the rotated system.

Common Mistakes to Avoid

Watch out
  • Section formula, external division: the denominator is , not . If externally, the formula is undefined (the two points would coincide with the point at infinity).
  • Incentre coefficients: the weights are the lengths of the sides opposite to respectively - not the sides adjacent to each vertex.
  • Area determinant: always take the modulus for a physical area; only drop the modulus when the problem asks for signed (oriented) area.
  • Collinearity via slopes: if any two of the three points have the same -coordinate, the slope is undefined - use the determinant test instead.
  • Rotation formulas: (mind the minus sign on ). Mixing it up with is the most common exam slip.
  • Locus: after eliminating parameters, remember to replace with ; leaving in the final equation is technically wrong.

Frequently Asked Questions

Q1. What is the difference between abscissa and ordinate?

The abscissa is the -coordinate - the signed perpendicular distance of a point from the -axis. The ordinate is the -coordinate - the signed perpendicular distance from the -axis. For a point , the abscissa is and the ordinate is .

Q2. How is external division different from internal division?

In internal division the point lies between and on the segment. In external division lies on the line but outside the segment. Algebraically the two formulas differ only in a sign - the internal formula has in numerator and denominator, the external has .

Q3. Which triangle has all four special points coinciding?

An equilateral triangle. In an equilateral triangle the centroid, incentre, circumcentre, and orthocentre are all the same point. Any isosceles triangle has these four points collinear (on the axis of symmetry) but not coincident.

Q4. Where is the orthocentre of a right-angled triangle?

At the vertex of the right angle. The two legs are themselves altitudes (each is perpendicular to the other), so the three altitudes meet at the right-angle vertex. The circumcentre in a right triangle is the midpoint of the hypotenuse.

Q5. What is the Euler line?

In any triangle (except equilateral, where they coincide), the orthocentre , centroid , and circumcentre are collinear. This line is called the Euler line. The centroid divides in the ratio measured from .

Q6. Can the area of a triangle come out negative from the determinant formula?

Yes - if the vertices are listed clockwise. The determinant (without the absolute value bars) is a signed area: positive for anti-clockwise, negative for clockwise. The physical area is the absolute value.

Q7. When do we shift the origin instead of rotating axes?

Shift the origin to kill first-degree terms (make the curve pass through the new origin, or centre a circle at the new origin). Rotate the axes to kill the term (align the principal axes of a conic with the new coordinate axes). For a general second-degree curve both are usually needed - shift first, rotate second.

Q8. What is the equation of a locus, in one line?

The equation of a locus is the algebraic relation between and that a moving point satisfies if and only if it obeys the given geometric condition. Every point of the locus satisfies the equation; every solution of the equation is a point of the locus.

Ready to master Straight Lines?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.