How do I continue the question with algebraic methods:
The two solutions of the quadratic equation $3x^2−x+k=0$ are $\dfrac{p}{4}$ and $p+1$. Determine the values of $k$ and $p$.
I asked this question roughly a week ago and a user by the name of Crease said I could substitute $x$ into the equation with the above values resulting in:
$$3\left(\dfrac{p}{4}\right)^2−\dfrac{p}{4}+k=0 \qquad \text{and}\qquad 3(p+1)^2−(p+1)+p=0$$
I continued this and got two final values for $p$ (I only want one).
Crease also said I could simply use Vieta's relations to solve it, and so I did however I showed my teacher this, and he said that I wouldn't be able to use Vieta's relations on the final assessment.
How do I go about solving this problem through algebraic methods without receiving two values for $p$ or $k$?
Thanks in advance for anyone that wishes to help!
Edit: Original question is Finding the x values of a quadratic that has many different variables
A quadratic $ax^2+bx+c$ with roots $x_1,x_2$ factors as $a(x-x_1)(x-x_2)$. In this case:
$$ \require{cancel} \begin{align} & 3x^2 - x + k = 3\left(x-\frac{p}{4}\right)\left(x - (p+1)\right) \\ \iff\;\;\;\; &12x^2-4x+4k = 3\left(4x-p\right)\left(x-(p+1)\right) \\ \iff\;\;\;\; &\cancel{12x^2}-4x+4k = \cancel{12x^2} - (15p+12)x +p(p+1) \\ \iff\;\;\;\; & \begin{cases} 4 &= 15p + 12 \\ 4k &= p(p+1) \end{cases} \end{align} $$
The first equation gives $p=-\frac{8}{15}$, then the second one gives $k$.
[ EDIT ] The reason you got an extraneous value for $p$ is that, by doing the direct substitutions in the equation, you lost the condition that $p/4$ and $p+1$ must be the two roots of the equation, not the same root counted twice. The extra value $p=-4/3$ actually solves the different question "when is $p/4$ a root and at the same time $p/4=p+1$".