HOME/NOTES/CONCEPT

Straight Lines for JEE: Forms, Distances, Bisectors and Centres

Ritesh Raj · 12 Nov 2026
Aa
56 min read54 sectionsConcept

A straight line is the simplest curve in the plane, and coordinate geometry begins with it. Once a point is a pair of numbers and a line is an equation of the first degree, every question about lengths, angles, areas and positions turns into algebra that can be checked line by line. The same results return in every later chapter: the circle, the parabola, the ellipse and the hyperbola all use the distance of a point from a line, the slope of a line and the family of lines through a point.

This note covers the distance and section formulas with harmonic conjugates, the area of a triangle and of a polygon, the locus of a point, the slope of a line, every standard form of the equation of a line, the position of a point relative to a line, the angle between two lines, the distance of a point from a line and between parallel lines, the foot of the perpendicular and the image of a point, the bisectors of the angles between two lines, the centres of a triangle, families of lines and concurrency, lines that form a figure, and the change of origin and rotation of axes. Each section ends with worked examples from JEE Main, JEE Advanced and IIT JEE papers, graded from easy to hard.

Distance and the section formula

Take two perpendicular number lines meeting at the origin OO. A point PP is then the ordered pair (x,y)(x,y) of its signed distances from the yy-axis and the xx-axis.

Distance between two points

For A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2), the horizontal and vertical gaps are x2−x1x_2-x_1 and y2−y1y_2-y_1, and Pythagoras gives

AB=(x2−x1)2+(y2−y1)2AB=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

The distance of P(x,y)P(x,y) from the origin is x2+y2\sqrt{x^2+y^2}.

If the points are given in polar form, A(r1,θ1)A(r_1,\theta_1) and B(r2,θ2)B(r_2,\theta_2), the cosine rule in triangle OABOAB gives

AB2=r12+r22−2r1r2cos⁡(θ1−θ2)AB^2=r_1^2+r_2^2-2r_1r_2\cos(\theta_1-\theta_2)

Section formula

Let PP divide the join of A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2) in the ratio m:nm:n, so that AP:PB=m:nAP:PB=m:n.

For internal division (PP between AA and BB),

P=(mx2+nx1m+n, my2+ny1m+n)P=\left(\frac{mx_2+nx_1}{m+n},\ \frac{my_2+ny_1}{m+n}\right)

For external division (PP on ABAB produced), replace nn by −n-n:

P=(mx2−nx1m−n, my2−ny1m−n)P=\left(\frac{mx_2-nx_1}{m-n},\ \frac{my_2-ny_1}{m-n}\right) Internal division with P between A and B, and external division with P on AB produced beyond B

Reason. Drop perpendiculars from AA, PP, BB to the xx-axis. The horizontal gaps are in the same ratio as AP:PBAP:PB (similar triangles), so x−x1:x2−x=m:nx-x_1:x_2-x=m:n, which gives x=mx2+nx1m+nx=\frac{mx_2+nx_1}{m+n}.

PointCoordinates
Mid-point of ABAB(x1+x22,y1+y22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)
Points of trisectionratios 1:21:2 and 2:12:1
Centroid of △ABC\triangle ABC(x1+x2+x33,y1+y2+y33)\left(\frac{x_1+x_2+x_3}{3},\frac{y_1+y_2+y_3}{3}\right)
Fourth vertex DD of parallelogram ABCDABCDD=A+C−BD=A+C-B (diagonals bisect each other)

Ratio in which a line divides a segment

The line L≡ax+by+c=0L\equiv ax+by+c=0 meets the join of A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2) at the point dividing ABAB in the ratio

mn=−ax1+by1+cax2+by2+c\frac{m}{n}=-\frac{ax_1+by_1+c}{ax_2+by_2+c}

A positive ratio means internal division (AA and BB on opposite sides of the line); a negative ratio means external division.

Harmonic conjugates

If RR divides PQPQ internally and SS divides PQPQ externally in the same ratio, then RR and SS are harmonic conjugates of each other with respect to PP and QQ:

PRRQ=PSSQ  (as lengths)\frac{PR}{RQ}=\frac{PS}{SQ}\ \text{ (as lengths)}
Signs in the harmonic ratio

With directed segments the two ratios have opposite signs: PRRQ=k\frac{PR}{RQ}=k and PSSQ=−k\frac{PS}{SQ}=-k. If instead the ratio is written as λ=PRQR\lambda=\frac{PR}{QR} (note QR=−RQQR=-RQ), then PSSQ=+λ\frac{PS}{SQ}=+\lambda. Mixing the two ways of writing the ratio gives the wrong sign.

Examples

Example 1 (JEE Main 2014). Let PSPS be the median of the triangle with vertices P(2,2)P(2,2), Q(6,−1)Q(6,-1) and R(7,3)R(7,3). The equation of the line passing through (1,−1)(1,-1) and parallel to PSPS is

Tap an option to check your answer
(1)4x+7y+3=04x+7y+3=0
(2)2x−9y−11=02x-9y-11=0
(3)4x−7y−11=04x-7y-11=0
(4)2x+9y+7=02x+9y+7=0
▸ SHOW SOLUTION

Step 1. The mid-point of QRQR

S=(6+72,−1+32)=(132,1)S=\left(\frac{6+7}{2},\frac{-1+3}{2}\right)=\left(\frac{13}{2},1\right)

Step 2. Slope of PSPS

m=1−2132−2=−29m=\frac{1-2}{\frac{13}{2}-2}=-\frac{2}{9}

Step 3. The parallel line through (1,−1)(1,-1)

y+1=−29(x−1)y+1=-\frac29(x-1)2x+9y+7=02x+9y+7=0

Answer: option (4)

Example 2. Find the point where the line 2x+y−5=02x+y-5=0 meets the join of A(−1,2)A(-1,2) and B(4,7)B(4,7), and the harmonic conjugate of that point with respect to AA and BB.

▸ SHOW SOLUTION

Step 1. The ratio

L(A)=−2+2−5=−5L(A)=-2+2-5=-5 and L(B)=8+7−5=10L(B)=8+7-5=10, so

mn=−−510=12\frac{m}{n}=-\frac{-5}{10}=\frac12

The ratio is positive, so the line cuts ABAB internally in the ratio 1:21:2.

Step 2. The point of division

R=(1⋅4+2(−1)3, 1⋅7+2⋅23)R=\left(\frac{1\cdot4+2(-1)}{3},\ \frac{1\cdot7+2\cdot2}{3}\right)R=(23,113)R=\left(\frac23,\frac{11}{3}\right)

Check: 2⋅23+113−5=02\cdot\frac23+\frac{11}{3}-5=0.

Step 3. The harmonic conjugate

The conjugate SS divides ABAB externally in the same ratio 1:21:2:

S=(4−2(−1)1−2, 7−2⋅21−2)=(−6,−3)S=\left(\frac{4-2(-1)}{1-2},\ \frac{7-2\cdot2}{1-2}\right)=(-6,-3)

Answer: R(23,113)R\left(\frac23,\frac{11}{3}\right) and S(−6,−3)S(-6,-3)

Example 3 (JEE Advanced 2025, Paper 1). Let PP, QQ and RR be three distinct points in the XYXY-plane, and let SS be a point inside the triangle PQRPQR such that SP→+5SQ→+6SR→=0⃗\overrightarrow{SP}+5\overrightarrow{SQ}+6\overrightarrow{SR}=\vec 0. Let EE and FF be the mid-points of the sides PRPR and QRQR respectively. Then the value of EFES\dfrac{EF}{ES} is ______.

▸ SHOW SOLUTION

Step 1. Coordinates of SS

Write P(x1,y1)P(x_1,y_1), Q(x2,y2)Q(x_2,y_2), R(x3,y3)R(x_3,y_3) and S(x,y)S(x,y). The xx-components of the given relation give (x1−x)+5(x2−x)+6(x3−x)=0(x_1-x)+5(x_2-x)+6(x_3-x)=0, so

x=x1+5x2+6x312x=\frac{x_1+5x_2+6x_3}{12}

and the same for yy. So SS is the point with weights 1,5,61,5,6 at P,Q,RP,Q,R.

Step 2. The vector EFEF

E=P+R2E=\frac{P+R}{2} and F=Q+R2F=\frac{Q+R}{2}, so F−E=Q−P2F-E=\frac{Q-P}{2} and

EF=12 PQEF=\frac12\,PQ

Step 3. The vector ESES

S−E=P+5Q+6R12−6P+6R12S-E=\frac{P+5Q+6R}{12}-\frac{6P+6R}{12}S−E=5(Q−P)12S-E=\frac{5(Q-P)}{12}

So ES=512 PQES=\frac{5}{12}\,PQ.

Step 4. The ratio

EFES=1/25/12=65\frac{EF}{ES}=\frac{1/2}{5/12}=\frac65

Answer: 1.21.2

Area of a triangle and of a polygon

Area of a triangle

For vertices A(x1,y1)A(x_1,y_1), B(x2,y2)B(x_2,y_2), C(x3,y3)C(x_3,y_3),

Δ=12∣ S ∣\Delta=\frac12\left|\,S\,\right|

where S=x1(y2−y3)+x2(y3−y1)+x3(y1−y2)S=x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2).

In determinant form,

Δ=12∣∣x1y11x2y21x3y31∣∣\Delta=\frac12\left|\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}\right|

Reason. Drop perpendiculars from the three vertices to the xx-axis. The triangle is one trapezium minus the other two, and the area of a trapezium is half the sum of the parallel sides times the width.

When one vertex is the origin, Δ=12∣x1y2−x2y1∣\Delta=\frac12\lvert x_1y_2-x_2y_1\rvert for the other two vertices.

Collinearity

Three points are collinear exactly when the area is zero:

∣x1y11x2y21x3y31∣=0\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}=0

Equivalently, the slope of ABAB equals the slope of BCBC, or AB+BC=ACAB+BC=AC for the three distances.

Area of a polygon

For a polygon with vertices (x1,y1),(x2,y2),…,(xn,yn)(x_1,y_1),(x_2,y_2),\dots,(x_n,y_n) taken in order round the boundary,

Area=12∣∑k=1n(xkyk+1−xk+1yk)∣\text{Area}=\frac12\left|\sum_{k=1}^{n}(x_ky_{k+1}-x_{k+1}y_k)\right|

with (xn+1,yn+1)=(x1,y1)(x_{n+1},y_{n+1})=(x_1,y_1). Each term is twice the signed area of the triangle formed by the origin and one side.

A quadrilateral with vertices taken in order round the boundary, beside the same four points joined in a crossing order
The order of the vertices matters

The polygon formula needs the vertices listed round the boundary, all clockwise or all anticlockwise. Listing them in any other order traces a crossing path and the formula returns a smaller, wrong number. For a triangle the order never matters, because three points can only be joined in one way.

ResultFormula
Triangle12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\frac12\lvert x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\rvert
Triangle with a vertex at OO12∣x1y2−x2y1∣\frac12\lvert x_1y_2-x_2y_1\rvert
Collinear pointsdeterminant =0=0
Triangle with mid-points of sides given4×4\times area of the mid-point triangle
Polygon12∣∑(xkyk+1−xk+1yk)∣\frac12\lvert\sum(x_ky_{k+1}-x_{k+1}y_k)\rvert, vertices in order

Examples

Example 4 (IIT JEE 2008, Paper 2). Consider three points P=(−sin⁡(β−α), −cos⁡β)P=\big(-\sin(\beta-\alpha),\,-\cos\beta\big), Q=(cos⁡(β−α), sin⁡β)Q=\big(\cos(\beta-\alpha),\,\sin\beta\big) and R=(cos⁡(β−α+θ), sin⁡(β−θ))R=\big(\cos(\beta-\alpha+\theta),\,\sin(\beta-\theta)\big), where 0<α,β,θ<π40<\alpha,\beta,\theta<\dfrac{\pi}{4}. Then

Tap an option to check your answer
(A)PP lies on the line segment RQRQ
(B)QQ lies on the line segment PRPR
(C)RR lies on the line segment QPQP
(D)PP, QQ, RR are non-collinear
▸ SHOW SOLUTION

Step 1. Expand the coordinates of RR

xR=cos⁡(β−α)cos⁡θ−sin⁡(β−α)sin⁡θx_R=\cos(\beta-\alpha)\cos\theta-\sin(\beta-\alpha)\sin\thetayR=sin⁡βcos⁡θ−cos⁡βsin⁡θy_R=\sin\beta\cos\theta-\cos\beta\sin\theta

Step 2. Read them as a combination of PP and QQ

xR=xQcos⁡θ+xPsin⁡θx_R=x_Q\cos\theta+x_P\sin\theta and yR=yQcos⁡θ+yPsin⁡θy_R=y_Q\cos\theta+y_P\sin\theta, so

R=cos⁡θ⋅Q+sin⁡θ⋅PR=\cos\theta\cdot Q+\sin\theta\cdot P

Step 3. Test for collinearity

A point λQ+μP\lambda Q+\mu P lies on the line PQPQ only when λ+μ=1\lambda+\mu=1. Here

cos⁡θ+sin⁡θ=2sin⁡(θ+π4)>1\cos\theta+\sin\theta=\sqrt2\sin\left(\theta+\frac{\pi}{4}\right)>1

for 0<θ<π40<\theta<\frac{\pi}{4}. So RR is not on line PQPQ, and the three points are not collinear.

Answer: option (D)

Example 5. Find the area of the quadrilateral with vertices A(1,1)A(1,1), B(5,2)B(5,2), C(4,6)C(4,6) and D(−1,4)D(-1,4), taken in this order.

▸ SHOW SOLUTION

Step 1. The terms xkyk+1−xk+1ykx_ky_{k+1}-x_{k+1}y_k

SideTerm
ABAB1⋅2−5⋅1=−31\cdot2-5\cdot1=-3
BCBC5⋅6−4⋅2=225\cdot6-4\cdot2=22
CDCD4⋅4−(−1)⋅6=224\cdot4-(-1)\cdot6=22
DADA(−1)⋅1−1⋅4=−5(-1)\cdot1-1\cdot4=-5

Step 2. Add and halve

Area=12∣−3+22+22−5∣=18\text{Area}=\frac12\lvert-3+22+22-5\rvert=18

The vertices go round the boundary anticlockwise, so the order is right.

Answer: 1818 square units

Example 6 (JEE Main 2017). Let kk be an integer such that the triangle with vertices (k,−3k)(k,-3k), (5,k)(5,k) and (−k,2)(-k,2) has area 2828 square units. Then the orthocentre of this triangle is at the point

