I have a function and I don't know it is whether convex or non-convex: $$J(c,\alpha)=\int_\Omega ( \alpha c-I(x))^2u \, dx+ \|\alpha\|^2$$ where $0 \le u \le 1$, $I(x): \Omega \to R$, $c$ is constant
Is it convex function? As my knowlegde, it is convex function because $\int_\Omega ( \alpha c-I(x))^2u \, dx$ is convex function in term of $0 \le u \le 1$ and $ \|\alpha\|^2$ is also convex, then totally, $J(c,\alpha)$ is convex.
As a function of $c$, it is convex. As a function of $\alpha$, it is convex. But it is not jointly convex in $\alpha$ and $c$.