A upright parabola opening downwards passes through the following points: $$(0,0), (p,q), (q,p), (p+q, k)$$ Find $k$ in terms of $p,q$.
Of course one can always plug points into the standard parabola equation to find the coefficients and use that to find $k$. However, given the symmetry of the points, could there be a more elegant way of finding the solution?
Added: Also is there a corresponding geometrical interpretation?
This problem was inspired by another problem here on arithmetic progressions.
That parabola passes through the origin means $x=0$, so it looks like $y=ax^2+bx$. Plugging the other 2 points and subtracting you get $$ -(p-q) = a(p^2-q^2) + b(p-q) $$ and now (assuming $p \ne q$, divide by $p-q$ to get $$ -1 = a(p+q) + b $$ which easily solves for $p+q$ without constructing the equation directly.