Consider that the line shown in the graph is perfectly vertical.
So the angle formed by the line with positive direction of x-axis is 90 degrees,
The solpe (m) of a line making an angle Θ with the positive x-axis is given by,
Substitute the value and obtain the slope as follows,
It is known that the tangent function is undefined at 90 degrees.