Support of the density of a transformation of a random variable $Y = \frac{1}{X}$ with $f_X(x) = \frac{1}{\pi(1+x^2)}$ Suppose we are asked to show that if $X$ is a random variable with density ($\forall x \in \mathbb{R}$) $$f_X(x) = \frac{1}{\pi(1+x^2)} ,$$
then $Y = \frac{1}{X}$ has the same distribution as $X$ ($Y \sim X$).  I am well aware of the approach to take here:  indeed, we can compute the density of $Y$ by first calculating the cumulative distribution of $Y$, $F_Y$, in terms of the cumulative distribution of $X$, $F_X$.

$$\begin{align} F_Y(y) = \mathbb{P}(Y \leq y)  &amp;= \mathbb{P}\left(\frac{1}{X} \leq y\right) \\ &amp;=^{[\text{if } y \neq 0]} \mathbb{P}\left(X \geq \frac{1}{y}\right) \\ &amp;= 1 - \mathbb{P}\left(X \leq \frac{1}{y}\right) \\ &amp;= 1 - F_X \left(\frac{1}{y}\right). \end{align}$$

Continuing with the computation, we can take the derivative with respect to $y$ to obtain the density of $Y$.  To this end, we have

$$f_Y(y) = \frac{\text{d}}{\text{d}y}F_Y(y) = -f_X \left(\frac{1}{y}\right) \cdot \left(-\frac{1}{y^2}\right) = \frac{1}{y^2} f_X \left(\frac{1}{y}\right) = \frac{1}{y^2}\frac{1}{\pi\left(1 + \frac{1}{y^2}\right)} = \frac{1}{\pi(1+y^2)},$$
for all $y \neq 0.$  My question is in regards to this last restriction which comes from the third equality in the first set of equations.  The distributions surely cannot be the same if one holds for all $x$ and the other holds for all $y \neq 0$.  Am I missing something here?  It's a small but important detail for me.  I appreciate any input, thank you.
Technically, density is defined through integration (rather than differentiation). Given a distribution function $F$, any non-negative Lebesgue measurable function $f$ such that

$$F(x) = \int_{-\infty}^x f(t) \, dt, x \in \mathbb{R} \tag{1}$$ 

is called a density function of $F$ (with respect to Lebesgue measure).  For a more general definition under a measure context,
see page $213$ of Probability and Measure by Patrick Billingsley.

Therefore, technically speaking, given any distribution function $F$, its density is an equivalent class of functions: as long as $f_1$ and $f_2$ agree outside a set of Lebesgue measure $0$, and both of them satisfy $(1)$ and non-negativity, both of them can be referred to as density of $F$.

Regarding to your case, what really matters is whether 

$$\int_{-\infty}^z f_X(z) \, dz = \int_{-\infty}^z f_Y(z) \, dz.$$

If the above equation can be verified, then $X$ and $Y$ will have the same distribution.
$\displaystyle \dfrac 1 X \le y$ would be equivalent to $\displaystyle X \ge \dfrac 1 y$ if $X$ were always positive, but it has probability $1/2$ of being negative.  If $y&gt;0$ then you have
$$
\Pr\left( \frac 1 X \le y \right) = \Pr\left( X &lt;0 \right) + \Pr\left( X \ge \frac 1 y \right).
$$
If $y&lt;0$ then you have
$$
\Pr\left( \frac 1 X \le y\right) = \Pr\left( \frac 1 y \le X &lt; 0 \right).
$$

As to your claim that the distributions of $X$ and $1/X$ cannot be the same, do you have an argument for that?  In fact they are the same.  Here's a geometric argument for that.  A fixture rotating at a uniform rate atop a tower shines lights in straight beams in directions at right angles to each other -- thus there are four such beams.  Some distance from the tower stands a high straight wall extending to infinity in both directions (built by Donald Trump to keep aliens out).  The point on the wall nearest the tower is $x=0$.  Geometry exercise: when one light shines at the point $X$, then one at a right angle to it shines at $-1/X$.  Now choose a point in time at random.  What are the distributions of $X$ and $-1/X$?  By symmetry, they are identical.