Tap an option to check your answer
(1)(2,−12)\left(2,-\frac12\right)
(2)(1,34)\left(1,\frac34\right)
(3)(1,−34)\left(1,-\frac34\right)
(4)(2,12)\left(2,\frac12\right)
▸ SHOW SOLUTION

Step 1. Area in terms of kk

2Δ=∣k(k−2)+5(2+3k)+4k2∣2\Delta=\lvert k(k-2)+5(2+3k)+4k^2\rvert2Δ=∣5k2+13k+10∣=562\Delta=\lvert5k^2+13k+10\rvert=56

Step 2. Find the integer kk

5k2+13k+10=−565k^2+13k+10=-56 has no real root. From 5k2+13k−46=05k^2+13k-46=0,

(k−2)(5k+23)=0⇒k=2(k-2)(5k+23)=0\Rightarrow k=2

The vertices are A(2,−6)A(2,-6), B(5,2)B(5,2), C(−2,2)C(-2,2).

Step 3. Two altitudes

BCBC is horizontal (y=2y=2), so the altitude from AA is x=2x=2. The slope of CACA is −6−22+2=−2\frac{-6-2}{2+2}=-2, so the altitude from BB has slope 12\frac12:

y−2=12(x−5)y-2=\frac12(x-5)

Step 4. Intersect

At x=2x=2: y=2−32=12y=2-\frac32=\frac12.

Answer: (2,12)\left(2,\frac12\right), option (4)

Example 7 (JEE Main 2015). The number of points, having both coordinates as integers, that lie in the interior of the triangle with vertices (0,0)(0,0), (0,41)(0,41) and (41,0)(41,0) is

Tap an option to check your answer
(1)901901
(2)861861
(3)820820
(4)780780
▸ SHOW SOLUTION

Step 1. Describe the interior

The triangle is x≥0x\ge0, y≥0y\ge0, x+y≤41x+y\le41. A point is strictly inside when

x≥1,y≥1,x+y≤40x\ge1,\quad y\ge1,\quad x+y\le40

Step 2. Count by columns

For x=kx=k (1≤k≤391\le k\le39), yy runs from 11 to 40−k40-k, which is 40−k40-k values. So the count is

39+38+⋯+1=39⋅402=78039+38+\dots+1=\frac{39\cdot40}{2}=780

Answer: option (4)

Locus of a point

A locus is the path traced by a point that moves under a given condition. Its equation is the relation satisfied by the coordinates of every position of the point, and by no other point.

Method

  1. Call the moving point (h,k)(h,k).
  2. Write the given condition as equations in hh, kk and any parameter (an angle, a slope, a second point).
  3. Eliminate the parameter to get one relation between hh and kk.
  4. Replace hh by xx and kk by yy.
Eliminate before you replace

The final equation must contain only xx and yy. If a slope mm or an angle θ\theta is still present, the result describes one position of the point, not the locus. Also check for points the condition excludes, such as a parameter value that makes a triangle collapse.

Examples

Example 8 (JEE Main 2026, 8 April Shift 2). If a straight line drawn through the point of intersection of 4x+3y−1=04x+3y-1=0 and 3x+4y−1=03x+4y-1=0 meets the coordinate axes at PP and QQ, then the locus of the mid-point of PQPQ is

Tap an option to check your answer
(1)x+y−7=0x+y-7=0
(2)x+y−14xy=0x+y-14xy=0
(3)2x+y+14xy=02x+y+14xy=0
(4)x+2y−14xy=0x+2y-14xy=0
▸ SHOW SOLUTION

Step 1. The fixed point

Subtracting the equations gives x=yx=y, and then 7x=17x=1:

(17,17)\left(\frac17,\frac17\right)

Step 2. The variable line

Let the mid-point be (h,k)(h,k), so P(2h,0)P(2h,0) and Q(0,2k)Q(0,2k), and the line is

x2h+y2k=1\frac{x}{2h}+\frac{y}{2k}=1

Step 3. Make it pass through the fixed point

114h+114k=1⇒h+k=14hk\frac{1}{14h}+\frac{1}{14k}=1\Rightarrow h+k=14hk

Step 4. Replace (h,k)(h,k) by (x,y)(x,y)

x+y−14xy=0x+y-14xy=0

Answer: option (2)

Example 9 (JEE Main 2018). A straight line through the fixed point (2,3)(2,3) intersects the coordinate axes at distinct points PP and QQ. If OO is the origin and the rectangle OPRQOPRQ is completed, find the locus of RR.

▸ SHOW SOLUTION

Step 1. Coordinates

Let P(a,0)P(a,0) and Q(0,b)Q(0,b). The fourth vertex of rectangle OPRQOPRQ is R(a,b)R(a,b).

Step 2. The line passes through (2,3)(2,3)

2a+3b=1\frac{2}{a}+\frac{3}{b}=1

Step 3. Replace (a,b)(a,b) by (x,y)(x,y)

2x+3y=1⇒3x+2y=xy\frac2x+\frac3y=1\Rightarrow 3x+2y=xy

Answer: 3x+2y=xy3x+2y=xy

Example 10 (JEE Main 2020, 7 Jan Shift 2). From any point PP on the line x=2yx=2y, a perpendicular is drawn to the line y=xy=x; let QQ be its foot. The locus of the mid-point of PQPQ is

Tap an option to check your answer
(1)2x=3y2x=3y
(2)5x=7y5x=7y
(3)3x=2y3x=2y
(4)7x=5y7x=5y
▸ SHOW SOLUTION

Step 1. Coordinates of PP and QQ

Let P(2t,t)P(2t,t). The foot on y=xy=x is the point of y=xy=x with the same value of x+yx+y:

Q=(3t2,3t2)Q=\left(\frac{3t}{2},\frac{3t}{2}\right)

Step 2. Mid-point of PQPQ

M=(7t4,5t4)M=\left(\frac{7t}{4},\frac{5t}{4}\right)

Step 3. Eliminate tt

x7=y5\frac{x}{7}=\frac{y}{5}, that is 5x=7y5x=7y.

Answer: option (2)

Example 11 (IIT JEE 2009, Paper 2). The locus of the orthocentre of the triangle formed by the lines (1+p)x−py+p(1+p)=0(1+p)x-py+p(1+p)=0, (1+q)x−qy+q(1+q)=0(1+q)x-qy+q(1+q)=0 and y=0y=0, where p≠qp\ne q, is

Tap an option to check your answer
(A)a hyperbola
(B)a parabola
(C)an ellipse
(D)a straight line
▸ SHOW SOLUTION

Step 1. The vertices

With y=0y=0 the first two lines give B(−p,0)B(-p,0) and C(−q,0)C(-q,0). Subtracting the first two equations, x(p−q)−y(p−q)+(p−q)(1+p+q)=0x(p-q)-y(p-q)+(p-q)(1+p+q)=0, so their intersection AA lies on

x−y+1+p+q=0x-y+1+p+q=0

Putting this in the first line gives A=(pq, (1+p)(1+q))A=\big(pq,\ (1+p)(1+q)\big).

Step 2. Two altitudes

BCBC is the xx-axis, so the altitude from AA is x=pqx=pq. The side ACAC is the second line, with slope 1+qq\frac{1+q}{q}, so the altitude from B(−p,0)B(-p,0) is

y=−q1+q(x+p)y=-\frac{q}{1+q}(x+p)

Step 3. The orthocentre

At x=pqx=pq: y=−q⋅p(q+1)1+q=−pqy=-\frac{q\cdot p(q+1)}{1+q}=-pq. So H=(pq,−pq)H=(pq,-pq) and

x+y=0x+y=0

Answer: option (D)

Example 12 (IITianForum). A point PP lies inside the triangle formed by the lines y=0y=0, 4x−3y=04x-3y=0 and 3x+4y−15=03x+4y-15=0, and the sum of its distances from the three lines is 33. The locus of PP is a part of the line

Tap an option to check your answer
(A)x−2y=0x-2y=0
(B)2x−y=02x-y=0
(C)x+2y−3=0x+2y-3=0
(D)x−2y+5=0x-2y+5=0
▸ SHOW SOLUTION

Step 1. Signs inside the triangle

The vertices are (0,0)(0,0), (5,0)(5,0) and (95,125)\left(\frac95,\frac{12}{5}\right). At the inside point (2,1)(2,1): y>0y>0, 4x−3y>04x-3y>0 and 3x+4y−15<03x+4y-15<0.

Step 2. Remove the modulus signs

y+4x−3y5+15−3x−4y5=3y+\frac{4x-3y}{5}+\frac{15-3x-4y}{5}=3

Step 3. Simplify

5y+x−7y+15=15⇒x−2y=05y+x-7y+15=15\Rightarrow x-2y=0

Answer: option (A)

Slope of a line

The inclination of a line is the angle θ\theta, 0≤θ<π0\le\theta<\pi, that it makes with the positive direction of the xx-axis, measured anticlockwise. Its slope is

m=tan⁡θ,θ≠π2m=\tan\theta,\qquad\theta\ne\frac{\pi}{2} A line making the inclination theta with the positive x-axis, with the rise and run between two of its points
GivenSlope
Two points (x1,y1)(x_1,y_1), (x2,y2)(x_2,y_2)y2−y1x2−x1\frac{y_2-y_1}{x_2-x_1}
Line ax+by+c=0ax+by+c=0, b≠0b\ne0−ab-\frac{a}{b}
Line parallel to the xx-axis00
Line parallel to the yy-axisnot defined
Line equally inclined to the axes±1\pm1

Parallel and perpendicular lines

For non-vertical lines with slopes m1m_1 and m2m_2:

parallel  ⟺  m1=m2\text{parallel}\iff m_1=m_2 perpendicular  ⟺  m1m2=−1\text{perpendicular}\iff m_1m_2=-1

Reason. Parallel lines have equal inclinations. If θ2=θ1+π2\theta_2=\theta_1+\frac{\pi}{2}, then tan⁡θ2=−cot⁡θ1\tan\theta_2=-\cot\theta_1, so m1m2=−1m_1m_2=-1.

A line parallel to ax+by+c=0ax+by+c=0 is ax+by+k=0ax+by+k=0, and a line perpendicular to it is bx−ay+k=0bx-ay+k=0.

Vertical lines have no slope

The rule m1m2=−1m_1m_2=-1 does not cover the pair x=kx=k and y=cy=c, which are perpendicular. Whenever a line may be parallel to the yy-axis, work with the form ax+by+c=0ax+by+c=0 and the test a1a2+b1b2=0a_1a_2+b_1b_2=0, which covers every case.

Examples

Example 13 (JEE Main 2014). Let aa, bb, cc and dd be non-zero numbers. If the point of intersection of the lines 4ax+2ay+c=04ax+2ay+c=0 and 5bx+2by+d=05bx+2by+d=0 lies in the fourth quadrant and is equidistant from the two axes, then

Tap an option to check your answer
(1)3bc−2ad=03bc-2ad=0
(2)3bc+2ad=03bc+2ad=0
(3)2bc−3ad=02bc-3ad=0
(4)2bc+3ad=02bc+3ad=0
▸ SHOW SOLUTION

Step 1. Write the point

In the fourth quadrant and equidistant from the axes, the point is (t,−t)(t,-t) with t>0t>0.

Step 2. Put it in both lines

4at−2at+c=0⇒t=−c2a4at-2at+c=0\Rightarrow t=-\frac{c}{2a}5bt−2bt+d=0⇒t=−d3b5bt-2bt+d=0\Rightarrow t=-\frac{d}{3b}

Step 3. Equate

c2a=d3b⇒3bc−2ad=0\frac{c}{2a}=\frac{d}{3b}\Rightarrow3bc-2ad=0

Answer: option (1)

Example 14 (JEE Main 2021, 26 Feb Shift 1). The intersection of the three lines x−y=0x-y=0, x+2y=3x+2y=3 and 2x+y=62x+y=6 is a

Tap an option to check your answer
(1)equilateral triangle
(2)none of these
(3)isosceles triangle
(4)right-angled triangle
▸ SHOW SOLUTION

Step 1. The vertices

x−y=0, x+2y=3⇒(1,1)x-y=0,\ x+2y=3\Rightarrow(1,1)x−y=0, 2x+y=6⇒(2,2)x-y=0,\ 2x+y=6\Rightarrow(2,2)x+2y=3, 2x+y=6⇒(3,0)x+2y=3,\ 2x+y=6\Rightarrow(3,0)

Step 2. The sides

The squared sides are 22, 55 and 55. Two sides are equal, and 2+5≠52+5\ne5, so there is no right angle.

Answer: option (3)

Forms of the equation of a line

Every straight line has an equation of the first degree in xx and yy, and every such equation is a straight line. A line is fixed by two conditions: two points, or a point and a direction, or two intercepts.

FormDataEquation
Parallel to xx-axisat distance bby=by=b
Parallel to yy-axisat distance aax=ax=a
Point and slope(x1,y1)(x_1,y_1), slope mmy−y1=m(x−x1)y-y_1=m(x-x_1)
Slope and yy-interceptslope mm, intercept ccy=mx+cy=mx+c
Two points(x1,y1)(x_1,y_1), (x2,y2)(x_2,y_2)y−y1=y2−y1x2−x1(x−x1)y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)
Interceptintercepts aa, bbxa+yb=1\frac xa+\frac yb=1
Normalperpendicular pp from OO at angle α\alphaxcos⁡α+ysin⁡α=px\cos\alpha+y\sin\alpha=p
Parametricpoint (x1,y1)(x_1,y_1), inclination θ\thetax−x1cos⁡θ=y−y1sin⁡θ=r\frac{x-x_1}{\cos\theta}=\frac{y-y_1}{\sin\theta}=r

The intercepts aa, bb and cc carry signs: a line cutting the negative yy-axis has c<0c<0.

Two-point form as a determinant

∣xy1x1y11x2y21∣=0\begin{vmatrix}x&y&1\\x_1&y_1&1\\x_2&y_2&1\end{vmatrix}=0

This is the collinearity test with (x,y)(x,y) as the third point.

Intercept form and normal form

The line xa+yb=1\frac xa+\frac yb=1 cuts off the triangle OABOAB with A(a,0)A(a,0), B(0,b)B(0,b), of area 12∣ab∣\frac12\lvert ab\rvert.

In the normal form, p>0p>0 is the length of the perpendicular ONON from the origin to the line, and α\alpha is the angle ONON makes with the positive xx-axis, 0≤α<2π0\le\alpha<2\pi.

Intercept form with intercepts a and b, beside the normal form with the perpendicular ON of length p at angle alpha

