In order to find a tangent line, we need to take a derivative of the function. Could you do that? If not, you could use one of the derivative calculators online.
for example:
(x*cos(3*x))'
using Product Rule for Derivatives
(x)'*cos(3*x)+x*(cos(3*x))'
1*cos(3*x)+x*(cos(3*x))'
chain rule for cos(3*x)
1*cos(3*x)+x*-sin(3*x)*(3*x)'
1*cos(3*x)+x*-sin(3*x)*((3)'*x+3*(x)')
1*cos(3*x)+x*-sin(3*x)*(0*x+3*(x)')
1*cos(3*x)+x*-sin(3*x)*(0*x+3*1)
1*cos(3*x)+x*3*(-sin(3*x))
1*cos(3*x)+x*-3*sin(3*x)
cos(3*x)-(3*x*sin(3*x))
1*cos(3*x)+x*-sin(3*x)*(3*x)'
1*cos(3*x)+x*-sin(3*x)*((3)'*x+3*(x)')
1*cos(3*x)+x*-sin(3*x)*(0*x+3*(x)')
1*cos(3*x)+x*-sin(3*x)*(0*x+3*1)
1*cos(3*x)+x*3*(-sin(3*x))
1*cos(3*x)+x*-3*sin(3*x)
cos(3*x)-(3*x*sin(3*x))
Now we need to put pi in place of x and calculate.
cos(3*pi) = -1.
sin (3*pi) = 0, that means that (3*x*sin(3*x)) = 0.
So, in conclusion, to find the tangent line at a point x0, you need to:
1. Take the derivative of your function.
2. Plug in your x-value, x0, into the derivative to get your slope.
If the derivative ends up just being a constant, like -1 in our situation, then just use that as your slope.
Was it helpful?
Do you need me to go over other problems?