# How do you differentiate y=(sin(3x))^(ln(x))?

Sep 29, 2017

$y ' = {\left(\sin 3 x\right)}^{\ln x} \cdot \left(\left(\ln x\right) \left(3 \cot 3 x\right) + \frac{\ln \left(\sin 3 x\right)}{x}\right)$

#### Explanation:

One way you can do this is by using logarithms in the beginning to rewrite the formula without the exponent, and then proceed with implicit differentiation. This will require you to substitute back at the end to eliminate $y$ from your derivative result.

Begin by taking the log of both sides of the equation:

$\ln y = \ln \left({\left(\sin 3 x\right)}^{\ln x}\right)$
$\ln y = \left(\ln x\right) \left(\ln \left(\sin 3 x\right)\right) \text{ } \left[A\right]$

In [A] we used the logarithm rule $\ln {a}^{b} = b \ln a$.

Now we perform implicit differentiation. For brevity, I will use the notation $y '$ to represent $\frac{\mathrm{dy}}{\mathrm{dx}}$:

$\frac{1}{y} y ' = \left(\ln x\right) \left(\frac{1}{\sin 3 x} \cdot \left(\cos 3 x\right) \cdot 3\right) + \left(\ln \left(\sin 3 x\right)\right) \left(\frac{1}{x}\right) \text{ } \left[B\right]$

$\frac{1}{y} y ' = \left(\ln x\right) \left(3 \cot 3 x\right) + \frac{\ln \left(\sin 3 x\right)}{x}$

$y ' = y \cdot \left(\left(\ln x\right) \left(3 \cot 3 x\right) + \frac{\ln \left(\sin 3 x\right)}{x}\right)$
$y ' = {\left(\sin 3 x\right)}^{\ln x} \cdot \left(\left(\ln x\right) \left(3 \cot 3 x\right) + \frac{\ln \left(\sin 3 x\right)}{x}\right) \text{ } \left[C\right]$

Notes:

In [B] the Product Rule is combined with the Chain Rule to determine the derivative of the right side.

In [C] the original equation is substituted for $y$ in the right hand side in order to get a full derivative in terms of $x$ only.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 13, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://socratic.org/questions/how-do-you-differentiate-y-sin-3x-ln-x", "fetch_time": 1709077324000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2024-10/segments/1707947474688.78/warc/CC-MAIN-20240227220707-20240228010707-00389.warc.gz", "warc_record_offset": 531654121, "warc_record_length": 6242, "token_count": 599, "char_count": 1697, "score": 4.71875, "int_score": 5, "crawl": "CC-MAIN-2024-10", "snapshot_type": "latest", "language": "en", "language_score": 0.5530828237533569, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00041-of-00064.parquet"}