Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Special Derivatives






Derivatives That Require Deeper Techniques


The common derivatives cover polynomials, trigonometric functions, exponentials, and logarithms. Beyond these lie function families whose derivatives are less immediately obvious and harder to rederive on the spot. Inverse trigonometric functions produce algebraic expressions involving square roots. Hyperbolic functions mirror their trigonometric counterparts with subtle sign differences. Piecewise functions demand separate treatment on each interval with careful attention at boundaries.

Most of these derivatives are established through implicit differentiation or the inverse function formula rather than direct computation from the limit definition. Understanding the derivation builds insight; memorizing the result builds speed. Both matter.

Key Terms

Derivative— the formulas here extend the common derivatives to inverse trig, hyperbolic, and piecewise functions
Differentiability— piecewise functions require boundary checks

See All Calculus Definitions →


Inverse Trigonometric Functions — Arcsine and Arccosine


The derivatives of arcsin⁡x\arcsin x and arccos⁡x\arccos x are:

Derivative of Arcsine
ddx[arcsin⁡x]=11−x2\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}
Learn more about this formula: Derivative of Arcsine →

Derivative of Arccosine
ddx[arccos⁡x]=−11−x2\frac{d}{dx}[\arccos x] = -\frac{1}{\sqrt{1 - x^2}}
Learn more about this formula: Derivative of Arccosine →


The two derivatives differ only by sign. This follows from the identity arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac{\pi}{2}: differentiating both sides gives (arcsin⁡x)′+(arccos⁡x)′=0(\arcsin x)' + (\arccos x)' = 0.

To derive the arcsine formula: let y=arcsin⁡xy = \arcsin x, so sin⁡y=x\sin y = x with y∈[−π/2,π/2]y \in [-\pi/2, \pi/2]. Differentiating implicitly: cos⁡y⋅dydx=1\cos y \cdot \frac{dy}{dx} = 1. Since yy lies in the first or fourth quadrant, cos⁡y≥0\cos y \geq 0, so cos⁡y=1−sin⁡2y=1−x2\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}. Solving gives dydx=11−x2\frac{dy}{dx} = \frac{1}{\sqrt{1 - x^2}}.

The domain restriction ∣x∣<1|x| < 1 reflects the range of sin⁡y\sin y on [−π/2,π/2][-\pi/2, \pi/2]. At x=±1x = \pm 1, the denominator vanishes—the graph of arcsin⁡x\arcsin x has vertical tangents at its endpoints.

Pitfall: Forgetting the chain rule
Writing 11−4x2\frac{1}{\sqrt{1 - 4x^2}} for the derivative of arcsin⁡(2x)\arcsin(2x) leaves out the derivative of the inner 2x2x. The chain rule gives ddx[arcsin⁡(2x)]=21−4x2\frac{d}{dx}[\arcsin(2x)] = \frac{2}{\sqrt{1 - 4x^2}}.

The formulas are stated for the bare variable xx, but in practice the argument of arcsin⁡\arcsin or arccos⁡\arccos is often an expression such as 2x2x, x2x^2 or exe^x. The formula is then evaluated at that inner expression, and the chain rule links the result to the rate at which the inner expression changes. The same holds for every formula on this page.
arcsin x and its derivative 1/sqrt(1 - x^2): the derivative blows up at x = -1 and x = 1 where arcsin has vertical tangentsxy−11−2−11234arcsin xslope → ∞ at x = ±1f′(x) = 1/√(1 − x²)arcsin x turns vertical at ±1, where its derivative blows up
arcsin x and its derivative

The blue curve is arcsin x on its domain [−1, 1]; the amber curve is its derivative 1/√(1 − x²). In the middle the derivative is close to 1 and the graph rises like a line through the origin. Toward x = ±1 the denominator √(1 − x²) shrinks to 0, the derivative grows without bound, and the graph of arcsin x turns vertical at its endpoints.

arccos x has the same picture turned over: its derivative is the negative of this one.

Inverse Trigonometric Functions — Arctangent and Arccotangent


Derivative of Arctangent
ddx[arctan⁡x]=11+x2\frac{d}{dx}[\arctan x] = \frac{1}{1 + x^2}
Learn more about this formula: Derivative of Arctangent →

