Let's start with functions that are easier to think about:
- The function $1/x$ is finite for $x\ne0$, but not for $x=0$. The function approaches $+\infty$ (which I'll hereafter call $\infty$, as is common practice) as $x$ approaches $0$ from the right, but $-\infty$ as $x$ approaches $0$ from the left. This is why you should consider $1/x$ undefined at $x=0$. Every time you catch someone writing $1/0=\infty$, bear this in mind.
- On the other hand, $1/x^2$ approaches $\infty$ as $x$ approaches $0$, no matter which side you come from.
There's nothing paradoxical about either behaviour; some functions are different from others.
It just so happens that the behaviour of $\tan x$ around $\pi/2$ is more like the first example than the second. There's a simple reason for this: if $x$ is close to $\pi/2$, $$\tan x=\frac{1}{\tan\left(\frac{\pi}{2}-x\right)}\approx\frac{-1}{x-\frac{\pi}{2}}.$$In this approximation, the numerator's $-$ sign causes the function to approach $\infty$ when you approach the discontinuity from the left, not the right.
By contrast, $\tan^2x$ approaches $\infty$ as $x$ approaches $\frac{\pi}{2}$, regardless of direction.
You can exhibit the tangent function's behaviour in real life with the right experiment. Suppose you stand halfway between two tall walls, and shine a laser pointer on to one of them. Relative to your wrist, the dot's height is proportional to the tangent of the angle your laser makes with the horizontal. When the angle goes from just above to just below a right angle, or vice versa, you change which wall the dot ends up on (assuming the walls are tall enough to see the dot; if they're not, you'll need to tilt further from the right-angle case). But if you imagine each wall carrying on underground, and the laser pointing in both directions, this is equivalent to saying the other end is now at the bottom of the wall where you previously saw the dot. I suppose the right way to do this experiment is to climb a tower to be halfway between the walls, then use Darth Maul's lightsaber.
Or, if you'll count drawing on paper as "real-life", draw a circle, one of its diameters, and the tangents (the lines, not the function!) to the circle at each end of that diameter. Now rotate another diameter around the circle, but extended to meet the tangents. When the angle this turning diameter makes with the marked one passes a right angle, the ends switch tangents, and each tangent goes from having a point moving "to infinity" in one direction to moving "from infinity" from the other direction.
Even though $1/x$ is conceptually simpler than $\tan x$, it favours more esoteric physical interpretations. For example, as thermodynamic beta passes through $0$, you can get a concept that may confuse at first, called negative temperature.
+infinity
and from right it is-infinity
so it is not defined and it doesn't make sense to say at $\theta = \pi/2$ the function becoems+infinity
. I'll edit the post. Ty:) – AgentS Sep 06 '19 at 14:46