^Yeah, your maths is wrong. You forgot to differentiate with respect to x.


Seriously though...that is messed up.