Two Points Are All You Need to Write the Equation of Any Straight Line
Write equations of lines with the point-slope and two-point forms, find lines parallel or perpendicular to a given line through a point, find the median, altitude and perpendicular bisector of a triangle, and work out intercepts and intersections.
What information do you need to write the equation of a line?
A straight line is fixed completely by one point and its slope, or by two points. From either, you can write an equation that every point on the line satisfies:
This part covers the point-slope and two-point forms, parallel and perpendicular lines through a point, lines in a triangle, and intercepts and intersections.
This part covers the point-slope and two-point forms, parallel and perpendicular lines through a point, lines in a triangle, and intercepts and intersections.
How do you write the equation of a line using the point-slope form and the two-point form?
**With a point and slope , write ; with two points, first find and then use either point.
Worked example 1 — point and slope.** Through with slope :
Worked example 2 — two points. Through and :
Check with : .
Worked example 3 — inclination. Through making with the x-axis: , so .
An everyday example. **Suppose a gas cylinder has kg left after days and kg after days.** The slope is kg per day, so , giving : it started with kg.
The substance. Substitute the second point to check — it must satisfy the final equation.
Worked example 1 — point and slope.** Through with slope :
Worked example 2 — two points. Through and :
Check with : .
Worked example 3 — inclination. Through making with the x-axis: , so .
An everyday example. **Suppose a gas cylinder has kg left after days and kg after days.** The slope is kg per day, so , giving : it started with kg.
The substance. Substitute the second point to check — it must satisfy the final equation.
How do you find the equation of a line parallel or perpendicular to a given line through a given point?
Find the slope of the given line; use the same slope for a parallel line or the negative reciprocal for a perpendicular line, then apply the point-slope form.
Worked example 1 — parallel. Through , parallel to , which has slope :
Worked example 2 — perpendicular. Through , perpendicular to the same line, so slope :
Check: .
Shortcut. A line parallel to has the form ; a perpendicular line has the form . Substitute the point to find .
An everyday example. A new service road built alongside a straight highway through a village follows a line parallel to the highway, passing through one fixed point.
The substance. Parallel lines differ only in the constant term, which is why the shortcut works.
Worked example 1 — parallel. Through , parallel to , which has slope :
Worked example 2 — perpendicular. Through , perpendicular to the same line, so slope :
Check: .
Shortcut. A line parallel to has the form ; a perpendicular line has the form . Substitute the point to find .
An everyday example. A new service road built alongside a straight highway through a village follows a line parallel to the highway, passing through one fixed point.
The substance. Parallel lines differ only in the constant term, which is why the shortcut works.
How do you find the equation of a median, an altitude or a perpendicular bisector in a triangle?
A median joins a vertex to the mid-point of the opposite side, an altitude passes through a vertex perpendicular to the opposite side, and a perpendicular bisector passes through the mid-point of a side perpendicular to it.
Take the triangle , , .
**Median from .** Mid-point of is .
**Altitude from .** Slope of , so the altitude has slope .
**Perpendicular bisector of .** Through with slope :
An everyday example. A street light meant to be equally far from two houses must stand on the perpendicular bisector of the line joining them.
The substance. Here the altitude and the perpendicular bisector are parallel but different; they coincide only when .
Take the triangle , , .
**Median from .** Mid-point of is .
**Altitude from .** Slope of , so the altitude has slope .
**Perpendicular bisector of .** Through with slope :
An everyday example. A street light meant to be equally far from two houses must stand on the perpendicular bisector of the line joining them.
The substance. Here the altitude and the perpendicular bisector are parallel but different; they coincide only when .
How do you find the intercepts of a line and its point of intersection with another line?
**Put to get the x-intercept and to get the y-intercept; to find where two lines meet, solve their equations simultaneously.
Worked example 1 — intercepts.** For :
It cuts the axes at and , enclosing a triangle of area square units.
Worked example 2 — intercepts. For : x-intercept , y-intercept .
Worked example 3 — intersection. Solve and .
The lines meet at .
An everyday example. Two straight bus routes drawn on a city map cross at the junction given by solving their equations together.
The substance. **Dividing by gives **, where the intercepts can be read directly.
Worked example 1 — intercepts.** For :
It cuts the axes at and , enclosing a triangle of area square units.
Worked example 2 — intercepts. For : x-intercept , y-intercept .
Worked example 3 — intersection. Solve and .
The lines meet at .
An everyday example. Two straight bus routes drawn on a city map cross at the junction given by solving their equations together.
The substance. **Dividing by gives **, where the intercepts can be read directly.
Exam tip
What earns full marks on equations of lines?
**Find the slope first, substitute the point with brackets, and present the final equation in the form with integer coefficients.
- Point-slope**:
- Watch signs with negative coordinates:
- Parallel: same slope; perpendicular: negative reciprocal
- Median: find the mid-point first; altitude: find the perpendicular slope first
- Intercepts: set the other variable to zero
- Check by substituting a known point
The trap. Writing for a line through . **The bracket must be .**
- Point-slope**:
- Watch signs with negative coordinates:
- Parallel: same slope; perpendicular: negative reciprocal
- Median: find the mid-point first; altitude: find the perpendicular slope first
- Intercepts: set the other variable to zero
- Check by substituting a known point
The trap. Writing for a line through . **The bracket must be .**
Did you know
Why do the three altitudes of a triangle always meet at a single point?
In the triangle , , , the altitude from is .
The altitude from is perpendicular to , which has slope , so its equation is . **Solving with gives .**
The altitude from is perpendicular to , which has slope , so it is . **At , it also gives .** All three meet at — a point called the orthocentre, which exists for every triangle.
The altitude from is perpendicular to , which has slope , so its equation is . **Solving with gives .**
The altitude from is perpendicular to , which has slope , so it is . **At , it also gives .** All three meet at — a point called the orthocentre, which exists for every triangle.
Exam relevance
How are equations of lines tested in JEE Main?
This is foundation work for Class 11 Straight Lines, a JEE Main chapter, and it is used throughout Conic Sections.
What gets built on. Straight Lines adds more forms of the equation, the distance of a point from a line, angle bisectors, and families of lines through the intersection of two lines. Finding the orthocentre, centroid and circumcentre from vertices uses exactly the medians, altitudes and perpendicular bisectors in this lesson.
Question types. Multiple-choice and numerical-value questions on equations of lines, triangle centres and intersections.
The trap that costs marks. Sign errors in the point-slope form when a coordinate is negative.
What gets built on. Straight Lines adds more forms of the equation, the distance of a point from a line, angle bisectors, and families of lines through the intersection of two lines. Finding the orthocentre, centroid and circumcentre from vertices uses exactly the medians, altitudes and perpendicular bisectors in this lesson.
Question types. Multiple-choice and numerical-value questions on equations of lines, triangle centres and intersections.
The trap that costs marks. Sign errors in the point-slope form when a coordinate is negative.
Key takeaways
What must you be able to do from this part?
- Point-slope form:
- Two points: find , then use either point; , give
- **Parallel through ** to :
- **Perpendicular through **:
- Median uses a mid-point; altitude uses a perpendicular slope; perpendicular bisector uses both
- Intercepts: cuts the axes at and
- Intersection: solve simultaneously; in the example
Take the triangle , , and find the equation of its median from before checking that it passes through the centroid.
- Two points: find , then use either point; , give
- **Parallel through ** to :
- **Perpendicular through **:
- Median uses a mid-point; altitude uses a perpendicular slope; perpendicular bisector uses both
- Intercepts: cuts the axes at and
- Intersection: solve simultaneously; in the example
Take the triangle , , and find the equation of its median from before checking that it passes through the centroid.