Animated Solution for Mathematics - Straight Lines: 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
Select Answer:
Visualized Solution
The Geometric Setup
Given lines: L1:x+2y+7=0 and L2:2x−y+8=0
We need the locus of a point P(x,y) equidistant from both lines.
This locus represents the angle bisectors of the two lines.
Equating Perpendicular Distances
Distance from (x,y) to ax+by+c=0 is d=a2+b2∣ax+by+c∣
Let d1 be the distance to L1 and d2 be the distance to L2.
Condition: d1=d2
Substituting the Equations
For L1: d1=12+22∣x+2y+7∣
For L2: d2=22+(−1)2∣2x−y+8∣
Equating them: 5∣x+2y+7∣=5∣2x−y+8∣
Simplifying the Equation
The denominators 5 cancel out perfectly.
We are left with: ∣x+2y+7∣=∣2x−y+8∣
Squaring both sides to remove absolute values:
(x+2y+7)2=(2x−y+8)2
Rearranging as Difference of Squares
Bring all terms to the left side:
(x+2y+7)2−(2x−y+8)2=0
This is now in the form a2−b2=0.
Factoring the Expression
Using a2−b2=(a−b)(a+b):
[(x+2y+7)−(2x−y+8)]⋅[(x+2y+7)+(2x−y+8)]=0
Simplifying the Factors
Simplify the first bracket (Difference):
(x−2x)+(2y−(−y))+(7−8)=−x+3y−1
Simplify the second bracket (Sum):
(x+2x)+(2y−y)+(7+8)=3x+y+15
Combined: (−x+3y−1)(3x+y+15)=0
Expanding to the Joint Equation
Multiply the two factors to get the joint equation:
−3x2−xy−15x+9xy+3y2+45y−3x−y−15=0
Combine like terms:
−3x2+3y2+8xy−18x+44y−15=0
Standardizing the Equation
The problem gives the locus in the form: x2−y2+2hxy+2gx+2fy+c=0
Our equation starts with −3x2.
Divide the entire equation by −3:
x2−y2−38xy+6x−344y+5=0
Comparing Coefficients
Compare x2−y2−38xy+6x−344y+5=0 with the standard form.
2h=−38⟹h=−34
2g=6⟹g=3
2f=−344⟹f=−322
c=5
Final Evaluation
We need to find the value of g+c+h−f.
Substitute the values:
=3+5+(−34)−(−322)
=8−34+322
=8+318=8+6=14
Final Answer:14
00:00 / 00:00
The Sigma Insight: Angle Between Two Lines
Solution Diagram
Analyzing the Setup
Imagine you are standing at the intersection of two roads, represented by the lines L1:x+2y+7=0 and L2:2x−y+8=0. You are tasked with finding the path of a point P(x,y) that maintains a perfect, unwavering balance—it must always be equidistant from both roads.
This is not just an algebraic exercise; it is the definition of an angle bisector. When you solve for this locus, you are essentially finding the lines that slice the angles between these two roads exactly in half.
The Algebraic Compass
To translate this geometric intuition into the language of mathematics, we rely on the perpendicular distance formula. For any point (x,y) and a line Ax+By+C=0, the distance d is given by:
d=A2+B2∣Ax+By+C∣
We set the distance to L1 equal to the distance to L2. Substituting our lines, we get:
12+22∣x+2y+7∣=22+(−1)2∣2x−y+8∣
Notice the elegance here: both denominators simplify to 5. This is no coincidence; it reveals that our original lines are perpendicular to each other! With the denominators canceling out, we are left with the beautiful simplicity of:
∣x+2y+7∣=∣2x−y+8∣
The Power of Difference of Squares
Now, we face the absolute value bars. A common mistake is to panic and expand everything immediately. Instead, let us be strategic.
By squaring both sides, we obtain (x+2y+7)2=(2x−y+8)2. Rather than expanding these trinomials, we bring everything to one side:
(x+2y+7)2−(2x−y+8)2=0
This is the classic difference of squares identity: a2−b2=(a−b)(a+b). Applying this, we get:
[(x+2y+7)−(2x−y+8)]⋅[(x+2y+7)+(2x−y+8)]=0
Simplifying the terms inside the brackets yields (−x+3y−1)(3x+y+15)=0. These two linear factors are the equations of our two angle bisectors.
The Final Normalization
To find the joint equation, we multiply these factors:
−3x2+3y2+8xy−18x+44y−15=0
The problem asks us to match this with the form x2−y2+2hxy+2gx+2fy+c=0. Our equation starts with −3x2, so we divide the entire expression by −3 to normalize it:
x2−y2−38xy+6x−344y+5=0
Now, we simply compare coefficients: 2h=−38⇒h=−34, 2g=6⇒g=3, 2f=−344⇒f=−322, and c=5.
Finally, calculating g+c+h−f gives us:
3+5+(−34)−(−322)=8+318=8+6=14
We have arrived at the destination. The path was clear, the logic was sound, and the result is 14.