Since
, and it's non-zero, then in
we have an inverse:
, we can then rationalize that as follows
Now let's observe the denominator , if this equals zero, then we have the following note that division is justified since from the fact that was non-zero. For this equation to make any sense we require that be an integer, which isn't necessarily the case and if it's not the case we've reached a contradiction.
Perhaps is an integer (non-zero), in that case we're saying that there exists some integer such that , but this is a contradiction as clearly the square of any non-zero integer is not prime, thus our original assumption that is false, and thus we can safely write our multiplicative inverse as