10.1 The Straight Line
Two numbers fix a point, and one linear equation fixes a line. From the distance and section formulas through slope, the forms of a line, angles, concurrence and the distance $\dfrac{|ax_0+by_0+c|}{\sqrt{a^2+b^2}}$ to the centroid, orthocentre and circumcentre of a triangle — the whole of straight-line geometry done with algebra.
A food-delivery app knows where you are as two numbers — your latitude and longitude — and it knows the highway as a straight line. How far is your house from the highway, and where should the rider leave it to reach you by the shortest path? Where do three roads meet, if they meet at all? Where should a new ambulance base go so that it is equally far from three villages? None of these questions needs a ruler or a protractor once points are numbers and lines are equations. That was the idea of René Descartes and Pierre de Fermat in the 1630s: put two perpendicular number lines on the plane, describe every point by its pair of coordinates, and every geometric question becomes a piece of algebra.
This section builds the toolkit for the whole of coordinate geometry. We begin with the Cartesian plane, the distance and section formulas and the idea of a locus (a path described by an equation). Then come the slope of a line, the different forms of its equation, the angle between two lines, the conditions for three lines to meet in a point, and the formula for the distance of a point from a line. We finish with the three famous centres of a triangle — the centroid, the orthocentre and the circumcentre — and the surprising straight line that joins them. JEE Main asks one or two questions on straight lines in every paper, and the same tools are used in every question on circles and conics.
Coordinates, Distance, Section Formula and Locus
Draw two perpendicular number lines, the $x$-axis (horizontal) and the $y$-axis (vertical), meeting at the origin $O$, with the same unit of length on both. Through a point $P$ draw lines parallel to the axes; if they meet the $x$-axis at $x$ and the $y$-axis at $y$, then $P$ has coordinates $(x,y)$: $x$ is its abscissa and $y$ its ordinate. Every point gives exactly one ordered pair and every ordered pair of reals gives exactly one point, so the plane is $\mathbb{R}\times\mathbb{R}$. The axes divide the plane into four quadrants, with signs $(+,+)$, $(-,+)$, $(-,-)$, $(+,-)$ in quadrants I–IV (anticlockwise from the positive $x$-axis).
The distance between $P(x_1,y_1)$ and $Q(x_2,y_2)$ is
$$PQ=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.$$In particular the distance of $P(x,y)$ from the origin is $OP=\sqrt{x^2+y^2}$.
Proof. Let $R=(x_2,y_1)$. Then $PR$ is horizontal with length $|x_2-x_1|$, $RQ$ is vertical with length $|y_2-y_1|$, and the angle at $R$ is a right angle. By Pythagoras, $PQ^2=PR^2+RQ^2=(x_2-x_1)^2+(y_2-y_1)^2$. (If $PQ$ is itself horizontal or vertical, one leg is $0$ and the formula still holds.) $\blacksquare$ Because the differences are squared, the order of the two points does not matter. Comparing distances is how we test the shape of a figure: three equal sides make an equilateral triangle, $AB^2+BC^2=AC^2$ makes a right angle at $B$, and four equal sides with equal diagonals make a square.
Let $A(x_1,y_1)$ and $B(x_2,y_2)$ be distinct points and $m,n\gt0$. The point $P$ on the segment $AB$ with $AP:PB=m:n$ (internal division) is
$$P=\left(\frac{mx_2+nx_1}{m+n},\ \frac{my_2+ny_1}{m+n}\right).$$The point $P$ on the line $AB$, outside the segment, with $AP:PB=m:n$, $m\ne n$ (external division) is
$$P=\left(\frac{mx_2-nx_1}{m-n},\ \frac{my_2-ny_1}{m-n}\right).$$The midpoint ($m=n$, internal) is $\left(\tfrac{x_1+x_2}{2},\tfrac{y_1+y_2}{2}\right)$.
Proof (internal). Drop perpendiculars from $A$, $P$, $B$ to the $x$-axis. The feet are at $x_1$, $x$, $x_2$, and by similar triangles (the parallel lines cut the transversals $AB$ and the $x$-axis in the same ratio) $\dfrac{x-x_1}{x_2-x}=\dfrac mn$. Solving, $nx-nx_1=mx_2-mx$, so $x=\dfrac{mx_2+nx_1}{m+n}$; the same argument with the $y$-axis gives $y$. For external division $P$ lies beyond $B$ (if $m\gt n$) or beyond $A$ (if $m\lt n$), and the same similar triangles give $\dfrac{x-x_1}{x-x_2}=\dfrac mn$, i.e. $x=\dfrac{mx_2-nx_1}{m-n}$. $\blacksquare$ The external formula is the internal one with $n$ replaced by $-n$. That gives the ⏱ JEE method for "in what ratio does … divide …": call the ratio $k:1$, write $P=\left(\tfrac{kx_2+x_1}{k+1},\tfrac{ky_2+y_1}{k+1}\right)$, and use the one condition you are given. If $k$ comes out positive the division is internal; if negative, external.
For the triangle with vertices $A(x_1,y_1)$, $B(x_2,y_2)$, $C(x_3,y_3)$, the three medians meet at the centroid
$$G=\left(\frac{x_1+x_2+x_3}{3},\ \frac{y_1+y_2+y_3}{3}\right),$$which divides each median in the ratio $2:1$ from the vertex. The area of the triangle is
$$\Delta=\tfrac12\left|x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\right|,$$and the three points are collinear if and only if this expression is $0$.
Proof. The median from $A$ ends at the midpoint $D=\left(\tfrac{x_2+x_3}2,\tfrac{y_2+y_3}2\right)$ of $BC$. The point dividing $AD$ in the ratio $2:1$ has $x$-coordinate $\dfrac{2\cdot\frac{x_2+x_3}{2}+1\cdot x_1}{3}=\dfrac{x_1+x_2+x_3}{3}$, and similarly for $y$. This expression is symmetric in the three vertices, so the same point lies two-thirds of the way along each of the other two medians too — all three pass through $G$. The area formula is the determinant formula of Section 3.2 (Theorem 3.11) expanded. $\blacksquare$
A line, a circle or a parabola is not a list of points but a rule that points obey. Coordinate geometry turns the rule into an equation.
A locus is the set of all points (and only those points) that satisfy a given geometric condition. An equation of the locus is an equation in $x$ and $y$ that is satisfied by the coordinates of every point of the locus and by the coordinates of no other point.
(1) Let $P(h,k)$ be any point of the locus. (2) Write the given condition as an equation in $h$, $k$ (distance formula, section formula, slopes…). (3) Eliminate any extra parameters and simplify. (4) Replace $h$, $k$ by $x$, $y$. Using $h$, $k$ keeps the moving point separate from the fixed data until the last step.
$A=(1,1)$ and $B=(3,5)$. The point dividing $AB$ externally in the ratio $2:1$ is
Slope and the Equations of a Line
The inclination of a line is the angle $\theta$, $0^\circ\le\theta\lt180^\circ$, measured anticlockwise from the positive direction of the $x$-axis to the line. If $\theta\ne90^\circ$, the slope (gradient) of the line is $m=\tan\theta$. A horizontal line has slope $0$; a vertical line ($\theta=90^\circ$) has no slope ("undefined slope").
If a line meets the $x$-axis at $(a,0)$ and the $y$-axis at $(0,b)$, then $a$ is its $x$-intercept and $b$ its $y$-intercept. Intercepts are signed numbers, not lengths: the line through $(-3,0)$ and $(0,2)$ has $x$-intercept $-3$.
- The line through $(x_1,y_1)$ and $(x_2,y_2)$ with $x_1\ne x_2$ has slope $m=\dfrac{y_2-y_1}{x_2-x_1}$ ("rise over run").
- Two non-vertical lines are parallel if and only if $m_1=m_2$.
- Two lines, neither of them vertical, are perpendicular if and only if $m_1m_2=-1$. (A vertical line is perpendicular exactly to the horizontal lines.)
- Three points $A$, $B$, $C$ are collinear if and only if the slope of $AB$ equals the slope of $AC$ (or both are vertical).
Proof. (1) The run $x_2-x_1$ and rise $y_2-y_1$ are the legs of a right triangle whose angle at the first point is $\theta$ (or $180^\circ-\theta$, with a negative rise), so $\tan\theta=\tfrac{y_2-y_1}{x_2-x_1}$. (2) Parallel lines make equal corresponding angles with the $x$-axis, so they have equal inclinations and equal slopes, and conversely. (3) If the lines are perpendicular, their inclinations differ by $90^\circ$: $\theta_2=\theta_1+90^\circ$, and $\tan\theta_2=\tan(\theta_1+90^\circ)=-\cot\theta_1=-\tfrac{1}{m_1}$, i.e. $m_1m_2=-1$; each step reverses. (4) $AB$ and $AC$ share the point $A$; equal slopes means they are the same line. $\blacksquare$
In the normal form, $p\ge0$ is the length of the perpendicular $ON$ from the origin to the line and $\omega$ is the angle from the positive $x$-axis to $ON$. Every line has a general equation, and every general equation is a line: if $b\ne0$ it is $y=-\tfrac abx-\tfrac cb$ (slope $-\tfrac ab$, $y$-intercept $-\tfrac cb$), and if $b=0$ it is the vertical line $x=-\tfrac ca$. The $x$-intercept is $-\tfrac ca$ when $a\ne0$.
Why. Point–slope: a point $(x,y)\ne(x_1,y_1)$ is on the line exactly when the slope from $(x_1,y_1)$ to it is $m$: $\tfrac{y-y_1}{x-x_1}=m$. Putting $(x_1,y_1)=(0,c)$ gives $y=mx+c$, and putting $m=\tfrac{y_2-y_1}{x_2-x_1}$ gives the two-point form. Intercept form: the two-point form through $(a,0)$ and $(0,b)$ is $y=-\tfrac ba(x-a)$, i.e. $bx+ay=ab$; divide by $ab$. Normal form: the foot of the perpendicular is $N=(p\cos\omega,p\sin\omega)$, and $P(x,y)$ is on the line exactly when $NP\perp ON$. By the perpendicularity test for directions explained just below ($pr+qs=0$), this says $(x-p\cos\omega)\cos\omega+(y-p\sin\omega)\sin\omega=0$, which simplifies to $x\cos\omega+y\sin\omega=p$ because $\cos^2\omega+\sin^2\omega=1$. $\blacksquare$
Two quick consequences of the general form are used constantly. Lines parallel to $ax+by+c=0$ are $ax+by+k=0$ (same $a$, $b$); lines perpendicular to it are $bx-ay+k=0$ (swap $a$ and $b$, change one sign). Two directions $(p,q)$ and $(r,s)$ are perpendicular exactly when $pr+qs=0$ — this is $m_1m_2=-1$ cleared of fractions, and it also works for vertical lines. To put $ax+by+c=0$ into normal form, divide by $\sqrt{a^2+b^2}$ with the sign chosen so that the constant on the right is positive.
How many lines pass through $(2,3)$ and make equal intercepts on the coordinate axes?
Angles, Intersections and the Distance from a Line
If two lines have slopes $m_1$, $m_2$ with $1+m_1m_2\ne0$, the acute angle $\theta$ between them satisfies
$$\tan\theta=\left|\frac{m_1-m_2}{1+m_1m_2}\right|.$$If $1+m_1m_2=0$ the lines are perpendicular. If one line is vertical and the other has inclination $\theta_1$, the acute angle is $|90^\circ-\theta_1|$. The obtuse angle between the lines is $180^\circ-\theta$.
Proof. Let the inclinations be $\theta_1$, $\theta_2$, so $m_i=\tan\theta_i$. One angle between the lines is $\theta_2-\theta_1$ and the other is its supplement, and by the subtraction formula $\tan(\theta_2-\theta_1)=\dfrac{\tan\theta_2-\tan\theta_1}{1+\tan\theta_1\tan\theta_2}=\dfrac{m_2-m_1}{1+m_1m_2}$. The supplementary angle has the opposite tangent, and the acute one has the positive tangent — hence the absolute value. $\blacksquare$ Because of the absolute value, "the lines through $P$ making an angle $\theta$ with a given line" are always two lines, one for each sign.
Let $L_1\equiv a_1x+b_1y+c_1=0$ and $L_2\equiv a_2x+b_2y+c_2=0$.
- If $a_1b_2-a_2b_1\ne0$ the lines meet in exactly one point, $\left(\dfrac{b_1c_2-b_2c_1}{a_1b_2-a_2b_1},\ \dfrac{c_1a_2-c_2a_1}{a_1b_2-a_2b_1}\right)$. If $\tfrac{a_1}{a_2}=\tfrac{b_1}{b_2}\ne\tfrac{c_1}{c_2}$ they are parallel (no common point); if all three ratios are equal they are the same line.
- If $L_1$, $L_2$ meet at a point $P$, then for every real $\lambda$ the equation $L_1+\lambda L_2=0$ is a line through $P$, and every line through $P$ except $L_2$ itself arises this way (the family of lines through $P$).
- Three lines $a_ix+b_iy+c_i=0$ ($i=1,2,3$), no two of them parallel, are concurrent (pass through one point) if and only if
Proof. (1) is the solution of two linear equations by elimination (or Cramer's rule, Section 3.3). (2) $L_1+\lambda L_2$ is linear in $x,y$, and at $P$ both $L_1$ and $L_2$ vanish, so it vanishes too; given any other point $Q$ with $L_2(Q)\ne0$, choosing $\lambda=-\tfrac{L_1(Q)}{L_2(Q)}$ gives the line through $P$ and $Q$. (3) If the lines meet at $(x_0,y_0)$, then $(x_0,y_0,1)$ is a non-zero solution of the homogeneous system with this coefficient matrix, so its determinant is $0$. Conversely, if the determinant is $0$ its rows are linearly dependent; the first two rows are independent (since $a_1b_2-a_2b_1\ne0$), so the third row is $\lambda(\text{row }1)+\mu(\text{row }2)$, i.e. $L_3=\lambda L_1+\mu L_2$, which vanishes at the common point of $L_1$ and $L_2$. $\blacksquare$ ⏱ In practice: solve two of the lines and substitute the point into the third.
Let $L(x,y)=ax+by+c$ and $P(x_0,y_0)$. Then:
- The perpendicular distance of $P$ from the line $L=0$ is $\ d=\dfrac{|ax_0+by_0+c|}{\sqrt{a^2+b^2}}$.
- The distance between the parallel lines $ax+by+c_1=0$ and $ax+by+c_2=0$ is $\dfrac{|c_1-c_2|}{\sqrt{a^2+b^2}}$.
- The foot $F(x,y)$ of the perpendicular from $P$ and the image $P'(x,y)$ of $P$ in the line are given by
(4) Points $P$, $Q$ not on the line lie on the same side of it if $L(P)$ and $L(Q)$ have the same sign, and on opposite sides if the signs differ; the line divides $PQ$ in the ratio $-L(P):L(Q)$.
Proof. The vector $(a,b)$ is perpendicular to the line: the line's direction is $(b,-a)$, and $a\cdot b+b\cdot(-a)=0$. So the perpendicular from $P$ consists of the points $(x_0+ta,\ y_0+tb)$. Its foot is on the line: $a(x_0+ta)+b(y_0+tb)+c=0$, giving $t=-\dfrac{L(x_0,y_0)}{a^2+b^2}$ — this is (3) for the foot, and the image is twice as far along: $2t$. The distance is $|t|\sqrt{a^2+b^2}=\dfrac{|L(x_0,y_0)|}{\sqrt{a^2+b^2}}$, which is (1). For (2), take any point on the first line ($ax_0+by_0=-c_1$) and use (1): $\tfrac{|-c_1+c_2|}{\sqrt{a^2+b^2}}$. For (4), the point dividing $PQ$ in the ratio $k:1$ is $\tfrac{kQ+P}{k+1}$, and since $L$ is linear, $L$ there equals $\tfrac{kL(Q)+L(P)}{k+1}$; this is $0$ for $k=-\tfrac{L(P)}{L(Q)}$, which is positive (internal division — the segment crosses the line) exactly when $L(P)$, $L(Q)$ have opposite signs. $\blacksquare$
In the lab below, keep the starting points $A(-3,-1)$ and $P(1,4)$, and let the line turn about $A$ (press Play). As it turns, what is the largest value the distance readout $d$ from $P$ to the line reaches?
The acute angle between the lines $y=\sqrt3\,x+1$ and $x=5$ is
Centroid, Orthocentre and Circumcentre of a Triangle
Every triangle has three special lines through each vertex or side, and each family of three lines is concurrent. Coordinates make it easy to find the meeting points — and to discover that they are related.
- A median joins a vertex to the midpoint of the opposite side; the three medians meet at the centroid $G$.
- An altitude is the perpendicular from a vertex to the opposite side (extended if necessary); the three altitudes meet at the orthocentre $H$.
- The perpendicular bisectors of the sides meet at the circumcentre $O$, which is equidistant from the three vertices; the circle with centre $O$ through the vertices is the circumcircle, with radius $R$ (the circumradius).
Let $A(x_1,y_1)$, $B(x_2,y_2)$, $C(x_3,y_3)$ be a triangle.
- $G=\left(\tfrac{x_1+x_2+x_3}{3},\tfrac{y_1+y_2+y_3}{3}\right)$ (Theorem 10.3).
- $O(h,k)$ is found from the two linear equations $OA^2=OB^2$ and $OA^2=OC^2$ (the squares $h^2$, $k^2$ cancel), and $R=OA$.
- $H$ is the intersection of any two altitudes.
- (Euler line.) $O$, $G$, $H$ are collinear and $G$ divides $HO$ internally in the ratio $2:1$: $\ G=\dfrac{H+2O}{3}$, i.e. $H=3G-2O$ (coordinate by coordinate).
- In a right-angled triangle, $H$ is the vertex of the right angle and $O$ is the midpoint of the hypotenuse. In an equilateral triangle $G=H=O$. The orthocentre lies inside an acute triangle and outside an obtuse one.
Proof of (4). Shift the origin to $O$; then $A$, $B$, $C$ are all at distance $R$ from the origin: $x_i^2+y_i^2=R^2$. Consider the point $K=(x_1+x_2+x_3,\ y_1+y_2+y_3)$. The direction from $A$ to $K$ is $(x_2+x_3,\ y_2+y_3)$ and the direction of $BC$ is $(x_3-x_2,\ y_3-y_2)$. Their "perpendicularity test" from Theorem 10.5 gives
$$\begin{aligned}&(x_2+x_3)(x_3-x_2)+(y_2+y_3)(y_3-y_2)\\&\quad=(x_3^2+y_3^2)-(x_2^2+y_2^2)=R^2-R^2=0,\end{aligned}$$so $AK\perp BC$: $K$ is on the altitude from $A$. By symmetry it is on the other two altitudes as well, so $K=H$. With $O$ at the origin, $G=\tfrac13K=\tfrac13H$, so $G$ lies on $OH$ with $OG:GH=1:2$. Moving the origin back adds the same shift to every point and keeps the relation $G=\tfrac{H+2O}{3}$. $\blacksquare$ Proof of (5). If the right angle is at $A$, the sides $AB$ and $AC$ are themselves altitudes (each is perpendicular to the other), so they meet at $H=A$; and the angle in a semicircle is a right angle, so $BC$ is a diameter of the circumcircle. $\blacksquare$
In the lab below, $A(-4,-2)$ and $B(4,-2)$ are fixed and Play slides $C$ along the line $y=3$. Starting from $C(0,3)$ and moving right, when does the orthocentre $H$ first leave the triangle?
1. Vertical lines have no slope. $m_1m_2=-1$ cannot test $x=3$ against $y=5$, though they are perpendicular. For lines in general form use $a_1a_2+b_1b_2=0$ (perpendicular) and $a_1b_2=a_2b_1$ (parallel) — no division, no special cases.
2. The intercept form misses lines through the origin. "Equal intercepts", "intercepts equal in magnitude", "intercepts in the ratio $2:3$" — always ask whether the line through the origin also qualifies.
3. Parallel-line distance needs identical $x$, $y$ coefficients. Write $6x+8y-5=0$ and $3x+4y+5=0$ as $6x+8y-5=0$ and $6x+8y+10=0$ before using $\tfrac{|c_1-c_2|}{\sqrt{a^2+b^2}}$.
4. Angle conditions give two lines. $\left|\tfrac{m-m_1}{1+mm_1}\right|=\tan\theta$ has two solutions for $m$ (or one, plus a vertical line, when $1+mm_1$ can vanish). Dropping the absolute value loses one.
5. Section-formula signs. External division uses $\tfrac{mx_2-nx_1}{m-n}$, with $x_2$ (the coordinate of $B$) multiplied by $m$ (the part next to $A$). A negative $k$ in the "$k:1$" method means external division, not an error.
The circumcentre of a triangle is $(1,2)$ and its centroid is $(3,2)$. Its orthocentre is
In the JEE Advanced syllabus (straight lines: bisectors of the angles between two lines; incentre of a triangle); not in the JEE Main 2026 list, which names only the centroid, orthocentre and circumcentre.
A point is on a bisector of the angle between $a_1x+b_1y+c_1=0$ and $a_2x+b_2y+c_2=0$ exactly when it is equally far from both lines, so by Theorem 10.8 the two bisectors are
$$\frac{a_1x+b_1y+c_1}{\sqrt{a_1^2+b_1^2}}=\pm\frac{a_2x+b_2y+c_2}{\sqrt{a_2^2+b_2^2}}.$$The internal bisectors of a triangle meet at the incentre $I$, the centre of the circle touching all three sides. If the side lengths opposite $A$, $B$, $C$ are $a$, $b$, $c$, then $I=\dfrac{aA+bB+cC}{a+b+c}$ (coordinate by coordinate). For $A(0,0)$, $B(4,0)$, $C(0,3)$: $a=5$, $b=3$, $c=4$, so $I=\left(\tfrac{5\cdot0+3\cdot4+4\cdot0}{12},\tfrac{5\cdot0+3\cdot0+4\cdot3}{12}\right)=(1,1)$, and the inradius is $1$ — its distance from both axes.
Exercises
Unless stated otherwise, "angle between two lines" means the acute angle. Lengths are in units of the coordinate grid.
- 1 Find the distance between $(-3,4)$ and $(5,-2)$.
- 2 Find all $x$ for which the distance between $(x,3)$ and $(2,-1)$ is $5$.
- 3 Find the point on the $x$-axis equidistant from $(2,3)$ and $(-4,1)$.
- 4 Find the points dividing the join of $(1,-3)$ and $(7,9)$ in the ratio $1:2$ internally and externally.
- 5 In what ratio does the $x$-axis divide the join of $(2,-3)$ and $(5,6)$? Find the point of division.
- 6 Find the points of trisection of the segment from $(-1,2)$ to $(8,-4)$.
- 7 Two vertices of a triangle are $(1,2)$ and $(4,-3)$ and its centroid is $(2,1)$. Find the third vertex.
- 8 Find the area of the triangle with vertices $(1,1)$, $(4,5)$, $(7,-2)$.
- 9 Find the locus of a point $P$ with $PA^2+PB^2=10$, where $A=(1,0)$ and $B=(-1,0)$.
- 10 A variable line through $(2,3)$ meets the axes at $A$ and $B$. Find the locus of the midpoint of $AB$.
- 1 Find the slope and the inclination of the line through $(2,-1)$ and $(-1,2)$.
- 2 Find $k$ if the line through $(k,3)$ and $(2,-1)$ is perpendicular to a line of slope $2$.
- 3 Find the line through $(-1,4)$ parallel to $3x-2y+7=0$.
- 4 Find the line through $(2,5)$ perpendicular to $x+3y-4=0$.
- 5 Find the lines through $(3,4)$ whose intercepts on the axes add up to $14$.
- 6 Find the intercepts of $4x-5y+20=0$ and the area of the triangle it makes with the axes.
- 7 Write $\sqrt3\,x+y-8=0$ in normal form; find $p$ and $\omega$.
- 8 Find the perpendicular bisector of the segment joining $(1,3)$ and $(5,-1)$.
- 9 A line through $(1,2)$ cuts the positive axes. Find the least possible area of the triangle it forms with the axes, and the line for which it is least.
- 1 Find the acute angle between $y=3x+1$ and $y=-2x+5$.
- 2 Find the acute angle between $x-\sqrt3\,y+1=0$ and $\sqrt3\,x-y+2=0$.
- 3 Find the point of intersection of $2x+3y=13$ and $5x-y=7$.
- 4 Find the line through the origin and the point of intersection of $x+y-5=0$ and $2x-y-1=0$.
- 5 Find $\lambda$ if $2x-y+1=0$, $x+3y-10=0$ and $\lambda x+y-7=0$ are concurrent.
- 6 For which $a$ are the lines $ax+2y=3$ and $3x+(a+1)y=5$ parallel? For which $a$ are they perpendicular?
- 7 Find the area of the triangle formed by $y=x$, $y=-x$ and $x=4$.
- 8 Using the family $L_1+\lambda L_2=0$, find the line through the intersection of $3x-4y+1=0$ and $5x+y-1=0$ that is perpendicular to $2x-3y=10$.
- 1 Find the distance of $(2,3)$ from $3x+4y-3=0$.
- 2 Find the distance between $3x-4y+7=0$ and $6x-8y-6=0$.
- 3 Find the foot of the perpendicular from $(-1,3)$ to $3x-4y-16=0$.
- 4 Find the image of $(3,8)$ in the line $x+3y-7=0$.
- 5 Find $c$ if the point $(2,1)$ is at distance $2$ from $3x+4y+c=0$.
- 6 Are $(1,2)$ and $(3,-1)$ on the same side of $2x+y-3=0$? Of $x-y-1=0$? Where the line separates them, find the ratio in which it divides the segment.
- 7 Find the circumcentre, orthocentre and centroid of the triangle $(0,0)$, $(8,0)$, $(2,6)$.
- 8 Find the orthocentre and circumcentre of the triangle formed by $x=0$, $y=0$ and $x+2y=6$.
- 9 The centroid of a triangle is $(3,2)$ and its circumcentre is $(4,3)$. Find its orthocentre.
- 10 Applied. A straight highway runs along $3x+4y=60$ (units: km) and a village stands at $(4,2)$. How long is the shortest feeder road from the village to the highway, and where does it join the highway?
E1. JEE Main · MCQ A line passes through $(2,3)$, and the part of it between the coordinate axes is bisected at this point. Its equation is (A) $2x+3y=13$ (B) $3x+2y=12$ (C) $3x-2y=0$ (D) $x+y=5$
E2. JEE Main · Numerical The distance between the parallel lines $3x+4y-5=0$ and $6x+8y+k=0$ is $2$, where $k\gt0$. Find $k$. Give the answer to the nearest integer.
E3. JEE Main · MCQ The orthocentre of the triangle formed by the lines $x+y=4$, $2x+y=8$ and $2x-y+4=0$ is (A) $\left(\tfrac53,\tfrac{10}3\right)$ (B) $\left(\tfrac72,\tfrac72\right)$ (C) $(2,-3)$ (D) $(-2,3)$
E4. JEE Main · Numerical The three lines $kx+y+1=0$, $x+ky+1=0$ and $x+y+k=0$ are distinct and concurrent. Find $k$. Give the answer to the nearest integer.
E5. JEE Main · MCQ A ray of light from $A(1,5)$ strikes the $x$-axis and, after reflection, passes through $B(7,3)$. The point where it strikes the $x$-axis is (A) $\left(\tfrac{19}{4},0\right)$ (B) $(4,0)$ (C) $(5,0)$ (D) $\left(\tfrac92,0\right)$
E6. JEE Main · Numerical Find the area of the parallelogram whose sides lie along the lines $3x+4y=2$, $3x+4y=12$, $x-2y=1$ and $x-2y=6$. Give the answer to the nearest integer.
Research question. A district must place one ambulance base to serve three villages. Which "centre" of the triangle of villages is best — and does the answer depend on what "best" means?
Why it matters. Facility location is a classic problem of operations research, used for fire stations, warehouses, mobile-phone towers and vaccination camps. Different goals lead to different points: the circumcentre makes the three distances equal, the centroid makes the sum of the squared distances as small as possible, and the point that makes the plain sum of distances smallest (the Fermat point) is different again. Planners must choose the goal before they compute.
What to do.
- Take three villages at $V_1(0,0)$, $V_2(12,0)$, $V_3(4,8)$ (km). Compute the centroid, the circumcentre and the orthocentre with the methods of Theorem 10.9, and draw them.
- For each centre $X$, compute the three distances $XV_i$, their largest value, their sum, and the sum of their squares. Arrange the results in a table.
- Show algebraically that $\sum\big[(x-x_i)^2+(y-y_i)^2\big]$ is least at the centroid (it is a quadratic in $x$ and in $y$; complete the square).
- Now move $V_3$ to $(2,2)$, making the triangle obtuse. Where is the circumcentre now? Is "equal distances" still a sensible goal? Compare the largest distance from the circumcentre with that from the midpoint of the longest side.
Tools: Graph paper or any graphing app; a spreadsheet for the table.
Hand in: The table for both triangles, the completed-square argument, and a short recommendation (about 100 words) to the district: which point would you choose, and why?
Going further. Real roads are not straight lines from the base. Replace straight-line distance by "taxicab" distance $|x-x_i|+|y-y_i|$ (a city with a grid of streets). Which point minimises the total taxicab distance? (Hint: think about medians of the $x$-coordinates and of the $y$-coordinates separately.)
🧪 Self-check quiz
Q1. The slope of a line perpendicular to $3x-6y+5=0$ is
Q2. The point dividing the join of $(-1,4)$ and $(5,-2)$ internally in the ratio $1:2$ is
Q3. The lines $2x-3y+1=0$ and $3x+2y-4=0$ are
Q4. The circumcentre of the triangle with vertices $(0,0)$, $(8,0)$, $(0,6)$ is
Q5. The perpendicular distance of the origin from the line $12x+5y=26$ is