Tangent Line and derivative

Let f(x) be defined on open interval ℐ that contains ω . Let ℎ≠0 such that x=ω+ℎ ∈ℐ, then

𝒟= f(x)- f(ω) x-ω = f( ω+ℎ ) - f(ω) ℎ

is the difference quotient with increment ℎ .

Let f(x) be defined on open interval ℐ that contains ω . The tangent line to f(x) at the point 𝒫= ( ω, f(ω) ) is the line that passes through 𝒫 and has slope:

𝓂= lim x→ω f(x)- f(ω) x-ω = lim ℎ→0 f( ω+ℎ ) - f(ω) ℎ

Derivative at a point

The derivative of f(x) at ω , denoted by f′(ω) is

f′(ω) = lim x→ω f(x)- f(ω) x-ω = lim ℎ→0 f( ω+ℎ ) - f(ω) ℎ

Derivative as a function

Let f(x) be a function. The derivative of f(x) with respect to x , denoted by f′(x) is the function

f′(x) = lim ℎ→0 f( x+ℎ ) - f(x) ℎ

defined for all values x for which the limit exists.

f′(x) = lim 𝓏→x f(𝓏) - f(x) 𝓏-x

Notation

y= f(x)

  • y′ = f′(x) = ⅆy ⅆx = ⅆf ⅆx = ⅆ ⅆx f(x)
  • f′ (ω) = ⅆy ⅆx | x=ω = ⅆf ⅆx | x=ω = ⅆ ⅆx f(x) | x=ω
f(x) is differentiable at ω
f′(ω) exists
f(x) is differentiable on ℐ
∀ω∈ℐ , f′(ω) exists
f(x) is differentiable
f′(ω) exists for all ω in domain of f(x)
right hand derivative at ω
lim ℎ→ 0+ f(ω+ℎ) - f(ω) ℎ
left hand derivative at ω
lim ℎ→ 0- f(ω+ℎ) - f(ω) ℎ

If f(x) is differentiable at ω then f(x) is continuous at ω .

Derivative Examples

Find tangent line to f(x)= x22 at P= [ 1,12 ] .

Find tangent line to f(x)= x2 at x=3 using

  • limx→3 f(x) -f(3) x-3
  • limℎ→0 f(3+ℎ) -f(3) ℎ

Let f(2) =3⁢x2 -4⁢x +1 , evaluate

  • f′ (2) = limx→2 f(x) -f(2) x-2
  • f′ (2) = limℎ→0 f(2+ℎ) -f(2) ℎ

Find f′ (0) for

  • f(x) =x13
  • f(x) =x23

Compare with f(x) =|x| and f(x) =x at zero.

Let s (x) = -2⁢x2 +729 = -2⁢x2 +272 evaluate

  • s′ (12) = limℎ→0 s(12+ℎ) -s(12) ℎ
  • s′ (ω)

Find f′ (x) for

  • f1 (x) = 5
  • f2 (x) = x-4
  • f3 (x) = x2 -3⁢x
  • f4 (x) = x

Compare the graphs of f(x) and f′ (x)

If possible evaluate f′ (0)

  • for f1 (x) = { x⁢sin (1x) x≠0 0 x=0
  • for f2 (x) = { x2⁢sin (1x) x≠0 0 x=0

Find values b and c such that

f(x) = { 110 ⁢x2 +b⁢x +c x<10 -14⁢x +52 10≤x

is continuous and differentiable.

Derivative Rules

Constant rule

If f(x) =c , then f′(x) =0

ⅆ ⅆx c =0

Power rule

for positive integers

If f(x) =xn then f′(x) =nxn-1 .

ⅆ ⅆx xn = nxn-1

Linearity

[ 𝒶f(x) + 𝒷g(x) ] ′ = 𝒶f′(x) + 𝒷g′(x)
ⅆ ⅆx [ 𝒶f(x) + 𝒷g(x) ] = 𝒶 ⅆ ⅆx f(x) + 𝒷 ⅆ ⅆx g(x)

Product rule

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

geometry

ⅆ ⅆx [ f(x) g(x) ] = [ ⅆ ⅆx f(x) ] g(x) + f(x) [ ⅆ ⅆx g(x) ]

Quotient rule

[ f(x) g(x) ] ′ = f′ (x) g(x) - f(x) g′ (x) ( g(x) ) 2
ⅆ ⅆx [ f(x) g(x) ] = [ d dx f(x) ] ⁢ g(x) - f(x) ⁢ [ ⅆ ⅆx g(x) ] ( g(x) ) 2

Higher order derivatives

y = f(x) [y] ′ = y′ [ f(x) ] ′ = f′ (x) [ y′ ] ′ = y″ [ f′ (x) ] ′ = f″ (x) [ y″ ] ′ = y‴ [ f″ (x) ] ′ = f‴ (x) [ y‴ ] ′ = y (4) [ f‴ (x) ] ′ = f (4) (x) ⋮ [ y (n) ] ′ = y (n+1) [ f (n) (x) ] ′ = f (n+1) (x)

In Leibnitz notation

f″ (x) = [ f′ (x) ] ′ = ⅆ ⅆy ⅆx ⅆx = ⅆ2y ⅆx2 f (n) (x) = ⅆny ⅆxn

Derivative Rules Examples

Find derivatives of

  • f1 (x) = 3⁢x4
  • f2 (x) = 2⁢x5 - 6⁢x2

Find their tangent lines at x=-1.

  • Find k′ (2) if
    • k (x) = f (x) ⁢ g (x)
    • f (2) =3 , f′ (2) = -4 ,
    • g (2) =8 , g′ (2) = 5
  • Find k′ (x) if k (x) = ( x2 -x ) ⁢ ( 4⁢x3 + 5⁢x2 )
  • Find q′ (x) if q (x) = 5⁢x2 4⁢x-3

Compute derivatives of

  • k(x) = 3⁢ f(x) + x2⁢ g(x)
  • k(x) = f(x) g(x) h(x)
  • k(x) = 2⁢x3 f(x) 3⁢x-3