Reason. N=(pcos⁡α,psin⁡α)N=(p\cos\alpha,p\sin\alpha), and the line is perpendicular to ONON, so its slope is −cot⁡α-\cot\alpha. The point-slope form through NN simplifies to xcos⁡α+ysin⁡α=px\cos\alpha+y\sin\alpha=p.

Parametric form

The point at signed distance rr from A(x1,y1)A(x_1,y_1) along the line of inclination θ\theta is

(x1+rcos⁡θ, y1+rsin⁡θ)(x_1+r\cos\theta,\ y_1+r\sin\theta)

r>0r>0 on one side of AA and r<0r<0 on the other. This form turns a question about a length along a line into a question about one number rr.

A line through A at inclination theta, with the point P at distance r along it and the horizontal and vertical steps r cos theta and r sin theta

From the general form ax+by+c=0ax+by+c=0

ToResult
Slope formy=−abx−cby=-\frac abx-\frac cb, b≠0b\ne0
Intercept formintercepts −ca-\frac ca and −cb-\frac cb, c≠0c\ne0
Normal formdivide by a2+b2\sqrt{a^2+b^2}, with the sign chosen so that the right side is positive

For the normal form write −ax−by=c-ax-by=c when c>0c>0 and ax+by=−cax+by=-c when c<0c<0, then divide by a2+b2\sqrt{a^2+b^2}. The right side is then p=∣c∣a2+b2p=\frac{\lvert c\rvert}{\sqrt{a^2+b^2}}.

Two cases the intercept form cannot describe

A line through the origin has both intercepts zero, and a line parallel to an axis has no intercept on that axis. Neither can be written as xa+yb=1\frac xa+\frac yb=1. When a question says "a line through PP cuts the axes", check that such lines are excluded.

Examples

Example 15 (JEE Main 2025, 2 April Shift 2). Let the area of the triangle formed by a straight line L:x+by+c=0L:x+by+c=0 with the coordinate axes be 4848 square units. If the perpendicular drawn from the origin to the line LL makes an angle of 45∘45^\circ with the positive xx-axis, then the value of b2+c2b^2+c^2 is

Tap an option to check your answer
(1)9090
(2)9393
(3)9797
(4)8383
▸ SHOW SOLUTION

Step 1. Use the normal form

With α=45∘\alpha=45^\circ the line is x2+y2=p\frac{x}{\sqrt2}+\frac{y}{\sqrt2}=p, that is x+y=p2x+y=p\sqrt2. Comparing with x+by+c=0x+by+c=0 gives b=1b=1.

Step 2. Use the area

The intercepts are both −c-c, so

12c2=48⇒c2=96\frac12c^2=48\Rightarrow c^2=96

Step 3. Answer

b2+c2=1+96=97b^2+c^2=1+96=97

Answer: option (3)

Example 16 (JEE Main 2021, 31 Aug Shift 1). If pp and qq are the lengths of the perpendiculars from the origin on the lines xcosec⁡α−ysec⁡α=kcot⁡2αx\operatorname{cosec}\alpha-y\sec\alpha=k\cot2\alpha and xsin⁡α+ycos⁡α=ksin⁡2αx\sin\alpha+y\cos\alpha=k\sin2\alpha respectively, then k2k^2 is equal to

Tap an option to check your answer
(1)4p2+q24p^2+q^2
(2)2p2+q22p^2+q^2
(3)p2+2q2p^2+2q^2
(4)p2+4q2p^2+4q^2
▸ SHOW SOLUTION

Step 1. Bring the first line to normal form

Multiply by sin⁡αcos⁡α\sin\alpha\cos\alpha:

xcos⁡α−ysin⁡α=kcot⁡2αsin⁡αcos⁡αx\cos\alpha-y\sin\alpha=k\cot2\alpha\sin\alpha\cos\alpha

The right side is kcos⁡2α2\frac{k\cos2\alpha}{2}, and cos⁡2α+sin⁡2α=1\cos^2\alpha+\sin^2\alpha=1, so

p=∣kcos⁡2α∣2p=\frac{\lvert k\cos2\alpha\rvert}{2}

Step 2. The second line

It is already in normal form: q=∣ksin⁡2α∣q=\lvert k\sin2\alpha\rvert.

Step 3. Eliminate α\alpha

4p2+q2=k2cos⁡22α+k2sin⁡22α=k24p^2+q^2=k^2\cos^22\alpha+k^2\sin^22\alpha=k^2

Answer: option (1)

Example 17 (JEE Main 2026, 24 Jan Shift 2). Let the angles made with the positive xx-axis by two straight lines drawn from the point P(2,3)P(2,3) and meeting the line x+y=6x+y=6 at a distance 23\sqrt{\dfrac23} from PP be θ1\theta_1 and θ2\theta_2. Then the value of θ1+θ2\theta_1+\theta_2 is

Tap an option to check your answer
(1)π12\dfrac{\pi}{12}
(2)π6\dfrac{\pi}{6}
(3)π2\dfrac{\pi}{2}
(4)π3\dfrac{\pi}{3}
▸ SHOW SOLUTION

Step 1. The point at distance rr

With r=23r=\sqrt{\frac23}, the point is (2+rcos⁡θ, 3+rsin⁡θ)\left(2+r\cos\theta,\ 3+r\sin\theta\right). It lies on x+y=6x+y=6:

5+r(cos⁡θ+sin⁡θ)=65+r(\cos\theta+\sin\theta)=6cos⁡θ+sin⁡θ=32\cos\theta+\sin\theta=\sqrt{\frac32}

Step 2. Square

1+sin⁡2θ=32⇒sin⁡2θ=121+\sin2\theta=\frac32\Rightarrow\sin2\theta=\frac12

Step 3. The two angles

2θ=π62\theta=\frac{\pi}{6} or 5π6\frac{5\pi}{6}, so θ1=π12\theta_1=\frac{\pi}{12} and θ2=5π12\theta_2=\frac{5\pi}{12}. Both make cos⁡θ+sin⁡θ\cos\theta+\sin\theta positive, so neither is extra.

θ1+θ2=π2\theta_1+\theta_2=\frac{\pi}{2}

Answer: option (3)

Position of a point relative to a line

Write L(x,y)=ax+by+cL(x,y)=ax+by+c. The line L=0L=0 divides the plane into two half-planes, and LL keeps one sign on each of them.

Reason. On a vertical line x=x0x=x_0 (when b≠0b\ne0), LL is a first-degree function of yy that vanishes only at the point of the line. So LL has one sign above the line and the opposite sign below it.

ConditionMeaning
L(x1,y1)L(x_1,y_1) and L(x2,y2)L(x_2,y_2) of the same signthe two points are on the same side
L(x1,y1)L(x_1,y_1) and L(x2,y2)L(x_2,y_2) of opposite signsthe two points are on opposite sides
L(x1,y1)L(x_1,y_1) of the same sign as ccthe point is on the origin side
L(x1,y1)=0L(x_1,y_1)=0the point is on the line
The line L equal to zero with the half-plane where L is positive and the half-plane where L is negative

Inside a triangle

A point PP is inside the triangle formed by three lines when, for each line, PP lies on the same side as the opposite vertex. In practice: find the three vertices, then for each line compare the sign of LL at PP and at the vertex not on that line.

Examples

Example 18 (JEE Main 2020, 2 Sep Shift 2). The set of all possible values of θ\theta in the interval (0,π)(0,\pi) for which the points (1,2)(1,2) and (sin⁡θ,cos⁡θ)(\sin\theta,\cos\theta) lie on the same side of the line x+y=1x+y=1 is

Tap an option to check your answer
(1)(0,π2)\left(0,\dfrac{\pi}{2}\right)
(2)(π4,3π4)\left(\dfrac{\pi}{4},\dfrac{3\pi}{4}\right)
(3)(0,π4)\left(0,\dfrac{\pi}{4}\right)
(4)(0,3π4)\left(0,\dfrac{3\pi}{4}\right)
▸ SHOW SOLUTION

Step 1. Sign at (1,2)(1,2)

With L=x+y−1L=x+y-1, L(1,2)=2>0L(1,2)=2>0.

Step 2. The same sign at the other point

sin⁡θ+cos⁡θ−1>0\sin\theta+\cos\theta-1>02sin⁡(θ+π4)>1\sqrt2\sin\left(\theta+\frac{\pi}{4}\right)>1

Step 3. Solve on (0,π)(0,\pi)

θ+π4\theta+\frac{\pi}{4} runs over (π4,5π4)\left(\frac{\pi}{4},\frac{5\pi}{4}\right), and the sine exceeds 12\frac{1}{\sqrt2} for θ+π4<3π4\theta+\frac{\pi}{4}<\frac{3\pi}{4}, so 0<θ<π20<\theta<\frac{\pi}{2}.

Answer: option (1)

Example 19 (JEE Main 2025, 24 Jan Shift 2). Let the points (112,α)\left(\dfrac{11}{2},\alpha\right) lie on or inside the triangle with sides x+y=11x+y=11, x+2y=16x+2y=16 and 2x+3y=292x+3y=29. Then the product of the smallest and the largest values of α\alpha is equal to

Tap an option to check your answer
(1)2222
(2)4444
(3)3333
(4)5555
▸ SHOW SOLUTION

Step 1. The vertices

x+y=11, x+2y=16⇒(6,5)x+y=11,\ x+2y=16\Rightarrow(6,5)x+y=11, 2x+3y=29⇒(4,7)x+y=11,\ 2x+3y=29\Rightarrow(4,7)x+2y=16, 2x+3y=29⇒(10,3)x+2y=16,\ 2x+3y=29\Rightarrow(10,3)

Step 2. Which sides cross x=112x=\frac{11}{2}

The value 112\frac{11}{2} lies between 44 and 66 and between 44 and 1010, so the vertical line meets the sides x+y=11x+y=11 and 2x+3y=292x+3y=29:

y=11−112=112y=11-\frac{11}{2}=\frac{11}{2}y=29−113=6y=\frac{29-11}{3}=6

Step 3. The range of α\alpha

112≤α≤6\frac{11}{2}\le\alpha\le6, and the product of the extremes is 112⋅6=33\frac{11}{2}\cdot6=33.

Answer: option (3)

Angle between two lines

If two lines have slopes m1=tan⁡θ1m_1=\tan\theta_1 and m2=tan⁡θ2m_2=\tan\theta_2, the angle θ\theta between them is ∣θ1−θ2∣\lvert\theta_1-\theta_2\rvert or its supplement, and

tan⁡θ=∣m1−m21+m1m2∣\tan\theta=\left|\frac{m_1-m_2}{1+m_1m_2}\right|

Reason. tan⁡(θ1−θ2)=tan⁡θ1−tan⁡θ21+tan⁡θ1tan⁡θ2\tan(\theta_1-\theta_2)=\frac{\tan\theta_1-\tan\theta_2}{1+\tan\theta_1\tan\theta_2}. Taking the modulus gives the acute angle; the obtuse angle is π−θ\pi-\theta.

Two intersecting lines with inclinations theta one and theta two and the angle theta between them

For a1x+b1y+c1=0a_1x+b_1y+c_1=0 and a2x+b2y+c2=0a_2x+b_2y+c_2=0,

tan⁡θ=∣a1b2−a2b1a1a2+b1b2∣\tan\theta=\left|\frac{a_1b_2-a_2b_1}{a_1a_2+b_1b_2}\right|
Lines a1x+b1y+c1=0a_1x+b_1y+c_1=0, a2x+b2y+c2=0a_2x+b_2y+c_2=0Condition
Parallela1b2=a2b1a_1b_2=a_2b_1
Perpendiculara1a2+b1b2=0a_1a_2+b_1b_2=0
Coincidenta1a2=b1b2=c1c2\frac{a_1}{a_2}=\frac{b_1}{b_2}=\frac{c_1}{c_2}
Intersectinga1b2≠a2b1a_1b_2\ne a_2b_1

Lines making a given angle with a given line

Through (x1,y1)(x_1,y_1) there are two lines making an angle α\alpha with the line of slope mm. Their slopes are

m′=m+tan⁡α1−mtan⁡αm'=\frac{m+\tan\alpha}{1-m\tan\alpha} m′′=m−tan⁡α1+mtan⁡αm''=\frac{m-\tan\alpha}{1+m\tan\alpha}

Equivalently, add and subtract α\alpha to the inclination of the given line.

Check for a vertical answer

If 1−mtan⁡α=01-m\tan\alpha=0, one of the two lines is vertical and the slope formula breaks down. For example, the lines through a point at 45∘45^\circ to y=xy=x are y=cy=c and x=kx=k. Work with inclinations when this can happen.

Examples

Example 20 (IIT JEE 2011, Paper 1). A straight line LL through the point (3,−2)(3,-2) is inclined at an angle 60∘60^\circ to the line 3x+y=1\sqrt3x+y=1. If LL also intersects the xx-axis, then the equation of LL is

Tap an option to check your answer
(A)y+3x+2−33=0y+\sqrt3x+2-3\sqrt3=0
(B)y−3x+2+33=0y-\sqrt3x+2+3\sqrt3=0
(C)3y−x+3+23=0\sqrt3y-x+3+2\sqrt3=0
(D)3y+x−3+23=0\sqrt3y+x-3+2\sqrt3=0
▸ SHOW SOLUTION

Step 1. Inclination of the given line

The slope is −3-\sqrt3, so its inclination is 120∘120^\circ.

Step 2. The two lines at 60∘60^\circ

Their inclinations are 120∘±60∘120^\circ\pm60^\circ, that is 60∘60^\circ or 180∘180^\circ. The second is parallel to the xx-axis and never meets it, so LL has slope tan⁡60∘=3\tan60^\circ=\sqrt3.

Step 3. Equation

y+2=3(x−3)y+2=\sqrt3(x-3)y−3x+2+33=0y-\sqrt3x+2+3\sqrt3=0

Answer: option (B)

Example 21 (JEE Main 2021, 18 March Shift 1). The equation of one of the straight lines which passes through the point (1,3)(1,3) and makes an angle tan⁡−12\tan^{-1}\sqrt2 with the straight line y+1=32xy+1=3\sqrt2x is

Tap an option to check your answer
(1)42x+5y−(15+42)=04\sqrt2x+5y-(15+4\sqrt2)=0
(2)52x+4y−(15+42)=05\sqrt2x+4y-(15+4\sqrt2)=0
(3)42x+5y−42=04\sqrt2x+5y-4\sqrt2=0
(4)42x−5y−(5+42)=04\sqrt2x-5y-(5+4\sqrt2)=0
▸ SHOW SOLUTION

