prove by contradiction that $(p/q)^2 =3$ has no solution

610 Views Asked by At

Prove that the equation $\big(\frac{p}{q}\big)^2 = 3$ has no solution for $p,q$ that belong to $\mathbb{N}$. Can anyone please provide a solution to this problem?

3

There are 3 best solutions below

3
On

WLOG, assume that $p$ and $q$ are coprime. $$\left(\frac{p}{q} \right)^2=3 \iff p^2=3q^2 \equiv 0 \pmod {3}$$ Thus $$p \equiv 0 \pmod {3} \iff p=3k, k \in \mathbb{N}$$ So $$3q^2=p^2=9k^2 \iff q^2=3k^2 \implies q \equiv 0 \pmod {3}$$ So $p \equiv q \equiv 0 \pmod {3}$. Contradiction to the assumption that $p$ and $q$ are coprime.

So there are no solutions.

0
On

Suppose there are $p_0, q_0 \in \mathbb{N}$ so that $(p_0 / q_0 )^2 = 3 $ and assume $\gcd( p_0, q_0) = 1$. Then,

$$ p_0^2 = 3 q_0^2 \implies 3 | p_0 \implies p_0 = 3 n, \; \; \; \text{some} \; \; n \in \mathbb{Z}$$

Now, show that $3$ also divides $q_0$.

1
On

If $p^2= 3q^2$, then the exponent of $3$ in the factorization of the LHS is even but is odd on the RHS.