Derivative of Arccotangent
ddx[arccot⁡x]=−11+x2\frac{d}{dx}[\operatorname{arccot} x] = -\frac{1}{1 + x^2}
Learn more about this formula: Derivative of Arccotangent →


Again the derivatives are negatives of each other, following from arctan⁡x+arccot x=π2\arctan x + \text{arccot}\, x = \frac{\pi}{2}.

Fact: π\pi hides in the arctangent slope
Writing 11+x2=1−x2+x4−⋯\frac{1}{1 + x^2} = 1 - x^2 + x^4 - \cdots and undoing the derivative gives arctan⁡x=x−x33+x55−⋯\arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots, so π4=arctan⁡1=1−13+15−⋯\frac{\pi}{4} = \arctan 1 = 1 - \frac{1}{3} + \frac{1}{5} - \cdots. The Kerala school credited this to Madhava, around 1400, long before Gregory and Leibniz found it in the 1670s.

To derive the arctangent formula: let y=arctan⁡xy = \arctan x, so tan⁡y=x\tan y = x. Differentiating: sec⁡2y⋅dydx=1\sec^2 y \cdot \frac{dy}{dx} = 1. Using the identity sec⁡2y=1+tan⁡2y=1+x2\sec^2 y = 1 + \tan^2 y = 1 + x^2 gives dydx=11+x2\frac{dy}{dx} = \frac{1}{1 + x^2}.

Unlike arcsine and arccosine, arctangent is defined for all real xx—no domain restriction. The derivative 11+x2\frac{1}{1 + x^2} is always positive, confirming that arctan⁡x\arctan x is strictly increasing. As x→±∞x \to \pm\infty, the derivative approaches zero, reflecting the horizontal asymptotes y=±π2y = \pm\frac{\pi}{2}. The function rises everywhere but flattens out at the extremes.

This derivative appears prominently in integration: ∫11+x2 dx=arctan⁡x+C\int \frac{1}{1 + x^2}\,dx = \arctan x + C.
arctan x rises everywhere between the asymptotes y = -pi/2 and pi/2; its derivative 1/(1 + x^2) is positive and tends to 0xy−6−5−4−3−2−1123456−2−112y = π/2y = −π/2arctan x1/(1 + x²)Positive derivative fading to 0: arctan rises toward ±π/2
arctan x and its derivative

The derivative 1/(1 + x²) is positive for every x, so arctan x rises everywhere. It is largest, 1, at x = 0, where the graph is steepest, and it fades toward 0 in both directions, so the graph flattens against the dashed asymptotes y = ±π/2 without ever reaching them.

The same 1/(1 + x²) is the integrand whose antiderivative is arctan x + C.

Inverse Trigonometric Functions — Arcsecant and Arccosecant


Derivative of Arcsecant
ddx[arcsec⁡x]=1∣x∣x2−1\frac{d}{dx}[\operatorname{arcsec} x] = \frac{1}{|x| \sqrt{x^2 - 1}}
Learn more about this formula: Derivative of Arcsecant →

Derivative of Arccosecant
ddx[arccsc⁡x]=−1∣x∣x2−1\frac{d}{dx}[\operatorname{arccsc} x] = -\frac{1}{|x| \sqrt{x^2 - 1}}
Learn more about this formula: Derivative of Arccosecant →


Pitfall: Dropping the absolute value
Using 1xx2−1\frac{1}{x\sqrt{x^2 - 1}} gives the slope −123≈−0.289-\frac{1}{2\sqrt{3}} \approx -0.289 at x=−2x = -2. But arcsec⁡x\operatorname{arcsec} x rises on both parts of its domain, and the formula with ∣x∣|x| gives 123≈0.289\frac{1}{2\sqrt{3}} \approx 0.289.

The derivation for arcsecant: let y=arcsec xy = \text{arcsec}\, x, so sec⁡y=x\sec y = x. Differentiating: sec⁡ytan⁡y⋅dydx=1\sec y \tan y \cdot \frac{dy}{dx} = 1. Since sec⁡y=x\sec y = x and tan⁡y=±sec⁡2y−1=±x2−1\tan y = \pm\sqrt{\sec^2 y - 1} = \pm\sqrt{x^2 - 1}, the sign depends on the quadrant. The absolute value ∣x∣|x| in the formula resolves this: sec⁡ytan⁡y=∣x∣x2−1\sec y \tan y = |x|\sqrt{x^2 - 1} across the full domain.

