JEE Main 2026 Mathematics question — Distance from a line, foot of perpendicular and image
A rectangle is formed by the lines x=0,y=0,x=3 and y=4. Let the line L be perpendicular to 3x+y+6=0 and divide the area of the rectangle into two equal parts. Then the distance of the point (21,−5) from the line L is equal to :
SOLUTION
Rectangle vertices are bounded by x=0,y=0,x=3,y=4
Center of the rectangle: C=(23,2)
Line L is perpendicular to 3x+y+6=0: Slope of L(mL)=−3−1=31
Equation of line L passing through C(23,2):
y−2=31(x−23)⟹3y−6=x−23⟹2x−6y+9=0
Perpendicular distance d of point P(21,−5) from line L: