设原直线的倾斜角为α,旋转45°后,倾斜角为α-45°,
a=tan(α-45°)=(tanα-tan45°)/(1+tanα*tan45°)
=( tanα-1)/(1+ tanα)
=(k-1)/(1+k)