Product and Quotient Rule — Question 8

PDF ↗

Question 8

Let f(x)=excos⁡xln⁡(x)f(x) = \frac{e^x \cos x}{\ln(x)}

  • (a) Compute f′(x)f'(x) using the quotient rule.

  • (b) State the domain of f′(x)f'(x).

Original worksheet page 1: question and worked solution for 3-4-008
Show solutionHide solution

Question 8 - Solution

We are given: f(x)=excos⁡xln⁡(x)f(x) = \frac{e^x \cos x}{\ln(x)}

Let: - u(x)=excos⁡xu(x) = e^x \cos x - v(x)=ln⁡(x)v(x) = \ln(x)

We’ll use the **quotient rule**: f′(x)=u′(x)v(x)−u(x)v′(x)[v(x)]2f'(x) = \frac{u'(x)v(x) - u(x)v'(x)}{[v(x)]^2}

Step 1: Differentiate u(x)=excos⁡xu(x) = e^x \cos x using the **product rule**: u′(x)=excos⁡x+ex(−sin⁡x)=ex(cos⁡x−sin⁡x)u'(x) = e^x \cos x + e^x (-\sin x) = e^x (\cos x - \sin x)

Step 2: Differentiate v(x)=ln⁡(x)v(x) = \ln(x): v′(x)=1xv'(x) = \frac{1}{x}

Now plug into the quotient rule: f′(x)=ex(cos⁡x−sin⁡x)⋅ln⁡x−excos⁡x⋅1x(ln⁡x)2f'(x) = \frac{e^x (\cos x - \sin x) \cdot \ln x - e^x \cos x \cdot \frac{1}{x}}{(\ln x)^2}

Factor exe^x from the numerator: f′(x)=ex[(cosx−sinx)lnx−cos⁡xx](ln⁡x)2f'(x) = \frac{e^x \left[ (\cos x - \sin x)\ln x - \frac{\cos x}{x} \right]}{(\ln x)^2}

Final Answer: f′(x)=ex[(cosx−sinx)lnx−cos⁡xx](ln⁡x)2\boxed{ f'(x) = \frac{e^x \left[ (\cos x - \sin x)\ln x - \frac{\cos x}{x} \right]}{(\ln x)^2} }

Domain of f′(x)f'(x):

ln⁡x\ln x is defined only for x>0x > 0

Also, ln⁡x≠0⇒x≠1\ln x \neq 0 \Rightarrow x \neq 1

And denominator has ln⁡(x)2\ln(x)^2, so x=1x = 1 is excluded

The term cos⁡xx\frac{\cos x}{x} is defined for x>0x > 0

Domain: (0,1)∪(1,∞)\boxed{(0, 1) \cup (1, \infty)}

Original worksheet page 2: question and worked solution for 3-4-008

Original worksheet layout. Use Enlarge or open the PDF for a closer view.