Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
  • Algebra0/7
  • Coordinate geometry0/7
  • Vectors and the dot product0/7
  • Trigonometry0/7
  • Sigma and series0/7
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
(x,y)(x,y)(x,y)Maths, module 6: Coordinate geometry, lesson 5 of 7

Equations of a line

Slope–intercept, point–slope, two-point, intercept and general form: five ways to write one line, and how to move between them.

11 minute read2 things to try5 questionsFree

A line’s equation is a rule that every point on it obeys and no other point does.

Read the whole lesson free

Make a free account to read on, try the interactive parts, answer the 5 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • y=mx+cy = mx + cy=mx+c shows slope and intercept at a glance.
  • y−y1=m(x−x1)y - y_1 = m(x - x_1)y−y1​=m(x−x1​) builds a line from a point and a slope.
  • ax+by+c=0ax + by + c = 0ax+by+c=0 covers every line; slope −ab-\tfrac{a}{b}−ba​.

More in Coordinate geometry

  1. 1The coordinate plane
  2. 2The distance formula
  3. 3Midpoint and section formula
  4. 4Slope and the angle of a line
  5. 5Equations of a line
  6. 6Two lines together
  7. 7Areas and circles on the grid