HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Mathematics
  2. /Coordinate Geometry
  3. /Straight Lines

Straight Lines

Mathematics · High School (11–12), High School (9–10) · 3 courses, 24 worked problems

A straight line on the coordinate plane has an equation. Its slope mmm tells how steep it is: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}m=x2​−x1​y2​−y1​​. If a line has slope mmm and meets the yyy-axis at ccc, its equation is y=mx+cy = mx + cy=mx+c. Other forms use a point and the slope, two points or the two intercepts. Parallel lines have equal slopes. Perpendicular lines have slopes whose product is −1-1−1. We can also find the distance of a point from a line. A road on a hill, a ramp and a straight-line graph of speed all use slope.

With practice you will be able to

  • Find the equation of a line in slope, point or intercept form
  • Use slopes to test if two lines are parallel or perpendicular
  • Find the distance of a point from a line

On the syllabus of

  • JEE Main
  • JEE Advanced
  • ICSE
  • BITSAT
  • MHT-CET
  • KCET
  • WBJEE
  • VITEEE
  • and 19 more

Lessons

  • Slope and Equations of Straight LinesWhy does a vertical line have no slope?High School (11–12)
  • General Form, Distances and Families of LinesHow far is a village from a straight road, and which point of the road is nearest?High School (11–12)
  • Linear Equations and Their GraphsWhy does a taxi fare make a straight line graph?High School (9–10)

Worked problems

Each one has a hint, the key idea and a full worked solution.

  • Find the slope of the line through P(2, -3) and Q(8, 9)…Easy
  • The line through A(k, 2) and B(5, 8) has slope 3/4…Medium
  • Find the acute angle and the obtuse angle between two lines with slopes 3 and 1/2, in degrees.Medium
  • A line has slope 2. A second line makes an angle θ with it, where tanθ = 1/3…Hard

Python labs

  • Slope, angle and the angle between lines
  • A toolkit for straight lines
  • Distances and sides
  • Families of lines and concurrency

Related topics

  • Coordinate Geometry
  • The Cartesian Plane
  • Distance, Midpoint and Section Formulae
  • Circles and Conic Sections
The line through A(1, 2) and B(3, k) is parallel to the line through C(0, -1) and D(4, 3)…
Medium
  • Find k so that A(2, 5), B(k, 9) and C(8, 17) lie on one straight line…Medium
  • The points A(1, 1), B(4, 2) and C(3, 5) are the corners of a triangle…Medium
  • A line through (3, 7) makes an angle of 45° with the positive x-axis…Easy
  • The point P divides the segment from A(1, 2) to B(7, 11) in the ratio 1 : 2…Medium
  • A line passes through (4, 3), and its x-intercept is twice its y-intercept. Find both intercepts.Hard
  • Find the slope, the x-intercept and the y-intercept of the line 6x + 4y - 24 = 0.Easy
  • Find the line through (2, -3) perpendicular to 3x - 4y + 7 = 0…Medium
  • All 24 worked problems on Straight Lines →