It's a little simpler to derive the least squares smoothing function http://stats.stackexchange.com/a/138342
It's a little simpler to derive the least squares smoothing function http://stats.stackexchange.com/a/138342