These derivatives are less frequently encountered than the arcsine and arctangent versions. They appear primarily in integrals of the form ∫1xx2−1 dx\int \frac{1}{x\sqrt{x^2 - 1}}\,dx and in problems involving trigonometric substitution.

The domain ∣x∣>1|x| > 1 reflects the range of secant: sec⁡y\sec y never takes values between −1-1 and 11.

Patterns in Inverse Trigonometric Derivatives


The six inverse trigonometric derivatives organize into three pairs, each pair summing to zero:

(arcsin⁡x)′+(arccos⁡x)′=0(\arcsin x)' + (\arccos x)' = 0, both involving 11−x2\frac{1}{\sqrt{1 - x^2}}

(arctan⁡x)′+(arccot x)′=0(\arctan x)' + (\text{arccot}\, x)' = 0, both involving 11+x2\frac{1}{1 + x^2}

(arcsec x)′+(arccsc x)′=0(\text{arcsec}\, x)' + (\text{arccsc}\, x)' = 0, both involving 1∣x∣x2−1\frac{1}{|x|\sqrt{x^2 - 1}}

Each pair shares the same magnitude because the two functions in each pair sum to a constant (π2\frac{\pi}{2}). The cofunction always carries the negative sign—the same pattern seen in the common trigonometric derivatives where cos⁡\cos, cot⁡\cot, and csc⁡\csc derivatives are negative.

Three distinct algebraic forms appear: 1−x2\sqrt{1 - x^2} for the sine/cosine pair, 1+x21 + x^2 for the tangent/cotangent pair, and ∣x∣x2−1|x|\sqrt{x^2 - 1} for the secant/cosecant pair. These three expressions reappear in integration, where recognizing them triggers the corresponding inverse trigonometric antiderivative. The table below collects the three algebraic forms alongside their cofunction pairs and the identity that explains why each pair shares the same magnitude.
Algebraic form (magnitude) Cofunction pair Why they share the same magnitude
1 ⁄ √(1 − x2) arcsin x  ↔  arccos x arcsin x + arccos x = π ⁄ 2, so the two derivatives sum to zero
1 ⁄ (1 + x2) arctan x  ↔  arccot x arctan x + arccot x = π ⁄ 2, so the two derivatives sum to zero
1 ⁄ (|x| √(x2 − 1)) arcsec x  ↔  arccsc x arcsec x + arccsc x = π ⁄ 2, so the two derivatives sum to zero
Two functions that add up to a constant have opposite derivatives, so the six formulas are really three.

Hyperbolic Functions


The hyperbolic functions are defined through exponentials:

Hyperbolic Functions
sinh⁡x=ex−e−x2cosh⁡x=ex+e−x2tanh⁡x=sinh⁡xcosh⁡x\sinh x = \frac{e^x - e^{-x}}{2} \qquad \cosh x = \frac{e^x + e^{-x}}{2} \qquad \tanh x = \frac{\sinh x}{\cosh x}

Their derivatives parallel the trigonometric pattern:

Derivative of Hyperbolic Sine
ddx[sinh⁡x]=cosh⁡x\frac{d}{dx}[\sinh x] = \cosh x
Learn more about this formula: Derivative of Hyperbolic Sine →

Derivative of Hyperbolic Cosine
ddx[cosh⁡x]=sinh⁡x\frac{d}{dx}[\cosh x] = \sinh x
Learn more about this formula: Derivative of Hyperbolic Cosine →

Derivative of Hyperbolic Tangent
ddx[tanh⁡x]=sech⁡2x\frac{d}{dx}[\tanh x] = \operatorname{sech}^2 x
Learn more about this formula: Derivative of Hyperbolic Tangent →

Derivative of Hyperbolic Cotangent
ddx[coth⁡x]=−csch⁡2x\frac{d}{dx}[\coth x] = -\operatorname{csch}^2 x
Learn more about this formula: Derivative of Hyperbolic Cotangent →

