Suppose I have two quadratic forms $Q_i(x)=(x-a_i)^T A_i(x-a_i)+c_i$, $i=1,2$ where $x,a_i \in \Bbb{R}^n$ and $A_i$ are positive-definite $n\times n$ matrices.
Then $Q(x)=Q_1(x)+Q_2(x)$ is also a quadratic form, $Q(x)=(x-a)^T A(x-a)+c$, with $A=A_1+A_2$ (easy to see by considering just the quadratic terms).
How do I find $a$ and, especially, $c$?
$\min_x Q(x)=a$ so, taking the derivative, $$2A_1(a-a_1)+2A_2(a-a_2)=0$$ and
$$a=(A_1+A_2)^{-1}(A_1a_1+A_2a_2)$$
thus
$$c=Q(a)=Q_1(a)+Q_2(a)$$