Derivatives, Critical Points, and Convexity of the Linear Regression Cost Function
A step-by-step mathematical analysis of the linear regression cost function J(w,b). We compute derivatives, find critical points w* and b*, build variation tables, and prove J is convex with a unique global minimum.