Let y=mx be a line common to both
∴am2+2m+1=0 and m2+2m+a=0
∴m22(1−a)=ma2−1=12(1−a)
∴m2=1 and m=−12(a+1)
∴14(a+1)2=m2=1
or (a+1)2−(2)2=0
or (a+3)(a−1)=0∴a=−3,1
For a=1, the equations become identical so that both
the equations are common. Since only one equation is
common, we choose a=−3.
The two pairs are x2+2xy−3y2=0
and −3x2+2xy+y2=0
or (x+3y)(x−y)=0 and −(x−y)(3x+y)=0
x−y=0 is the common line and the other lines are given
by x+3y=0,3x+y=0.
Their joint equation is (x+3y)(3x+y)=0
or 3x2+10xy+3y2=0