Cho ba véc-tơ $\overrightarrow{a}$, $\overrightarrow{b}$, $\overrightarrow{c}$ khác $\overrightarrow{0}$, thỏa mãn $\overrightarrow{a}+\overrightarrow{b}+3\overrightarrow{c}=\overrightarrow{0}$, $\left |\overrightarrow{a}\right |=a$, $\left |\overrightarrow{b}\right |=b$, $\left |\overrightarrow{c}\right |=c$. Tính $A=\overrightarrow{a}\cdot \overrightarrow{b}+\overrightarrow{b}\cdot \overrightarrow{c}+\overrightarrow{c}\cdot \overrightarrow{a}$.
$A=\dfrac{1}{2}\left (3c^2-a^2+b^2\right )$
$A=\dfrac{1}{2}\left(3c^2-a^2-b^2\right)$
$A=\dfrac{1}{2}\left (3c^2+a^2-b^2\right )$
$A=\dfrac{1}{2}\left (3c^2+a^2+b^2\right )$