Question
Mathematics Question on Distance of a Point From a Line
If x2−y2+2hxy+2gx+2fy+c=0 is the locus of points such that it is equidistant from the lines x+2y−8=0 and 2x+y+7=0, then value of g+c+h−f is
A
29
B
6
C
14
D
8
Answer
14
Explanation
Solution
The locus of the point P(x,y), whose distance from the lines x+2y+7=0 and 2x−y+8=0 is equal, is given by the equation:
5x+2y+7=±52x−y+8.
Simplifying, we get:
(x+2y+7)2=(2x−y+8)2.
For the combined equation of lines, we have:
(x−3y+1)(3x+y+15)=0.
Expanding, we get:
3x2−3y2−8xy+18x−44y+15=0.
Rewriting in standard form:
x2−y2−38xy+6x−344y+5=0.
Thus, the equation becomes:
x2−y2+2hxy+2gx+2fy+c=0,
where we identify:
h=34,g=3,f=−322,c=5.
Now, calculate g+c+h−f:
g+c+h−f=3+5+34+322=8+6=14.