The general eqaution of second degree ax2+2hxy+by2+2gx+2fy+c=0 Represents a pair of straight lines if Δ=abc+2fgh−af2−bg2−ch2=0
For y2+xy−2x2−5x−y−2=0
a=−2,b=1,h=12,g=−52,f=−12,c=−2Δ=(−2×1×−2)+(2×−12×−52×12)−(−2×−12×−12)−(1×−52×−52)−(−2×12×12)Δ=4+54+12−254+12=0Δ=0
∴ the equation represents a pair of straight lines. The point of intersection is found by partially differentiating the equation first with respect to x and then with respect to y and solving both the equations
∂∂x(y2+xy−2x2−5x−y−2=0)0+y−4x−5−0−0=04x−y+5=0....(i)∂∂y(y2+xy−2x2−5x−y−2=0)2y+x−0−0−1−0=0
x+2y−1=0 .... (ii)
Solving (i) and (ii)
we get x=−1,y=1
So the point of intersection is (−1,1)
Angle between a pair of straight lines that is tanθ=∣∣ ∣∣2√h2−aba+b∣∣ ∣∣
tanθ=∣∣ ∣ ∣ ∣ ∣ ∣∣2√(12)2−(−2)(1)−2+1∣∣ ∣ ∣ ∣ ∣ ∣∣=2×32=3⇒θ=tan−1(3)