PracticeVideosBlogFlashcards

6.2 Derivatives of Trigonometric, Exponential & Logarithmic Functions

Key Takeaways

  • The derivatives of the six trigonometric functions satisfy the fundamental 'co-function rule': every function beginning with 'co' (cos⁡x,cot⁡x,csc⁡x\cos x, \cot x, \csc x) differentiates to a negative expression, requiring input angles strictly in radians.

  • Derivatives of inverse trigonometric functions produce algebraic fractions free of trigonometric terms: ddx(arcsin⁡x)=11−x2\frac{d}{dx}(\arcsin x) = \frac{1}{\sqrt{1-x^2}} and ddx(arctan⁡x)=11+x2\frac{d}{dx}(\arctan x) = \frac{1}{1+x^2}, with complementary pairs differing solely by an algebraic sign.

  • Up to a constant multiple, the natural exponential exe^x is the only function equal to its own derivative (ddx(ex)=ex\frac{d}{dx}(e^x) = e^x, and every solution of y′=yy' = y is y=Cexy = Ce^x), whereas general exponential bases axa^x scale by the natural logarithm: ddx(ax)=axln⁡a\frac{d}{dx}(a^x) = a^x \ln a.

  • The logarithmic derivative formula ddx[ln⁡∣u∣]=u′u\frac{d}{dx}[\ln |u|] = \frac{u'}{u} enables logarithmic differentiation, converting complicated multi-factor products, powers, and quotients into simple linear derivative summations.

  • For variable-base variable-exponent expressions y=[f(x)]g(x)y = [f(x)]^{g(x)}, logarithmic differentiation yields the closed form y′=[f(x)]g(x)[g′(x)ln⁡(f(x))+g(x)f′(x)f(x)]y' = [f(x)]^{g(x)} \left[ g'(x)\ln(f(x)) + \frac{g(x)f'(x)}{f(x)} \right], producing standard ECAT results such as ddx(xx)=xx(1+ln⁡x)\frac{d}{dx}(x^x) = x^x(1 + \ln x).

Last updated: October 2026

Derivatives of Trigonometric, Exponential & Logarithmic Functions

Transcendental functions—encompassing trigonometric, inverse trigonometric, exponential, and logarithmic families—constitute the core of advanced calculus questions on the UET ECAT. These functions frequently appear in composite arrangements requiring simultaneous deployment of the chain rule, product rule, and logarithmic differentiation. A precise command of standard derivative formulas, their domain restrictions, and high-speed algebraic identities is essential to achieving maximum speed and accuracy on test day.


1. Derivatives of the Six Circular Trigonometric Functions

Analytical Derivations via First Principles

All trigonometric derivatives are derived from first principles using the fundamental trigonometric limit:

lim⁡θ→0sin⁡θθ=1(θ in radians)\lim_{\theta \to 0} \frac{\sin\theta}{\theta} = 1 \quad (\theta \text{ in radians})

Critical Requirement: In all calculus formulas involving trigonometric functions, the angle xx must be measured in radians. If an ECAT question gives the angle in degrees (x∘x^\circ), convert it first: x∘=πx180x^\circ = \frac{\pi x}{180} radians. For example: ddx(sin⁡x∘)=ddx(sin⁡(πx180))=π180cos⁡(πx180)=π180cos⁡x∘\frac{d}{dx}(\sin x^\circ) = \frac{d}{dx}\left(\sin\left(\frac{\pi x}{180}\right)\right) = \frac{\pi}{180}\cos\left(\frac{\pi x}{180}\right) = \frac{\pi}{180}\cos x^\circ Overlooking the factor π180\frac{\pi}{180} is one of the most common traps set by examiners!

The Six Standard Formulas

  1. Sine: ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x) = \cos x

  2. Cosine: ddx(cos⁡x)=−sin⁡x\frac{d}{dx}(\cos x) = -\sin x

  3. Tangent: (via quotient rule on sin⁡xcos⁡x\frac{\sin x}{\cos x}): ddx(tan⁡x)=(cos⁡x)(cos⁡x)−(sin⁡x)(−sin⁡x)cos⁡2x=cos⁡2x+sin⁡2xcos⁡2x=1cos⁡2x=sec⁡2x\frac{d}{dx}(\tan x) = \frac{(\cos x)(\cos x) - (\sin x)(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x

  4. Cotangent: ddx(cot⁡x)=−csc⁡2x\frac{d}{dx}(\cot x) = -\csc^2 x

  5. Secant: ddx(sec⁡x)=sec⁡xtan⁡x\frac{d}{dx}(\sec x) = \sec x \tan x

  6. Cosecant: ddx(csc⁡x)=−csc⁡xcot⁡x\frac{d}{dx}(\csc x) = -\csc x \cot x

The "Co-Function" Negative Sign Mnemonic

Notice the symmetry: all three co-functions (cos⁡x\cos x, cot⁡x\cot x, and csc⁡x\csc x) have derivatives prefixed with an explicit negative sign. Non-co functions (sin⁡x\sin x, tan⁡x\tan x, sec⁡x\sec x) produce strictly positive-signed formulas.

Chain Rule Generalization for Trigonometric Functions

If u=u(x)u = u(x) is a differentiable function of xx:

  • ddx[sin⁡(u)]=cos⁡(u)⋅u′\frac{d}{dx}[\sin(u)] = \cos(u) \cdot u'
  • ddx[cos⁡(u)]=−sin⁡(u)⋅u′\frac{d}{dx}[\cos(u)] = -\sin(u) \cdot u'
  • ddx[tan⁡(u)]=sec⁡2(u)⋅u′\frac{d}{dx}[\tan(u)] = \sec^2(u) \cdot u'
  • ddx[cot⁡(u)]=−csc⁡2(u)⋅u′\frac{d}{dx}[\cot(u)] = -\csc^2(u) \cdot u'
  • ddx[sec⁡(u)]=sec⁡(u)tan⁡(u)⋅u′\frac{d}{dx}[\sec(u)] = \sec(u)\tan(u) \cdot u'
  • ddx[csc⁡(u)]=−csc⁡(u)cot⁡(u)⋅u′\frac{d}{dx}[\csc(u)] = -\csc(u)\cot(u) \cdot u'

2. Derivatives of Inverse Trigonometric Functions

Inverse trigonometric functions are defined on restricted domains to ensure injectivity. Their derivatives map inverse transcendental functions into purely algebraic rational and radical expressions.

Derivation of ddx(arcsin⁡x)\frac{d}{dx}(\arcsin x)

Let y=arcsin⁡x=sin⁡−1xy = \arcsin x = \sin^{-1} x, where x∈(−1,1)x \in (-1, 1) and y∈(−π2,π2)y \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right).

  1. Invert to explicit trigonometric form: x=sin⁡yx = \sin y.
  2. Differentiate implicitly with respect to xx: 1=cos⁡ydydx1 = \cos y \frac{dy}{dx}.
  3. Solve for dydx\frac{dy}{dx}: dydx=1cos⁡y\frac{dy}{dx} = \frac{1}{\cos y}.
  4. Express in terms of xx: Since y∈(−π2,π2)y \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), cos⁡y>0\cos y > 0, so cos⁡y=1−sin⁡2y=1−x2\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}.

ddx(arcsin⁡x)=11−x2,∣x∣<1\frac{d}{dx}(\arcsin x) = \frac{1}{\sqrt{1 - x^2}}, \quad |x| < 1

Complete Set of Inverse Trigonometric Derivatives

Function yyDerivative dydx\frac{dy}{dx}Valid Domain
arcsin⁡x\arcsin x11−x2\frac{1}{\sqrt{1 - x^2}}−1<x<1-1 < x < 1
arccos⁡x\arccos x−11−x2-\frac{1}{\sqrt{1 - x^2}}−1<x<1-1 < x < 1
arctan⁡x\arctan x11+x2\frac{1}{1 + x^2}−∞<x<∞-\infty < x < \infty
arccot x\text{arccot } x−11+x2-\frac{1}{1 + x^2}−∞<x<∞-\infty < x < \infty
arcsec x\text{arcsec } x1∣x∣x2−1\frac{1}{\lvert x \rvert\sqrt{x^2 - 1}}∣x∣>1\lvert x \rvert > 1
arccsc x\text{arccsc } x−1∣x∣x2−1-\frac{1}{\lvert x \rvert\sqrt{x^2 - 1}}∣x∣>1\lvert x \rvert > 1

Complementary Symmetry

Observe that complementary pairs add up to a constant: arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac{\pi}{2} and arctan⁡x+arccot x=π2\arctan x + \text{arccot } x = \frac{\pi}{2}. Differentiating both sides of arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac{\pi}{2} gives ddx(arcsin⁡x)+ddx(arccos⁡x)=0  ⟹  ddx(arccos⁡x)=−ddx(arcsin⁡x)\frac{d}{dx}(\arcsin x) + \frac{d}{dx}(\arccos x) = 0 \implies \frac{d}{dx}(\arccos x) = -\frac{d}{dx}(\arcsin x).

High-Speed Trigonometric Substitution Shortcuts

ECAT questions often ask for derivatives of expressions that appear formidable at first glance, but collapse under standard half-angle or multiple-angle identities:

  • ddx[arcsin⁡(2x1−x2)]\frac{d}{dx}\left[\arcsin(2x\sqrt{1-x^2})\right]: Substitute x=sin⁡θ  ⟹  2x1−x2=sin⁡(2θ)x = \sin\theta \implies 2x\sqrt{1-x^2} = \sin(2\theta). For ∣x∣≤12|x| \le \frac{1}{\sqrt{2}} (so that 2θ2\theta stays inside [−π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}]), the function reduces to 2θ=2arcsin⁡x2\theta = 2\arcsin x, whose derivative is 21−x2\frac{2}{\sqrt{1-x^2}} on ∣x∣<12|x| < \frac{1}{\sqrt{2}}. For 12<∣x∣<1\frac{1}{\sqrt{2}} < |x| < 1 the function equals ±π−2arcsin⁡x\pm\pi - 2\arcsin x and the derivative becomes −21−x2-\frac{2}{\sqrt{1-x^2}}.
  • ddx[arctan⁡(2x1−x2)]\frac{d}{dx}\left[\arctan\left(\frac{2x}{1-x^2}\right)\right]: Substitute x=tan⁡θ  ⟹  2tan⁡θ1−tan⁡2θ=tan⁡(2θ)x = \tan\theta \implies \frac{2\tan\theta}{1-\tan^2\theta} = \tan(2\theta). The expression equals 2arctan⁡x2\arctan x for ∣x∣<1|x| < 1 (and differs from it by the constant ±π\pm\pi when ∣x∣>1|x| > 1), so the derivative is 21+x2\frac{2}{1+x^2} for every x≠±1x \neq \pm 1.
  • ddx[arcsin⁡(3x−4x3)]\frac{d}{dx}\left[\arcsin(3x - 4x^3)\right]: Substitute x=sin⁡θ  ⟹  3sin⁡θ−4sin⁡3θ=sin⁡(3θ)x = \sin\theta \implies 3\sin\theta - 4\sin^3\theta = \sin(3\theta). For ∣x∣≤12|x| \le \frac{1}{2} the function simplifies to 3arcsin⁡x3\arcsin x, giving derivative 31−x2\frac{3}{\sqrt{1-x^2}} on ∣x∣<12|x| < \frac{1}{2} (outside that interval 3θ3\theta leaves the principal range and the simplification fails).

