Exercise 2.2 Examples – 12th Class Math New Book (Derivatives of Exponential and Logarithmic Functions)

By Ehsan Ahmed · updated
Exercise 2.2 solved examples thumbnail for 12th class math chapter 2 (Further Differentiation)

Solved examples of Exercise 2.2 (Derivatives of Exponential and Logarithmic Functions): the 3 textbook examples, Chapter 2: Further Differentiation, 12th class Mathematics new book (Punjab, PECTAA 2026-27), worked step by step.

Tap an example to open or close it.
Example 7Find $\frac{dy}{dx}$ if
Formula used
$$\frac{d}{dx}(e^u)=e^u\,\frac{du}{dx}$$
$$\frac{d}{dx}(a^u)=a^u\ln a\,\frac{du}{dx}$$
$$\frac{d}{dx}(u^n)=nu^{n-1}\frac{du}{dx}$$

(i) $y=e^{\sin^2x}$

Solution:

Differentiate with respect to $x$ and apply the Chain Rule.

$$\begin{aligned}\frac{dy}{dx}&=e^{\sin^2x}\,\frac{d}{dx}(\sin^2x)\\[6pt]&=e^{\sin^2x}(2\sin x)\,\frac{d}{dx}(\sin x)\\[6pt]&=e^{\sin^2x}(2\sin x)\cos x\end{aligned}$$
Answer $\frac{dy}{dx}=2\sin x\cos x\,e^{\sin^2x}$

(ii) $y=a^{x^3}$

Solution:

Differentiate with respect to $x$ and apply the Chain Rule.

$$\begin{aligned}\frac{dy}{dx}&=a^{x^3}(\ln a)\,\frac{d}{dx}(x^3)\\[6pt]&=a^{x^3}(\ln a)(3x^2)\end{aligned}$$
Answer $\frac{dy}{dx}=3x^2a^{x^3}\ln a$
Example 8Find $\frac{dy}{dx}$ if $y=\frac{a^x}{\log_ax}$.
Formula used
$$\left(\frac uv\right)'=\frac{u'v-uv'}{v^2}$$
$$\frac{d}{dx}(a^x)=a^x\ln a$$
$$\frac{d}{dx}(\log_ax)=\frac1{x\ln a}$$

Solution:

Differentiate with respect to $x$ and apply the Quotient Rule.

$$\begin{aligned}\frac{dy}{dx}&=\frac{(a^x)'\log_ax-a^x(\log_ax)'}{(\log_ax)^2}\\[6pt]&=\frac{a^x\ln a\,\log_ax-a^x\cdot\frac1{x\ln a}}{(\log_ax)^2}\end{aligned}$$

Multiply the numerator and the denominator by $x\ln a$.

$$\begin{aligned}\frac{dy}{dx}&=\frac{x(\ln a)^2a^x\log_ax-a^x}{x\ln a\,(\log_ax)^2}\end{aligned}$$
Answer $\frac{dy}{dx}=\frac{a^x\left[x(\ln a)^2\log_ax-1\right]}{x\ln a\,(\log_ax)^2}$
Example 9Find $\frac{dy}{dx}$, if $y=\ln(\cos(e^x))$.
Formula used
$$\frac{d}{dx}(\ln u)=\frac1u\cdot\frac{du}{dx}$$
$$\frac{d}{dx}(\cos u)=-\sin u\,\frac{du}{dx}$$
$$\frac{d}{dx}(e^x)=e^x$$

Solution:

Differentiate with respect to $x$ and apply the Chain Rule.

$$\begin{aligned}\frac{dy}{dx}&=\frac1{\cos(e^x)}\,\frac{d}{dx}[\cos(e^x)]\\[6pt]&=\frac1{\cos(e^x)}(-\sin e^x)\,\frac{d}{dx}(e^x)\\[6pt]&=-\frac{\sin(e^x)}{\cos(e^x)}\,e^x\end{aligned}$$
Answer $\frac{dy}{dx}=-e^x\tan(e^x)$

Popular posts from this blog

Chapter 6 Conic Section Notes – 12th Class Math New Book

Exercise 3.3 Solutions – 12th Class Math New Book (Integration by Parts)

Chapter 11 MCQs and Short Questions – 12th Class Math New Book