# Why does putting a 1/2 in front of the squared error make the math easier?

Per wiki, the mean squared error (MSE) looks like:

$$\operatorname {MSE} ={\frac {1}{m}}\sum _{i=1}^{m}(y_{i}-{\hat y_{i}})^{2}$$

The professor added a $$1\over2$$ in front of the formula and explained it a little bit. I am a little bit confused. How does putting a $$1\over2$$ in front of the squared error make the math easier?

• Just a guess, but it may simplify mathematics involving the derivative. Jun 4 '19 at 10:02