3. Derivatives of Exponential Functions

The Natural Exponential Function

The number e≈2.71828e \approx 2.71828 is defined analytically such that lim⁡h→0eh−1h=1\lim_{h \to 0} \frac{e^h - 1}{h} = 1. Consequently, the natural exponential function f(x)=exf(x) = e^x is unique because its instantaneous rate of change equals its instantaneous value:

ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

Applying the chain rule for y=eu(x)y = e^{u(x)}: ddx(eu(x))=eu(x)⋅u′(x)\frac{d}{dx}(e^{u(x)}) = e^{u(x)} \cdot u'(x)

General Exponential Functions (axa^x)

For an arbitrary positive base a>0a > 0 with a≠1a \neq 1, rewrite axa^x using the natural base identity ax=eln⁡(ax)=exln⁡aa^x = e^{\ln(a^x)} = e^{x \ln a}:

ddx(ax)=ddx(exln⁡a)=exln⁡a⋅ln⁡a=axln⁡a\frac{d}{dx}(a^x) = \frac{d}{dx}(e^{x \ln a}) = e^{x \ln a} \cdot \ln a = a^x \ln a

Applying the chain rule for y=au(x)y = a^{u(x)}: ddx(au(x))=au(x)ln⁡a⋅u′(x)\frac{d}{dx}(a^{u(x)}) = a^{u(x)} \ln a \cdot u'(x)

ECAT Key Fact: Notice that ddx(ex)=exln⁡e=ex(1)=ex\frac{d}{dx}(e^x) = e^x \ln e = e^x(1) = e^x. The natural base ee is simply the special case where the scaling factor ln⁡a\ln a equals unity.


4. Derivatives of Logarithmic Functions

The Natural Logarithm (ln⁡x\ln x)

Let y=ln⁡xy = \ln x (x>0x > 0). Inverting gives x=eyx = e^y. Differentiating implicitly w.r.t xx yields 1=eydydx=xdydx1 = e^y \frac{dy}{dx} = x \frac{dy}{dx}, which provides:

ddx(ln⁡x)=1x,x>0\frac{d}{dx}(\ln x) = \frac{1}{x}, \quad x > 0

For real non-zero values, y=ln⁡∣x∣y = \ln |x| (x≠0x \neq 0): ddx(ln⁡∣x∣)=1x\frac{d}{dx}(\ln |x|) = \frac{1}{x}

With the chain rule for y=ln⁡(u(x))y = \ln(u(x)): ddx[ln⁡(u(x))]=u′(x)u(x)\frac{d}{dx}[\ln(u(x))] = \frac{u'(x)}{u(x)} This expression u′(x)u(x)\frac{u'(x)}{u(x)} is termed the logarithmic derivative of u(x)u(x).

