Straight Lines

Distance Formulas and Position of Points

0:00
LearnStep 1/4

Distance Formulas and Position of Points

Distance Formulas and Position of Points

Hello JEE aspirants! This lesson is crucial for mastering coordinate geometry, especially straight lines. Understanding distances and point positions is not just about memorizing formulas; it's about visualizing geometry algebraically. Expect direct questions and applications within more complex problems.

Distance of a Point from a Line

Imagine a point P(x1,y1)P(x_1, y_1) and a line ax+by+c=0ax + by + c = 0. We want to find the shortest distance from the point to the line. Geometrically, this is the length of the perpendicular from PP to the line.

d=ax1+by1+ca2+b2d = \frac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}

Explanation:

  • a,b,ca, b, c are the coefficients from the line's equation.
  • x1,y1x_1, y_1 are the coordinates of the point.
  • The absolute value ensures the distance is positive.
  • a2+b2\sqrt{a^2 + b^2} normalizes the distance relative to the line's coefficients.

Intuition: The numerator ax1+by1+c|ax_1 + by_1 + c| essentially 'plugs' the point into the line's equation. If the result is zero, the point lies on the line. The further away from zero, the greater the distance (before normalization).

Derivation (Conceptual): A more rigorous derivation involves vector projections, but for JEE, focus on application. Conceptually, the formula is derived by finding the length of the perpendicular dropped from the point onto the line. This involves finding the equation of the perpendicular line, determining the point of intersection, and then applying the standard distance formula between two points.

Example: Find the distance of the point (2,3)(2, 3) from the line 3x+4y7=03x + 4y - 7 = 0.

Solution: d=3(2)+4(3)732+42=6+1279+16=115d = \frac{|3(2) + 4(3) - 7|}{\sqrt{3^2 + 4^2}} = \frac{|6 + 12 - 7|}{\sqrt{9 + 16}} = \frac{11}{5}

Distance Between Two Parallel Lines

Parallel lines have the same slope but different y-intercepts. Consider two parallel lines: ax+by+c1=0ax + by + c_1 = 0 and ax+by+c2=0ax + by + c_2 = 0.

d=c1c2a2+b2d = \frac{|c_1 - c_2|}{\sqrt{a^2 + b^2}}

Explanation:

  • c1c_1 and c2c_2 are the constant terms in the line equations.
  • aa and bb are the coefficients of xx and yy, which are the same for parallel lines.

Intuition: The distance is proportional to the difference in their constant terms, normalized by a2+b2\sqrt{a^2 + b^2}.

Derivation (Conceptual): Imagine taking any point on one line and calculating its distance from the other line using the point-to-line distance formula. This simplifies to the above formula due to the lines being parallel, leading to a common term that cancels out.

Example: Find the distance between the lines 2x+y4=02x + y - 4 = 0 and 2x+y+1=02x + y + 1 = 0.

Solution: d=4122+12=55=5d = \frac{|-4 - 1|}{\sqrt{2^2 + 1^2}} = \frac{5}{\sqrt{5}} = \sqrt{5}

Position of a Point Relative to a Line

A line divides the plane into two regions. The expression ax1+by1+cax_1 + by_1 + c can tell us which side of the line the point (x1,y1)(x_1, y_1) lies on.

  • If ax1+by1+c>0ax_1 + by_1 + c > 0, the point lies on one side.
  • If ax1+by1+c<0ax_1 + by_1 + c < 0, the point lies on the other side.
  • If ax1+by1+c=0ax_1 + by_1 + c = 0, the point lies on the line.

Intuition: This relates to the sign of the result when substituting the point's coordinates into the line's equation. It directly indicates which "half-plane" the point occupies.

Important: This is only meaningful if you keep the line's equation in the form ax+by+c=0ax + by + c = 0. The sign depends on the arrangement of terms.

Example: Determine the position of points (1,1)(1, 1) and (1,1)(-1, -1) relative to the line x+y2=0x + y - 2 = 0.

