Find the constant \(p\) such that \(x^2-5x+2x-p\) is the square of a binomial.
Simplify as
x^2 -3x - p
{ p must be negative }
To find p
take (1/2) of (-3) = -3/2.....square it = 9/4
p = -9/4
Check
x^2 -3x - (-9/4) =
x^2 -3x + 9/4 =
(x -3/2)^2