Syntax error is when the equation doesn't make sense, for example: 2+/2. You can't put adjacent operatives next to each other. That is a syntax error.
Dividing by zero is understood and is valid. Most of the time it would give a "divide by zero" error or a math error, but more advanced calculations can result in infinity.
Source: I'm chink, I'm good at math and flying ninja arts.