BRAINBIT
CoursesExamsUse casesPricingAbout
Get started
CoursesExamsUse casesPricingAbout
CoursesMathematicsStraight Lines

Chapter 7: Coordinate Geometry

Straight Lines

Use slope, the forms of a line, parallel and perpendicular conditions, distance formulas, angles between lines, and centroids.

JEE MainJEE Advanced

Explanation

Welcome to The Grid City

Draw a grid, and every shape becomes an equation. In Grid City, lines become y equals m x plus c, circles become sums of squares, and slicing a cone gives four famous curves.

Coordinate geometry is the biggest-scoring chapter in JEE Main, so we'll take it street by street.

Slope m = (y₂ − y₁)/(x₂ − x₁) = tan θ

Slope is rise over run: the change in y over the change in x. It's also the tangent of the angle the line makes with the x-axis.

Slope m = (y₂ − y₁)/(x₂ − x₁) = tan θ

Y = mx + c · y − y₁ = m(x − x₁) · x/a + y/b = 1

Three forms of a line. Slope-intercept, y equals m x plus c.

Point-slope, through a known point. And intercept form, x over a plus y over b equals one.

y = mx + c · y − y₁ = m(x − x₁) · x/a + y/b = 1

Parallel

Parallel lines share a slope. Perpendicular lines have slopes that multiply to minus one: two and minus a half.

Parallel: m₁ = m₂ · perpendicular: m₁m₂ = −1

Distance from (x₁, y₁) to ax + by + c = 0

ax₁ + by₁ + c|/√(a² + b²) · between parallel lines: |c₁ − c₂|/√(a² + b²) | "To find a point's distance from a line, put the point into the line's equation, take the absolute value, and divide by root of a squared plus b squared.

Distance from (x₁, y₁) to ax + by + c = 0:

Angle between lines

(m₁ − m₂)/(1 + m₁m₂)| | "The acute angle between two lines comes from their slopes: tan theta is the difference over one plus the product.

Angle between lines: tan θ =

Centroid ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3) ·…

x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)| | "The centroid of a triangle is the average of its vertices. The area comes from the shoelace-style formula: half the absolute value.

Centroid ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3) · area = ½

Worked example

Line through (2, 3) with slope 2: y − 3 = 2(x − 2) → y = 2x − 1.

Memory tricks

  • Perpendicular slope: flip it and change its sign (2 → −½).Perpendicular slopes: ulta karo aur minus lagao (2 → −½).
  • Put the point in, divide by the root, and the distance comes out.Point ko line mein daalo, root se bhaag do, doori nikaalo.

Try 3 practice questions

  1. Q1. Line through (2, 3) with slope 2

    1. A. y = 2x − 1
    2. B. y = 2x + 3
    3. C. y = 2x + 1
    4. D. y = x + 1
    Show answer

    Answer: y = 2x − 1

    y − 3 = 2(x − 2), so y = 2x − 1

  2. Q2. Centroid of (0, 0), (6, 0), (0, 9)

    1. A. (2, 3)
    2. B. (3, 4.5)
    3. C. (6, 9)
    4. D. (1, 2)
    Show answer

    Answer: (2, 3)

    Average the coordinates: ((0 + 6 + 0)/3, (0 + 0 + 9)/3) gives the centroid (2, 3) on the plane

  3. Q3. Area of the triangle with vertices (0, 0), (4, 0), (0, 3)

    1. A. 6
    2. B. 12
    3. C. 7
    4. D. 5
    Show answer

    Answer: 6

    A right triangle with legs 4 and 3: (1/2) × 4 × 3 = 6

Learn Straight Lines the fun way

Voice-explained cards, mini-games, full practice and the exam round. Free with one account.

Start Mathematics
PreviousTrigonometric Equations & Inverse Trigonometric FunctionsNextCircles

More from Coordinate Geometry

  • Circles
  • Conic Sections: Parabola, Ellipse & Hyperbola
  • Conics: Parametric Forms, Normals & Chords
BRAINBIT

Bite-sized, game-like lessons for JEE, NEET, Banking and SSC aspirants.

Courses

  • Inorganic Chemistry
  • Organic Chemistry
  • Physical Chemistry
  • Physics
  • Mathematics
  • Biology
  • Logical Reasoning
  • Quantitative Aptitude
  • Data Interpretation
  • English Language
  • General Awareness
  • Typing
  • Vedic Math
  • Abacus
  • Logical Puzzles

Exams

  • JEE Main
  • JEE Advanced
  • NEET
  • IBPS PO
  • SBI PO
  • SSC CGL
  • CAT
  • RRB NTPC

Brainbit

  • Courses
  • Exams
  • Use cases
  • Pricing
  • About

© 2026 Brainbit. All rights reserved.

Privacy PolicyTerms & Conditions
Sign in
Get started
Start Mathematics