Angle between lines with slope m1 and m2 is given by
tanθ=∣∣(m2−m11+m1m2)∣∣inancaseθ=(π4),m2=(12)∴tan(π4)=∣∣∣((12)−m11+m1×(12))∣∣∣1=∣∣(1−2m12+m1)∣∣∴(1−2m12+m1)=+1or1−2m1=2+m1∴3m+1=−1orm1=(13)also(1−2m12+m1)=−1or1−2m1=−2−m1or3=m1∴m1=3or(13)
If the angle between two lines is π/4 and slope of one of the lines is ½, then the slope of the other line is: