while I was doing my homework I got confused since I used two ways to do an equation and gives me different minterm sets. The following are my work, please tell me where I made a mistake.
The original question is $F=A+BC$.
$$F_{(A,B,C)}=A(BC+B'C')+BC(A+A')=ABC+AB'C'+ABC+A'BC.$$
The other way:
\begin{align}F_{(A,B,C)}&=A(B'+B)(C+C')+BC(A'+A)=(AB'+AB)(C+C')+(A'BC+ABC)\\&=AB'C+AB'C'+ABC+ABC'+A'BC+ABC . \end{align}
different results at the end would bring me different values of minterms set. So which one is correct? Thank you for your help!