Jada is working on solving a quadratic equation, as shown here.
p2−5p=0
p(p−5)=0
p−5=0
p=5
She thinks that her solution is correct because substituting 5 for p in the original expression p2−5p gives 52−5(5), which is 25−25 or 0.
Explain the mistake that Jada made.