Step 1. The two slopes

With m=32m=3\sqrt2 and tan⁡α=2\tan\alpha=\sqrt2, mtan⁡α=6m\tan\alpha=6:

m′=32+21−6=−425m'=\frac{3\sqrt2+\sqrt2}{1-6}=-\frac{4\sqrt2}{5}m′′=32−21+6=227m''=\frac{3\sqrt2-\sqrt2}{1+6}=\frac{2\sqrt2}{7}

Step 2. The line of slope −425-\frac{4\sqrt2}{5}

5(y−3)=−42(x−1)5(y-3)=-4\sqrt2(x-1)42x+5y−(15+42)=04\sqrt2x+5y-(15+4\sqrt2)=0

Answer: option (1)

Example 22 (JEE Main 2025, 3 April Shift 1). A line passes through the origin and makes equal angles with the positive coordinate axes. It intersects the lines L1:2x+y+6=0L_1:2x+y+6=0 and L2:4x+2y−p=0L_2:4x+2y-p=0, p>0p>0, at the points AA and BB respectively. If AB=92AB=\dfrac{9}{\sqrt2} and the foot of the perpendicular from the point AA on the line L2L_2 is MM, then AMBM\dfrac{AM}{BM} is equal to

Tap an option to check your answer
(1)55
(2)44
(3)22
(4)33
▸ SHOW SOLUTION

Step 1. The points AA and BB

The line is y=xy=x. With L1L_1: 3x+6=03x+6=0, so A(−2,−2)A(-2,-2). With L2L_2: B(p6,p6)B\left(\frac p6,\frac p6\right).

Step 2. Find pp

AB=2∣p6+2∣=92⇒p6=52AB=\sqrt2\left|\frac p6+2\right|=\frac{9}{\sqrt2}\Rightarrow\frac p6=\frac52

(the other root makes p<0p<0). So p=15p=15.

Step 3. The right triangle AMBAMB

AM⊥L2AM\perp L_2, so AMBM=tan⁡∠ABM\frac{AM}{BM}=\tan\angle ABM, where ∠ABM\angle ABM is the angle between y=xy=x (slope 11) and L2L_2 (slope −2-2):

tan⁡∠ABM=∣1−(−2)1+1⋅(−2)∣=3\tan\angle ABM=\left|\frac{1-(-2)}{1+1\cdot(-2)}\right|=3

Answer: option (4)

Distance of a point from a line

The length of the perpendicular from P(x1,y1)P(x_1,y_1) to the line ax+by+c=0ax+by+c=0 is

d=∣ax1+by1+c∣a2+b2d=\frac{\lvert ax_1+by_1+c\rvert}{\sqrt{a^2+b^2}} The perpendicular PN from a point P to a line, beside two parallel lines with the distance d between them

Reason. Let the perpendicular meet the line at NN, so N=P+t(a,b)N=P+t(a,b) for some tt, because (a,b)(a,b) is perpendicular to the line. Putting NN in the line gives t=−ax1+by1+ca2+b2t=-\frac{ax_1+by_1+c}{a^2+b^2}, and PN=∣t∣a2+b2PN=\lvert t\rvert\sqrt{a^2+b^2}.

DistanceFormula
Point (x1,y1)(x_1,y_1) to ax+by+c=0ax+by+c=0∣ax1+by1+c∣a2+b2\frac{\lvert ax_1+by_1+c\rvert}{\sqrt{a^2+b^2}}
Origin to ax+by+c=0ax+by+c=0∣c∣a2+b2\frac{\lvert c\rvert}{\sqrt{a^2+b^2}}
Between ax+by+c1=0ax+by+c_1=0 and ax+by+c2=0ax+by+c_2=0∣c1−c2∣a2+b2\frac{\lvert c_1-c_2\rvert}{\sqrt{a^2+b^2}}
Point to xcos⁡α+ysin⁡α=px\cos\alpha+y\sin\alpha=p∣x1cos⁡α+y1sin⁡α−p∣\lvert x_1\cos\alpha+y_1\sin\alpha-p\rvert
Match the coefficients before using the parallel-line formula

For 3x+4y+5=03x+4y+5=0 and 6x+8y−7=06x+8y-7=0 the distance is not 125\frac{12}{5}. First write the second line as 3x+4y−72=03x+4y-\frac72=0; then d=5+725=1710d=\frac{5+\frac72}{5}=\frac{17}{10}.

Examples

Example 23 (JEE Main 2026, 23 Jan Shift 1). A rectangle is formed by the lines x=0x=0, y=0y=0, x=3x=3 and y=4y=4. Let the line LL be perpendicular to 3x+y+6=03x+y+6=0 and divide the area of the rectangle into two equal parts. Then the distance of the point (12,−5)\left(\dfrac12,-5\right) from the line LL is equal to

Tap an option to check your answer
(1)252\sqrt5
(2)3103\sqrt{10}
(3)10\sqrt{10}
(4)2102\sqrt{10}
▸ SHOW SOLUTION

Step 1. The slope of LL

The given line has slope −3-3, so LL has slope 13\frac13.

Step 2. LL passes through the centre

A line halves the area of a rectangle when it passes through its centre (32,2)\left(\frac32,2\right):

y−2=13(x−32)⇒2x−6y+9=0y-2=\frac13\left(x-\frac32\right)\Rightarrow2x-6y+9=0

Step 3. The distance

d=∣1+30+9∣4+36=40210=210d=\frac{\lvert1+30+9\rvert}{\sqrt{4+36}}=\frac{40}{2\sqrt{10}}=2\sqrt{10}

Answer: option (4)

Example 24 (JEE Main 2026, 21 Jan Shift 1). Let a point AA lie between the parallel lines L1L_1 and L2L_2 such that its distances from L1L_1 and L2L_2 are 66 and 33 units respectively. Then the area (in sq. units) of the equilateral triangle ABCABC, where BB and CC lie on L1L_1 and L2L_2, is

Tap an option to check your answer
(1)15615\sqrt6
(2)2727
(3)21321\sqrt3
(4)12212\sqrt2
▸ SHOW SOLUTION

Step 1. Place the lines

Take L2L_2 as y=0y=0 and L1L_1 as y=9y=9, so that A(0,3)A(0,3) is 33 above L2L_2 and 66 below L1L_1. Let the side be aa.

Two parallel lines with the point A between them at distances 6 and 3, and the equilateral triangle ABC with B and C on the lines

Step 2. Two heights

Let ACAC go down to L2L_2 at an angle θ\theta below the horizontal. Turning ACAC through 60∘60^\circ towards L1L_1 gives ABAB, which rises at 60∘−θ60^\circ-\theta:

asin⁡θ=3a\sin\theta=3asin⁡(60∘−θ)=6a\sin(60^\circ-\theta)=6

Step 3. Expand the second

32acos⁡θ−12asin⁡θ=6\frac{\sqrt3}{2}a\cos\theta-\frac12a\sin\theta=63 acos⁡θ=15\sqrt3\,a\cos\theta=15

Step 4. Eliminate θ\theta

a2=(asin⁡θ)2+(acos⁡θ)2a^2=(a\sin\theta)^2+(a\cos\theta)^2a2=9+75=84a^2=9+75=84

Step 5. Area

34a2=34⋅84=213\frac{\sqrt3}{4}a^2=\frac{\sqrt3}{4}\cdot84=21\sqrt3

Answer: option (3)

Example 25 (JEE Main 2020, 5 Sep Shift 1). If the line 2x−y+3=02x-y+3=0 is at a distance 15\dfrac{1}{\sqrt5} and 25\dfrac{2}{\sqrt5} from the lines 4x−2y+α=04x-2y+\alpha=0 and 6x−3y+β=06x-3y+\beta=0 respectively, then the sum of all possible values of α\alpha and β\beta is ______.

▸ SHOW SOLUTION

Step 1. Match coefficients

Write the given line as 4x−2y+6=04x-2y+6=0 and as 6x−3y+9=06x-3y+9=0.

Step 2. First distance

∣α−6∣20=15⇒∣α−6∣=2\frac{\lvert\alpha-6\rvert}{\sqrt{20}}=\frac{1}{\sqrt5}\Rightarrow\lvert\alpha-6\rvert=2

So α=4\alpha=4 or 88.

Step 3. Second distance

∣β−9∣45=25⇒∣β−9∣=6\frac{\lvert\beta-9\rvert}{\sqrt{45}}=\frac{2}{\sqrt5}\Rightarrow\lvert\beta-9\rvert=6

So β=3\beta=3 or 1515.

Step 4. Add

4+8+3+15=304+8+3+15=30

Answer: 3030

Example 26 (JEE Advanced 2013, Paper 1). For a>b>c>0a>b>c>0, the distance between (1,1)(1,1) and the point of intersection of the lines ax+by+c=0ax+by+c=0 and bx+ay+c=0bx+ay+c=0 is less than 222\sqrt2. Then

More than one option is correct. Pick all of them, then Check
▸ SHOW SOLUTION

Step 1. The point of intersection

Subtracting the equations gives (a−b)(x−y)=0(a-b)(x-y)=0, so x=yx=y, and then

x=y=−ca+bx=y=-\frac{c}{a+b}

Step 2. The distance

2(1+ca+b)<22⇒ca+b<1\sqrt2\left(1+\frac{c}{a+b}\right)<2\sqrt2\Rightarrow\frac{c}{a+b}<1

So a+b−c>0a+b-c>0.

Step 3. The other option

a>ba>b and c>0c>0 give a−b+c>0a-b+c>0 directly.

Answer: (A) and (C)

Example 27 (JEE Advanced 2014, Paper 1). For a point PP in the plane, let d1(P)d_1(P) and d2(P)d_2(P) be the distances of the point PP from the lines x−y=0x-y=0 and x+y=0x+y=0 respectively. The area of the region RR consisting of all points PP lying in the first quadrant of the plane and satisfying 2≤d1(P)+d2(P)≤42\le d_1(P)+d_2(P)\le4 is ______.

▸ SHOW SOLUTION

Step 1. Remove the modulus signs

In the first quadrant d2=x+y2d_2=\frac{x+y}{\sqrt2}. For x≥yx\ge y, d1=x−y2d_1=\frac{x-y}{\sqrt2}, so

d1+d2=2xd_1+d_2=\sqrt2x

Step 2. The region below y=xy=x

2≤2x≤42\le\sqrt2x\le4 gives 2≤x≤22\sqrt2\le x\le2\sqrt2, with 0≤y≤x0\le y\le x. This is the region between two vertical lines, cut by the axis and the line y=xy=x.

The region in the first quadrant between x equal to root 2 and 2 root 2 below y equal to x, and its mirror image above y equal to x

Step 3. Its area

It is a trapezium with parallel sides 2\sqrt2 and 222\sqrt2 and width 2\sqrt2:

12(2+22)2=3\frac12(\sqrt2+2\sqrt2)\sqrt2=3

Step 4. Use the symmetry

Above y=xy=x the roles of xx and yy swap, giving another 33.

Answer: 66

Foot of the perpendicular, image and reflection

For the point P(x1,y1)P(x_1,y_1) and the line ax+by+c=0ax+by+c=0, the foot of the perpendicular N(h,k)N(h,k) is given by

h−x1a=k−y1b=−ax1+by1+ca2+b2\frac{h-x_1}{a}=\frac{k-y_1}{b}=-\frac{ax_1+by_1+c}{a^2+b^2}

The image Q(h,k)Q(h,k) of PP in the line, the point with the line as the perpendicular bisector of PQPQ, is given by

h−x1a=k−y1b=−2(ax1+by1+c)a2+b2\frac{h-x_1}{a}=\frac{k-y_1}{b}=-\frac{2(ax_1+by_1+c)}{a^2+b^2}

Reason. PNPN is along the normal (a,b)(a,b), so N=P+t(a,b)N=P+t(a,b), and NN on the line fixes tt as in the distance formula. The image is twice as far along the same normal.

The point P, the foot N of its perpendicular on a line, and the image Q with N the mid-point of PQ
MirrorImage of (x1,y1)(x_1,y_1)
xx-axis(x1,−y1)(x_1,-y_1)
yy-axis(−x1,y1)(-x_1,y_1)
origin(−x1,−y1)(-x_1,-y_1)
y=xy=x(y1,x1)(y_1,x_1)
y=−xy=-x(−y1,−x1)(-y_1,-x_1)
x=ax=a(2a−x1,y1)(2a-x_1,y_1)
x+y=kx+y=k(k−y1,k−x1)(k-y_1,k-x_1)

Image of a line and reflection of a ray

To reflect a whole line in a mirror, reflect two of its points. If the line meets the mirror at MM, then MM is its own image, so one more point is enough.

A ray of light reflected by a line mirror obeys angle of incidence = angle of reflection. Equivalently, the reflected ray, extended backwards, passes through the image of the source. This turns a reflection question into an image question.

A ray from S striking a mirror at M, the reflected ray, and the image S prime of S lying on the reflected ray extended backwards
Shortest path by reflection

For the shortest path from AA to a line and on to BB, with AA and BB on the same side, reflect BB in the line. The straight segment from AA to the image of BB crosses the line at the best point, by the triangle inequality.

Examples

Example 28 (JEE Main 2021, 25 Feb Shift 1). The image of the point (3,5)(3,5) in the line x−y+1=0x-y+1=0 lies on

Tap an option to check your answer
(1)(x−2)2+(y−4)2=4(x-2)^2+(y-4)^2=4
(2)(x−4)2+(y+2)2=16(x-4)^2+(y+2)^2=16
(3)(x−4)2+(y−4)2=8(x-4)^2+(y-4)^2=8
(4)(x−2)2+(y−2)2=12(x-2)^2+(y-2)^2=12
▸ SHOW SOLUTION

Step 1. Use the formula

L(3,5)=3−5+1=−1L(3,5)=3-5+1=-1 and a2+b2=2a^2+b^2=2, so

h−31=k−5−1=−2(−1)2=1\frac{h-3}{1}=\frac{k-5}{-1}=-\frac{2(-1)}{2}=1

The image is (4,4)(4,4).

Step 2. Test the options

(4−2)2+(4−4)2=4(4-2)^2+(4-4)^2=4, so it lies on the first circle.

Answer: option (1)

Example 29 (JEE Main 2025, 22 Jan Shift 1). Let the triangle PQRPQR be the image of the triangle with vertices (1,3)(1,3), (3,1)(3,1) and (2,4)(2,4) in the line x+2y=2x+2y=2. If the centroid of △PQR\triangle PQR is the point (α,β)(\alpha,\beta), then 15(α−β)15(\alpha-\beta) is equal to

