Solveeit Logo

Question

Mathematics Question on Distance of a Point From a Line

If x2y2+2hxy+2gx+2fy+c=0x^2-y^2+2hxy+2gx+2fy+c=0 is the locus of points such that it is equidistant from the lines x+2y8=0x+2y-8=0 and 2x+y+7=02x+y+7=0, then value of g+c+hfg+c+h-f is

A

29

B

6

C

14

D

8

Answer

14

Explanation

Solution

The locus of the point P(x,y)P(x, y), whose distance from the lines x+2y+7=0x + 2y + 7 = 0 and 2xy+8=02x - y + 8 = 0 is equal, is given by the equation:

x+2y+75=±2xy+85.\frac{x + 2y + 7}{\sqrt{5}} = \pm \frac{2x - y + 8}{\sqrt{5}}.

Simplifying, we get:

(x+2y+7)2=(2xy+8)2.(x + 2y + 7)^2 = (2x - y + 8)^2.

For the combined equation of lines, we have:

(x3y+1)(3x+y+15)=0.(x - 3y + 1)(3x + y + 15) = 0.

Expanding, we get:

3x23y28xy+18x44y+15=0.3x^2 - 3y^2 - 8xy + 18x - 44y + 15 = 0.

Rewriting in standard form:

x2y283xy+6x443y+5=0.x^2 - y^2 - \frac{8}{3}xy + 6x - \frac{44}{3}y + 5 = 0.

Thus, the equation becomes:

x2y2+2hxy+2gx+2fy+c=0,x^2 - y^2 + 2hxy + 2gx + 2fy + c = 0,

where we identify:

h=43,g=3,f=223,c=5.h = \frac{4}{3}, \quad g = 3, \quad f = -\frac{22}{3}, \quad c = 5.

Now, calculate g+c+hfg + c + h - f:

g+c+hf=3+5+43+223=8+6=14.g + c + h - f = 3 + 5 + \frac{4}{3} + \frac{22}{3} = 8 + 6 = 14.