Question
Differentiate the following functions with respect to x:
$(\cos\text{x})^\text{x}+(\sin\text{x})^\frac{1}{\text{x}}$

Answer

Let $\text{y}=(\cos\text{x})^\text{x}+(\sin\text{x})^\frac{1}{\text{x}}$
$\Rightarrow\text{y}=\text{e}^{\log(\cos\text{x})^\text{x}}+\text{e}^{\log(\sin\text{x})^\frac{1}{\text{x}}}$
$\Rightarrow\text{y}=\text{e}^{\text{x}\log(\cos\text{x})}+\text{e}^{\frac{1}{\text{x}}\log\sin\text{x}}$
Differentiating with respect to x,
$\frac{\text{dy}}{\text{dx}}=\frac{\text{d}}{\text{dx}}\big(\text{e}^{\text{x}\log\cos\text{x}}\big)+\frac{\text{d}}{\text{dx}}\big(\text{e}^{\frac{1}{\text{x}}\log\sin\text{x}}\big)$
$=\text{e}^{\log\cos\text{x}}\times\frac{\text{d}}{\text{dx}}(\text{x}\log\cos\text{x})+\text{e}^{\frac{1}{\text{x}}\log\sin}\frac{\text{d}}{\text{dx}}\big(\frac{1}{\text{x}}\log\sin\text{x}\big)$
$=\text{e}^{\log(\cos\text{x})^\text{x}}\times\Big[\text{x}\frac{\text{d}}{\text{dx}}(\log\cos\text{x})+\log\cos\text{x}\times\frac{\text{d}}{\text{dx}}(\text{x})\Big] \\ +\text{e}^{\log(\sin\text{x})^\frac{1}{\text{x}}}\times\Big[\frac{1}{\text{x}}\frac{\text{d}}{\text{dx}}(\log\sin\text{x})+\log\sin\text{x}\frac{\text{d}}{\text{dx}}\big(\frac{1}{\text{x}}\big)\Big]$
$=(\cos\text{x})^\text{x}\Big[\text{x}\big(\frac{1}{\cos\text{x}}\big)\frac{\text{d}}{\text{dx}}(\cos\text{x})+\log\cos\text{x}+\log\cos\text{x}(1)\Big] \\ +(\sin)^\frac{1}{\text{x}}\Big[\frac{1}{\text{x}}\times\frac{1}{\sin\text{x}}\times\frac{\text{d}}{\text{dx}}(\sin\text{x})+\log\sin\text{x}\Big(-\frac{1}{\text{x}^2}\Big)\Big]$
$=(\cos\text{x})^\text{x}\Big[\text{x}\Big(\frac{1}{\cos\text{x}}\Big)(-\sin\text{x})+\log\cos\text{x}\Big] \\ +(\sin\text{x})^\frac{1}{\text{x}}\Big[\frac{1}{\text{x}}\times\frac{1}{\sin\text{x}}(\cos\text{x})-\frac{1}{\text{x}^2}\log\sin\text{x}\Big]$
$=(\cos\text{x})^\text{x}\big[\log\cos\text{x}-\text{x}\tan\text{x}\big](\sin\text{x})^\frac{1}{\text{x}} \\ \Big[\frac{\cot\text{x}}{\text{x}}-\frac{1}{\text{x}^2}\log\sin\text{x}\Big]$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Evaluate the following integrals:
$\int_{0}^\limits{\frac{\pi}{2}}\frac{\text{dx}}{\text{a}\cos\text{x}+\text{b}\sin\text{x}}\text{ a},\text{b}>0$
If $\text{y}=3\cos(\log\text{x})+4\sin(\log\text{x}),$ prove that $\text{x}^2\text{y}_2+\text{xy}_1+\text{y}=0$
Prove the following results:
$\sin^{-1}\frac{12}{13}+\cos^{-1}\frac{4}{5}+\tan^{-1}\frac{63}{16}=\pi$
Let $\text{A}=\begin{bmatrix}3 & 2&7 \\1 & 4&3\\-2&5&8 \end{bmatrix}.$ Find matrices X and Y such that X + Y = A, where X is a symmetric and Y is a skew-symmetric matrix.
If y(x) is a solution of $\Big(\frac{2+\sin\text{x}}{1+\text{y}}\Big)\frac{\text{dy}}{\text{dx}}=-\cos\text{x}$ and y(0) = 1, then find the value of $\text{y}\big(\frac{\pi}{2}\big).$
Solve the following systems of linear equations by cramer's rule:
x + y = 5,
y + z = 3,
x + z = 4
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}-\text{x}\sin^2\text{x}=\frac{1}{\text{x}\log\text{x}}$
Verify Rolle's theorem for the following function on the indicated intervals

f(x) = (x2 - 1)(x - 2) on [-1, 2]

Find the value of a and b so that the function f given by $\text{f(x)}=\begin{cases}1,&\text{if }\text{ x}\leq3\\\text{ax}+\text{b},&\text{if }3<\text{x}<5\\7,&\text{if }\text{ x}\geq5\end{cases}$ is continuous x = 3 and x = 5.
Using properties of determinants, prove that $\begin{vmatrix} -\text{a}^{2} & \text{ab} & \text{ac} \\ \text{ba} & -\text{b}^{2} & \text{bc} \\ \text{ca} & \text{cb} & -\text{c}^{2} \end{vmatrix}=\text{4a}^{2}\text{b}^{2}\text{c}^{2} $.