I'm struggling with a problem that involves finding all real numbers $p$ that satisfy certain conditions related to a quadratic equation. The equation is as follows:
$$p x^2+\left(1+p^2\right) x+p=0$$
The problem asks me to find all values of $p$ for which this equation has two distinct solutions whose ratio is equal to 2. I've attempted to solve this by using the quadratic formula and manipulating the expressions to satisfy the ratio constraint, but I'm not sure if I'm on the right track.
Specifically, how do I use the quadratic formula to find the roots of the equation? I know I have to set the ratio of the two roots equal to 2:
$$\frac{x_1}{x_2}=2$$
Any help would be greatly appreciated. Thanks in advance.
There are 2 cases:
1. $$px^2+(1+p^2)x+p=(px+1)(x+p)=0$$ $$px_1+1=0\quad\text{and}\quad x_2+p=0$$ $$x_1=-\dfrac{1}{p}\quad\text{and}\quad x_2=-p$$ $$\frac{x_2}{x_1}=\dfrac{-p}{-\frac{1}{p}}=p^2=2$$ $$p=\pm\sqrt{2}$$ 2. $$px^2+(1+p^2)x+p=(px+1)(x+p)=0$$ $$px_2+1=0\quad\text{and}\quad x_1+p=0$$ $$x_2=-\dfrac{1}{p}\quad\text{and}\quad x_1=-p$$ $$\frac{x_2}{x_1}=\dfrac{-\frac{1}{p}}{-p}=\dfrac{1}{p^2}=2$$ $$p=\pm\dfrac{1}{\sqrt{2}}$$ So $p\in\left\{\sqrt{2},-\sqrt{2},\dfrac{1}{\sqrt{2}},-\dfrac{1}{\sqrt{2}}\right\}$