Tap an option to check your answer
(1)2424
(2)1919
(3)2121
(4)2222
▸ SHOW SOLUTION

Step 1. Reflect the centroid only

Reflection keeps mid-points and ratios, so the centroid of the image is the image of the centroid G(2,83)G\left(2,\frac83\right).

Step 2. Image of GG

L(G)=2+163−2=163L(G)=2+\frac{16}{3}-2=\frac{16}{3} and a2+b2=5a^2+b^2=5:

α−21=β−832=−3215\frac{\alpha-2}{1}=\frac{\beta-\frac83}{2}=-\frac{32}{15}

So α=−215\alpha=-\frac{2}{15} and β=83−6415=−2415\beta=\frac83-\frac{64}{15}=-\frac{24}{15}.

Step 3. Answer

15(α−β)=−2+24=2215(\alpha-\beta)=-2+24=22

Answer: option (4)

Example 30 (JEE Main 2026, 21 Jan Shift 2). PP is a point on the circle x2+y2=4x^2+y^2=4, QQ is a point on the line 5x+y+2=05x+y+2=0, and x−y+1=0x-y+1=0 is the perpendicular bisector of PQPQ. Then 1313 times the sum of the abscissae of all such points PP is ______.

▸ SHOW SOLUTION

Step 1. PP is the image of QQ

The perpendicular bisector of PQPQ is the mirror, so PP is the image of QQ in x−y+1=0x-y+1=0. The image of (x,y)(x,y) in this line is (y−1, x+1)(y-1,\ x+1).

Step 2. Image of the whole line

If Q(a,b)Q(a,b) is on 5x+y+2=05x+y+2=0, then P=(b−1,a+1)P=(b-1,a+1). Writing P=(X,Y)P=(X,Y) gives a=Y−1a=Y-1, b=X+1b=X+1, and

5(Y−1)+(X+1)+2=05(Y-1)+(X+1)+2=0X+5Y−2=0X+5Y-2=0

Step 3. Meet the circle

Put x=2−5yx=2-5y in x2+y2=4x^2+y^2=4:

26y2−20y=0⇒y=0 or y=101326y^2-20y=0\Rightarrow y=0\ \text{or}\ y=\frac{10}{13}

The abscissae are 22 and 2−5013=−24132-\frac{50}{13}=-\frac{24}{13}.

Step 4. Answer

13(2−2413)=213\left(2-\frac{24}{13}\right)=2

Answer: 22

Example 31 (JEE Main 2026, 5 April Shift 2). From the point (−1,−1)(-1,-1), two rays are sent making angles of 45∘45^\circ with the line x+y=0x+y=0. These rays get reflected from the mirror x+2y=1x+2y=1. If the equations of the reflected rays are ax+by=9ax+by=9 and cx+dy=7cx+dy=7, a,b,c,d∈Za,b,c,d\in\mathbb Z, then the value of ad+bcad+bc is ______.

▸ SHOW SOLUTION

Step 1. The two incident rays

The line x+y=0x+y=0 has inclination 135∘135^\circ, so the rays have inclinations 90∘90^\circ and 180∘180^\circ: they are x=−1x=-1 and y=−1y=-1.

Step 2. Points where they meet the mirror

x=−1x=-1 meets x+2y=1x+2y=1 at (−1,1)(-1,1), and y=−1y=-1 meets it at (3,−1)(3,-1).

Step 3. Image of the source

The reflected rays pass through the image S′S' of S(−1,−1)S(-1,-1) in x+2y−1=0x+2y-1=0. With L(S)=−4L(S)=-4 and a2+b2=5a^2+b^2=5,

S′=(−1+85, −1+165)=(35,115)S'=\left(-1+\frac85,\ -1+\frac{16}{5}\right)=\left(\frac35,\frac{11}{5}\right)

Step 4. The reflected rays

Through (−1,1)(-1,1) and S′S' the slope is 6/58/5=34\frac{6/5}{8/5}=\frac34, giving 3x−4y+7=03x-4y+7=0, that is −3x+4y=7-3x+4y=7.

Through (3,−1)(3,-1) and S′S' the slope is 16/5−12/5=−43\frac{16/5}{-12/5}=-\frac43, giving 4x+3y=94x+3y=9.

Step 5. Answer

a=4a=4, b=3b=3, c=−3c=-3, d=4d=4, so

ad+bc=16−9=7ad+bc=16-9=7

Answer: 77

Example 32 (IITianForum). P(4,1)P(4,1) is a fixed point. QQ and RR are points on the lines y=xy=x and y=0y=0 respectively. The least possible value of the perimeter PQ+QR+RPPQ+QR+RP is

Tap an option to check your answer
(A)34\sqrt{34}
(B)26\sqrt{26}
(C)66
(D)2102\sqrt{10}
▸ SHOW SOLUTION

Step 1. Reflect PP in both lines

The image of PP in y=xy=x is P1(1,4)P_1(1,4), and in y=0y=0 it is P2(4,−1)P_2(4,-1). Then PQ=P1QPQ=P_1Q and RP=RP2RP=RP_2.

The point P between the lines y equal to x and y equal to 0, its two images, and the straight path from one image to the other meeting the lines at Q and R

Step 2. A broken path between the images

PQ+QR+RP=P1Q+QR+RP2PQ+QR+RP=P_1Q+QR+RP_2P1Q+QR+RP2≥P1P2P_1Q+QR+RP_2\ge P_1P_2

Equality holds when QQ and RR lie on the segment P1P2P_1P_2.

Step 3. The least value

P1P2=32+52=34P_1P_2=\sqrt{3^2+5^2}=\sqrt{34}

The segment meets y=xy=x at Q(178,178)Q\left(\frac{17}{8},\frac{17}{8}\right) and y=0y=0 at R(175,0)R\left(\frac{17}{5},0\right), both on the correct rays.

Answer: option (A)

Bisectors of the angles between two lines

Two intersecting lines a1x+b1y+c1=0a_1x+b_1y+c_1=0 and a2x+b2y+c2=0a_2x+b_2y+c_2=0 form two pairs of vertically opposite angles, and so they have two angle bisectors, perpendicular to each other:

a1x+b1y+c1a12+b12=±a2x+b2y+c2a22+b22\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}}

Reason. A point is on a bisector exactly when it is equidistant from the two lines. The two signs give the two bisectors.

Two intersecting lines with the bisector of the angle containing the origin and the other bisector, the origin marked

Which bisector is which

First make c1c_1 and c2c_2 positive (multiply an equation by −1-1 if needed). Then:

TestResult
Sign ++bisector of the angle containing the origin
Sign −-bisector of the other angle
a1a2+b1b2>0a_1a_2+b_1b_2>0origin lies in the obtuse angle: ++ gives the obtuse bisector
a1a2+b1b2<0a_1a_2+b_1b_2<0origin lies in the acute angle: ++ gives the acute bisector

A quicker check: take any point on one bisector and find the angle the bisector makes with one of the lines. If it is less than 45∘45^\circ, that bisector bisects the acute angle.

The internal bisector of an angle of a triangle

The internal bisector of angle AA in triangle ABCABC meets BCBC at DD with

BDDC=ABAC\frac{BD}{DC}=\frac{AB}{AC}

so DD comes from the section formula. A vertex and its reflection in an internal bisector lie on the opposite sides of that angle: the reflection of AA in the bisector of angle BB lies on line BCBC.

The origin test needs both constants positive

The rule "plus sign gives the bisector containing the origin" is valid only after c1>0c_1>0 and c2>0c_2>0. If one constant is negative, the signs swap. If a line passes through the origin, use a different point in place of the origin.

Examples

Example 33 (IIT JEE 2007, Paper 2). Lines L1:y−x=0L_1:y-x=0 and L2:2x+y=0L_2:2x+y=0 intersect the line L3:y+2=0L_3:y+2=0 at PP and QQ respectively. The bisector of the acute angle between L1L_1 and L2L_2 intersects L3L_3 at RR.

Statement 1: The ratio PR:RQPR:RQ equals 22:52\sqrt2:\sqrt5.

Statement 2: In any triangle, the bisector of an angle divides the triangle into two similar triangles.

Tap an option to check your answer
(A)Statement 1 is true, Statement 2 is true; Statement 2 is a correct explanation for Statement 1
(B)Statement 1 is true, Statement 2 is true; Statement 2 is not a correct explanation for Statement 1
(C)Statement 1 is true, Statement 2 is false
(D)Statement 1 is false, Statement 2 is true
▸ SHOW SOLUTION

Step 1. The points

P(−2,−2)P(-2,-2) and Q(1,−2)Q(1,-2), and the lines meet at O(0,0)O(0,0).

Step 2. Is ∠POQ\angle POQ acute?

OP→⋅OQ→=−2+4=2>0\overrightarrow{OP}\cdot\overrightarrow{OQ}=-2+4=2>0, so ∠POQ\angle POQ is acute and its bisector is the acute-angle bisector.

Step 3. The ratio

PRRQ=OPOQ=225\frac{PR}{RQ}=\frac{OP}{OQ}=\frac{2\sqrt2}{\sqrt5}

So Statement 1 is true.

Step 4. Statement 2

A bisector gives two triangles with one equal angle and one common side, but they are not similar in general. Statement 2 is false.

Answer: option (C)

Example 34 (JEE Main 2026, 4 April Shift 1). Let the line L1:x+3=0L_1:x+3=0 intersect the lines L2:x−y=0L_2:x-y=0 and L3:3x+y=0L_3:3x+y=0 at the points AA and BB respectively. Let the bisector of the obtuse angle between the lines L2L_2 and L3L_3 intersect the line L1L_1 at the point CC. Then BC2AC2\dfrac{BC^2}{AC^2} is equal to

Tap an option to check your answer
(1)5:15:1
(2)1:51:5
(3)2:32:3
(4)3:23:2
▸ SHOW SOLUTION

Step 1. The points

A(−3,−3)A(-3,-3) and B(−3,9)B(-3,9); L2L_2 and L3L_3 meet at O(0,0)O(0,0).

Step 2. Is ∠AOB\angle AOB obtuse?

OA→⋅OB→=9−27=−18<0\overrightarrow{OA}\cdot\overrightarrow{OB}=9-27=-18<0, so ∠AOB\angle AOB is obtuse, and its bisector is the obtuse-angle bisector.

Step 3. Angle bisector theorem in △OAB\triangle OAB

BC2AC2=OB2OA2=9018=5\frac{BC^2}{AC^2}=\frac{OB^2}{OA^2}=\frac{90}{18}=5

Answer: option (1)

Example 35 (JEE Main 2026, 24 Jan Shift 1). Let A(1,0)A(1,0), B(2,−1)B(2,-1) and C(73,43)C\left(\dfrac73,\dfrac43\right) be three points. If the equation of the bisector of the angle ABCABC is αx+βy=5\alpha x+\beta y=5, then the value of α2+β2\alpha^2+\beta^2 is

Tap an option to check your answer
(1)88
(2)55
(3)1313
(4)1010
▸ SHOW SOLUTION

Step 1. The two sides at BB

BA=2,BC=19+499=523BA=\sqrt2,\qquad BC=\sqrt{\frac19+\frac{49}{9}}=\frac{5\sqrt2}{3}

Step 2. The point DD on ACAC

AD:DC=BA:BC=3:5AD:DC=BA:BC=3:5, so

D=5A+3C8=(32,12)D=\frac{5A+3C}{8}=\left(\frac32,\frac12\right)

Step 3. The line BDBD

Slope 12+132−2=−3\frac{\frac12+1}{\frac32-2}=-3, so y+1=−3(x−2)y+1=-3(x-2), that is 3x+y=53x+y=5.

Answer: α2+β2=10\alpha^2+\beta^2=10, option (4)

Example 36 (IITianForum). In a triangle ABCABC the vertex AA is (4,2)(4,2), and the internal bisectors of the angles BB and CC are x+y−2=0x+y-2=0 and x−1=0x-1=0 respectively. The equation of the side BCBC is

Tap an option to check your answer
(A)2x+y+2=02x+y+2=0
(B)x+2y−8=0x+2y-8=0
(C)2x−y+2=02x-y+2=0
(D)x+2y+2=0x+2y+2=0
▸ SHOW SOLUTION

Step 1. Reflect AA in the bisector of BB

The image of AA in the bisector of angle BB lies on BCBC. With L(A)=4L(A)=4 and a2+b2=2a^2+b^2=2,

A1=(4−4, 2−4)=(0,−2)A_1=(4-4,\ 2-4)=(0,-2)

Step 2. Reflect AA in the bisector of CC

In the line x=1x=1 the image is

A2=(−2,2)A_2=(-2,2)

Step 3. The line A1A2A_1A_2

Slope 2+2−2−0=−2\frac{2+2}{-2-0}=-2, so y+2=−2xy+2=-2x:

2x+y+2=02x+y+2=0

Check: it meets the bisectors at B(−4,6)B(-4,6) and C(1,−4)C(1,-4), and the bisectors meet at the incentre (1,1)(1,1).

Answer: option (A)

Centres of a triangle

Let the vertices be A(x1,y1)A(x_1,y_1), B(x2,y2)B(x_2,y_2), C(x3,y3)C(x_3,y_3) with opposite sides a=BCa=BC, b=CAb=CA, c=ABc=AB.

CentreWhere the lines meetCoordinates
Centroid GGmedians(x1+x2+x33,y1+y2+y33)\left(\frac{x_1+x_2+x_3}{3},\frac{y_1+y_2+y_3}{3}\right)
Incentre IIinternal angle bisectors(ax1+bx2+cx3a+b+c,ay1+by2+cy3a+b+c)\left(\frac{ax_1+bx_2+cx_3}{a+b+c},\frac{ay_1+by_2+cy_3}{a+b+c}\right)
Excentre I1I_1 (opposite AA)bisectors: internal at AA, external at BB, CC(−ax1+bx2+cx3−a+b+c,−ay1+by2+cy3−a+b+c)\left(\frac{-ax_1+bx_2+cx_3}{-a+b+c},\frac{-ay_1+by_2+cy_3}{-a+b+c}\right)
Circumcentre OOperpendicular bisectors of the sidessolve OA=OB=OCOA=OB=OC
Orthocentre HHaltitudesintersect two altitudes

The excentres I2I_2 and I3I_3 come from changing the sign of bb or of cc instead of aa.

Reason for the incentre. The bisector from AA meets BCBC at DD with BD:DC=c:bBD:DC=c:b, and the bisector from BB then divides ADAD in the ratio AI:ID=(b+c):aAI:ID=(b+c):a. The section formula gives II.

