I am practicing for a math contest and I encountered the following problem that I don't know how to solve:
For which value of $b$ is there only one intersection between the line $y = x + b$ and the parabola $y = x^2 + 5x + 3$?
How do I solve it?
Edit: I made a mistake typing the problem. It should be $y = x^2 - 5x + 3$ instead of $y = x^2 + 5x + 3 $ the answer key says the answer is -6.
Hint: $$x^2+5x+3=x+b\iff x^2+4x+3-b=0,$$ this quadratic equation should have exactly one solution therefore the discriminant $\Delta=?$