I am having trouble with the following question: Given, $y=x^{3}-2x+3$, Find the equation of the tangent at at x =2.
I tried doing $y_{2}-y_{1}=m(x_{2}-x_{1})$. Then I plugged 2 into the equation and got 7 which I used as my m value but I am not really sure what to do.
We know that $y=x^3-2x+3$.
Take the derivative: $$\frac{dy}{dx}=3x^2-2$$
Substitute $x=2$: $$\frac{dy}{dx}=3\cdot2^2-2=10$$
So, the slope is $10$. Consider that it passes the curve at $x=2\rightarrow y=7$. Therefore, the tangent is $(2,7)$ and the equation is $$y-y_1=m(x-x_1)\\ y-7=10(x-2)\\ y=10x-20+7\\ y=10x-13$$