
Bradford T. answered 08/29/21
Retired Engineer / Upper level math instructor
I think what you are confused about is that the general slope for every point on the cubic curve, f(x) = x3 is 3x2. For the slope of a tangent line at a given point, you have to evaluate 3x2 at a given point.
For example to find the tangent line of a curve at (2, 8), the slope at that point, m = 3(2)2 = 12.
The equation for the line tangent to x3 at (2,8) is:
y-y0 = m(x-x0)
y-8 = 12(x-2) = 12x-24
y = 12x - 16
If you plot the two lines, y=x3 and y=12x-24 with something like Desmos, you will see that the tangent line just touches the cubic curve at (2,8).

Bradford T.
I see your confusion. You are mixing up the equation for the slope with the equation for f(x) and the equation for the tangent line. To properly answer you with more examples and explanation, we should probably schedule an online tutoring session to review curves and tangent lines from algebra 2 or precalculus.09/03/21
Henry D.
You said in your message: For example to find the tangent line of a curve at (2, 8), the slope at that point, m = 3(2)2 = 12. But how is 12 the slope if it seems 12 is a y-coordinate. Since x the input was 2 in the function, 3x^2.09/03/21