PYQ Vault

CBSE Class 12 Maths · Continuity and Differentiability

Exponential and Logarithmic Functions

The derivatives of e to the x, log x and a to the x, the laws of logarithms that simplify a function before it is differentiated, and relations in which x or y sits in an index.

Why this matters

25 questions, nine of them from board papers from 2024 to 2026. The board asks the derivative of one exponential with respect to another (5^x with respect to e^x, 2^x with respect to 3^x and e^(2x) with respect to e^x in 2024; 2^(cos² x) with respect to cos² x in 2025), the implicit relation 5^x + 5^y = 5^(x + y) (2024), the derivative of 5^x/x^5 (2025), an MCQ on the logarithm of √(2x) to base 2x (2025), the derivative of e^(e^x) (2026) and a proof built on log(√(x² + 1) − x) (2026). The textbook adds Examples 25 and 26, Exercise 5.4 and Miscellaneous Example 39(ii).

Concept 1 of 3: Derivatives of e to the x, log x and a to the x

The natural exponential exe^x is its own derivative, and log⁡x\log x has derivative 1x\dfrac{1}{x}. Every other exponential axa^x can be written as exlog⁡ae^{x\log a}, so its derivative follows from these two with the chain rule.

Definition

  • Theorem 5: ddxex=ex\dfrac{d}{dx}e^x = e^x, and ddxlog⁡x=1x\dfrac{d}{dx}\log x = \dfrac{1}{x} for x>0x > 0. Here log⁡\log means the natural logarithm, to base e.
  • ddxax=axlog⁡a\dfrac{d}{dx}a^x = a^x\log a for a positive constant a (NCERT Example 28: ax=exlog⁡aa^x = e^{x\log a}).
  • With the chain rule: ddxeg(x)=eg(x)g′(x)\dfrac{d}{dx}e^{g(x)} = e^{g(x)}g'(x) and ddxlog⁡g(x)=g′(x)g(x)\dfrac{d}{dx}\log g(x) = \dfrac{g'(x)}{g(x)} (NCERT Example 26).
  • log⁡x\log x is defined only for x>0x > 0, so the derivative of log⁡(log⁡x)\log(\log x) is found for x>1x > 1.

Three standard derivatives

ddxex=ex,ddxlog⁡x=1x,ddxax=axlog⁡a\frac{d}{dx}e^x = e^x,\qquad \frac{d}{dx}\log x = \frac{1}{x},\qquad \frac{d}{dx}a^x = a^x\log a

Worked example

Differentiate y=e2xcos⁡3xy = e^{2x}\cos 3x with respect to x.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/7/1 · 23 (a)Moderate

Example 1 · Continuity and Differentiability · Derivatives of Exponential and Logarithmic Functions

Differentiate (5xx5)\left(\dfrac{5^x}{x^5}\right) with respect to x.

a to the x is not a power

ddx7x=7xlog⁡7\dfrac{d}{dx}7^x = 7^x\log 7, not x⋅7x−1x \cdot 7^{x - 1}. The power rule needs a constant index; here the variable is in the index.

e to the power e to the x

ddxeex=eex⋅ex\dfrac{d}{dx}e^{e^x} = e^{e^x} \cdot e^x. The inner exe^x has its own derivative, and the board's options include the answer without it.

Concept 2 of 3: Laws of logarithms before differentiating

A logarithm turns products into sums and powers into multiples. Use these laws first and the derivative often becomes one short line, or even zero.

Definition

  • log⁡bpq=log⁡bp+log⁡bq\log_b pq = \log_b p + \log_b q, log⁡bxy=log⁡bx−log⁡by\log_b \dfrac{x}{y} = \log_b x - \log_b y, and log⁡bpn=nlog⁡bp\log_b p^n = n\log_b p.
  • Change of base: log⁡ap=log⁡bplog⁡ba\log_a p = \dfrac{\log_b p}{\log_b a}, so log⁡7(log⁡x)=log⁡(log⁡x)log⁡7\log_7(\log x) = \dfrac{\log(\log x)}{\log 7} (NCERT Miscellaneous Example 39).
  • x=elog⁡xx = e^{\log x} only for x>0x > 0 (NCERT Example 25).
  • There is no law for log⁡(p+q)\log(p + q): it does not split.

Change of base

log⁡ap=log⁡bplog⁡ba\log_a p = \frac{\log_b p}{\log_b a}

Worked example

Differentiate y=log⁡(x2+1)3x−1y = \log\dfrac{(x^2 + 1)^3}{\sqrt{x - 1}}, x>1x > 1.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/4/3 · Q4Moderate

Example 2 · Continuity and Differentiability · Derivatives of Exponential and Logarithmic Functions

If y=log⁡2x(2x)y = \log_{2x}(\sqrt{2x}), then dydx\frac{dy}{dx} is equal to :

Splitting the log of a sum

log⁡(xx+cosec⁡2x)\log(x^x + \operatorname{cosec}^2 x) is not log⁡xx+log⁡cosec⁡2x\log x^x + \log\operatorname{cosec}^2 x. Use the chain rule: one over the bracket, times the derivative of the bracket.

Brackets round the argument

log⁡x2+1−x\log\sqrt{x^2 + 1} - x and log⁡(x2+1−x)\log\left(\sqrt{x^2 + 1} - x\right) are different functions with different derivatives. Read, and write, the argument of every log inside brackets.

Concept 3 of 3: Relations with a variable in the index, and one exponential with respect to another

When x or y sits in an index, take logs or differentiate with the rule for aua^u. The given relation itself is often the key to tidying the answer.

Definition

  • ddxau=aulog⁡a dudx\dfrac{d}{dx}a^{u} = a^{u}\log a\,\dfrac{du}{dx}; when u is y, the factor is dydx\dfrac{dy}{dx}.
  • A common factor such as log⁡5\log 5 appears in every term; cancel it early.
  • After differentiating, substitute the given relation back to simplify, for example replace 5x+y5^{x + y} by 5x+5y5^x + 5^y.
  • To differentiate axa^x with respect to bxb^x, divide the two derivatives: axlog⁡abxlog⁡b\dfrac{a^x\log a}{b^x\log b}.

Derivative of a to the power u

ddxau=aulog⁡a dudx\frac{d}{dx}a^{u} = a^{u}\log a\,\frac{du}{dx}

Worked example

Find dydx\dfrac{dy}{dx} if 2y=x32^y = x^3, x>0x > 0.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/2/2 · 30 (b)Moderate

Example 3 · Continuity and Differentiability · Derivatives of Exponential and Logarithmic Functions

Find dydx\dfrac{dy}{dx}, if 5x+5y=5x+y5^x + 5^y = 5^{x+y}.

Dropping dy/dx from an index

ddx3y=3ylog⁡3 dydx\dfrac{d}{dx}3^y = 3^y\log 3\,\dfrac{dy}{dx}. Without the factor dydx\dfrac{dy}{dx} there is nothing to solve for.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Watch out for (5)

Test yourself on Continuity and Differentiability

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.