I don't understand why the conversion of ≤ to = in this proof in Spivak's Calculus is legitimate. (The conversion in the previous line from = to ≤ makes sense to me.) Could someone please explain or elaborate on how $(2)$ follows from $(1)$ below?
this proof is motivated by the observation that $$ |a|=\sqrt{a^2} \text {. } $$ We may now observe that $$ \begin{align*} (|a+b|)^2=(a+b)^2 & =a^2+2 a b+b^2 \\ & \leq a^2+2|a| \cdot|b|+b^2 \tag{1} \\ & =|a|^2+2|a| \cdot|b|+|b|^2 \tag{2} \\ & =(|a|+|b|)^2 \end{align*} $$
