Skip to content

Differentiation of functions ​

Differentiability at a point ​

Definition ​

Let f∈R→R, a∈intDf.

f is differentiable at a⟺df

∃limx→af(x)−f(a)x−a∈R

In this case f′(a)=limx→af(x)−f(a)x−a. This limit is called the derivative of f at a.

The set of functions that are differentiable at a is denoted as D(a).

Derivative of function ​

Definition ​

Let f∈R→R and suppose that the set

Df′={x∈intDf∣f∈D(x)}

is nonempty. Then the function

f′∈Df′→Rx↦f′(x)

is called the derivative function or the derivative of f.

Theorem ​

f∈D(a)⟹f∈C(a)(but f∈C⇏f∈D)

Basic derivatives ​

  1. f(x)=c⟹f′(x)=0
  2. f(x)=x⟹f′(x)=1
  3. f(x)=xn⟹f′(x)=nxn−1
  4. f(x)=1x⟹f′(x)=−1x2
  5. f(x)=x⟹f′(x)=12x
  6. f(x)=sin⁡x⟹f′(x)=cos⁡x
  7. f(x)=cos⁡x⟹f′(x)=−sin⁡x
  8. f(x)=tgx⟹f′(x)=1cos2⁡x=1+tg2x
  9. f(x)=ex⟹f′(x)=ex
  10. f(x)=ln⁡x⟹f′(x)=1x
  11. f(x)=loga⁡x⟹f′(x)=1xln⁡a
  12. f(x)=ax⟹f′(x)=axln⁡a
  13. f(x)=arcsin⁡x⟹f′(x)=11−x2
  14. f(x)=arccos⁡x⟹f′(x)=−11−x2
  15. f(x)=arctan⁡x⟹f′(x)=11+x2

Rules of differentiation ​

Sum theorem ​

(f+g)′(x)=f′(x)+g′(x)

Product theorem ​

(f⋅g)′(x)=f′(x)⋅g(x)+f(x)⋅g′(x)

Quotient theorem ​

(fg)′(x)=f′(x)⋅g(x)−f(x)⋅g′(x)g2(x)

Chain rule ​

(f∘g)′(x)=f′(g(x))⋅g′(x)

Inverse rule ​

(f−1)′(x)=1f′(f−1(x))

Equation of tangent line ​

Let f∈R→R, a∈intDf and f∈D(a).

The equation of the tangent line to the curve y=f(x) at the point (a,f(a)) is

y=f(a)+f′(a)⋅(x−a)

Example 1 (derivative by definition) ​

Determine f′(a) by definition.

f(x)=x,a=3

Solution ​

f′(3)=limx→3x−3x−3=limx→3x−3(x−3)(x+3)==limx→31x+3=123

Example 2 (derivative by definition) ​

Determine f′(a) by definition.

f(x)=x2+2x−1,a=1

Solution ​

f′(1)=limx→1f(x)−f(1)x−1=limx→1x2+2x−1−2x−1==limx→1x2+2x−3x−1=limx→1(x−1)(x+3)x−1==limx→1x+3=4

Example 3 (derivative by definition) ​

Determine f′(a) by definition.

f(x)=x+2x2−9,a=−1

Solution ​

f′(−1)=limx→−1f(x)−f(−1)x−(−1)=limx→−1x+2x2−9+18x+1==limx→−18(x+2)+x2−98(x2−9)(x+1)=limx→−1x2+8x+78(x2−9)(x+1)==limx→−1(x+1)(x+7)8(x2−9)(x+1)=limx→−1x+78(x2−9)==68⋅(−8)=−332

Example 4 (differentiability) ​

Discuss the differentiability of the following function (in c).

f(x)=x⋅|x|,(x∈R)

Solution ​

