DerivativesTopic #3 of 32

Basic Differentiation Rules

Power rule, constant rule, sum and difference rules for derivatives.

Constant Rule

The derivative of a constant is zero:

ddx[c]=0\frac{d}{dx}[c] = 0

Power Rule

For any real number nn:

ddx[xn]=n⋅xn−1\frac{d}{dx}[x^n] = n \cdot x^{n-1}

Examples

  • ddx[x5]=5x4\frac{d}{dx}[x^5] = 5x^4
  • ddx[x−2]=−2x−3\frac{d}{dx}[x^{-2}] = -2x^{-3}
  • ddx[x]=ddx[x1/2]=12x−1/2=12x\frac{d}{dx}[\sqrt{x}] = \frac{d}{dx}[x^{1/2}] = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}

Constant Multiple Rule

ddx[c⋅f(x)]=c⋅f′(x)\frac{d}{dx}[c \cdot f(x)] = c \cdot f'(x)

Example

ddx[5x3]=5⋅(3x2)=15x2\frac{d}{dx}[5x^3] = 5 \cdot (3x^2) = 15x^2

Sum Rule

ddx[f(x)+g(x)]=f′(x)+g′(x)\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)

Difference Rule

ddx[f(x)−g(x)]=f′(x)−g′(x)\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)

Common Derivatives Table

FunctionDerivative
cc (constant)00
xx11
xnx^nn⋅xn−1n \cdot x^{n-1}
x\sqrt{x}12x\frac{1}{2\sqrt{x}}
1x\frac{1}{x}−1x2-\frac{1}{x^2}
1xn\frac{1}{x^n}−nxn+1-\frac{n}{x^{n+1}}

Polynomial Derivatives

For a polynomial p(x)=anxn+an−1xn−1+⋯+a1x+a0p(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0:

p′(x)=n⋅anxn−1+(n−1)⋅an−1xn−2+⋯+a1p'(x) = n \cdot a_n x^{n-1} + (n-1) \cdot a_{n-1} x^{n-2} + \cdots + a_1

Examples

Example 1: Polynomial

f(x)=3x4−2x3+5x2−7x+4f(x) = 3x^4 - 2x^3 + 5x^2 - 7x + 4

f′(x)=12x3−6x2+10x−7f'(x) = 12x^3 - 6x^2 + 10x - 7

Example 2: Rational exponents

f(x)=x3/2+x−1/3f(x) = x^{3/2} + x^{-1/3}

f′(x)=32x1/2−13x−4/3=32x−13x4/3f'(x) = \frac{3}{2}x^{1/2} - \frac{1}{3}x^{-4/3} = \frac{3}{2}\sqrt{x} - \frac{1}{3x^{4/3}}

Example 3: Rewriting before differentiating

f(x)=x3+2xx2=x+2x−1f(x) = \frac{x^3 + 2x}{x^2} = x + 2x^{-1}

f′(x)=1−2x−2=1−2x2f'(x) = 1 - 2x^{-2} = 1 - \frac{2}{x^2}

Example 4: Finding slope at a point

Find the slope of y=x4−3x2y = x^4 - 3x^2 at x=2x = 2:

y′=4x3−6xy' = 4x^3 - 6x

y′(2)=4(8)−6(2)=32−12=20y'(2) = 4(8) - 6(2) = 32 - 12 = 20