The mashing part is definitely a
physical change. However, the boiling part has caused a change hat allows the potatoes to be mashed, that was chemical. Bonds were broken by the heat. But, heating is not always chemical, just when it causes a change to occur.