Fundamentholfundamenthol

Points and Straight Lines

MathsStraight LinesFor JEE aspirants

Once we know the equation of a straight line, we can ask questions about points relative to that line - which side of the line does a given point lie on, how far is it from the line, what is its foot of perpendicular, what is its mirror image? This concept covers all of these point-line relationships: position of a point (or two points) relative to a line, perpendicular distance, foot of perpendicular, image of a point, reflection of a line, angle bisectors of two intersecting lines with acute/obtuse discrimination, and the bisector containing a given point.

Key Formulas - Quick Reference
  1. Perpendicular distance from to : .
  2. Two points and lie on the same side of iff .
  3. Ratio in which divides segment : .
  4. Foot of perpendicular from to : .
  5. Image of in : .
  6. Image of in the point : .
  7. Angle bisectors of and : .

1. Position of a Point Relative to a Line

Consider the line and a point not on it. The value of tells us which side of the line lies on:

  • If has the same sign as , then lies on the same side of the line as the origin - the "origin side".
  • If has the opposite sign to , then lies on the non-origin side of the line.
  • If , then lies on the line.

Two points relative to a line

Two points and lie

  • on the same side of iff ;
  • on opposite sides iff .

Intuition. is a continuous function of that vanishes exactly on the line. It has one sign on one side and the opposite sign on the other. Two points on the same side give the same sign; on opposite sides, opposite signs.

Which side of a line a point lies on, from the sign of the expression A straight line splits the plane into two shaded half planes. A point P in the upper half gives a positive value when its coordinates are substituted into the expression a x plus b y plus c, a point Q in the lower half gives a negative value, and a point R on the line itself gives zero. L: ax + by + c = 0 P(x1, y1) Q(x2, y2) R L(P) is positive here L(Q) is negative here L(R) = 0 same side: product of the two values is positive
Figure 1. The sign of is constant on each side of the line and zero on it. Two points lie on the same side exactly when .
Solved Example 1
Show that and lie on opposite sides of .
Solution:

At : . At : . Opposite signs opposite sides.

Solved Example 2
Which of , , lies on the same side of as the origin?
Solution:

At origin: (so "origin side" negative side).

: - opposite side.

: - same side as origin.

: - opposite side.

Answer: .

2. Ratio in Which a Line Divides a Segment

Suppose the line meets segment (where , ) at some point . Let divide in the ratio . Then

Sign convention:

  • If and are on opposite sides of the line, the two values and have opposite signs, so - the division is internal.
  • If and are on the same side, both values have the same sign, so - the division is external.
Ratio in which a line divides a segment, internally or externally Two panels each show a straight line and a segment joining points A and B. In the left panel A and B lie on opposite sides of the line, so the line cuts the segment at an interior point and the division is internal. In the right panel both points lie on the same side, so only the extended segment meets the line and the division is external. A B R A and B on opposite sides R divides AB internally L A B S A and B on the same side S divides AB externally L ratio m : n = − L(A) / L(B)
Figure 2. The line meets in the ratio . A positive ratio means internal division (opposite sides), a negative ratio means external division (same side).
Solved Example 3
Find the ratio in which the line divides the segment joining and .
Solution:

At : . At : . Both negative same side external division.

. So the line divides in the ratio externally.

3. Perpendicular Distance from a Point to a Line

The length of the perpendicular from to the line is

The absolute value is essential: distance is non-negative. Without the modulus the expression is the signed distance, positive on one side of the line and negative on the other.

Perpendicular distance from a point to a straight line A point P lies away from a straight line. A dashed segment drops from P to the line, meeting it at right angles at the foot M. The length of that segment is the perpendicular distance d, the shortest distance from the point to the line. ax + by + c = 0 P(x1, y1) M d d = | a x1 + b y1 + c | / √(a2 + b2) the modulus keeps the distance non-negative
Figure 3. Perpendicular distance. ; without the modulus the same expression is the signed distance, positive on one side and negative on the other.
Distance from origin. Setting gives - the perpendicular distance from the origin to .
Solved Example 4
Find the distance from to the line .
Solution:

.

Solved Example 5
Find all points on that lie at unit distance from .
Solution:

A general point on is . Distance to the given line:

.

Points: and .

4. Foot of the Perpendicular

Let be the foot of the perpendicular from to the line . The coordinates of satisfy

Why this works. The vector is normal to the line, so is along : hence . The common value comes from requiring to lie on the line.

