Let $i_1,i_2$ and $j_1,j_2$ be non-zero real roots of $ax^2+bx+c$ and $px^2+qx+r$ respectively, where a,p $\neq$0. If the system of equations $ i_1y+i_2z=0$ and $j_1y+j_2z=0$ has a non-trivial solution, then prove that$ b^2 pr= q^2 ac$.
I proved it as follows -
Let $i_1 = \frac{-b + \sqrt{b^2 -4ac}}{2a}$ and $i_2=\frac{-b - \sqrt{b^2 -4ac}}{2a}$
$j_1 = \frac{-q + \sqrt{q^2 -4pr}}{2p}$ and $j_2=\frac{-q - \sqrt{q^2 -4pr}}{2p}$
$ i_1y+i_2z=0$ can be re-arranged to $$\frac{b}{2a} (y+z) = \frac{\sqrt{b^2 -4ac}}{2a}(y-z)$$ $$b(y+z)=\sqrt{b^2 -4ac}(y-z) -------------1$$ Similarly, $$q(y+z)=\sqrt{q^2 -4pr}(y-z) -------------2$$ can be obtained.
I can't think of a way to say that y$\neq$ z , but, $\frac{[1]}{[2]}$ will give the required relationship.
Is my method correct and is there a way to solve this using matrices?
I know the systems of equations can be written as -
$$\begin{pmatrix} a & b \\ p & q \end{pmatrix} \begin{pmatrix} x^2\\ x \end{pmatrix} = \begin{pmatrix} -c\\ -r \end{pmatrix}$$ and $$\begin{pmatrix} i_1 & i_2 \\ j_1 & j_2 \end{pmatrix} \begin{pmatrix} y\\ z \end{pmatrix} = \begin{pmatrix} 0\\ 0 \end{pmatrix}$$ but I do not know how to continue this method. Any help is appreciated.
You can use a fact about matrices, namely that if $A$ is square and $A{\bf x}={\bf0}$ has a non-trivial solution then $\det A=0$. This gives $$i_1j_2=i_2j_1\ .$$ Now substitute in formulae for the roots and simplify: $$\bigl(-b+\sqrt{b^2-4ac}\bigr) \bigl(-q+\sqrt{\smash{q^2-4pr}\vphantom{b^2}}\bigr) =\bigl(-b-\sqrt{b^2-4ac}\bigr) \bigl(-q-\sqrt{\smash{q^2-4pr}\vphantom{b^2}}\bigr)$$ so $$-b\sqrt{\smash{q^2-4pr}\vphantom{b^2}}-q\sqrt{b^2-4ac} =b\sqrt{\smash{q^2-4pr}\vphantom{b^2}}+q\sqrt{b^2-4ac}\ .$$ Hence $$2b\sqrt{\smash{q^2-4pr}\vphantom{b^2}}=-2q\sqrt{b^2-4ac}\ ,\tag{$*$}$$ and squaring both sides completes the proof.
Note that if we arranged the roots differently in our first equation, then $(*)$ would become $$2b\sqrt{\smash{q^2-4pr}\vphantom{b^2}}=2q\sqrt{b^2-4ac}\ ,$$ but since we are going to square both sides, it doesn't change the result.
In your solution, you should consider two more cases. Note that $y,z$ form a non-trivial solution of the linear equations, so they are not both zero.
In both cases the result follows easily.