Let $ax^2+bx+c=0$ and $px^2+qx+r=0$ be two quadratic equations having same roots (where $a,p≠0$) then prove that,
$\frac{a}{p}=\frac{b}{q}=\frac{c}{r}$
Proof: for the first equation we have,
sum of roots $=-\frac{b}{a}$
Product of roots $= c/a$
and for the second equation we have,
Sum of roots $=-\frac{q}{p}$
Product of roots $=\frac{r}{p}$
Hence, as both equations have same roots we have, sum of roots of first equation is same as sum of the roots of second equation! and similarly for the product!
Hence, $-\frac{b}{a}=-\frac{q}{p}$
and $\frac{c}{a}=\frac{r}{p}$
From which we have, $\frac{a}{p}=\frac{b}{q}$ and $\frac{c}{r}=\frac{a}{p}$
From this we have, $\frac{a}{p}=\frac{b}{q}=\frac{c}{r}$
Is the proof correct?
What if we have $q=0$
Please help
You are correct till "Hence, $...-\frac{b}{a}=-\frac{q}{p}$ and $\frac{c}{a}=\frac{r}{p}$ "
Then, You have written "$\frac{a}{p}=\frac{b}{q}$ and $\frac{c}{r}=\frac{a}{p}$" So, you are asuming that $q\not= 0$ if $q=0$ you cannot write "$\frac{b}{q}$". Hence, for $q= 0$ you have to use $\frac{b}{a}=\frac{q}{p}$ and $\frac{c}{a}=\frac{r}{p}$