General Logarithmic Functions (log⁡ax\log_a x)

Using the change of base formula log⁡ax=ln⁡xln⁡a\log_a x = \frac{\ln x}{\ln a}:

ddx(log⁡ax)=ddx(ln⁡xln⁡a)=1xln⁡a\frac{d}{dx}(\log_a x) = \frac{d}{dx}\left(\frac{\ln x}{\ln a}\right) = \frac{1}{x \ln a}


5. Logarithmic Differentiation Technique

Logarithmic differentiation is an indispensable problem-solving tool on the ECAT when facing:

  1. Expressions with multiple factors multiplied or divided together: y=f1(x)f2(x)…g1(x)g2(x)…y = \frac{f_1(x) f_2(x) \dots}{g_1(x) g_2(x) \dots}.
  2. Power-tower functions where both the base and exponent are functions of xx: y=[f(x)]g(x)y = [f(x)]^{g(x)}.

Derivation for Power-Tower Form y=[f(x)]g(x)y = [f(x)]^{g(x)}

Take the natural logarithm of both sides: ln⁡y=ln⁡([f(x)]g(x))=g(x)ln⁡(f(x))\ln y = \ln\left([f(x)]^{g(x)}\right) = g(x) \ln(f(x))

Differentiate implicitly with respect to xx using the product rule on the right-hand side: 1ydydx=g′(x)ln⁡(f(x))+g(x)⋅f′(x)f(x)\frac{1}{y} \frac{dy}{dx} = g'(x) \ln(f(x)) + g(x) \cdot \frac{f'(x)}{f(x)}

