Position of Two Points with Respect to a Line

Position of Two Points with Respect to a Line

Komal MiglaniUpdated on 02 Jul 2025, 07:45 PM IST

The position of two points concerning a line is a fundamental concept in geometry and analytical mathematics. It has many applications used in real life from physics, robotics, etc. The position of the points on the line determines whether the position is on the line, same side of the line, or on the opposite side.

Position of Two Points with Respect to a Line
Position of Two Points with Respect to a Line

Position of two points with respect to a line

Two given points $\mathrm{A}\left(\mathrm{x}_1, \mathrm{y}_1\right)$ and $\mathrm{B}\left(\mathrm{x}_2, \mathrm{y}_2\right)$ lies on the same side of a line $a x+b y+c=0$ when $\frac{\mathrm{ax}_1+\mathrm{by}_1+\mathrm{c}}{\mathrm{ax}_2+\mathrm{by}_2+\mathrm{c}}>0$ and points lie on the opposite side when $\frac{\mathrm{ax}_1+\mathrm{by}_1+\mathrm{c}}{\mathrm{ax}_2+\mathrm{by}_2+\mathrm{c}}<0$.

Note:

  1. The side of the line where origin lies is known as the origin side.
  2. A point $(p, q)$ will lie on the origin side of the line $a x+b y+c=0$ if $\frac{a p+b q+c}{a .0+b .0+c}>0$, meaning ap $+\mathrm{bq}+\mathrm{c}$ and c will have the same sign.
  3. A point $(p, q)$ will lie on the non-origin side of the line $a x+b y+c$ $=0$, if $\frac{a p+b q+c}{a .0+b .0+c}<0$, meaning $\mathrm{ap}+\mathrm{bq}+\mathrm{c}$ and c will have the opposite sign.

Position of a point which lies inside a triangle

Let $P\left(x_1, y_1\right)$ be the point that lies inside the triangle

The equations of sides of a triangle are

$\begin{aligned} & A B: a_1 x+b_1 y+c_1=0 \\ & B C: a_2 x+b_2 y+c_2=0 \\ & C A: a_3 x+b_3 y+c_3=0\end{aligned}$

First find the coordinates of vertices of triangle ABC

Let $A=\left(x^{\prime}, y^{\prime}\right), \quad B=\left(x^{\prime \prime}, y^{\prime \prime}\right)$ and $C=\left(x^{\prime \prime \prime}, y^{\prime \prime \prime}\right)$

And if coordinates of vertices of triangle ABC is given then find equation of sides of triangle ABC.

If point P lies inside the triangle, then P and A must be same side of BC, P and B must be same side of AC and P and C must be same side of AB, then.

$\begin{aligned} & \frac{a_2 x_1+b_2 y_1+c_2}{a_2 x^{\prime}+b_2 y^{\prime}+c_2}>0 \\ & \frac{a_3 x_1+b_3 y_1+c_3}{a_3 x^{\prime \prime}+b_3 y^{\prime \prime}+c_3}>0 \\ & \frac{a_1 x_1+b_1 y_1+c_1}{a_1 x^{\prime \prime \prime}+b_1 y^{\prime \prime \prime}+c_3}>0\end{aligned}$

Recommended Video Based on Position of Two Points with respect to a Line


Solved Examples Based on Position of Two Points with Respect to a Line:

Example 1: if $P\left(p, p^2\right)$ lies inside the triangle having sides along the lines $2 x+3 y=1, x+2 y-3=0,6 y=5 x-1$ then the value of p?
1) $p \epsilon(1 / 2,1) \cup(-3 / 2,-1)$
2) $p \epsilon(1 / 2,1) \cup(-2,-1)$
3) $p \epsilon(1,2) \cup(-3 / 2,-1)$
4) None of these

Solution

First find the coordinates of vertices of triangle ABC

Let $A=\left(x^{\prime}, y^{\prime}\right), \quad B=\left(x^{\prime \prime}, y^{\prime \prime}\right)$ and $C=\left(x^{\prime \prime \prime}, y^{\prime \prime \prime}\right)$

And if coordinates of vertices of triangle ABC is given then find equation of sides of triangle ABC.

If point P lies inside the triangle, then P and A must be same side of BC, P and B must be same side of AC and P and C must be same side of AB, then.

