If 3 is root of the quadratic equation x2−x+k=0, find the value of p so that the roots of the equation x2+k(2x+k+2)+p=0 are equal.
substitute x=3 in eqn. x2−x+k=0(3)2−3+k=09−3+k=06+k=0k=−6
Now substitute k value in equation
x2+k(2k+k+2)+p=0
we get
x2−12x+24+p=0a=1,b=−12,c=24+pSince roots are equal ,b2−4ac=0=(−12)2−4(1)(24+p)=144−96−4p=048−4p=0−4p=−48p=12