# Find largest possible value [closed]

If $$x_1+x_2+x_3+x_4+x_5=8$$ and $$x_1^2+x_2^2+x_3^2+x_4^2+x_5^2=16,$$ where $x_1,x_2,x_3,x_4,x_5\in\Bbb R$.

What is the largest possible value of $x_5$?

## closed as off-topic by John Doe, Saad, ahulpke, paul garrett, NamasteMay 7 '18 at 15:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – John Doe, Saad, ahulpke, paul garrett, Namaste
If this question can be reworded to fit the rules in the help center, please edit the question.

• We're not here to do your homework for you. – Mattos May 7 '18 at 11:23
• Welcome to Math.SE. Two things. First, make sure you show us any work you have done on the problem, we'll be more inclined to help you if we know you've shown an effort. Second, please learn use of Mathjax to formulate questions and answers correctly. Link to Mathjax help here: math.meta.stackexchange.com/questions/5020/… – Rhys Hughes May 7 '18 at 11:31

## 3 Answers

As Logic_Problem_42 correctly pointed out, $x_5$ is at it's greatest when all the other values are equal. Hence, let $x_1=x_2=x_3=x_4=y$ and the resulting equations you will get are: $$4y^2+(x_5)^2=16$$ $$4y+x_5=8$$

We can rearrange the second into: $y=2-\frac{x_5}{4}$ and plug this into the first equation for:

$$4\bigg(2-\frac{x_5}{4}\bigg)^2+(x_5)^2=16$$ $$4\bigg(4+\frac{(x_5)^2}{16}-x_5\bigg)+(x_5)^2=16$$ $$16+\frac{(x_5)^2}{4}-4x_5+(x_5)^2=16$$ and solve from there. You should get $x_5=0$ and $x_5=\frac{16}{5}$

$x_5$ cannot be larger than $4$. Can it be $4$?

Hint: for a given $a$ the minimum of $x_1^2+x_2^2+x_3^2+x_4^2$ under the condition $x_1+x_2+x_3+x_4=a$ is if $x_1=x_2=x_3=x_4$.

• X5 May be fraction also. Because it real number – user9640947 May 7 '18 at 11:25
• @DietrichBurde if $x_5=4-\epsilon$, then via the first statement $x_1+x_2+x_3+x_4=4+\epsilon$, and that throws out the second statement. So $x_5$ has to be a fair bit lower than 4. – Rhys Hughes May 7 '18 at 11:35
• (X1+x2+x3+x4+x5)<=x1^2+x2^2+x3^2+x4^2+x5^2 ........ – user9640947 May 7 '18 at 11:36
• (X1+x2+x3+x4+x5)^2<=x1^2+x2^2+x3^2+x4^2+x5^2 ........k – user9640947 May 7 '18 at 11:37
• @user9640947, please use Mathjax, otherwise what you're saying is hard to understand. math.meta.stackexchange.com/questions/5020/… – Rhys Hughes May 7 '18 at 11:38

Using Inequality

$$\bigg(\frac{x^2_{1}+x^2_{2}+x^2_{3}+x^2_{4}}{4}\bigg)\geq \bigg(\frac{x_{1}+x_{2}+x_{3}+x_{4}}{4}\bigg)^2$$

$$\bigg(\frac{16-x^2_{5}}{4}\bigg)\geq \bigg(\frac{8-x_{5}}{4}\bigg)^2\Rightarrow x_{5}\in\bigg[0,\frac{16}{5}\bigg]$$

equality occus when $x_{1}=x_{2}=x_{3}=x_{4}$