$\begin{aligned} & \frac{a_2 x_1+b_2 y_1+c_2}{a_2 x^{\prime}+b_2 y^{\prime}+c_2}>0 \\ & \frac{a_3 x_1+b_3 y_1+c_3}{a_3 x^{\prime \prime}+b_3 y^{\prime \prime}+c_3}>0 \\ & \frac{a_1 x_1+b_1 y_1+c_1}{a_1 x^{\prime \prime \prime}+b_1 y^{\prime} 1^{\prime}+c_3}>0 \\ & 2 x+3 y=1 \ldots(i) \\ & x+2 y=3 \ldots(\text { ii }) \\ & 5 x-6 y=1 . .(i i i) \\ & \text { equation (i)-2*equation(ii) } \\ & \text { PointA(-7, 5) } \\ & 5^* \text { equation (ii)-equation(iii) } \\ & \text { pointB(5/4,7/8) } \\ & 5^* \text { equation(i)-2*equation(iii) } \\ & \text { Point } C(1 / 3,1 / 9)\end{aligned}$

So $\mathrm{A}, \mathrm{B}, \mathrm{C}$ be vertices of the triangle.
$
\begin{aligned}
& \mathrm{A} \equiv(-7,5), \mathrm{B} \equiv(5 / 4,7 / 8) \\
& \mathrm{C} \equiv(1 / 3,1 / 9)
\end{aligned}
$

If P lies in-side the $\triangle \mathrm{ABC}$, then sign of P will be the same as sign of a w.r.t. the line BC
$
\Rightarrow \quad 5 p-6 p^2-1<0 \Rightarrow\left(-\infty, \frac{1}{3}\right) U\left(\frac{1}{2}, \infty\right)
$

Similarly $2 p+3 p^2-1>0 \Rightarrow(-\infty,-1) U\left(\frac{1}{3}, \infty\right)$
And, $\quad p+2 p^2-3<0 \Rightarrow\left(\frac{-3}{2}, 1\right)$.
Solving, (1), (2) and (3) for $p$ and then taking intersection, We get $p \in(1 / 2,1) \cup(-3 / 2,-1)$.

Example 3: Let the point $\mathrm{P}(\alpha, \beta)$ be at a unit distance from each of the two lines $\mathrm{L}_1: 3 \mathrm{x}-4 \mathrm{y}+12=0$, and $\mathrm{L}_2: 8 \mathrm{x}+6 \mathrm{y}+11=0$. If P lies below $\mathrm{L}_1$ and above $\mathrm{L}_2$, then $100(\alpha+\beta)$ is equal to
1) -14
2) 42
3) -22
4) 14

Solution

$
\begin{aligned}
& \mathrm{P} \text { and origin lie on same side of } \mathrm{L}_1 \\
& \Rightarrow \frac{3 \alpha-4 \beta+12}{12}>0 \\
& \Rightarrow 3 \alpha-4 \beta+12>0
\end{aligned}
$

Similarly for $\mathrm{L}_2$
$
\begin{aligned}
& \frac{8 \alpha+6 \beta+11}{11}>0 \\
& \Rightarrow 8 \alpha+6 \beta+11>0
\end{aligned}
$

Also distance from $\mathrm{L}_1$ and $\mathrm{L}_2=1$
$
\begin{aligned}
& \Rightarrow \frac{|3 \alpha-4 \beta+12|}{5}=1 \\
& \Rightarrow 3 \alpha-4 \beta+12=5 \quad(\text { using (ii)) } \\
& \text { And } \frac{|8 \alpha+6 \beta+11|}{10}=1 \\
& 8 \alpha+6 \beta+11=10
\end{aligned}
$

Solving these 2 equations
$
\begin{aligned}
& \alpha=\frac{-23}{25}, \quad \beta=\frac{53}{50} \\
& \therefore 100\left(\alpha_1 \beta\right)=14
\end{aligned}
$

Hence, the correct option is 4.

Example 4: Find the range of $\theta$ in the interval $(0, \pi)$ such that the points $(3,5)$ and $(\sin \theta, \cos \theta)$ lie on the same side of the line $\mathrm{x}+\mathrm{y}-1=0$.
1) $0<\theta<\pi / 6$
2) $0<\theta<3 \pi / 4$
3) $\frac{\pi}{2}<\theta<\pi$
4) $0<\theta<\pi / 2$

