We are given the function to differentiate:
![{\quad \qquad \sf \rightarrow y=x^(e^x)}](https://img.qammunity.org/2023/formulas/mathematics/high-school/smpbk24h1orn7z5icega99uehill559et2.png)
Do take natural log on both sides, then we will be having
![{:\implies \quad \sf ln(y)=ln(x^{e^(x)})}](https://img.qammunity.org/2023/formulas/mathematics/high-school/alp6pv7nno4em63vppwxyce1a0zusovusg.png)
![{:\implies \quad \sf ln(y)=e^(x)ln(x)\quad \qquad \{\because ln(a^b)=bln(a)\}}](https://img.qammunity.org/2023/formulas/mathematics/high-school/wb91zhewx01vcjzweyghve08xdbfbd3t1h.png)
Now, differentiate both sides by using so called chain rule and the product rule
![{:\implies \quad \sf (1)/(y)(dy)/(dx)=e^(x)ln(x)+(e^x)/(x)}](https://img.qammunity.org/2023/formulas/mathematics/high-school/sggegc74hivv7guuid6wvvknscssncxb20.png)
![{:\implies \quad \boxed{\bf{(dy)/(dx)=x^(e^x)\bigg\{(e^x)/(x)+ln(x)e^(x)\bigg\}}}}](https://img.qammunity.org/2023/formulas/mathematics/high-school/l3jc3p91tc1rkus7e5o26q75cbwls6660k.png)
Hence, Option B) is correct
Product rule of differentiation:
Where, u and v are functions of x