When the angles are known, the circumcentre and orthocentre also have weighted forms:

O=∑x1sin⁡2A∑sin⁡2A,H=∑x1tan⁡A∑tan⁡AO=\frac{\sum x_1\sin2A}{\sum\sin2A},\qquad H=\frac{\sum x_1\tan A}{\sum\tan A}

(with the same expressions for the yy-coordinates, and HH valid for a triangle with no right angle).

The Euler line

In every triangle the orthocentre HH, the centroid GG and the circumcentre OO are collinear, and

HG:GO=2:1HG:GO=2:1 A scalene triangle with its orthocentre H, centroid G and circumcentre O on one straight line, G two thirds of the way from H to O
TriangleFact
Right-angled at CCH=CH=C, and OO is the mid-point of the hypotenuse ABAB
EquilateralG=I=O=HG=I=O=H; the centre is at distance 13\frac13 of the height from each side
Isosceles with AB=ACAB=ACGG, II, OO, HH all lie on the median from AA
Mid-points D,E,FD,E,F of the sides givenA=E+F−DA=E+F-D, and so on
Match each weight to the opposite side

In the incentre, the weight on vertex AA is a=BCa=BC, the side opposite AA, not a side through AA. Writing c x1c\,x_1 in place of a x1a\,x_1 is the most frequent error in this topic, and it gives a wrong point that still looks reasonable.

Examples

Example 37 (IIT JEE 2007, Paper 2). Let O(0,0)O(0,0), P(3,4)P(3,4), Q(6,0)Q(6,0) be the vertices of the triangle OPQOPQ. The point RR inside the triangle OPQOPQ is such that the triangles OPROPR, PQRPQR, OQROQR are of equal area. The coordinates of RR are

Tap an option to check your answer
(A)(43,3)\left(\frac43,3\right)
(B)(3,23)\left(3,\frac23\right)
(C)(3,43)\left(3,\frac43\right)
(D)(43,23)\left(\frac43,\frac23\right)
▸ SHOW SOLUTION

Step 1. Equal areas give the centroid

△OQR\triangle OQR has one third of the area of △OPQ\triangle OPQ on the same base OQOQ, so RR is at one third of the height of PP above OQOQ. The same holds for the other two sides, and the only such point is the centroid.

Step 2. Compute it

R=(0+3+63,0+4+03)=(3,43)R=\left(\frac{0+3+6}{3},\frac{0+4+0}{3}\right)=\left(3,\frac43\right)

Answer: option (C)

Example 38 (JEE Main 2026, 2 April Shift 1). Let the mid-points of the sides of a triangle ABCABC be (52,7)\left(\dfrac52,7\right), (52,3)\left(\dfrac52,3\right) and (4,5)(4,5). If its incentre is (h,k)(h,k), then 3h+k3h+k is equal to

Tap an option to check your answer
(1)1111
(2)1212
(3)1313
(4)1414
▸ SHOW SOLUTION

Step 1. Recover the vertices

Each vertex is the sum of the two adjacent mid-points minus the opposite one:

(4,1),(4,9),(1,5)(4,1),\quad(4,9),\quad(1,5)

Step 2. The sides

The side joining (4,1)(4,1) and (4,9)(4,9) is 88; the other two are both 55. The weight 88 goes on the vertex (1,5)(1,5) opposite the side of length 88.

Step 3. The incentre

h=8⋅1+5⋅4+5⋅418=83h=\frac{8\cdot1+5\cdot4+5\cdot4}{18}=\frac{8}{3}k=8⋅5+5⋅1+5⋅918=5k=\frac{8\cdot5+5\cdot1+5\cdot9}{18}=5

Step 4. Answer

3h+k=8+5=133h+k=8+5=13

Answer: option (3)

Example 39 (JEE Main 2026, 4 April Shift 1). Let the vertex AA of a triangle ABCABC be (1,2)(1,2), and the mid-point of the side ABAB be (5,−1)(5,-1). If the centroid of the triangle is (3,4)(3,4) and its circumcentre is (α,β)(\alpha,\beta), then 21(α+β)21(\alpha+\beta) is equal to

Tap an option to check your answer
(1)309309
(2)403403
(3)497497
(4)524524
▸ SHOW SOLUTION

Step 1. The vertices BB and CC

B=2(5,−1)−(1,2)=(9,−4)B=2(5,-1)-(1,2)=(9,-4), and C=3G−A−BC=3G-A-B:

C=(9−1−9, 12−2+4)=(−1,14)C=(9-1-9,\ 12-2+4)=(-1,14)

Step 2. Two perpendicular bisectors

PA2=PB2PA^2=PB^2 and PA2=PC2PA^2=PC^2 for P(α,β)P(\alpha,\beta) give

4α−3β=234\alpha-3\beta=23−α+6β=48-\alpha+6\beta=48

Step 3. Solve

β=21521,α=28221\beta=\frac{215}{21},\qquad\alpha=\frac{282}{21}21(α+β)=49721(\alpha+\beta)=497

Answer: option (3)

Example 40 (JEE Main 2026, 5 April Shift 1). In an equilateral triangle PQRPQR, let the vertex PP be at (3,5)(3,5) and the side QRQR be along the line x+y=4x+y=4. If the orthocentre of the triangle is (α,β)(\alpha,\beta), then 9(α+β)9(\alpha+\beta) is equal to

Tap an option to check your answer
(1)1616
(2)2727
(3)3636
(4)4848
▸ SHOW SOLUTION

Step 1. Foot of the altitude from PP

L(P)=3+5−4=4L(P)=3+5-4=4 and a2+b2=2a^2+b^2=2, so the foot is

M=(3−2, 5−2)=(1,3)M=(3-2,\ 5-2)=(1,3)

Step 2. Orthocentre equals centroid

In an equilateral triangle H=GH=G, which divides PMPM in the ratio 2:12:1:

H=P+2M3=(53,113)H=\frac{P+2M}{3}=\left(\frac53,\frac{11}{3}\right)

Step 3. Answer

9(α+β)=9⋅163=489(\alpha+\beta)=9\cdot\frac{16}{3}=48

Answer: option (4)

Example 41 (JEE Main 2026, 28 Jan Shift 1). Let ABCABC be an equilateral triangle with orthocentre at the origin and side BCBC on the line x+22 y=4x+2\sqrt2\,y=4. If the coordinates of the vertex AA are (α,β)(\alpha,\beta), then the greatest integer less than or equal to ∣α+2 β∣\left|\alpha+\sqrt2\,\beta\right| is

Tap an option to check your answer
(1)22
(2)33
(3)55
(4)44
▸ SHOW SOLUTION

Step 1. AA is on the altitude through OO

The altitude is perpendicular to BCBC and passes through OO, so it is y=22xy=2\sqrt2x, and β=22α\beta=2\sqrt2\alpha.

Step 2. Use AO:OD=2:1AO:OD=2:1

OD=41+8=43OD=\frac{4}{\sqrt{1+8}}=\frac43, so AO=83AO=\frac83, and AA is on the opposite side of OO from BCBC. With OAOA along the unit vector −13(1,22)-\frac13(1,2\sqrt2),

A=83(−13,−223)A=\frac83\left(-\frac13,-\frac{2\sqrt2}{3}\right)A=(−89,−1629)A=\left(-\frac89,-\frac{16\sqrt2}{9}\right)

Step 3. Answer

α+2β=−89−329=−409\alpha+\sqrt2\beta=-\frac89-\frac{32}{9}=-\frac{40}{9}

and ⌊409⌋=4\left\lfloor\frac{40}{9}\right\rfloor=4.

Answer: option (4)

Example 42 (JEE Main 2026, 4 April Shift 2). Let AA, BB be points on the two half-lines x−3 ∣y∣=αx-\sqrt3\,\lvert y\rvert=\alpha, α>0\alpha>0, at a distance α\alpha from their point of intersection PP. The line segment ABAB meets the angle bisector of the given half-lines at the point QQ. If PQ=92PQ=\dfrac92 and RR is the radius of the circumcircle of △PAB\triangle PAB, then α2R\dfrac{\alpha^2}{R} is equal to ______.

▸ SHOW SOLUTION

Step 1. The two half-lines

They are x−3y=αx-\sqrt3y=\alpha and x+3y=αx+\sqrt3y=\alpha for x≥αx\ge\alpha, meeting at P(α,0)P(\alpha,0) with inclinations ±30∘\pm30^\circ. The angle between them is 60∘60^\circ, and the bisector is the xx-axis.

Step 2. The triangle is equilateral

PA=PB=αPA=PB=\alpha with the angle 60∘60^\circ between them, so △PAB\triangle PAB is equilateral with side α\alpha, and QQ is the mid-point of ABAB.

Step 3. Find α\alpha and RR

PQ=32α=92⇒α=33PQ=\frac{\sqrt3}{2}\alpha=\frac92\Rightarrow\alpha=3\sqrt3R=α3=3R=\frac{\alpha}{\sqrt3}=3

Step 4. Answer

α2R=273=9\frac{\alpha^2}{R}=\frac{27}{3}=9

Answer: 99

Example 43 (JEE Main 2025, 7 April Shift 2). If the orthocentre of the triangle formed by the lines y=x+1y=x+1, y=4x−8y=4x-8 and y=mx+cy=mx+c is at (3,−1)(3,-1), then m−cm-c is

Tap an option to check your answer
(1)00
(2)−2-2
(3)44
(4)22
▸ SHOW SOLUTION

Step 1. The vertex on the first two lines

x+1=4x−8x+1=4x-8 gives P(3,4)P(3,4).

Step 2. The third side is horizontal

The altitude from PP passes through P(3,4)P(3,4) and H(3,−1)H(3,-1), so it is the vertical line x=3x=3. The third side is perpendicular to it: m=0m=0, and the side is y=cy=c.

Step 3. Another altitude

The third side meets y=x+1y=x+1 at Q(c−1,c)Q(c-1,c). The altitude from QQ is perpendicular to y=4x−8y=4x-8, so its slope is −14-\frac14, and it passes through HH:

−1−c3−(c−1)=−14⇒c=0\frac{-1-c}{3-(c-1)}=-\frac14\Rightarrow c=0

Answer: m−c=0m-c=0, option (1)

Example 44 (JEE Main 2019, 9 Jan Shift 2). Let the equations of two sides of a triangle be 3x−2y+6=03x-2y+6=0 and 4x+5y−20=04x+5y-20=0. If the orthocentre of this triangle is at (1,1)(1,1), then the equation of its third side is

Tap an option to check your answer
(1)26x−122y−1675=026x-122y-1675=0
(2)26x+61y+1675=026x+61y+1675=0
(3)122y−26x−1675=0122y-26x-1675=0
(4)122y+26x+1675=0122y+26x+1675=0
▸ SHOW SOLUTION

Step 1. The common vertex

A=(1023,8423)A=\left(\frac{10}{23},\frac{84}{23}\right)

The slope of AHAH is 84/23−110/23−1=−6113\frac{84/23-1}{10/23-1}=-\frac{61}{13}, so the third side has slope 1361\frac{13}{61}.

Step 2. A second vertex

Let BB be on 3x−2y+6=03x-2y+6=0. The altitude from BB is perpendicular to 4x+5y−20=04x+5y-20=0, so it has slope 54\frac54 through HH: 5x−4y−1=05x-4y-1=0. With 3x−2y+6=03x-2y+6=0 this gives

B=(−13,−332)B=\left(-13,-\frac{33}{2}\right)

Step 3. The third side

Through BB with slope 1361\frac{13}{61}:

61(y+332)=13(x+13)61\left(y+\frac{33}{2}\right)=13(x+13)26x−122y−1675=026x-122y-1675=0

Answer: option (1)

Example 45 (JEE Advanced 2021, Paper 1). Consider a triangle Δ\Delta whose two sides lie on the xx-axis and the line x+y+1=0x+y+1=0. If the orthocentre of Δ\Delta is (1,1)(1,1), then the equation of the circle passing through the vertices of the triangle Δ\Delta is

Tap an option to check your answer
(A)x2+y2−3x+y=0x^2+y^2-3x+y=0
(B)x2+y2+x+3y=0x^2+y^2+x+3y=0
(C)x2+y2+2y−1=0x^2+y^2+2y-1=0
(D)x2+y2+x+y=0x^2+y^2+x+y=0
▸ SHOW SOLUTION

Step 1. The vertices

The two sides meet at A(−1,0)A(-1,0). Let B(b,0)B(b,0) be on the xx-axis and C(t,−1−t)C(t,-1-t) on x+y+1=0x+y+1=0.

Step 2. Altitude from CC

It is perpendicular to the xx-axis and passes through H(1,1)H(1,1), so t=1t=1 and C(1,−2)C(1,-2).

Step 3. Altitude from BB

It is perpendicular to x+y+1=0x+y+1=0 and passes through HH, so it is y=xy=x, and B=(0,0)B=(0,0).

Step 4. The circle

Through the origin, x2+y2+Dx+Ey=0x^2+y^2+Dx+Ey=0. Then (−1,0)(-1,0) gives D=1D=1 and (1,−2)(1,-2) gives E=3E=3.

Answer: option (B)

Example 46 (JEE Advanced 2026, Paper 1). Let PP be the point on the parabola y=x2y=x^2 such that the slope of the tangent to the parabola at PP is 44. Let QQ be the point in the first quadrant lying on the circle x2+y2=2x^2+y^2=2 such that the slope of the tangent to the circle at QQ is −1-1. Let RR be the point in the first quadrant lying on the ellipse x2+4y2=8x^2+4y^2=8 such that the slope of the tangent to the ellipse at RR is −12-\dfrac12. Then the radius of the circle passing through the points PP, QQ and RR is

Tap an option to check your answer
(1)10\sqrt{10}
(2)5\sqrt5
(3)52\sqrt{\dfrac52}
(4)252\sqrt5
▸ SHOW SOLUTION

Step 1. The three points

On y=x2y=x^2, 2x=42x=4 gives P(2,4)P(2,4). On the circle the tangent is perpendicular to the radius OQOQ, so OQOQ has slope 11 and Q(1,1)Q(1,1). On the ellipse 2x+8yy′=02x+8yy'=0 gives y′=−x4y=−12y'=-\frac{x}{4y}=-\frac12, so x=2yx=2y and R(2,1)R(2,1).

Step 2. A right angle

PRPR is vertical (x=2x=2) and QRQR is horizontal (y=1y=1), so the angle at RR is 90∘90^\circ.

