To set up notation: Let $f:S^3\to S^2$. For a volume form $\omega$ on $S^2$, $f^*\omega$ is a closed two form on $S^3$, which can be written as $d\alpha$ for some 1 form $\alpha$. The number $$\int_{S^3}\alpha\wedge d\alpha$$ is called the Hopf invariant of $f$.
My goal is to show that the result is independent of our choice of $\alpha$. Here are my thoughts: If $\beta$ satisfies $d\beta=f^*\omega$, then we should have $\alpha=\beta+\xi$, where $\xi$ is a closed form on $S^3$. This means that $\alpha\wedge d\alpha=(\beta+\xi)\wedge d\beta=\beta\wedge d\beta +\xi\wedge d\beta$. So it seems like we must show $$ \int_{S^3}\xi\wedge d\beta=0. $$ This is where I am stuck. I feel like I am either way off base, or need to apply Stokes Theorem somehow, but I am not sure how I should proceed.