Tap the blue circles to see an explanation.
| $$ \begin{aligned}1-(1-p)& \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle1}{\textcircled {1}} } }}}1-1+p \xlongequal{ } \\[1 em] & \xlongequal{ } \cancel{1} -\cancel{1}+p \xlongequal{ } \\[1 em] & \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle2}{\textcircled {2}} } }}}p\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 $$ |