Let $a_{1},a_{2},a_{3},a_{4}$ be rational numbers such that $$\{a_{i}a_{j}|1\le i<j\le 4\}=\{-24,-2,-\dfrac{3}{2},-\dfrac{1}{8},1,3\}$$ Find $a_{1}+a_{2}+a_{3}+a_{4}$
I was able to solve this problem with the following
$$(a_{1}a_{2})(a_{1}a_{3})\cdots (a_{3}a_{4})=(a_{1}a_{2}a_{3}a_{4})^3=(-24)(-2)(-\frac{3}{2})(-\frac{1}{8})(1)(3)=27$$ $$a_{1}a_{2}a_{3}a_{4}=3$$ Could you suggest a helpful idea with $a_{1}+a_{2}+a_{3}+a_{4}$
Building on the idea that $a_1 a_2 a_3 a_4 = 3$, assume WLOG that
$$\begin{align} a_1 a_2=1 \\ a_3 a_4=3 \end{align}$$
and further that
$$\begin{align} a_1=x,\quad a_2=\frac{1}{x},\quad |x|>1 \tag{1}\\ a_3=y,\quad a_4=\frac{3}{y},\quad |y|>\sqrt3 \tag{2} \end{align}$$
Exclude $|x|=1$ because this would mean $a_1 a_3 = a_2 a_3$ which is not allowed.
So then, the greatest magnitude amongst these possible pairwise products is clearly $xy$, and the smallest clearly $\frac{3}{xy}$, so:
$$\left.\begin{array}{c} xy=-24 \\ \frac{3}{xy}=-\frac{1}{8} \end{array}\right\} \implies \boxed{xy=-24} \tag{3}$$
Other possible pairwise products are $\dfrac{y}{x},\dfrac{3x}{y}$ and these are some permutation of $\{-2,-\frac{3}{2}\}$. So
$$\frac{3x/y}{y/x}=\frac{4}{3}\text{ or }\frac{3}{4} \implies 3\frac{x^2}{y^2}=\frac{4}{3}\text{ or }\frac{3}{4} \implies \frac{x}{y}=-\frac{2}{3}\text{ or }-\frac{1}{2} \tag{4}$$
Comparing (4) with (3):
$$y^2=\frac{xy}{x/y}=36\text{ or }48$$
Since $y$ is rational, $y=\pm6$.
$$y=-6,x=4 \implies a_1=4,a_2=\frac{1}{4},a_3=-6,a_4=-\frac{1}{2} \implies a_1+a_2+a_3+a_4=-\frac{9}{4}$$ or $$y=6,x=-4 \implies a_1=-4,a_2=-\frac{1}{4},a_3=6,a_4=\frac{1}{2} \implies a_1+a_2+a_3+a_4=\frac{9}{4}$$
So $$\boxed{a_1+a_2+a_3+a_4=\pm\frac{9}{4}}$$
There may be a cleaner way, e.g. constructing a degree 4 polynomial with the required sum and product of roots. But it may be difficult to ensure that the pairwise products cover the entire set of six values and ensure that the roots are all rational.