Derivative of Hyperbolic Secant
ddx[sech⁡x]=−sech⁡xtanh⁡x\frac{d}{dx}[\operatorname{sech} x] = -\operatorname{sech} x \tanh x
Learn more about this formula: Derivative of Hyperbolic Secant →

Derivative of Hyperbolic Cosecant
ddx[csch⁡x]=−csch⁡xcoth⁡x\frac{d}{dx}[\operatorname{csch} x] = -\operatorname{csch} x \coth x
Learn more about this formula: Derivative of Hyperbolic Cosecant →


The critical difference from trigonometric derivatives: (cosh⁡x)′=sinh⁡x(\cosh x)' = \sinh x carries no negative sign, whereas (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x does. This single sign difference propagates through all six formulas.

Pitfall: Copying the sign of sec x
Taking over (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x \tan x gives (sech⁡x)′=sech⁡xtanh⁡x(\operatorname{sech} x)' = \operatorname{sech} x \tanh x, positive for x>0x > 0. But sech⁡x=1cosh⁡x\operatorname{sech} x = \frac{1}{\cosh x} falls there as cosh⁡x\cosh x grows; the derivative is −sech⁡xtanh⁡x-\operatorname{sech} x \tanh x.

Each derivative is verified directly by differentiating the exponential definitions. For sinh⁡x\sinh x: ddx[ex−e−x2]=ex+e−x2=cosh⁡x\frac{d}{dx}\left[\frac{e^x - e^{-x}}{2}\right] = \frac{e^x + e^{-x}}{2} = \cosh x. No special limits or implicit differentiation are needed—the exponential derivative does all the work.

Inverse Hyperbolic Functions


The inverse hyperbolic functions have derivatives that resemble the inverse trigonometric ones with sign changes under the radical:

Derivative of Inverse Hyperbolic Sine
ddx[arcsinh⁡x]=1x2+1\frac{d}{dx}[\operatorname{arcsinh} x] = \frac{1}{\sqrt{x^2 + 1}}
Learn more about this formula: Derivative of Inverse Hyperbolic Sine →

Derivative of Inverse Hyperbolic Cosine
ddx[arccosh⁡x]=1x2−1\frac{d}{dx}[\operatorname{arccosh} x] = \frac{1}{\sqrt{x^2 - 1}}
Learn more about this formula: Derivative of Inverse Hyperbolic Cosine →

Derivative of Inverse Hyperbolic Tangent
ddx[arctanh⁡x]=11−x2\frac{d}{dx}[\operatorname{arctanh} x] = \frac{1}{1 - x^2}
Learn more about this formula: Derivative of Inverse Hyperbolic Tangent →


Fact: Mercator's map runs on arctanh
A Mercator map draws latitude φ\varphi at height arctanh⁡(sin⁡φ)\operatorname{arctanh}(\sin \varphi), in Earth radii. Its rate of growth, cos⁡φ1−sin⁡2φ=sec⁡φ\frac{\cos \varphi}{1 - \sin^2 \varphi} = \sec \varphi, matches the map's east-west stretch at that latitude, which is why small shapes keep their angles.

Compare with inverse trigonometric derivatives: 1−x2\sqrt{1 - x^2} becomes x2+1\sqrt{x^2 + 1} or x2−1\sqrt{x^2 - 1}, and 1+x21 + x^2 becomes 1−x21 - x^2. The signs inside the expressions flip.

These derivatives can be established through implicit differentiation or through the logarithmic representations. For instance, arcsinh x=ln⁡(x+x2+1)\text{arcsinh}\, x = \ln(x + \sqrt{x^2 + 1}). Differentiating this logarithmic form directly using the chain rule confirms 1x2+1\frac{1}{\sqrt{x^2 + 1}}.

Inverse hyperbolic derivatives appear in integration: ∫1x2+1 dx=arcsinh x+C\int \frac{1}{\sqrt{x^2 + 1}}\,dx = \text{arcsinh}\, x + C and ∫1x2−1 dx=arccosh x+C\int \frac{1}{\sqrt{x^2 - 1}}\,dx = \text{arccosh}\, x + C provide alternatives to trigonometric substitution for certain radical integrals.

Piecewise Functions


A piecewise function uses different formulas on different intervals. On each interval's interior, standard differentiation rules apply to the governing formula. The derivative of the piecewise function is itself piecewise—computed piece by piece.

The challenge lies at the boundaries.

RULE
At a point x=cx = c where the formula changes, the derivative exists only if three conditions hold: the function is continuous at cc (the pieces connect), the left-hand derivative exists, and the right-hand derivative exists and equals the left-hand derivative.

Consider f(x)=x2f(x) = x^2 for x≤1x \leq 1 and f(x)=2x−1f(x) = 2x - 1 for x>1x > 1. Continuity at x=1x = 1: f(1)=1f(1) = 1 from the left, 2(1)−1=12(1) - 1 = 1 from the right—they match. Left derivative at 11: ddx[x2]∣x=1=2\frac{d}{dx}[x^2]\big|_{x=1} = 2. Right derivative at 11: ddx[2x−1]∣x=1=2\frac{d}{dx}[2x - 1]\big|_{x=1} = 2. Both derivatives match, so f′(1)=2f'(1) = 2.

Pitfall: Comparing slopes without checking continuity
For f(x)=x2f(x) = x^2 when x≤1x \leq 1 and f(x)=2xf(x) = 2x when x>1x > 1, both pieces have slope 22 at x=1x = 1, which suggests f′(1)=2f'(1) = 2. But the pieces give the values 11 and 22 there: the graph jumps, and f′(1)f'(1) does not exist.

If either continuity fails or the one-sided derivatives disagree, the function is not differentiable at that boundary. The absolute value function ∣x∣|x| is the canonical example: continuous at x=0x = 0, but left derivative −1-1 and right derivative +1+1 do not match. The table below names each of the three boundary conditions, what it requires, and the failure mode that appears when it is violated.
x^2 for x <= 1 and 2x - 1 for x > 1 meet at (1, 1) with the same slope 2: the join is smoothxy−1123−1123452x − 1 (x > 1)both pieces: value 1, slope 2 at x = 1x² (x ≤ 1)Same value and same slope at the boundary: f′(1) = 2 exists
A boundary where the pieces join smoothly

The section’s f(x) = x² for x ≤ 1 and 2x − 1 for x > 1. Both pieces give the value 1 at x = 1, so the graph is unbroken, and both have slope 2 there. The dashed lines continue each piece past the boundary: the line 2x − 1 is exactly the tangent to x² at x = 1. Same value and same slope from both sides means f′(1) = 2 exists.

Replacing 2x − 1 by 3x − 2 keeps the value 1 at x = 1 but gives slope 3: a corner.
Condition at boundary x = c What it requires Failure mode if violated
Continuity at c the two pieces meet: the left and right values both equal f(c) jump discontinuity — no tangent line possible
One-sided derivatives exist both the left-hand and right-hand derivatives at c are finite vertical tangent or cusp — slope is infinite or undefined on one side
One-sided derivatives agree left derivative at c equals right derivative at c corner — e.g., |x| at 0, where the slopes are −1 and +1

Summary of Special Derivatives


The complete set of special derivative formulas:

Summary of Special Derivatives
ddx[arcsin⁡x]=11−x2ddx[arccos⁡x]=−11−x2\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1-x^2}} \qquad \frac{d}{dx}[\arccos x] = -\frac{1}{\sqrt{1-x^2}}

