Claim: Let $A$ and $B$ be ideals of a commutative ring $R$ and $C$ a prime ideal of $R$. Suppose that the intersection of $A$ and $B$ is a subset of $C$. Prove either $A$ or $B$ is a subset of $C$.
My proof strategy so far is to show $a$ $\in$ $A$ and $b$ $\in$ $B$ implies $ab$ is in both $A$ and $B$ since both are ideals thus $ab$ $\in$ $A \cap B$. Then $ab$ is also in C since the intersection of $A$ and $B$ is a subset of $C$. And since $C$ is prime we must have either $a$ $\in$ $C$ or $b$ $\in$ $C$ whence either $A$ or $B$ is a subset of $C$.
Would my proof be suffice or am I missing anything? Thanks.
The problem is that you've only shown one element of $A$ or $B$ is contained in $C$. To prove the full statement, you assume for contradiction that there exist $a\in A-C, b\in B-C$, and then your argument gives a contradiction.