# Rational Numbers with Denominators Coprime to Prime under Addition form Group

## Contents

## Theorem

Let $p$ be a prime number.

Let $\Q_p$ denote the set:

- $\left\{{\dfrac r s : s \perp p}\right\}$

where $s \perp p$ denotes that $s$ is coprime to $p$.

Then $\left({\Q_p, +}\right)$ is a group.

## Proof

Taking each of the group axioms in turn:

### G0: Closure

$\Box$

### G1: Associativity

As $\Q_p \subseteq \Q$ the result follows directly from Rational Addition is Associative and Restriction of Associative Operation is Associative.

$\Box$

### G2: Identity

- $\dfrac 0 1 \in \Q_p$

regardless of our choice of $p$.

By the definition of addition on $\Q$:

- $\dfrac a b + \dfrac 0 1 = \dfrac a b$

and

- $\dfrac 0 1 + \dfrac a b = \dfrac a b$

for all $\dfrac a b \in \Q$.

Hence $\dfrac 0 1$ is the identity.

$\Box$

### G3: Inverses

For $\dfrac a b$ we have that $\dfrac {-a} b$ is the inverse of $\dfrac a b$.

As it has the same denominator as $\dfrac a b$ we have that $\dfrac {-a} b \in \Q_p$ as well.

$\blacksquare$

## Sources

- 1974: Thomas W. Hungerford:
*Algebra*