I'm having some trouble in understanding the last step in this sequence of equalities:
$$\max_{c}\frac{c^Taa^Tc}{c^TBc}=\max_{c^TBc=1}c^T a a^Tc =a^TB^{-1}a$$
I would think that the maximum would be equal the biggest eigenvalue of the matrix $B^{-1}aa^T$
I assume $B$ is positive definite. Defining $x=B^{1/2}c$ the problem is $$ \max_{c^TBc=1}|a^Tc|^2=\max_{\|x\|=1}|a^TB^{-1/2}x|^2=\|B^{-1/2}a\|^2=a^TB^{-1}a. $$
EDIT: the eigenvalues of $B^{-1}aa^T$ are the same as the eigenvalues of the (similar) matrix $B^{-1/2}aa^TB^{-1/2}$, which has the same nonzero eigenvalues as the matrix (actually, number) $a^TB^{-1/2}B^{-1/2}a=a^TB^{-1}a$. Your conclusion is right: the maximum is the largest eigenvalue of $B^{-1}aa^T$, and it is $a^TB^{-1}a$.