Show that in an elliptic curve $E/\mathbb{Q}$ the sum of three colinear rational points of it is equal to $O$ exactly when the neutral element of the group $E(\mathbb{Q})$, $O$ is an inflection point of the curve.
Ifound the following in my notes.
Let $C$ be a cubic curve that is defined over a field $k$ and let $O \in C(k)$.
$O$ is an inflection point if and only if $P+Q+R=O$, where $P, Q, R$ are three intersection points of $C$ with a line.
The proof is the following:
If $P, Q, R$ are three intersection points of $C$ with a line, then $R=PQ$. $-R=P+Q$ if and only if $-R=(OO)R=O(PQ)=P+Q$. This hols exactly when $(OO)R=OR$ or otherwise $O=OO$ that means that exactly when $O$ is an inflection point.
Could you explain it to me? I understand that if $P, Q, R$ are three intersection points of $C$ with a line, then $R=PQ$, but I am facing difficulties with the remaining.
EDIT:
Could we say it as follows?
Let R be a point of the curve.
We have that R+(-R)=O. To add the points R,-R we find the third intersection point of the line (R,-R) and the curve, which is R(-R).
Then we take the line (R(-R),O). The third intersection point is R+(-R)=O.
That means that the line (R(-R),O) is the tangent at O. Since R(-R) is the third intersection point of the tangent at O, it should be R(-R)=OO.
If we take the line (OO,R) the third intersection point is (OO)R. So (OO)R=-R.
So we have that the following relation holds: P+Q=(PQ)O, where P,Q points of the elliptic curve and -R=(OO)R.
P,Q,R are collinear, so let R=PQ. P+Q+R=O iff P+Q=-R iff (PQ)O=(OO)R => RO=(OO)R. So (OO,R)=(R,O).
Since the lines are the same it has to hold OO=O,. Does this mean that O is an inflection point?
Have we shown in this way both directions?