Answer: p = 5, p = 1
Step-by-step explanation
Given
Since the roots are equal, then the discriminant must be 0:
where a, b and c are the coefficients of the quadratic expression in the form ax² + bx + c = 0. Then, we must rearrange our equation in the previous form.
0. Multiplying ,p, times the expression inside the parenthesis:
2. Setting the expression to 0:
2. Simplifying the expression by grouping similar terms:
Then, in our case: a = 1, b = –(3 + p), and c = (1 + 3p).
Now, we can replace the value in the discriminant and solve for p:
Finally, we can use the General Quadratic Expression to solve for p:
Now, calculating both results: