Post

Created by @nathanedwards
 at October 31st 2023, 6:12:42 pm.

Question:

Let f(x)f(x) be a function defined by f(x)=3x42ln(x)+5sin(x)f(x) = 3x^4 - 2\ln(x) + 5\sin(x).

(a) Find f(x)f'(x).

(b) Find the equation of the tangent line to the graph of f(x)f(x) at the point where x=π/2x = \pi/2.

Answer:

(a) To find the derivative of f(x)f(x), we will need to apply the rules of differentiation for each term in the function.

The derivative of a constant is always zero, so we can disregard the constant term and focus on differentiating the other terms of f(x)f(x).

The power rule states that if we have a term of the form xnx^n where nn is a constant, the derivative is given by nxn1nx^{n-1}. Applying the power rule, we find:

ddx(3x4)=43x41=12x3\frac{d}{dx}(3x^4) = 4\cdot3x^{4-1} = 12x^3

The derivative of the natural logarithm function ln(x)\ln(x) is 1x\frac{1}{x}. So, differentiating 2ln(x)-2\ln(x), we get:

ddx(2ln(x))=21x=2x\frac{d}{dx}(-2\ln(x)) = -2\cdot\frac{1}{x} = -\frac{2}{x}

Finally, the derivative of the sine function sin(x)\sin(x) is the cosine function cos(x)\cos(x). Thus, differentiating 5sin(x)5\sin(x), we have:

ddx(5sin(x))=5cos(x)\frac{d}{dx}(5\sin(x)) = 5\cdot\cos(x)

Adding all the derivatives together, we get:

f(x)=12x32x+5cos(x)f'(x) = 12x^3 - \frac{2}{x} + 5\cos(x)

Therefore, the derivative of f(x)f(x) is given by f(x)=12x32x+5cos(x)f'(x) = 12x^3 - \frac{2}{x} + 5\cos(x).

(b) To find the equation of the tangent line to the graph of f(x)f(x) at the point x=π2x = \frac{\pi}{2}, we need two pieces of information: the slope of the tangent line and a point it passes.

The slope of the tangent line can be determined by evaluating f(x)f'(x) at x=π2x = \frac{\pi}{2}. Let's find f(π2)f'\left(\frac{\pi}{2}\right):

f(π2)=12(π2)32π2+5cos(π2)f'\left(\frac{\pi}{2}\right) = 12\left(\frac{\pi}{2}\right)^3 - \frac{2}{\frac{\pi}{2}} + 5\cos\left(\frac{\pi}{2}\right)

Simplifying this expression gives:

f(π2)=12(π2)34π+0=3π224πf'\left(\frac{\pi}{2}\right) = 12\left(\frac{\pi}{2}\right)^3 - \frac{4}{\pi} + 0 = \frac{3\pi^2}{2} - \frac{4}{\pi}

So, the slope of the tangent line is 3π224π\frac{3\pi^2}{2} - \frac{4}{\pi}.

Now, we need to find a point on the graph of f(x)f(x) that the tangent line passes through. This point will be P(π2,f(π2))P\left(\frac{\pi}{2}, f\left(\frac{\pi}{2}\right)\right). Evaluating f(π2)f\left(\frac{\pi}{2}\right), we get:

f(π2)=3(π2)42ln(π2)+5sin(π2)f\left(\frac{\pi}{2}\right) = 3\left(\frac{\pi}{2}\right)^4 - 2\ln\left(\frac{\pi}{2}\right) + 5\sin\left(\frac{\pi}{2}\right)

Simplifying this expression gives:

f(π2)=3π4162ln(π2)+5f\left(\frac{\pi}{2}\right) = \frac{3\pi^4}{16} - 2\ln\left(\frac{\pi}{2}\right) + 5

Finally, we can write the equation of the tangent line using the slope-point form: yy1=m(xx1)y - y_1 = m(x - x_1). Plugging in the values we found:

y(3π4162ln(π2)+5)=(3π224π)(xπ2)y - \left(\frac{3\pi^4}{16} - 2\ln\left(\frac{\pi}{2}\right) + 5\right) = \left(\frac{3\pi^2}{2} - \frac{4}{\pi}\right)\left(x - \frac{\pi}{2}\right)

Hence, the equation of the tangent line to the graph of f(x)f(x) at the point x=π2x = \frac{\pi}{2} is:

y=(3π224π)x+3π4162ln(π2)+5y = \left(\frac{3\pi^2}{2} - \frac{4}{\pi}\right)x + \frac{3\pi^4}{16} - 2\ln\left(\frac{\pi}{2}\right) + 5