Multiply through by y=[f(x)]g(x)y = [f(x)]^{g(x)} to isolate dydx\frac{dy}{dx}:

dydx=[f(x)]g(x)[g′(x)ln⁡(f(x))+g(x)f′(x)f(x)]\frac{dy}{dx} = [f(x)]^{g(x)} \left[ g'(x) \ln(f(x)) + \frac{g(x) f'(x)}{f(x)} \right]

Canonical ECAT Results to Memorize

  1. y=xxy = x^x: ln⁡y=xln⁡x  ⟹  1yy′=(1)ln⁡x+x(1x)=1+ln⁡x\ln y = x \ln x \implies \frac{1}{y} y' = (1)\ln x + x\left(\frac{1}{x}\right) = 1 + \ln x ddx(xx)=xx(1+ln⁡x)\frac{d}{dx}(x^x) = x^x(1 + \ln x)

  2. y=xsin⁡xy = x^{\sin x}: ddx(xsin⁡x)=xsin⁡x[cos⁡xln⁡x+sin⁡xx]\frac{d}{dx}(x^{\sin x}) = x^{\sin x}\left[ \cos x \ln x + \frac{\sin x}{x} \right]

  3. y=(sin⁡x)xy = (\sin x)^x: ddx((sin⁡x)x)=(sin⁡x)x[ln⁡(sin⁡x)+xcot⁡x]\frac{d}{dx}\left((\sin x)^x\right) = (\sin x)^x [\ln(\sin x) + x \cot x]

  4. Rapid Product Simplification: If y=(x+1)3(2x−5)43x2+1y = \frac{(x+1)^3 (2x-5)^4}{\sqrt{3x^2+1}}, take logarithms to break into additive components: ln⁡y=3ln⁡(x+1)+4ln⁡(2x−5)−12ln⁡(3x2+1)\ln y = 3\ln(x+1) + 4\ln(2x-5) - \frac{1}{2}\ln(3x^2+1) y′y=3x+1+4(2)2x−5−126x3x2+1=3x+1+82x−5−3x3x2+1\frac{y'}{y} = \frac{3}{x+1} + \frac{4(2)}{2x-5} - \frac{1}{2}\frac{6x}{3x^2+1} = \frac{3}{x+1} + \frac{8}{2x-5} - \frac{3x}{3x^2+1} This replaces pages of messy quotient and product expansions with a 2-line calculation.

Loading diagram...
Taxonomy of Transcendental Derivatives
Test Your Knowledge

What is the derivative of f(x)=arcsin⁡(3x−4x3)f(x) = \arcsin(3x - 4x^3) with respect to xx on the domain −12<x<12-\frac{1}{2} < x < \frac{1}{2}?

A

11−x2\frac{1}{\sqrt{1 - x^2}}

B

3−12x21−x2\frac{3 - 12x^2}{\sqrt{1 - x^2}}

C

−31−x2-\frac{3}{\sqrt{1 - x^2}}

D

31−x2\frac{3}{\sqrt{1 - x^2}}

Test Your Knowledge

If y=xxy = x^x for x>0x > 0, what is the numerical value of dydx\frac{dy}{dx} evaluated at x=ex = e?

A

2ee2e^e

B

eee^e

C

ee−1e^{e-1}

D

(1+e)ee(1 + e) e^e

Test Your Knowledge

What is the value of the derivative of y=e2xcos⁡(3x)y = e^{2x} \cos(3x) evaluated at x=0x = 0?

A

−3-3

B

00

C

22

D

55

Sections you finish are checked off in the contents.