You are correct that this model will not generalize to numbers outside this range.
My goal was just to have a reference when this questions comes up in a discussion about creating feature interactions that are about differences, multiplications, etc.
So I wanted to show that, yes, the model is capable of approximating it. Of course, we would need a sample that covers the necessary range to generalize.
This is a good topic for a future article.