How do you find the slope of the tangent line to the graph of #y = (ln x) e^x# at the point where x = 2?
1 Answer
The slope of the tangent is
Explanation:
The gradient of the tangent to a function at any particular point is given by the derivative of the function at that point.
Differentiating
# \ \ \ \ \ dy/dx = (lnx)(d/dxe^x) + (d/dxlnx)(e^x) #
# :. dy/dx = (lnx)e^x + (1/x)(e^x) #
# :. dy/dx = ((lnx)+1/x)e^x#
When
# f'(2) = ((ln2)+1/2)e^2 = e^2ln2+1/2e^2#
If we wanted to find the equation of the tangent:
# \ \ f(2) =(ln2)e^2 = e^2ln2#
So the tangent we seek passes through
# y - e^2ln2 = (e^2ln2+1/2e^2 )(x-2) #
# :. y - e^2ln2 = (e^2ln2+1/2e^2 )x-2(e^2ln2+1/2e^2 ) #
# :. y - e^2ln2 = (e^2ln2+1/2e^2 )x-2e^2ln2-e^2 #
# :. y= (e^2ln2+1/2e^2 )x-e^2ln2-e^2 #
We can verify this is correct by the following graph: