Let $\Omega$ be a convex set in $\Bbb{R}^n$. We say that that $f:\Omega\to \Bbb{R}$ is convex if $$f(tx+(1-t)y)\leq tf(x)+(1-t)f(y),\;\forall\;0\leq t\leq 1,\;\&\;\forall\;x,y\in \Omega.$$ I want to show that if $f$ is convex and differentiable on $\Omega,$ then $$f(x)-f(y)\geq f'(y)(x-y),\;\forall \;x,y\in \Omega.$$
I'm thinking of using Partial derivatives but don't know how to go about it. Please, can anyone help out?
Let $x,y \in \Omega$, $t \in [0,1]$ and $$ g(t)=f(tx+(1-t)y)-tf(x)-(1-t)f(y)$$ the convexity of $f$ imply that $g(t) \leq 0$ for every $t \in [0,1]$ and $g(0)=0 $ so $$\frac{g(t)-g(0)}{t} \leq 0 \quad \forall t \in ]0,1] $$ now taking the limit when $t \rightarrow 0^+$ we have $$ g'(t)= f'(y)(x-y)-f(x)+f(y) \leq 0 $$ So, here you are!