Problem: "Show that for any $x,y\in\mathbb{R}$ it is $\sqrt{1+x^2} \le \sqrt{1+y^2}+|x-y|$."
My textbook solves this with the mean value theorem, I tried another solution; can someone check it, please?
My solution: the inequality is equivalent to $\sqrt{1+x^2} -\sqrt{1+y^2}\le|x-y|$. Since for any $u \in \mathbb{R}$ it is $u \le |u|$, it is $ \sqrt{1+x^2}- \sqrt{1+y^2}\le \left|\sqrt{1+x^2}- \sqrt{1+y^2}\right|$; thus, proving $\left|\sqrt{1+x^2}- \sqrt{1+y^2}\right| \le |x-y|$ implies the inequality.
The inequality $\left|\sqrt{1+x^2}- \sqrt{1+y^2}\right| \le |x-y|$ is equivalent to showing that the function $f:\mathbb{R} \to \mathbb{R}$ defined by $f(t)=\sqrt{1+t^2}$ is Lipschitz continuous with Lipschitz constant $\mathcal{L}=1$. A differentiable function is Lipschitz continuous if and only if its derivative is bounded, and its Lipschitz constant is the supremum of the modulus of the derivative. Since $f$ is differentiable on $\mathbb{R}$ with $$f'(t)=\frac{t}{\sqrt{1+t^2}}$$ From $\sqrt{1+t^2} \ge |t|$, it follows that $|f'(t)|\le 1$ and so $1$ is an upper bound for $f'$; since $\lim_{t \to \infty} f'(t)=1$, it follows that $\sup_{t \in \mathbb{R}} \{|f'(t)|\}=1$ and so $f$ is Lipschitz continuous with Lipschitz constant $\mathcal{L}=1$.