Find the acute angle between the lines 2x−y+3=0 and x+y+2=0.
Since, slope of line 2x−y+3=0 is −(coefficient of x)(coefficient of y)=−2−1=2
∴m1=2……(i)
Slope of line x+y+2=0 is −(coefficient of x)(coefficient of y)=−11
∴m2=−1……(ii)
Acute angle between lines
tan θ=∣∣m1−m21+m1m2∣∣
θ=tan−1∣∣m1−m21+m1m2∣∣
=tan−1∣∣2−(−1)1+(2)(−1)∣∣
=tan−1∣∣31−2∣∣=tan−1∣∣31∣∣
∴θ=tan−1|3|