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) = dy dx = df dx = d dx f(x)
  • f (ω) = dy dx | x=ω = df dx | x=ω = d dx 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

  • limx3 f(x) -f(3) x-3
  • lim0 f(3+) -f(3)

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

  • f (2) = limx2 f(x) -f(2) x-2
  • f (2) = lim0 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) = -2x2 +729 = -2x2 +272 evaluate

  • s (12) = lim0 s(12+) -s(12)
  • s (ω)

Find f (x) for

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

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

If possible evaluate f (0)

  • for f1 (x) = { xsin (1x) x0 0 x=0
  • for f2 (x) = { x2sin (1x) x0 0 x=0

Find values b and c such that

f(x) = { 110 x2 +bx +c x<10 -14x +52 10x

is continuous and differentiable.

Derivative Rules

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

d dx c =0

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

d dx xn = nxn-1
[ 𝒶f(x) + 𝒷g(x) ] = 𝒶f(x) + 𝒷g(x)
d dx [ 𝒶f(x) + 𝒷g(x) ] = 𝒶 d dx f(x) + 𝒷 d dx g(x)
[ f(x) g(x) ] = f(x) g(x) + f(x) g(x)
d dx [ f(x) g(x) ] = [ d dx f(x) ] g(x) + f(x) [ d dx g(x) ]
[ f(x) g(x) ] = f (x) g(x) - f(x) g (x) ( g(x) ) 2
d dx [ f(x) g(x) ] = [ d dx f(x) ] g(x) - f(x) [ d dx 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) ] = d dy dx dx = d2y dx2 f (n) (x) = dny dxn

Derivative Rules Examples

Find derivatives of

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

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 ) ( 4x3 + 5x2 )

Compute derivatives of

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