I have a function $f(x)$ which is convex with respect to $x$. Suppose if I introduce a new variable $y=x+c$ where $c$ is some positive constant then will $f(y)=f(x+c)$ be also convex? Thanks in advance.
2026-03-27 16:39:49.1774629589
Related to the convexity of the following function?
25 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Graphically, you are just translating the graph horizontally, so yes, it is convex.
Suppose $f(x)$ is convex, now let $g(x)=f(x+c)$,
\begin{align} g( \lambda x_1 + (1-\lambda) x_2) &= f( \lambda x_1 + (1-\lambda) x_2+c) \\ &=f( \lambda (x_1+c) + (1-\lambda) (x_2+c)) \\ &\le \lambda f(x_1+c)+(1-\lambda)f(x_2+c) \\ &=\lambda g(x_1) + (1-\lambda) g(x_2) \end{align}