To find the equation of the tangent to the curve \( y = x^3 - 3x + 1 \) at the point where \( x = 2 \), we need to follow these steps:
- First, compute the derivative of \( y \) with respect to \( x \) to find the slope of the tangent line. The derivative of \( y = x^3 - 3x + 1 \) is \( y' = 3x^2 - 3 \).
- Evaluate the derivative at \( x = 2 \) to find the slope of the tangent line at this point: \( y'(2) = 3(2)^2 - 3 = 12 - 3 = 9 \).
- The slope of the tangent line is \( 9 \).
- Next, find the coordinates of the point on the curve when \( x = 2 \). Substitute \( x = 2 \) into the original equation: \( y = (2)^3 - 3(2) + 1 = 8 - 6 + 1 = 3 \). Thus, the point is \( (2, 3) \).
- Using the point-slope form of the equation of a line, \( y - y_1 = m(x - x_1) \), where \((x_1, y_1)\) is \((2, 3)\) and \(m = 9\), the equation becomes:
\( y - 3 = 9(x - 2) \)
- Simplify the equation:
\( y - 3 = 9x - 18 \)
\( y = 9x - 18 + 3 \)
\( y = 9x - 15 \)
Therefore, the equation of the tangent line is \( y = 9x - 15 \), which matches the second option.