Find an equation of the tangent to the curve f(x) = 2x2 - 2x + 1 that has slope 2

Answer:
Step-by-step explanation:
The tangent to the curve has one point in common with the curve.
The slope-intercept form of an equation of a line:
[tex]y=mx+b[/tex]
[tex]m[/tex] - slope
[tex]b[/tex] - y-intercept
We have the slope [tex]m=2[/tex].
[tex]y=2x+b[/tex]
Therefore we have the system of equations:
[tex]\left\{\begin{array}{ccc}y=2x^2-2x+1&(1)\\y=2x+b&(2)\end{array}\right[/tex]
substitute (1) to (2):
[tex]2x^2-2x+1=2x+b[/tex] subtract 2x from both sides
[tex]2x^2-4x+1=b[/tex] subtract b from both sides
[tex]2x^2-4x+1-b=0[/tex]
Use the discriminant of a quadratic equation:
[tex]ax^2+bx+c=0\to \Delta=b^2-4ac[/tex]
If Δ = 0, then we have one common point.
Calculate:
[tex]2x^2-4x+1-b=0\\\\\Delta=(-4)^2-4\cdot2\cdot(1-b)=16-8+8b=8-8b[/tex]
[tex]\Delta=0\iff8-8b=0[/tex] subtract 8 from both sides
[tex]-8b=-8[/tex] divide both sides by (-8)
[tex]b=1[/tex]
Finally:
[tex]y=2x+1[/tex]