- $\frac{\text{b}^2-\text{a}^2}{2\text{ab}}$
Solution:
Intercepts of line are a and -b; i.e., line passes through the points (a, 0), (0, -b).
$\therefore$ Slope of line, $\text{m}_1=\frac{-\text{b}-0}{0-\text{a}}=\frac{\text{b}}{\text{a}}$
Intercepts of line are b, -a; i.e., line passes through the points (b, 0), (0, -a).
$\therefore$ Slope of line, $\text{m}_2=\frac{-\text{a}-0}{0-\text{b}}=\frac{\text{a}}{\text{b}}$
If $\theta$ is the angle between the lines, then
$\tan=\theta=\frac{\frac{\text{b}}{\text{a}}-\frac{\text{a}}{\text{b}}}{1+\frac{\text{a}}{\text{b}}\times\frac{\text{b}}{\text{a}}}=\frac{\frac{\text{b}^2-\text{a}^2}{\text{ab}}}{2}=\frac{\text{b}^2-\text{a}^2}{2\text{ab}}$