Skip to main content

Basic Functions and Their Derivatives

Conditions for using the tables​

The derivative reference sheet is a lookup aid; apply each formula only where the derivative exists.

  • ln⁡x\ln x and log⁡ax\log_a x require x>0x>0. For axa^x, take a>0a>0; for log⁡ax\log_a x, also require a≠1a\ne1.
  • All trigonometric arguments are in radians. Tangent and secant exclude cos⁡x=0\cos x=0; cotangent and cosecant exclude sin⁡x=0\sin x=0.
  • sin⁡−1\sin^{-1}, cos⁡−1\cos^{-1} and tan⁡−1\tan^{-1} mean the principal inverse functions (arcsine, arccosine and arctangent), not reciprocals. Their ranges are respectively [−π/2,π/2][-\pi/2,\pi/2], [0,π][0,\pi], and (−π/2,π/2)(-\pi/2,\pi/2). Arcsine and arccosine are defined on [−1,1][-1,1], but their displayed derivatives require −1<x<1-1<x<1. Arctangent and its derivative are defined for all real inputs.
  • In chain-rule variants, the inner function must be differentiable, and its output must lie where the outer function is differentiable. In particular, ln⁡(f(x))\ln(f(x)) requires f(x)>0f(x)>0, and a reciprocal requires g(x)≠0g(x)\ne0.
  • For a real constant nn, the power formula is valid for positive bases. Integer powers allow the extensions described in the rule conditions; endpoints need separate checks.

A useful extension is (ln⁡∣f(x)∣)′=f′(x)/f(x)(\ln|f(x)|)'=f'(x)/f(x) wherever ff is differentiable and nonzero. For example, ln⁡(x2+1)\ln(x^2+1) has derivative 2x/(x2+1)2x/(x^2+1) for every real xx, whereas ln⁡x\ln x cannot be evaluated at negative xx even though the expression 1/x1/x can.

Standard Functions​

Function TypeFunctionDerivative
Constant Functionf(x)=cf(x) = cf′(x)=0f'(x) = 0
Linear Functionf(x)=mx+bf(x) = mx + bf′(x)=mf'(x) = m
Quadratic Functionf(x)=ax2+bx+cf(x) = ax^2 + bx + cf′(x)=2ax+bf'(x) = 2ax + b
Exponential Function (base e)f(x)=exf(x) = e^xf′(x)=exf'(x) = e^x
Logarithmic Function (base e)f(x)=ln⁡(x)f(x) = \ln(x)f′(x)=1xf'(x) = \frac{1}{x}
Exponential Function (general base)f(x)=axf(x) = a^xf′(x)=axln⁡(a)f'(x) = a^x \ln(a)
Logarithmic Function (general base)f(x)=log⁡a(x)f(x) = \log_a(x)f′(x)=1xln⁡(a)f'(x) = \frac{1}{x \ln(a)}
Derivative of a Squareddx[f(x)]2\frac{d}{dx} [f(x)]^22f(x)f′(x)2 f(x) f'(x)
Derivative of a Reciprocalddx(1g(x))\frac{d}{dx} \left(\frac{1}{g(x)}\right)−g′(x)[g(x)]2-\frac{g'(x)}{[g(x)]^2}

Trigonometric Functions​

Function TypeFunctionDerivative
Sine Functionf(x)=sin⁡(x)f(x) = \sin(x)f′(x)=cos⁡(x)f'(x) = \cos(x)
Cosine Functionf(x)=cos⁡(x)f(x) = \cos(x)f′(x)=−sin⁡(x)f'(x) = -\sin(x)
Tangent Functionf(x)=tan⁡(x)f(x) = \tan(x)f′(x)=sec⁡2(x)f'(x) = \sec^2(x)
Cotangent Functionf(x)=cot⁡(x)f(x) = \cot(x)f′(x)=−csc⁡2(x)f'(x) = -\csc^2(x)
Secant Functionf(x)=sec⁡(x)f(x) = \sec(x)f′(x)=sec⁡(x)tan⁡(x)f'(x) = \sec(x)\tan(x)
Cosecant Functionf(x)=csc⁡(x)f(x) = \csc(x)f′(x)=−csc⁡(x)cot⁡(x)f'(x) = -\csc(x)\cot(x)
Inverse Sine Functionf(x)=sin⁡−1(x)f(x) = \sin^{-1}(x)f′(x)=11−x2f'(x) = \frac{1}{\sqrt{1-x^2}}
Inverse Cosine Functionf(x)=cos⁡−1(x)f(x) = \cos^{-1}(x)f′(x)=−11−x2f'(x) = -\frac{1}{\sqrt{1-x^2}}
Inverse Tangent Functionf(x)=tan⁡−1(x)f(x) = \tan^{-1}(x)f′(x)=11+x2f'(x) = \frac{1}{1+x^2}

Chain Rule Variants​

Chain Rule Derivative
ddxf(x)n=nf(x)n−1⋅f′(x)\frac{d}{dx} f(x)^n = n f(x)^{n-1} \cdot f'(x)
ddxef(x)=ef(x)⋅f′(x)\frac{d}{dx} e^{f(x)} = e^{f(x)} \cdot f'(x)
ddxln⁡(f(x))=f′(x)f(x)\frac{d}{dx} \ln(f(x)) = \frac{f'(x)}{f(x)}
ddxsin⁡(f(x))=cos⁡(f(x))⋅f′(x)\frac{d}{dx} \sin(f(x)) = \cos(f(x)) \cdot f'(x)
ddxcos⁡(f(x))=−sin⁡(f(x))⋅f′(x)\frac{d}{dx} \cos(f(x)) = -\sin(f(x)) \cdot f'(x)
ddxtan⁡(f(x))=sec⁡2(f(x))⋅f′(x)\frac{d}{dx} \tan(f(x)) = \sec^2(f(x)) \cdot f'(x)
ddxsec⁡(f(x))=sec⁡(f(x))tan⁡(f(x))⋅f′(x)\frac{d}{dx} \sec(f(x)) = \sec(f(x)) \tan(f(x)) \cdot f'(x)
ddxtan⁡−1(f(x))=f′(x)1+f(x)2\frac{d}{dx} \tan^{-1}(f(x)) = \frac{f'(x)}{1 + f(x)^2}

References​

Explore connectionsOpen network