JEE Main straight lines and circles
JEE Main Maths · G

Coordinate Geometry: Straight Lines and Circles

JEE Main straight lines and circles: the key points tested in JEE Main maths, explained step by step. This unit covers the coordinate geometry of points, straight lines and circles. JEE Main questions test the section formula, slopes and angles between lines, the perpendicular distance formula, and the centre, radius, tangents and mutual position of circles.

What you need to be able to do G

What you need to be able to do for JEE Main, in our own words, based on the NTA syllabus for JEE Main Paper 1 and the NCERT maths books.

  • Use the distance and section formulae, and find the centroid and the area of a triangle from its vertices.
  • Write the equation of a line in slope-intercept, point-slope, two-point, intercept and normal forms, and find the angle between two lines.
  • Find the distance of a point from a line, the distance between parallel lines, and the foot of the perpendicular and image of a point.
  • Find the centre and radius of a circle, the condition for tangency, the length of a tangent, and the relative position of two circles.

Points and straight lines

For A(x₁, y₁) and B(x₂, y₂):

AB = √((x₂ − x₁)² + (y₂ − y₁)²), P = ((m x₂ + n x₁)/(m + n), (m y₂ + n y₁)/(m + n))

P divides AB internally in the ratio m : n (for external division replace n by −n). The centroid of a triangle is the mean of its vertices, and its area is ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|; three points are collinear when this is zero.

FormEquation
Slope-intercepty = mx + c
Point-slopey − y₁ = m(x − x₁)
Interceptx/a + y/b = 1
Normalx cos α + y sin α = p
Generalax + by + c = 0, slope −a/b

The angle θ between lines of slopes m₁ and m₂, and the two key distances, are

tan θ = |(m₁ − m₂)/(1 + m₁m₂)|, d = |ax₁ + by₁ + c| / √(a² + b²), d = |c₁ − c₂| / √(a² + b²)

Lines are parallel when m₁ = m₂ and perpendicular when m₁m₂ = −1. The second distance is for parallel lines ax + by + c₁ = 0 and ax + by + c₂ = 0, written with the same a and b. The foot (h, k) of the perpendicular from (x₁, y₁) satisfies (h − x₁)/a = (k − y₁)/b = −(ax₁ + by₁ + c)/(a² + b²); for the image use −2 instead of −1. Three lines are concurrent when the point of intersection of two of them satisfies the third.

Solved example. Distance of (2, 3) from 3x + 4y − 8 = 0: d = |6 + 12 − 8|/5 = 2. The foot of the perpendicular: (h − 2)/3 = (k − 3)/4 = −10/25, so (h, k) = (0.8, 1.4).

Circles

A circle with centre (h, k) and radius r, and the general form:

(x − h)² + (y − k)² = r², x² + y² + 2gx + 2fy + c = 0: centre (−g, −f), r = √(g² + f² − c)

The circle with A(x₁, y₁) and B(x₂, y₂) as ends of a diameter is (x − x₁)(x − x₂) + (y − y₁)(y − y₂) = 0. Write S₁ for the value of the left side at a point (x₁, y₁): the point is outside, on or inside the circle as S₁ is positive, zero or negative.

  • Tangent at (x₁, y₁) on the circle: xx₁ + yy₁ + g(x + x₁) + f(y + y₁) + c = 0.
  • A line touches a circle when its distance from the centre equals r. For x² + y² = a², the line y = mx + c is a tangent when c² = a²(1 + m²).
  • Length of the tangent from an outside point = √S₁.
  • Two circles cut orthogonally when 2g₁g₂ + 2f₁f₂ = c₁ + c₂.
Distance d between centresPositionCommon tangents
d > r₁ + r₂separate4
d = r₁ + r₂touch externally3
|r₁ − r₂| < d < r₁ + r₂intersect2
d = |r₁ − r₂|touch internally1
d < |r₁ − r₂|one inside the other0

Solved example. For x² + y² − 6x + 8y − 11 = 0, g = −3, f = 4, so the centre is (3, −4) and r = √(9 + 16 + 11) = 6. From (1, 2), S₁ = 1 + 4 − 6 + 16 − 11 = 4, so the point is outside and the tangent length is √4 = 2.

JEE Main tip

Make the coefficients of x² and y² equal to 1 before reading off g, f and c. For tangency questions the quickest route is almost always perpendicular distance from centre = radius, which works for any circle and any line.

Common mistakes in JEE Main straight lines and circles

  • Using |c₁ − c₂|/√(a² + b²) for 3x + 4y − 5 = 0 and 6x + 8y + 15 = 0 without first making the x and y coefficients equal.
  • Reading the centre of x² + y² + 4x − 6y = 0 as (4, −6) or (2, −3) instead of (−2, 3).
  • Applying the general circle formulas when the coefficient of x² is not 1, for example in 2x² + 2y² + … = 0.
  • Mixing up the foot of the perpendicular (factor −1) with the image of a point (factor −2).
Key facts · JEE Main straight lines and circles
  • Distance of (x₁, y₁) from ax + by + c = 0 is |ax₁ + by₁ + c|/√(a² + b²); tan θ = |(m₁ − m₂)/(1 + m₁m₂)|.
  • x² + y² + 2gx + 2fy + c = 0 has centre (−g, −f) and radius √(g² + f² − c); tangent length = √S₁.
  • Compare the distance between centres with r₁ + r₂ and |r₁ − r₂| to find the position of two circles and the number of common tangents.

Ready to practise?

A quick test and 2 question sets on JEE Main straight lines and circles in the style of JEE Main questions: 13 parts, 13 marks, with worked solutions.

Go to the questions

More topics · JEE Main Maths

Notes and questions based on the mathematics units of the JEE Main syllabus of the National Testing Agency (NTA) and the NCERT textbooks of classes 11 and 12. The questions are new and written by us in the style of JEE Main. The NTA conducts the exam and can change the syllabus and pattern each year, so always check its latest information bulletin.

Reviewed by: CalcSwiftly · Last reviewed: October 2026