Summary of Special Derivatives
ddx[arctan⁡x]=11+x2ddx[arccot x]=−11+x2\frac{d}{dx}[\arctan x] = \frac{1}{1+x^2} \qquad \frac{d}{dx}[\text{arccot}\, x] = -\frac{1}{1+x^2}

Summary of Special Derivatives
ddx[arcsec x]=1∣x∣x2−1ddx[arccsc x]=−1∣x∣x2−1\frac{d}{dx}[\text{arcsec}\, x] = \frac{1}{|x|\sqrt{x^2-1}} \qquad \frac{d}{dx}[\text{arccsc}\, x] = -\frac{1}{|x|\sqrt{x^2-1}}

Summary of Special Derivatives
ddx[sinh⁡x]=cosh⁡xddx[cosh⁡x]=sinh⁡x\frac{d}{dx}[\sinh x] = \cosh x \qquad \frac{d}{dx}[\cosh x] = \sinh x

Summary of Special Derivatives
ddx[tanh⁡x]=sech2 xddx[coth⁡x]=−csch2 x\frac{d}{dx}[\tanh x] = \text{sech}^2\, x \qquad \frac{d}{dx}[\coth x] = -\text{csch}^2\, x

Summary of Special Derivatives
ddx[sech x]=−sech xtanh⁡xddx[csch x]=−csch xcoth⁡x\frac{d}{dx}[\text{sech}\, x] = -\text{sech}\, x\tanh x \qquad \frac{d}{dx}[\text{csch}\, x] = -\text{csch}\, x\coth x

