Sorry for the dumb question; something about this proof seems off and I was wondering what (if anything) is wrong with it.
Assume $p$, $q$ are integers. We prove by contradiction.
$\sqrt3 = p/q$
$(\sqrt3)^3 = (p/q)^3$
$3 = p^3/q^3$
$3q^3 = p^3$
$\sqrt[3]{3q^3} = \sqrt[3]{p^3}$
$3q = p$
Then we substitute into the original equation:
$\sqrt 3 = 3q/q$
$\sqrt 3 = 3$
But it $3\cdot 3$ is clearly not $3$; so we have a contradiction.
Thanks in advance for any help!
Your proof is incorrect. You've mixed up cube roots and square roots; in fact, it's hard to ascertain what you have done. $\sqrt{3}^3$ is certainly not equal to $3$, and then you simply took the cube root of that, which would make the statement $\sqrt{3}q=p$. I would recommend you to read up on surds again.
The correct proof would be a derivative of the proof that the square root of $2$ is irrational.
Here's how:
Let $\sqrt3 = \frac{p}{q}$, where $\gcd(p,q)=1$, and $p,q\in \Bbb N$.
Thus $3=\frac{p^2}{q^2} \Rightarrow 3p^2=q^2$, which implies that $3|q$. Why is this true? I urge you to try it out on some numbers yourself: if a prime divides the product of two numbers, it must divide the numbers themselves. This is known as Euclid's Lemma. Here, the two numbers are $q$ and $q$. They multiply together to form $q^2$, and thus since $p$ cannot possibly divide $q$, we are left with $3$ dividing $q$.
Again, let $q=3a \Rightarrow p^2=9a^2$, which implies that $3|p$ (Why?) contradicting the fact that they are relatively prime. This proves that our assumption was wrong, and $\sqrt{3}$ cannot possibly be written as a rational.