Step 3. Circumradius

The circumcentre is the mid-point of the hypotenuse PQ=1+9=10PQ=\sqrt{1+9}=\sqrt{10}:

radius=102=52\text{radius}=\frac{\sqrt{10}}{2}=\sqrt{\frac52}

Answer: option (3)

Example 47 (IITianForum). The line L1:4x+3y−24=0L_1:4x+3y-24=0 is rotated clockwise through the angle tan⁡−1247\tan^{-1}\dfrac{24}{7} about the point where it meets the xx-axis, and the new line is L2L_2. If (h,k)(h,k) is the incentre of the triangle formed by L1L_1, L2L_2 and the yy-axis, then 3h+k3h+k is equal to ______.

▸ SHOW SOLUTION

Step 1. The new slope

L1L_1 meets the xx-axis at (6,0)(6,0). Its slope is −43-\frac43. Turning clockwise through β\beta with tan⁡β=247\tan\beta=\frac{24}{7} gives the slope

−43−2471−43⋅247=−100−75=43\frac{-\frac43-\frac{24}{7}}{1-\frac43\cdot\frac{24}{7}}=\frac{-100}{-75}=\frac43

Step 2. The new line and the triangle

L2L_2: y=43(x−6)y=\frac43(x-6), that is 4x−3y−24=04x-3y-24=0. With the yy-axis the vertices are (6,0)(6,0), (0,8)(0,8), (0,−8)(0,-8).

Step 3. The incentre

The side opposite (6,0)(6,0) is 1616; the other two sides are 1010 each.

h=16⋅6+10⋅0+10⋅036=83h=\frac{16\cdot6+10\cdot0+10\cdot0}{36}=\frac83

By symmetry about the xx-axis, k=0k=0.

Answer: 3h+k=83h+k=8

Family of lines and concurrency

If L1≡a1x+b1y+c1=0L_1\equiv a_1x+b_1y+c_1=0 and L2≡a2x+b2y+c2=0L_2\equiv a_2x+b_2y+c_2=0 intersect at PP, then for every real λ\lambda

L1+λL2=0L_1+\lambda L_2=0

is a line through PP. Reason. PP makes both L1L_1 and L2L_2 zero, so it makes L1+λL2L_1+\lambda L_2 zero, and the equation is still of the first degree.

Several lines of the family L1 plus lambda L2 passing through the common point P of L1 and L2
GivenFixed point
L1+λL2=0L_1+\lambda L_2=0intersection of L1=0L_1=0 and L2=0L_2=0
ax+by+c=0ax+by+c=0 with pa+qb+rc=0pa+qb+rc=0, r≠0r\ne0(pr,qr)\left(\frac pr,\frac qr\right)
aa, bb, cc in AP: a−2b+c=0a-2b+c=0(1,−2)(1,-2)
(cos⁡α)L1+(sin⁡α)L2=0(\cos\alpha)L_1+(\sin\alpha)L_2=0intersection of L1=0L_1=0, L2=0L_2=0

Concurrency of three lines

The lines arx+bry+cr=0a_rx+b_ry+c_r=0 (r=1,2,3r=1,2,3) are concurrent when two of them meet and the third passes through that point. This happens when

∣a1b1c1a2b2c2a3b3c3∣=0\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0

and two of the lines are not parallel. Equivalently, there are constants λ1,λ2,λ3\lambda_1,\lambda_2,\lambda_3, not all zero, with λ1L1+λ2L2+λ3L3≡0\lambda_1L_1+\lambda_2L_2+\lambda_3L_3\equiv0.

A zero determinant is not enough

The determinant is also zero for three parallel lines, such as x+y=1x+y=1, x+y=2x+y=2, x+y=3x+y=3, which have no common point. Always check that two of the lines actually meet.

The one line the family misses

No value of λ\lambda in L1+λL2=0L_1+\lambda L_2=0 gives L2L_2 itself. If the required line could be L2L_2, test it separately, or use μL1+L2=0\mu L_1+L_2=0.

Examples

Example 48 (JEE Main 2019, 9 Jan Shift 1). Consider the set of all lines px+qy+r=0px+qy+r=0 such that 3p+2q+4r=03p+2q+4r=0. Which one of the following statements is true?

Tap an option to check your answer
(1)The lines are not concurrent
(2)The lines are all parallel
(3)The lines are concurrent at the point (34,12)\left(\frac34,\frac12\right)
(4)Each line passes through the origin
▸ SHOW SOLUTION

Step 1. Rewrite the condition

Divide by 44:

p⋅34+q⋅12+r=0p\cdot\frac34+q\cdot\frac12+r=0

Step 2. Read off the point

This says that (34,12)\left(\frac34,\frac12\right) satisfies px+qy+r=0px+qy+r=0 for every such line.

Answer: option (3)

Example 49 (JEE Main 2026, 22 Jan Shift 2). Among the statements (S1): If A(5,−1)A(5,-1) and B(−2,3)B(-2,3) are two vertices of a triangle whose orthocentre is (0,0)(0,0), then its third vertex is (−4,−7)(-4,-7); and (S2): If positive numbers 2a2a, bb, cc are three consecutive terms of an A.P., then the lines ax+by+c=0ax+by+c=0 are concurrent at (2,−2)(2,-2),

Tap an option to check your answer
(1)only (S1) is correct
(2)only (S2) is correct
(3)both are incorrect
(4)both are correct
▸ SHOW SOLUTION

Step 1. (S1): two altitudes through OO

Let C(h,k)C(h,k). OA⊥BCOA\perp BC and OB⊥ACOB\perp AC:

5(h+2)−(k−3)=05(h+2)-(k-3)=0−2(h−5)+3(k+1)=0-2(h-5)+3(k+1)=0

Step 2. Solve

The equations are 5h−k=−135h-k=-13 and 2h−3k=132h-3k=13, giving h=−4h=-4, k=−7k=-7. (S1) is correct.

Step 3. (S2): the AP condition

2b=2a+c2b=2a+c means 2a−2b+c=02a-2b+c=0, which is the line ax+by+c=0ax+by+c=0 at the point (2,−2)(2,-2). So every such line passes through (2,−2)(2,-2), and (S2) is correct.

Answer: option (4)

Example 50 (IITianForum). For all values of α\alpha, the lines (3cos⁡α+sin⁡α)x+(2cos⁡α−3sin⁡α)y=7cos⁡α−5sin⁡α(3\cos\alpha+\sin\alpha)x+(2\cos\alpha-3\sin\alpha)y=7\cos\alpha-5\sin\alpha pass through one fixed point. The image of that point in the line x+y=5x+y=5 is

Tap an option to check your answer
(A)(3,4)(3,4)
(B)(4,3)(4,3)
(C)(2,1)(2,1)
(D)(4,4)(4,4)
▸ SHOW SOLUTION

Step 1. Separate cos⁡α\cos\alpha and sin⁡α\sin\alpha

With L1=3x+2y−7L_1=3x+2y-7 and L2=x−3y+5L_2=x-3y+5 the lines are

L1cos⁡α+L2sin⁡α=0L_1\cos\alpha+L_2\sin\alpha=0

Step 2. The fixed point

It is the intersection of 3x+2y=73x+2y=7 and x−3y=−5x-3y=-5: put x=3y−5x=3y-5 in the first to get y=2y=2, so the point is (1,2)(1,2).

Step 3. The image in x+y=5x+y=5

The image of (x1,y1)(x_1,y_1) in x+y=kx+y=k is (k−y1,k−x1)(k-y_1,k-x_1):

(5−2, 5−1)=(3,4)(5-2,\ 5-1)=(3,4)

Answer: option (A)

Example 51 (IITianForum). If 3a2+5ab−2ac−2b2+3bc−c2=03a^2+5ab-2ac-2b^2+3bc-c^2=0, then the family of straight lines ax+by+c=0ax+by+c=0 may be concurrent at

More than one option is correct. Pick all of them, then Check
▸ SHOW SOLUTION

Step 1. Factor the condition

The left side splits into two linear factors:

3a2+5ab−2ac−2b2+3bc−c23a^2+5ab-2ac-2b^2+3bc-c^2=(a+2b−c)(3a−b+c)=(a+2b-c)(3a-b+c)

Expanding the right side confirms all six terms.

Step 2. Read each factor as a point

a+2b−c=0a+2b-c=0 is ax+by+c=0ax+by+c=0 at (−1,−2)(-1,-2), and 3a−b+c=03a-b+c=0 is the same line at (3,−1)(3,-1).

So each line of the family passes through (−1,−2)(-1,-2) or through (3,−1)(3,-1).

Answer: (A) and (B)

Example 52 (JEE Main 2025, 24 Jan Shift 1). Let the lines 3x−4y−α=03x-4y-\alpha=0, 8x−11y−33=08x-11y-33=0 and 2x−3y+λ=02x-3y+\lambda=0 be concurrent. If the image of the point (1,2)(1,2) in the line 2x−3y+λ=02x-3y+\lambda=0 is (5713,−4013)\left(\dfrac{57}{13},\dfrac{-40}{13}\right), then ∣αλ∣\lvert\alpha\lambda\rvert is equal to

Tap an option to check your answer
(1)8484
(2)9191
(3)113113
(4)101101
▸ SHOW SOLUTION

Step 1. The mirror passes through the mid-point

The mid-point of (1,2)(1,2) and its image is (3513,−713)\left(\frac{35}{13},-\frac{7}{13}\right), which lies on 2x−3y+λ=02x-3y+\lambda=0:

70+2113+λ=0⇒λ=−7\frac{70+21}{13}+\lambda=0\Rightarrow\lambda=-7

Step 2. Concurrency

∣3−4−α8−11−332−3−7∣=0\begin{vmatrix}3&-4&-\alpha\\8&-11&-33\\2&-3&-7\end{vmatrix}=03(77−99)+4(−56+66)+2α=03(77-99)+4(-56+66)+2\alpha=0−26+2α=0⇒α=13-26+2\alpha=0\Rightarrow\alpha=13

The first two lines are not parallel, so the three lines do meet.

Answer: ∣αλ∣=91\lvert\alpha\lambda\rvert=91, option (2)

Example 53 (JEE Main 2025, 3 April Shift 2). Consider the lines x(3λ+1)+y(7λ+2)=17λ+5x(3\lambda+1)+y(7\lambda+2)=17\lambda+5, λ\lambda being a parameter, all passing through a point PP. One of these lines (say LL) is farthest from the origin. If the distance of LL from the point (3,6)(3,6) is dd, then the value of d2d^2 is

Tap an option to check your answer
(1)2020
(2)3030
(3)1010
(4)1515
▸ SHOW SOLUTION

Step 1. The fixed point

(x+2y−5)+λ(3x+7y−17)=0(x+2y-5)+\lambda(3x+7y-17)=0

Solving x+2y=5x+2y=5 and 3x+7y=173x+7y=17 gives P(1,2)P(1,2).

Step 2. The farthest line

For any line through PP, the distance from OO is at most OPOP, with equality when the line is perpendicular to OPOP. So L⊥OPL\perp OP, and LL is x+2y=5x+2y=5.

Step 3. Distance from (3,6)(3,6)

d=∣3+12−5∣5=105⇒d2=20d=\frac{\lvert3+12-5\rvert}{\sqrt5}=\frac{10}{\sqrt5}\Rightarrow d^2=20

Answer: option (1)

Lines that form a figure

Many questions give some sides or diagonals of a parallelogram, rhombus or square and ask for the rest. The facts used are few.

FigureProperty used
Parallelogramdiagonals bisect each other; opposite sides parallel
Rhombusparallelogram with diagonals perpendicular
Rectangleparallelogram with diagonals equal
Squarediagonals equal, perpendicular, bisecting each other, at 45∘45^\circ to the sides
Triangle cut by a linesimilar triangles, areas in the square of the ratio

A line through the centre of a parallelogram (or rectangle) always divides its area into two equal parts.

Examples

Example 54 (JEE Main 2026, 23 Jan Shift 2). Let A(1,2)A(1,2) and C(−3,−6)C(-3,-6) be two diagonally opposite vertices of a rhombus, whose sides ADAD and BCBC are parallel to the line 7x−y=147x-y=14. If B(α,β)B(\alpha,\beta) and D(γ,δ)D(\gamma,\delta) are the other two vertices, then ∣α+β+γ+δ∣\lvert\alpha+\beta+\gamma+\delta\rvert is equal to

Tap an option to check your answer
(1)99
(2)33
(3)66
(4)11
▸ SHOW SOLUTION

Step 1. The diagonals bisect each other

The mid-point of ACAC is (−1,−2)(-1,-2), so B+D=2(−1,−2)B+D=2(-1,-2):

α+γ=−2,β+δ=−4\alpha+\gamma=-2,\qquad\beta+\delta=-4

Step 2. Answer

∣α+β+γ+δ∣=6\lvert\alpha+\beta+\gamma+\delta\rvert=6

Step 3. The vertices themselves

The rhombus ABCD with A at 1, 2 and C at minus 3, minus 6, its sides AD and BC parallel and its diagonals crossing at minus 1, minus 2

BDBD is perpendicular to ACAC (slope 22) through (−1,−2)(-1,-2). Meeting the line through AA of slope 77 gives D(13,−83)D\left(\frac13,-\frac83\right), and then B(−73,−43)B\left(-\frac73,-\frac43\right). The sum is −6-6, as found.

Answer: option (3)

Example 55 (JEE Main 2016). Two sides of a rhombus are along the lines x−y+1=0x-y+1=0 and 7x−y−5=07x-y-5=0. If its diagonals intersect at (−1,−2)(-1,-2), then which one of the following is a vertex of this rhombus?

Tap an option to check your answer
(1)(−3,−8)(-3,-8)
(2)(13,−83)\left(\frac13,-\frac83\right)
(3)(−103,−73)\left(-\frac{10}{3},-\frac73\right)
(4)(−3,−9)(-3,-9)
▸ SHOW SOLUTION

Step 1. The vertex on both sides

x−y=−1x-y=-1 and 7x−y=57x-y=5 give A(1,2)A(1,2), so the opposite vertex is C=2(−1,−2)−A=(−3,−6)C=2(-1,-2)-A=(-3,-6).

Step 2. Sides through CC

They are parallel to the given sides: x−y=3x-y=3 and 7x−y=−157x-y=-15.

Step 3. The other two vertices

7x−y=57x-y=5 with x−y=3x-y=3 gives (13,−83)\left(\frac13,-\frac83\right), and x−y=−1x-y=-1 with 7x−y=−157x-y=-15 gives (−73,−43)\left(-\frac73,-\frac43\right).

