Disclaimer
I am new here so please mind how i have executed this question. Feel free to comment on how to improve as i have read on “how to ask a good question”.
Problem
I am having trouble answering this quadratic equation that my teacher at school used. I do not know where she had gotten this equation from.
Equation:
$$x^2-(k+1)x+k+1=0$$
Quadratic Formula: $$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$
My teacher got the final answer of $$x=\frac{(k+1)\pm k}{2}$$
I have asked my teacher on how to solve for x, however she said she won’t show the steps on how to solve this problem because it is simply too easy. When i don’t understand how she got that answer.
My working out
I have simply found my coefficients for x^2 and x, and my constant is k+1.
a= 1
b= (-k-1)
c= k+1
I am not sure if c actually equals k+1
Then I put them into the quadratic formula.
$$x=\frac{-(-k-1)\pm\sqrt{(-k-1)^2-4\times 1\times k+1}}{2\times 1}$$
Which then i get
$$x=\frac{(k+1)\pm\sqrt{k^2+1-4k-3}}{2}$$
I don’t know what to do next and if my answer can be correct, please help.