Tap the blue circles to see an explanation.
$$ \begin{aligned}p\cdot(1-(1-p))& \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle1}{\textcircled {1}} } }}}p(1-1+p) \xlongequal{ } \\[1 em] & \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle2}{\textcircled {2}} } }}}p\cdot1p \xlongequal{ } \\[1 em] & \xlongequal{ }p^2\end{aligned} $$ | |
① | Remove the parentheses by changing the sign of each term within them. $$ - \left( 1-p \right) = -1+p $$ |
② | Combine like terms: $$ \, \color{blue}{ \cancel{1}} \, \, \color{blue}{ -\cancel{1}} \,+p = p $$ |