Answer: option (2)

Example 56 (JEE Main 2025, 8 April Shift 2). Let aa be the length of a side of a square OABCOABC with OO being the origin. Its side OAOA makes an acute angle α\alpha with the positive xx-axis and the equations of its diagonals are (3+1)x+(3−1)y=0(\sqrt3+1)x+(\sqrt3-1)y=0 and (3−1)x−(3+1)y+83=0(\sqrt3-1)x-(\sqrt3+1)y+8\sqrt3=0. Then a2a^2 is equal to

Tap an option to check your answer
(1)4848
(2)3232
(3)1616
(4)2424
▸ SHOW SOLUTION

Step 1. Direction of the diagonal OBOB

The first diagonal passes through OO with slope −3+13−1=−(2+3)=tan⁡105∘-\frac{\sqrt3+1}{\sqrt3-1}=-(2+\sqrt3)=\tan105^\circ.

Step 2. Direction of OAOA

OAOA makes 45∘45^\circ with OBOB and is acute, so α=60∘\alpha=60^\circ and A=(a2,3a2)A=\left(\frac a2,\frac{\sqrt3a}{2}\right).

Step 3. AA is on the other diagonal

(3−1)a2−(3+1)3a2+83=0\frac{(\sqrt3-1)a}{2}-\frac{(\sqrt3+1)\sqrt3a}{2}+8\sqrt3=0−2a+83=0⇒a=43-2a+8\sqrt3=0\Rightarrow a=4\sqrt3

Answer: a2=48a^2=48, option (1)

Example 57 (JEE Main 2025, 2 April Shift 2). Let A(4,−2)A(4,-2), B(1,1)B(1,1) and C(9,−3)C(9,-3) be the vertices of a triangle ABCABC. Then the maximum area of the parallelogram AFDEAFDE, formed with vertices DD, EE and FF on the sides BCBC, CACA and ABAB of the triangle ABCABC respectively, is ______.

▸ SHOW SOLUTION

Step 1. Area of the triangle

2Δ=∣4⋅4+1⋅(−1)+9⋅(−3)∣2\Delta=\lvert4\cdot4+1\cdot(-1)+9\cdot(-3)\rvert2Δ=∣16−1−27∣=12⇒Δ=62\Delta=\lvert16-1-27\rvert=12\Rightarrow\Delta=6

Step 2. The two corner triangles

Let BD:BC=tBD:BC=t. Since DF∥CADF\parallel CA and DE∥ABDE\parallel AB, the triangles BFDBFD and DECDEC are similar to BACBAC with ratios tt and 1−t1-t:

[AFDE]=Δ(1−t2−(1−t)2)[AFDE]=\Delta\left(1-t^2-(1-t)^2\right)[AFDE]=2Δ t(1−t)[AFDE]=2\Delta\,t(1-t)

Step 3. Maximise

t(1−t)≤14t(1-t)\le\frac14, with equality at t=12t=\frac12, so the maximum is Δ2=3\frac{\Delta}{2}=3.

Answer: 33

Example 58 (IITianForum). PP is the point of intersection of the lines 3x−y=03x-y=0 and y=0y=0, and CC is the point (4,3)(4,3). A variable line through CC meets the ray y=3xy=3x, x>0x>0, at AA and the positive xx-axis at BB. The least possible area of the triangle PABPAB is ______.

▸ SHOW SOLUTION

Step 1. Coordinates in terms of BB

Let B(b,0)B(b,0). The line BCBC is y=3(x−b)4−by=\frac{3(x-b)}{4-b}. It meets y=3xy=3x where

x=bb−3,y=3bb−3x=\frac{b}{b-3},\qquad y=\frac{3b}{b-3}

and x>0x>0 needs b>3b>3.

Step 2. The area

[PAB]=12⋅b⋅3bb−3=3b22(b−3)[PAB]=\frac12\cdot b\cdot\frac{3b}{b-3}=\frac{3b^2}{2(b-3)}

Step 3. Minimise with t=b−3>0t=b-3>0

3(t+3)22t=32(t+6+9t)\frac{3(t+3)^2}{2t}=\frac32\left(t+6+\frac9t\right)32(t+6+9t)≥32(6+6)=18\frac32\left(t+6+\frac9t\right)\ge\frac32(6+6)=18

by t+9t≥6t+\frac9t\ge6, with equality at t=3t=3. Then b=6b=6, A(2,6)A(2,6), and CC is the mid-point of ABAB.

Answer: 1818

Change of origin and rotation of axes

Shift of origin

If the origin is moved to (h,k)(h,k) with the axes kept parallel, a point with old coordinates (x,y)(x,y) has new coordinates (X,Y)(X,Y) with

x=X+h,y=Y+kx=X+h,\qquad y=Y+k

The new equation of a curve comes from writing X+hX+h for xx and Y+kY+k for yy. Distances, slopes and angles do not change.

Rotation of axes

If the axes are turned anticlockwise through θ\theta about the origin, the old and new coordinates are related by

x=x′cos⁡θ−y′sin⁡θx=x'\cos\theta-y'\sin\theta y=x′sin⁡θ+y′cos⁡θy=x'\sin\theta+y'\cos\theta

and, solving back,

x′=xcos⁡θ+ysin⁡θx'=x\cos\theta+y\sin\theta y′=−xsin⁡θ+ycos⁡θy'=-x\sin\theta+y\cos\theta The old axes x and y and the new axes x prime and y prime turned through theta, with one point P and its two pairs of coordinates

For a shift to (h,k)(h,k) followed by a rotation through θ\theta, replace xx, yy in the last two lines by x−hx-h, y−ky-k.

Rotating a point instead of the axes

Turning a point P(x,y)P(x,y) anticlockwise through θ\theta about the origin gives

P′=(xcos⁡θ−ysin⁡θ, xsin⁡θ+ycos⁡θ)P'=(x\cos\theta-y\sin\theta,\ x\sin\theta+y\cos\theta)
Axes turned one way, point turned the other

Turning the axes through θ\theta has the same effect on coordinates as turning the point through −θ-\theta. So the new coordinates after rotating the axes use xcos⁡θ+ysin⁡θx\cos\theta+y\sin\theta, while the coordinates of a rotated point use xcos⁡θ−ysin⁡θx\cos\theta-y\sin\theta. Read the question for which one is turned.

Examples

Example 59 (JEE Main 2021, 27 July Shift 2). The point P(a,b)P(a,b) undergoes the following three transformations successively: reflection about the line y=xy=x; translation through 22 units along the positive direction of the xx-axis; rotation through angle π4\dfrac{\pi}{4} about the origin in the anticlockwise direction. If the coordinates of the final position of the point PP are (−12,72)\left(-\dfrac{1}{\sqrt2},\dfrac{7}{\sqrt2}\right), then the value of 2a+b2a+b is equal to

Tap an option to check your answer
(1)1313
(2)99
(3)55
(4)77
▸ SHOW SOLUTION

Step 1. Reflection, then translation

Reflection in y=xy=x gives (b,a)(b,a); the translation gives (b+2,a)(b+2,a).

Step 2. Rotation through π4\frac{\pi}{4}

b+2−a2=−12\frac{b+2-a}{\sqrt2}=-\frac{1}{\sqrt2}b+2+a2=72\frac{b+2+a}{\sqrt2}=\frac{7}{\sqrt2}

Step 3. Solve

b−a=−3b-a=-3 and a+b=5a+b=5, so a=4a=4, b=1b=1.

Answer: 2a+b=92a+b=9, option (2)

Example 60 (JEE Main 2025, 8 April Shift 2). A line passing through the point P(a,0)P(a,0) makes an acute angle α\alpha with the positive xx-axis. Let this line be rotated about the point PP through an angle α2\dfrac{\alpha}{2} in the clockwise direction. If in the new position, the slope of the line is 2−32-\sqrt3 and its distance from the origin is 12\dfrac{1}{\sqrt2}, then the value of 3a2tan⁡2α−233a^2\tan^2\alpha-2\sqrt3 is

Tap an option to check your answer
(1)44
(2)66
(3)55
(4)88
▸ SHOW SOLUTION

Step 1. The angle

After the clockwise turn the inclination is α−α2=α2\alpha-\frac{\alpha}{2}=\frac{\alpha}{2}, and tan⁡α2=2−3=tan⁡15∘\tan\frac{\alpha}{2}=2-\sqrt3=\tan15^\circ. So α=30∘\alpha=30^\circ.

Step 2. Distance from the origin

The new line passes through P(a,0)P(a,0) at inclination 15∘15^\circ, so its distance from OO is ∣a∣sin⁡15∘\lvert a\rvert\sin15^\circ:

a2sin⁡215∘=12a^2\sin^215^\circ=\frac12

Step 3. Find a2a^2

sin⁡215∘=1−cos⁡30∘2=2−34\sin^215^\circ=\frac{1-\cos30^\circ}{2}=\frac{2-\sqrt3}{4}, so

a2=22−3=2(2+3)a^2=\frac{2}{2-\sqrt3}=2(2+\sqrt3)

Step 4. Answer

3a2⋅13−23=4+23−23=43a^2\cdot\frac13-2\sqrt3=4+2\sqrt3-2\sqrt3=4

Answer: option (1)

Which method to use

You are givenStart with
A point dividing a segmentsection formula; a line cutting it: ratio −L(A)L(B)-\frac{L(A)}{L(B)}
Three points, area or collinearitythe determinant
A moving point and a conditioncall it (h,k)(h,k), eliminate the parameter
A point at a given distance along a lineparametric form (x1+rcos⁡θ, y1+rsin⁡θ)(x_1+r\cos\theta,\ y_1+r\sin\theta)
Perpendicular from the origin, its length and anglenormal form xcos⁡α+ysin⁡α=px\cos\alpha+y\sin\alpha=p
Intercepts or a triangle cut off by the axesintercept form
Two points on the same or opposite sidessigns of LL
A line at a given angle to anotherinclination ±\pm angle, then point-slope form
Foot, image, reflected ray, shortest paththe image formula
Equidistant from two linesbisectors, then the origin or dot-product test
Mid-points of sides, centres of a trianglerecover vertices, then the table of centres
Orthocentre giventwo altitudes through it
Lines with a parametersplit as L1+λL2L_1+\lambda L_2 for the fixed point
Three lines through one pointdeterminant, and check that two lines meet
Sides or diagonals of a quadrilateraldiagonals bisect each other
Axes moved or a point turnedshift and rotation formulas

What JEE asks

JEE Main asks about one straight-line question per shift, and many circle and conic questions use the same results. In 2026 the most frequent types were the centres of a triangle (Examples 38 to 42 and 49), angle bisectors and the angle bisector theorem (Examples 34 and 35), images and reflected rays (Examples 30 and 31), distances to parallel lines (Examples 23 and 24), the parametric form (Example 17), a locus through a family of lines (Example 8) and a rhombus from its diagonals (Example 54). The 2026 equilateral-triangle questions all used one fact: the orthocentre, centroid and circumcentre coincide and divide the altitude in the ratio 2:12:1.

JEE Advanced asks fewer but deeper questions: the orthocentre locus as a straight line (Example 11), regions defined by distances from two lines (Example 27), conditions from a distance inequality (Example 26), the orthocentre used to recover a triangle and its circumcircle (Example 45), and a weighted point written by the section formula (Example 3, 2025). Statement questions on the angle bisector theorem (Example 33) and collinearity hidden in trigonometric coordinates (Example 4) appeared in earlier years.

Quick recall

ResultStatement
Distance(x2−x1)2+(y2−y1)2\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}
Section, internalmx2+nx1m+n\frac{mx_2+nx_1}{m+n}
Line cuts ABAB in−L(A)L(B)-\frac{L(A)}{L(B)}
Area of triangle12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\frac12\lvert x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\rvert
Slopetan⁡θ=y2−y1x2−x1=−ab\tan\theta=\frac{y_2-y_1}{x_2-x_1}=-\frac ab
Parallel, perpendicularm1=m2m_1=m_2; m1m2=−1m_1m_2=-1
Normal formxcos⁡α+ysin⁡α=px\cos\alpha+y\sin\alpha=p
Parametric point(x1+rcos⁡θ, y1+rsin⁡θ)(x_1+r\cos\theta,\ y_1+r\sin\theta)
Angletan⁡θ=∣m1−m21+m1m2∣\tan\theta=\left\lvert\frac{m_1-m_2}{1+m_1m_2}\right\rvert
Point to line∣ax1+by1+c∣a2+b2\frac{\lvert ax_1+by_1+c\rvert}{\sqrt{a^2+b^2}}
Parallel lines∣c1−c2∣a2+b2\frac{\lvert c_1-c_2\rvert}{\sqrt{a^2+b^2}}
Foot / imageh−x1a=k−y1b=−(1 or 2)L(P)a2+b2\frac{h-x_1}{a}=\frac{k-y_1}{b}=-\frac{(1\text{ or }2)L(P)}{a^2+b^2}
BisectorsL1a12+b12=±L2a22+b22\frac{L_1}{\sqrt{a_1^2+b_1^2}}=\pm\frac{L_2}{\sqrt{a_2^2+b_2^2}}
Incentreweights aa, bb, cc on AA, BB, CC
Euler lineHG:GO=2:1HG:GO=2:1
FamilyL1+λL2=0L_1+\lambda L_2=0
Concurrencydeterminant =0=0, two lines meeting
Rotation of axesx′=xcos⁡θ+ysin⁡θx'=x\cos\theta+y\sin\theta, y′=−xsin⁡θ+ycos⁡θy'=-x\sin\theta+y\cos\theta
Before you leave this chapter

Without a pen, answer these four: the distance between 3x+4y=53x+4y=5 and 3x+4y=153x+4y=15; the image of (2,5)(2,5) in y=xy=x; the fixed point of the lines ax+by+c=0ax+by+c=0 with a+b+c=0a+b+c=0; and the orthocentre of the triangle with vertices (0,0)(0,0), (4,0)(4,0), (0,3)(0,3). If 22, (5,2)(5,2), (1,1)(1,1) and (0,0)(0,0) came quickly, the chapter is in place.

Practise these methods on real exam questions in the doMath Straight Lines chapter. The same distance and image formulas run through the Family of Circles note, the vector form of these results is in the Complex Numbers in Coordinate Geometry note, and the trigonometric side of the centres of a triangle is in the Solution of Triangles note.

[ SHARE ] WhatsApp
[ practice these chapters ]
Reinforce this post with live problems on doMath.
Straight LinesCirclesParabolaEllipseHyperbola
← Back to all notes