This article is within the scope of WikiProject Plants, a collaborative effort to improve the coverage of plants and botany on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
It would be more accurate to say that these are examples of plant behaviors that can be modeled by math. It's like saying that a spring can do mathematics because it stretches twice as far when you put twice as much weight on it. The only math is happening in the brain of the human who is observing.