The angle between the lines kx+y+9=0, y−3x=4 is 45o, then the value of k is :
kx+y+9=0 and θ=45∘
slope=m1=−k
And y−3x=4
slope=m2=3
tanθ=∣∣∣m1−m21+m1m2∣∣∣
tanθ=∣∣∣k+31−3k∣∣∣
tan45∘=1=∣∣∣k+31−3k∣∣∣
⇒1−3k=k+3 or 3k−1=k+3
⇒4k=−2 or 2k=4
k=−12 or k=2