Summary of Special Derivatives
ddx[arcsinh x]=1x2+1ddx[arccosh x]=1x2−1\frac{d}{dx}[\text{arcsinh}\, x] = \frac{1}{\sqrt{x^2+1}} \qquad \frac{d}{dx}[\text{arccosh}\, x] = \frac{1}{\sqrt{x^2-1}}

Derivative of Inverse Hyperbolic Tangent
ddx[arctanh x]=11−x2\frac{d}{dx}[\text{arctanh}\, x] = \frac{1}{1-x^2}
Learn more about this formula: Derivative of Inverse Hyperbolic Tangent →


Together with the common derivatives, these formulas cover every standard function encountered in calculus. Recognizing the algebraic forms—1−x2\sqrt{1-x^2}, 1+x21+x^2, x2±1\sqrt{x^2 \pm 1}, 1−x21-x^2—is equally important for integration, where these expressions signal inverse trigonometric or inverse hyperbolic antiderivatives. The table below assembles all 15 formulas as a single reference card, organized by category and including the domain on which each derivative is valid.
Category Function Derivative Domain
Inverse trigonometric arcsin x 1 ⁄ √(1 − x2) |x| < 1
Inverse trigonometric arccos x −1 ⁄ √(1 − x2) |x| < 1
Inverse trigonometric arctan x 1 ⁄ (1 + x2) all real x
Inverse trigonometric arccot x −1 ⁄ (1 + x2) all real x
Inverse trigonometric arcsec x 1 ⁄ (|x| √(x2 − 1)) |x| > 1
Inverse trigonometric arccsc x −1 ⁄ (|x| √(x2 − 1)) |x| > 1
Hyperbolic sinh x cosh x all real x
Hyperbolic cosh x sinh x all real x
Hyperbolic tanh x sech2 x all real x
Hyperbolic coth x −csch2 x x ≠ 0
Hyperbolic sech x −sech x · tanh x all real x
Hyperbolic csch x −csch x · coth x x ≠ 0
Inverse hyperbolic arcsinh x 1 ⁄ √(x2 + 1) all real x
Inverse hyperbolic arccosh x 1 ⁄ √(x2 − 1) x > 1
Inverse hyperbolic arctanh x 1 ⁄ (1 − x2) |x| < 1
DownloadPNG2×PDF
Before you read
Fifteen derivatives in three families
The special derivatives come from three families: the inverse trigonometric, the hyperbolic and the inverse hyperbolic functions. Each entry shows the derivative and where it holds.
  • L0Special derivatives
    • L1Inverse trigonometric
      • L2arcsin x|x| < 11 / √(1 − x²)
      • L2arccos x|x| < 1−1 / √(1 − x²)
      • L2arctan xall real x1 / (1 + x²)
      • L2arccot xall real x−1 / (1 + x²)
      • L2arcsec x|x| > 11 / (|x| √(x² − 1))
      • L2arccsc x|x| > 1−1 / (|x| √(x² − 1))
    • L1Hyperbolic
      • L2sinh xall real xcosh x
      • L2cosh xall real xsinh x
      • L2tanh xall real xsech² x
      • L2coth xx ≠ 0−csch² x
      • L2sech xall real x−sech x · tanh x
      • L2csch xx ≠ 0−csch x · coth x
    • L1Inverse hyperbolic
      • L2arcsinh xall real x1 / √(x² + 1)
      • L2arccosh xx > 11 / √(x² − 1)
      • L2arctanh x|x| < 11 / (1 − x²)