Geometric method (equivalent). Write the equation of using point-slope (slope , perpendicular to line's slope ). Solve and the given line simultaneously.

Solved Example 6
Find the foot of the perpendicular from to .
Solution:

Here ; . Common ratio: .

. . Foot: .

5. Image (Reflection) of a Point in a Line

The image (mirror reflection) of in the line has coordinates satisfying

The only difference from the foot-of-perpendicular formula is the factor of - because the image is at twice the perpendicular distance from , on the other side of the line.

Foot of the perpendicular and mirror image of a point in a line A point P sits above a straight line. The perpendicular from P meets the line at right angles at the foot M and continues an equal distance beyond it to the mirror image P dash. Equal tick marks show that M is the midpoint of P and its image. ax + by + c = 0 P(x1, y1) M P′ M is the foot of the perpendicular and the midpoint of P and its image P′, so the image formula carries a factor of 2
Figure 4. Foot and image share one formula. The foot uses while the image uses twice that value, because is the midpoint of and .

Geometric method (working rule)

  1. Find the foot of the perpendicular from to the line.
  2. is the midpoint of and its image . Solve for : .

Image about a point (as opposed to a line)

The image of in the point is - because is the midpoint of and .

Image of a point in another point Three points lie on one straight segment. The middle point with coordinates h comma k is the midpoint of the other two, so the outer points are mirror images of each other through it. Equal tick marks on the two halves show the equal distances. P(x1, y1) (h, k) P′(2h − x1, 2k − y1) reflection in a point: (h, k) is the midpoint of P and its image P′
Figure 5. Reflection in a point. Since is the midpoint of and , the image of is .
Solved Example 7
Find the image of in the line .
Solution:

Common ratio: .

. .

Image: .

Solved Example 8
Find the image of in the -axis.
Solution:

The -axis is , i.e., . Applying the formula with : common ratio . So , . Image: .

Equivalently, reflection in the -axis simply flips the sign of .

Reflection of a line in another line

To reflect the line in the mirror line , use the fact that reflection preserves the point of intersection (if they meet) and reflects the direction:

  1. Find the point where meets (if , treat separately - the image is a line parallel to both at equal distance on the other side).
  2. Take any convenient point on (other than ) and find its image in using the point-reflection formula above.
  3. The image line passes through and .
Reflection of one straight line in another Two straight lines meet at a point P. A point Q is chosen on the first line and reflected in the second line, which acts as a mirror: the dashed construction meets the mirror at right angles with equal parts on either side. The image line is the line through P and the reflected point. L2 (mirror) Q L1 Q′ P reflect Q in the mirror L2, then join P to Q′
Figure 7. Reflecting a line. The point of intersection stays fixed, so reflecting any second point of in the mirror and joining to gives the image line.
Solved Example 9
Find the image of the line in the line .
Solution:

The two lines meet at . Take on the first line. Its image in (reflection in swaps coordinates) is .

The image line passes through and . Slope . Equation: .

The reflection is the line itself - because is perpendicular to , so it maps to itself.

6. Angle Bisectors of Two Intersecting Lines

Given two intersecting lines and , the equations of the two angle bisectors are

Why. Any point on a bisector is equidistant from the two lines. Setting the perpendicular distances equal (with for the two bisectors of the two supplementary angles) gives the formula.

The two bisectors are always perpendicular to each other.

The two angle bisectors of a pair of intersecting lines Two straight lines cross at a point. One dashed line bisects the shaded acute angle between them and a second dashed line bisects the obtuse angle. Equal angle marks appear on either side of the first bisector, and a right angle symbol shows that the two bisectors are perpendicular to each other. φ φ L1 L2 acute-angle bisector obtuse-angle bisector
Figure 6. Every point of a bisector is equidistant from both lines, which gives . The two bisectors are always perpendicular.

Discriminating acute vs obtuse angle bisector

Method 1 (via tangent of angle). Take one of the given lines (slope ) and one of the two bisectors (slope ). Compute :

  • If , then so the full angle : this bisector bisects the acute angle.
  • If , then so : this bisector bisects the obtuse angle.

Method 2 (sign of ). After writing both line equations with positive constant terms (i.e., and ; multiply through by if needed):

  • If : the origin lies in the acute angle between the two lines, so the "" sign gives the acute bisector.
  • If : the origin lies in the obtuse angle, so the "" sign gives the obtuse bisector.

Equivalently, once you know which angle contains the origin (see next subsection), the bisector of that angle is the one that also contains the origin.

Bisector containing a given point

To pick out the bisector that contains a specified point :

  1. Compute and (the values of the two line expressions at the given point).
  2. If and have the same sign, then the "" sign in the bisector formula gives the bisector through .
  3. If they have opposite signs, the "" sign gives it.

Bisector containing the origin is a special case of the above with : it depends on the signs of and .

Solved Example 10
For the lines and , find (i) the bisector of the acute angle and (ii) the bisector containing the origin.
Solution:

Both bisectors. .

Taking : .

Taking : .

(i) Method 2 for acute. Rewrite with positive constants: and . Now . So the origin lies in the acute angle, and the acute bisector is the one containing the origin.

Check origin against the two bisectors: ; - both fail, but we compare the sign of the LHS at origin against -sign of the bisector line. Simpler: apply the bisector-containing-origin formula. At origin, and - opposite signs use "" sign. That gives .

So the acute bisector (which contains the origin here) is , and the obtuse bisector is .

(ii) Bisector containing the origin is (same as above).

Solved Example 11
Find the bisector of the angle between and containing the point .
Solution:

At : and . Opposite signs use sign.

Bisector: , i.e., .

.

7. Line Equally Inclined to Two Given Lines

Any line whose slope makes equal angles with two given lines and must be parallel to one of the two angle bisectors of and . Hence:

  1. Write the two bisectors of and using the formula in Section 6.
  2. Any line "equally inclined to and " and passing through a given point has the slope of one of these two bisectors and passes through .
A line equally inclined to two given lines is parallel to a bisector Two straight lines meet at a vertex and the bisector of the angle between them is drawn dashed, with equal angle marks on either side. A separate line drawn through a given point A runs parallel to that bisector, so it makes equal angles with both of the original lines. bisector A(x0, y0) L1 L2 a line equally inclined to L1 and L2 is parallel to one of the two bisectors
Figure 8. Equal inclination. A line making equal angles with and must be parallel to one of their two bisectors, so take the bisector's slope and push the line through the given point.
Solved Example 12
Find the equation of the line through equally inclined to the lines and .
Solution:

Bisectors of and : , i.e., , giving and .

So a line equally inclined to both has slope or is vertical. Through :

Horizontal: . Vertical: . Both are valid answers.

Common Mistakes to Avoid

Watch out
  • Distance formula sign: always take the absolute value in the numerator - a "negative distance" of signals you forgot the modulus, not that the point is behind the line.
  • Same-side / opposite-side test: the criterion is the sign of the product , not the individual signs. A common error is to compare "both positive" instead of "product positive".
  • Ratio in which a line divides a segment: the answer is . Positive ratio internal (points on opposite sides). Negative ratio external (same side).
  • Image formula factor of 2: the foot of the perpendicular uses the factor ; the image uses . Missing the gives the foot, not the image.
  • Acute vs obtuse bisector - Method 2: both equations must first be rewritten so their constant terms are positive; only then does the sign of correctly identify which angle contains the origin.
  • Reflection of a line in a parallel line: the two never meet, so the "find intersection point" step fails. The image is a line parallel to both, at equal distance on the far side. Compute using perpendicular distance directly.

Frequently Asked Questions

Q1. How do I quickly decide which side of a line a point is on?

Plug the point into the expression . If the value has the same sign as , the point is on the origin side; opposite sign means the non-origin side; zero means the point is on the line.

Q2. Why does the ratio formula have a minus sign in front?

Because the ratio in which a line divides a segment is positive for internal division (points on opposite sides of the line, so and have opposite signs) and negative for external division. The minus sign in ensures the sign works out correctly.

Q3. How is the image formula related to the foot-of-perpendicular formula?

The two are identical except for a factor of : the image sits at twice the perpendicular distance from the original point on the far side of the line. So if the foot of perpendicular from is , then the image is .

Q4. Are the two angle bisectors of a pair of lines always perpendicular?

Yes. The two bisectors of the two supplementary angles between any pair of intersecting lines are always perpendicular. This is why picking one bisector automatically fixes the other as its perpendicular.

Q5. What's the simplest way to find the acute-angle bisector?

Rewrite both line equations so the constant terms are positive, then compute . If this is negative, the "" sign in the bisector formula gives the acute bisector. If positive, the "" sign gives the obtuse bisector. Simple and mechanical, no trigonometry needed.

Q6. What does "bisector containing the origin" mean?

Of the two angle bisectors of a pair of intersecting lines, one passes through (or its extension covers) the region containing the origin, and the other doesn't. The "bisector containing the origin" is the one whose region includes the origin. It's a way to pin down a specific bisector without invoking acute/obtuse.

Q7. How do I reflect a line in another line?

Find where the two lines meet (the intersection is fixed by any reflection through a line passing through it). Pick another convenient point on the line you want to reflect, find its image in the mirror line using the point-reflection formula, and draw the line through the intersection and this image. That's the reflected line.

Q8. What is the image of a point in another point?

The image of in the point is - because the point must be the midpoint of and its image. This is a rotation about , not a reflection in a line.

Previous year questions on Points and Straight Lines

18 questions from past papers, each with a step-by-step solution.

Show all 18 questions

Ready to master Straight Lines?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.