I'm currently looking at two rational points $ p, q $ on an elliptic curve $E$ over $ \mathbb{Q} $. SAGE tells me that $E$ has rank 5 and no torsion, and that $p$ and $q$ both have infinite order. This is good news, but what I really want is for the subgroup of $E$ generated by $p, q $ to have rank 2. Is there a way for me to check that $q$ is not a multiple of $p$ (or vice versa)?
I am extremely far from being an expert here, but somehow I have in my mind that the heights of the points will be useful. The heights of $p$ and $q$ aren't integral multiples of each other (approximately 5.5 and 5.9 respectively). Is this sufficient to show that they generate a subgroup of rank 2?