Question
If $r(x)=\sin^2(3x)$, find the slope of the tangent line at $x=\frac{\pi}{6}$
Original question: 9. If , find the slope of the line tangent to the graph of at .
Expert Verified Solution
Key concept: The slope of the tangent line is the derivative of the function at the given x-value. Here, the chain rule is the key step.
Step by step
We need the slope of the tangent line to
at .
Step 1: Differentiate the function
Rewrite as
Use the chain rule:
You can also write this as
using the double-angle identity.
Step 2: Evaluate at
Answer
So the slope of the tangent line is .
Pitfall alert
Be careful not to plug into the original function and call that the slope. The slope comes from the derivative, not the function value. Also, using means the square applies to the sine value, not to .
Try different conditions
If the point were given as a y-value instead of an x-value, you would first identify the matching x-coordinate on the curve and then evaluate the derivative there. If the function were , the derivative method would be the same, but the trig derivative would change sign.
Further reading
tangent line, chain rule, derivative
FAQ
What is the slope of the tangent line for r(x)=sin^2(3x) at x=pi/6?
Differentiate r(x)=sin^2(3x) to get r'(x)=6sin(3x)cos(3x)=3sin(6x). Evaluating at x=pi/6 gives 3sin(pi)=0.
Why can the derivative be written as 3sin(6x)?
Because 2sin(3x)cos(3x)=sin(6x) by the double-angle identity. After multiplying by 3 from the chain rule, the derivative becomes 3sin(6x).