Takeaway
Watch the domain
Inverse functions bring square roots and restricted domains; the hyperbolic derivatives mirror the trigonometric ones with sign changes.
Special derivatives by family·/calculus/derivatives/specialLearn Math Class

Common Pitfalls


Four mistakes cause many of the wrong answers when these formulas are used. Each is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.

Forgetting the chain rule

The formulas on this page are stated for the bare variable xx. When the argument is an expression such as 2x2x, that expression is put into the formula, but the derivative of the inside is left out.

Wrong working: ddx[arcsin⁡(2x)]=11−(2x)2=11−4x2\frac{d}{dx}[\arcsin(2x)] = \frac{1}{\sqrt{1 - (2x)^2}} = \frac{1}{\sqrt{1 - 4x^2}}.

Right working: with u=2xu = 2x and u′=2u' = 2, ddx[arcsin⁡u]=u′1−u2=21−4x2\frac{d}{dx}[\arcsin u] = \frac{u'}{\sqrt{1 - u^2}} = \frac{2}{\sqrt{1 - 4x^2}}.

Why it happens: the inner expression is copied into the formula correctly, so the result looks complete. The missing factor is invisible when the inside is a plain xx, which is the only case the formulas show.

How to check: compare with the slope measured from the graph. At x=0.25x = 0.25 the slope of arcsin⁡(2x)\arcsin(2x) is about 2.3092.309, which matches 20.75≈2.309\frac{2}{\sqrt{0.75}} \approx 2.309; the wrong formula gives 10.75≈1.155\frac{1}{\sqrt{0.75}} \approx 1.155, half as much.

Dropping the absolute value

The arcsecant derivative is written as 1xx2−1\frac{1}{x\sqrt{x^2 - 1}}, without the absolute value. For x>1x > 1 this agrees with the formula, but for x<−1x < -1 it has the wrong sign.

Wrong working: at x=−2x = -2, 1xx2−1=1−23≈−0.289\frac{1}{x\sqrt{x^2 - 1}} = \frac{1}{-2\sqrt{3}} \approx -0.289.

Right working: at x=−2x = -2, 1∣x∣x2−1=123≈0.289\frac{1}{|x|\sqrt{x^2 - 1}} = \frac{1}{2\sqrt{3}} \approx 0.289.

Why it happens: the derivation gives 1sec⁡ytan⁡y\frac{1}{\sec y \tan y}, and replacing sec⁡y\sec y by xx and tan⁡y\tan y by x2−1\sqrt{x^2 - 1} looks natural. On the branch where x<−1x < -1, both sec⁡y\sec y and tan⁡y\tan y are negative, so their product is positive, and the absolute value records exactly that.

How to check: compare nearby values of the function. arcsec⁡(−2.1)≈2.067\operatorname{arcsec}(-2.1) \approx 2.067 and arcsec⁡(−1.9)≈2.125\operatorname{arcsec}(-1.9) \approx 2.125, so the function rises near x=−2x = -2, at a rate of about 2.125−2.0670.2≈0.29\frac{2.125 - 2.067}{0.2} \approx 0.29. The slope must be positive.

Copying the sign of sec x

