JEE Main 2024MathematicsStraight LinesMediumMCQ

JEE Main 2024Straight Lines Question with Solution

JEE Main 2024 (30 Jan Shift 2)

Question

If x2-y2+2hxy+2gx+2fy+c=0 is the locus of a point, which moves such that it is always equidistant from the lines x+2y+7=0 and 2x-y+8=0, then the value of g+c+h-f equals

Choose an option

Show full solutionCorrect option: A
Correct answer
A14

Step-by-step explanation

Let P(x,y) be the point whose distance from x+2y+7=0 and 2x-y+8=0 is equal.

x+2y+75=±2x-y+85

x2+4y2+49+4xy+28y+14x=4x2+y2+64-4xy-16y+32x

-3x2+3y2-15+8xy+44y-18x=0

3x2-3y2-8xy+18x-44y+15=0

x2-y2-83xy+6x-443y+5=0

Now, on comparing x2-y2+2hxy+2gx+2fy+c=0 with above equation we get,

h=-43, g=3, f=-223, c=5

g+c+h-f=3+5-43+223

g+c+h-f=14

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Straight Lines chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2024, covering the Straight Lines chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.