where a and b are positive integers with no common factors (i.e., gcd(a,b)=1). Squaring both sides, we get:
p=b2a2
Multiplying both sides by b2, we get:
a2=pb2
This means that p divides a2. Since p is prime, it follows that p divides a. Let a=kp for some integer k. Substituting back into the equation above, we get:
p=b2k2p2
This implies that b2=k2p, and thus p divides b2. Again, since p is prime, it follows that p divides b. However, this contradicts the assumption that gcd(a,b)=1, because p now appears as a common factor of both a and b.
Therefore, our assumption that p is rational must be false, and therefore, p is irrational.
p
p
p=ba
where a and b are positive integers with no common factors (i.e., gcd(a,b)=1). Squaring both sides, we get:
p=b2a2
Multiplying both sides by b2, we get:
a2=pb2
This means that p divides a2. Since p is prime, it follows that p divides a. Let a=kp for some integer k. Substituting back into the equation above, we get:
p=b2k2p2
This implies that b2=k2p, and thus p divides b2. Again, since p is prime, it follows that p divides b. However, this contradicts the assumption that gcd(a,b)=1, because p now appears as a common factor of both a and b.
Therefore, our assumption that p is rational must be false, and therefore, p is irrational.