optimization-translation2
The difference in cost function is the signed area of the shaded region, where the sign is whether the point is above or below the red curve.
The difference in cost function is the signed area of the shaded region, where the sign is whether the point is above or below the red curve.