The hyperbolic derivatives are written by analogy with the trigonometric ones, sign included. Since (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x \tan x has no minus sign, none is expected for sech⁡x\operatorname{sech} x either.

Wrong working: ddx[sech⁡x]=sech⁡xtanh⁡x\frac{d}{dx}[\operatorname{sech} x] = \operatorname{sech} x \tanh x.

Right working: sech⁡x=(cosh⁡x)−1\operatorname{sech} x = (\cosh x)^{-1}, so ddx[sech⁡x]=−(cosh⁡x)−2sinh⁡x=−1cosh⁡x⋅sinh⁡xcosh⁡x=−sech⁡xtanh⁡x\frac{d}{dx}[\operatorname{sech} x] = -(\cosh x)^{-2}\sinh x = -\frac{1}{\cosh x} \cdot \frac{\sinh x}{\cosh x} = -\operatorname{sech} x \tanh x.

Why it happens: differentiating a reciprocal always produces a minus sign. For sec⁡x\sec x it is cancelled by the minus sign in (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, which leaves sec⁡xtan⁡x\sec x \tan x positive. For sech⁡x\operatorname{sech} x there is nothing to cancel it, because (cosh⁡x)′=sinh⁡x(\cosh x)' = \sinh x has no minus sign.

How to check: sech⁡0=1\operatorname{sech} 0 = 1 and sech⁡1≈0.648\operatorname{sech} 1 \approx 0.648, so the function falls for x>0x > 0, where tanh⁡x>0\tanh x > 0. A derivative of sech⁡xtanh⁡x\operatorname{sech} x \tanh x would be positive there; the right formula gives about −0.494-0.494 at x=1x = 1.

Comparing slopes without checking continuity

At a boundary, the two pieces are differentiated and their slopes at the boundary are compared, but nobody checks that the pieces meet. Matching slopes are then taken as the derivative.

Wrong working: for f(x)=x2f(x) = x^2 when x≤1x \leq 1 and f(x)=2xf(x) = 2x when x>1x > 1, the slopes are ddx[x2]∣x=1=2\frac{d}{dx}[x^2]\big|_{x=1} = 2 and ddx[2x]=2\frac{d}{dx}[2x] = 2, so f′(1)=2f'(1) = 2.

Right working: check the values first. From the left f(1)=1f(1) = 1; from the right 2x→22x \to 2 as x→1+x \to 1^+. The pieces do not meet, ff is not continuous at 11, and f′(1)f'(1) does not exist.

Why it happens: differentiating removes a constant term, so two pieces that differ by a constant have the same derivative. Here 2x2x and the section's 2x−12x - 1 both have slope 22; only their values at x=1x = 1 tell them apart.

How to check: compute the difference quotient from the right. f(1+h)−f(1)h=2(1+h)−1h=1+2hh\frac{f(1 + h) - f(1)}{h} = \frac{2(1 + h) - 1}{h} = \frac{1 + 2h}{h}, which is 102102 at h=0.01h = 0.01 and grows without bound as h→0+h \to 0^+.

Special Derivatives FAQ

What is the derivative of arcsin x?

+
The derivative of arcsin x is 1/√(1 − x²), valid for |x| < 1. Set y = arcsin x so that sin y = x, differentiate implicitly to get cos y · dy/dx = 1, and use cos y = √(1 − sin²y), positive because y lies in [−π/2, π/2]. At x = ±1 the denominator vanishes, which is why the graph has vertical tangents at its endpoints.Read more →

What is the derivative of arctan x?

+
The derivative of arctan x is 1/(1 + x²), valid for every real x — unlike arcsine, there is no domain restriction. Set y = arctan x so tan y = x, differentiate to get sec²y · dy/dx = 1, then use sec²y = 1 + tan²y = 1 + x². The result is always positive, so arctan x is strictly increasing.Read more →

Why does the derivative of arcsec x have an absolute value?

+
Because the sign of tan y depends on the quadrant. Setting y = arcsec x gives sec y · tan y · dy/dx = 1, and tan y = ±√(x² − 1) — positive on one branch of the domain, negative on the other. Writing sec y · tan y as |x|√(x² − 1) makes a single formula correct across the whole domain |x| > 1.Read more →

Why is the derivative of cosh x positive when the derivative of cos x is negative?

+
Because the hyperbolic functions are built from e^x and e^(−x) rather than from rotation. Differentiating cosh x = (e^x + e^(−x))/2 gives (e^x − e^(−x))/2, which is sinh x — no sign flip appears anywhere. The trigonometric minus sign comes from the circle; the hyperbola produces none. That one difference propagates through all six hyperbolic formulas.Read more →

What is the derivative of arcsinh x?

+
The derivative of arcsinh x is 1/√(x² + 1), valid for all real x. Compare arcsin, whose derivative is 1/√(1 − x²): the signs inside the radical flip, which is the general relationship between inverse trigonometric and inverse hyperbolic derivatives. It follows from the logarithmic form arcsinh x = ln(x + √(x² + 1)) differentiated by the chain rule.Read more →