For (1,1)(1, 1): 1+12=01 + 1 - 2 = 0. The point lies on the line.

For (1,1)(-1, -1): 1+(1)2=4<0-1 + (-1) - 2 = -4 < 0. The point lies on the side where the expression is negative.

Foot of Perpendicular from a Point to a Line

The foot of the perpendicular is the point where the perpendicular from a point to a line intersects the line. Let's say the foot of perpendicular from point P(x1,y1)P(x_1, y_1) to the line ax+by+c=0ax + by + c = 0 is (h,k)(h, k).

xx1a=yy1b=ax1+by1+ca2+b2\frac{x - x_1}{a} = \frac{y - y_1}{b} = -\frac{ax_1 + by_1 + c}{a^2 + b^2}

Therefore, x=x1aax1+by1+ca2+b2x = x_1 - a \frac{ax_1 + by_1 + c}{a^2 + b^2} and y=y1bax1+by1+ca2+b2y = y_1 - b \frac{ax_1 + by_1 + c}{a^2 + b^2}. These give you the coordinates of the foot of the perpendicular (x,y)(x, y).

Explanation:

  • (x1,y1)(x_1, y_1) is the given point.
  • a,b,ca, b, c are coefficients of the line.
  • (x,y)(x, y) are the coordinates of the foot of the perpendicular.

Intuition: This formula cleverly uses the direction ratios of the normal to the line and scales them based on the perpendicular distance from the point to the line. The negative sign ensures we move in the correct direction toward the line.

Example: Find the foot of the perpendicular from (1,2)(1, 2) to the line x+y1=0x + y - 1 = 0.

Solution: x11=y21=(1+21)12+12=1\frac{x - 1}{1} = \frac{y - 2}{1} = -\frac{(1 + 2 - 1)}{1^2 + 1^2} = -1

So, x=11=0x = 1 - 1 = 0 and y=21=1y = 2 - 1 = 1. Foot of the perpendicular is (0,1)(0, 1).

Image of a Point About a Line

The image of a point is its reflection across the line. If Q(x,y)Q(x, y) is the image of point P(x1,y1)P(x_1, y_1) about the line ax+by+c=0ax + by + c = 0, then:

xx1a=yy1b=2(ax1+by1+c)a2+b2\frac{x - x_1}{a} = \frac{y - y_1}{b} = -\frac{2(ax_1 + by_1 + c)}{a^2 + b^2}

Therefore, x=x12aax1+by1+ca2+b2x = x_1 - 2a \frac{ax_1 + by_1 + c}{a^2 + b^2} and y=y12bax1+by1+ca2+b2y = y_1 - 2b \frac{ax_1 + by_1 + c}{a^2 + b^2}.

Explanation:

  • (x1,y1)(x_1, y_1) is the original point.
  • a,b,ca, b, c are coefficients of the line.
  • (x,y)(x, y) are the coordinates of the image.

Intuition: It's similar to finding the foot of the perpendicular, but we go twice the distance along the normal from the point to reach its image.

Example: Find the image of the point (1,2)(1, 2) about the line x+y1=0x + y - 1 = 0.

Solution: x11=y21=2(1+21)12+12=2\frac{x - 1}{1} = \frac{y - 2}{1} = -\frac{2(1 + 2 - 1)}{1^2 + 1^2} = -2

So, x=12=1x = 1 - 2 = -1 and y=22=0y = 2 - 2 = 0. The image is (1,0)(-1, 0).

Tip: Always visualize the geometry. Sketch a rough diagram to confirm your results, especially when dealing with foot of perpendicular and image problems. This can help catch sign errors.

Warning: Be careful with signs in the formulas. Ensure you are subtracting in the correct order, especially when calculating distances between parallel lines or coordinates of the foot of perpendicular and image.

JEE Trick: For multiple-choice questions, if you have time, try substituting the answer options back into the original equations to verify the relationships.

Good luck mastering these concepts!