Solution
$
\begin{aligned}
& 3+5-1=7>0 \\
& \therefore \sin \theta+\cos \theta-1>0 \\
& \Rightarrow \sin (\pi / 4+\theta)>1 / \sqrt{ } 2 \Rightarrow \pi / 4<\pi / 4+\theta<3 \pi / 4 \Rightarrow 0<\theta<\pi / 2
\end{aligned}
$

Hence, the answer is the option (4).

Example 5: Find the range of $\theta$ in the interval $(0, \pi)$ such that the points $(3,5)$ and $(\sin \theta, \cos \theta)$ lie on the same side of the line $\mathrm{x}+\mathrm{y}-1=0$.
1) $0<\theta<\frac{\pi}{6}$
2) $0<\theta<3 \frac{\pi}{4}$
3) $\pi<\theta<\pi$
4) $0<\theta<\frac{\pi}{2}$

Solution:
$
\begin{aligned}
& 3+5-1=7>0 \\
& \therefore \sin \theta+\cos \theta-1>0
\end{aligned}
$
$\Rightarrow \sin (\pi / 4+\theta)>1 / \sqrt{ } 2 \Rightarrow \pi / 4<\pi / 4+\theta<3 \pi / 4 \Rightarrow 0<\theta<\pi / 2$.Hence, the answer is the option (4)

Frequently Asked Questions (FAQs)

Q: What is the relationship between the position of points and the concept of a separating line?
A:
A separating line is a line that completely separates two sets of
Q: Can the position of points with respect to a line be used to define an ordering of points?
A:
Yes, the position of points with respect to a line can define a partial ordering of points. For example, we could order points based on their signed perpendicular distance from the line. This would create an ordering where points on one side of the line are "less than" points on the line, which are "less than" points on the other side. However, this ordering wouldn't distinguish between points that are equidistant from the line.
Q: How does the concept of "position of points" relate to the idea of a support line in convex geometry?
A:
A support line of a convex set is a line that touches the set at one or more points, with the entire set lying on one side of the line. This concept directly uses the idea of point position: all points in the set must be on or to one side of the support line. Support lines are important in defining the shape and properties of convex sets.
Q: What is the significance of the position of points in the context of vector projection?
A:
In vector projection, we project one vector onto another, effectively finding the component of one vector that's parallel to another. The position of the endpoint of the projected vector relative to the line of the projection vector can tell us about the angle between the original vectors. If the projected point is on the same side as the projection vector's endpoint, the angle is acute; if it's on the opposite side, the angle is obtuse.
Q: What is the relationship between the position of points and the concept of a line's direction vector?
A:
A line's direction vector points along the line and is parallel to it. While it doesn't directly determine which side of the line a point is on, it can be used in conjunction with a point on the line to form a vector. The cross product of this vector with the vector from the point on the line to any other point will have a direction (up or down in 2D) that indicates which side of the line the point is on.
Q: How does the position of points relate to the concept of a polygon's interior and exterior?
A:
The interior and exterior of a polygon are defined by the position of points with respect to the polygon's edges (which are lines). A point is in the interior of a convex polygon if it's on the same side of all the polygon's edges. It's in the exterior if it's on the opposite side of at least one edge. Points on the edges themselves are neither interior nor exterior but form the polygon's boundary.
Q: How does the concept of "position of points" relate to the idea of a tangent line?
A:
A tangent line to a curve at a point touches the curve at that point but does not cross it. In terms of point positions, this means that all points on the curve near the point of tangency (except the point itself) are on the same side of the tangent line. This property distinguishes tangent lines from secant lines, which do cross the curve.
Q: What is the significance of the position of points in the context of geometric transformations?
A:
In geometric transformations like rotations, reflections, and translations, the position of points relative to certain lines can be crucial. For example, in a reflection, points change sides with respect to the line of reflection. In a rotation, points change their position relative to all lines except those passing through the center of rotation. Understanding these relationships helps in predicting and calculating the results of transformations.
Q: How can we use the position of points to determine if two line segments intersect?
A:
To determine if two line segments intersect, we can check the position of the endpoints of each segment with respect to the line containing the other segment. If the endpoints of one segment are on opposite sides of the line containing the other segment, and vice versa, then the segments intersect. If all endpoints are on the same side of either line, the segments do not intersect.
Q: What is the relationship between the position of points and the area of a triangle?
A:
The position of points with respect to a line is crucial in calculating the area of a triangle. If we consider one side of the triangle as our reference line, the area of the triangle is directly related to the perpendicular distance of the third point from this line. This forms the basis of the formula: Area = (1/2) * base * height.