f(x)=x⋅|x|⟹{x2ifx≥0−x2ifx<0

If x∈(0,+∞)

f(x)=x2⟹f′(x)=2xf∈D(x)

If x∈(−∞,0)

f(x)=−x2⟹f′(x)=−2xf∈D(x)

If x=0

Is it continuous at x=0?

limx→0+0f(x)=limx→0+0x2=0limx→0−0f(x)=limx→0−0−x2=0

So f is continuous at x=0⟹f∈C(0).

Is it differentiable ("smooth") at x=0?

limx→0+0f(x)−f(0)x−0=limx→0+0x2−0x=0limx→0−0f(x)−f(0)x−0=limx→0−0−x2−0x=0

So

f+′(0)=f−′(0)=0⟹f∈D(0), f′(0)=0

Example 5 (differentiability) ​

Discuss the differentiability of the following function (in c).

f(x)={1−xifx<0e−xifx≥0

Solution ​

If x∈(0,+∞)

f(x)=e−x⟹f′(x)=−e−xf∈D(x)

If x∈(−∞,0)

f(x)=1−x⟹f′(x)=−1f∈D(x)

If x=0

Is it continuous at x=0?

limx→0+0f(x)=limx→0+0e−x=e0=1limx→0−0f(x)=limx→0−01−x=1−0=1

So f is continuous at x=0⟹f∈C(0).

Is it differentiable ("smooth") at x=0?

f+′(0)=−e−x|x=0=−1f−′(0)=−1⟹f∈D(0), f′(0)=−1

Example 6 (differentiability) ​

Discuss the differentiability of the following function (in c) α is a real parameter.

f(x)={αx+x2ifx<0x−x2ifx≥0

Solution ​

If x∈(0,+∞)

f(x)=x−x2⟹f′(x)=1−2xf∈D(x)

If x∈(−∞,0)

f(x)=αx+x2⟹f′(x)=α+2xf∈D(x)

If x=0

Is it continuous at x=0?

limx→0+0f(x)=limx→0+0x−x2=0limx→0−0f(x)=limx→0−0αx+x2=0

So f is continuous at x=0⟹f∈C(0).

Is it differentiable ("smooth") at x=0?

f+′(0)=1−2⋅0=1f−′(0)=α+2⋅0=α

So f∈D(0)⟺α=1.

Example 7 (determine derivative) ​

Determine the derivative of the following function.

f(x)=4x5−3x4+2x3−7x2+6x+7

Solution ​

f′(x)=4⋅5x4−3⋅4x3+2⋅3x2−7⋅2x+6==20x4−12x3+6x2−14x+6

Example 8 (determine derivative) ​

Determine the derivative of the following function.

f(x)=x2⋅x3

Solution ​

f(x)=x2⋅x13=x73⟹f′(x)=73x43

Example 9 (determine derivative) ​

Determine the derivative of the following function.

f(x)=x⋅x3

Solution ​

f(x)=x⋅x13=(x43)12=x23⟹f′(x)=23x−13

Example 10 (determine derivative) ​

Determine the derivative of the following function.

f(x)=ex⋅sin⁡x

Solution ​

f′(x)=ex⋅cos⁡x+ex⋅sin⁡x=ex⋅(cos⁡x+sin⁡x)

Example 11 (determine derivative) ​

Determine the derivative of the following function.

f(x)=(x3+ln⁡x)⋅cos⁡x

Solution ​

f′(x)=(3x2+1x)⋅cos⁡x−(x3+ln⁡x)⋅sin⁡x

Example 12 (determine derivative) ​

Determine the derivative of the following function.

f(x)=2x2+3x+1x3+x2+x+1

Solution ​

f′(x)=(2x2+3x+1)′(x3+x2+x+1)−(2x2+3x+1)(x3+x2+x+1)′(x3+x2+x+1)2==(4x+3)(x3+x2+x+1)−(2x2+3x+1)(3x2+2x+1)(x3+x2+x+1)2

Example 13 (determine derivative) ​

Determine the derivative of the following function.

f(x)=sin⁡(x3+ln⁡x)

Solution ​

f′(x)=cos⁡(x3+ln⁡x)⋅(3x2+1x)

Example 14 (determine derivative) ​

Determine the derivative of the following function.

f(x)=esin3⁡x

Solution ​

f′(x)=esin3⁡x⋅3sin2⁡x⋅cos⁡x

Example 15 (determine derivative) ​

Determine the derivative of the following function.

f(x)=1x+x3

Solution ​

f(x)=(x+x12)−13⟹f′(x)=−13(x+x12)−43⋅(1+12x−12)

Example 16 (determine derivative) ​

Determine the derivative of the following function.

f(x)=xx

Solution ​

f(x)=eln⁡xx=exln⁡x⟹f′(x)=exln⁡x⋅(x⋅ln⁡x)′==exln⁡x⋅(ln⁡x+x⋅1x)=xx⋅(ln⁡x+1)

Example 17 (determine derivative) ​

Determine the derivative of the following function.

f(x)=(sin⁡x)cos⁡x

Solution ​

f(x)=eln⁡(sin⁡x)cos⁡x=ecos⁡x12⋅ln⁡sin⁡x⟹f′(x)=ecos⁡x12⋅ln⁡sin⁡x⋅(cos⁡x12⋅ln⁡sin⁡x)′==ecos⁡x12⋅ln⁡sin⁡x⋅(−sin⁡x⋅12x−12⋅ln⁡sin⁡x+cos⁡x12⋅1sin⁡x⋅cos⁡x)

Example 18 (determine derivative) ​

Determine the derivative of the following function.

f(x)=arcsin⁡(2x2−x)

Solution ​

f(x)=arcsin⁡(2x2−x12)⟹f′(x)=11−(2x2−x12)2⋅(4x−12x−12)

Example 19 (determine derivative) ​

Determine the derivative of the following function.

f(x)=arcsin⁡xarctan⁡x

Solution ​

f′(x)=arctan⁡x⋅11−x2−arcsin⁡x⋅11+x2(arctan⁡x)2

Example 20 (equation of tangent line) ​

Determine the equation of the tangent line to the following curves at the given points.

y=xx2−2x0=2

Solution ​

f′(x)=(x)′(x2−2)−x(x2−2)′(x2−2)2=x2−2−x(2x)(x2−2)2=−x2−2(x2−2)2f′(2)=−22−2(22−2)2=−64=−32f(2)=222−2=22=1y=f(2)+f′(2)⋅(x−2)=1−32⋅(x−2)==1−32x+3=4−32x

Example 21 (equation of tangent line) ​

Determine the equation of the tangent line to the following curves at the given points.

y=ex+e2xx0=0

Solution ​

f′(x)=ex+2e2xf′(0)=e0+2e0=1+2=3f(0)=e0+e2⋅0=1+1=2y=f(0)+f′(0)⋅(x−0)=2+3⋅x=3x+2

Example 22 (equation of tangent line) ​

Determine the equation of the tangent line to the following curves at the given points.

x2y=2y+xx+1P0=(1,−1)

Solution ​

x2y=2y+xx+1⟹y=xx+1x2−2xx+1=e(x+1)ln⁡x⟹(xx+1)′=xx+1⋅(ln⁡x+x+1x)f(x)=xx+1x2−2x0=1, f(1)=−1f′(x)=(xx+1)′(x2−2)−xx+1(x2−2)′(x2−2)2==xx+1⋅(ln⁡x+x+1x)⋅(x2−2)−xx+1⋅2x(x2−2)2f′(1)=1⋅(0+2)⋅(1−2)−1⋅212−2⋅1⋅2+22=−2−21−4+4=−4y=f(1)+f′(1)⋅(x−1)=−1−4⋅(x−1)=−4x+3