If $a,b,c,d$ are real numbers such that $a^2+b^2+c^2+d^2+a+3b+5c+7d=4$, find the maximal value of $a+b+c+d$.
Hi there, I found this problem in an old Serbian contest archive. It's dated to $2002$, but I can't find any solution online or in the archive (archive is, inconveniently, only problems). I'm not sure where to start here as they're not positive real numbers so I can't use some of the more popular inequalities and it's also really puzzling on how to find a connection between $a^2+b^2+c^2+d^2$ and $a+b+c+d$ as the numbers can be in between $-1,0,1$. I'd really appreciate some help here, thanks!
first make whole squares of all terms. Add $\frac{1}{4},\frac{9}{4},\frac{25}{4},\frac{49}{4}$
So you get $$ ( a^2+2(\frac{1}{2})a+(\frac{1}{2})^2 ) + ( b^2+2(\frac{3}{2})b+(\frac{3}{2})^2 )+ ( c^2+2(\frac{5}{2})c+(\frac{5}{2})^2 )+( d^2+2(\frac{7}{2})d+(\frac{7}{2})^2 ) $$$$= 4+\frac{1}{4}+\frac{9}{4}+\frac{25}{4}+\frac{49}{4}$$
this implies
$$(a+\frac{1}{2})^2+(b+\frac{3}{2})^2+(c+\frac{5}{2})^2+(d+\frac{7}{2})^2 = 25$$
Now apply Cauchy-Schwarz inequality,
So
$${(a+\frac{1}{2})+(b+\frac{3}{2})+(c+\frac{5}{2})+(d+\frac{7}{2})} \leq \sqrt{{(a+\frac{1}{2})^2+(b+\frac{3}{2})^2+(c+\frac{5}{2})^2+(d+\frac{7}{2})^2}}*\sqrt{4}$$
Solving gives $$a+b+c+d \leq 2$$