I was trying to find real numbers p, q and r that satisfy both:
$p^2 + 4q^2 + 9r^2 = 729$ and $ 8p+8q+3r = 243$
I checked the answer, it said that we need to construct an inequality:
$(8p+8q+3r)^2 <=(p^2 + 4q^2+9r^2)(8^2+4^2+1^2)$.
The inequality could be derived from scalar product of a and b, by letting $a=\pmatrix{8\\4\\1\\}$ and $b=\pmatrix{p\\2q\\3r}$.
So, if we substitute the values in, and let the equality holds true, for which $a=\lambda b$ we would be able to solve the question. My question is, why do we need to let the equality to hold true. I am very confused.
Thank you so much for your reply.
The root of the discriminant for the quadratic equation in $p$ is $$ \sqrt{ - 784r^2 + 3888r - 729}. $$ This need to be non-negative. Then we have a real solution. This can happen, say, for example with $r=1$ and $$ p=\frac{94+\sqrt{95}}{4}, q=\frac{47-2\sqrt{95}}{8}. $$