firmfunda
  maths > differential-calculus

Understanding Algebra of Derivatives


    what you'll learn...

Overview

 »  Understanding Algebra of Derivatives
how derivative applies to a function given as algebraic operations of several functions

    →  addition and subtraction

    →  product and division

    →  function-of-function

    →  parametric form of function

 »  Differentiation under Basic Arithmetic Operations

    →  (au)=au

    →  (u+v)=u+v

    →  (u-v)=u-v

    →  (uv)=uv+uv

    →  (uv)=uv-uvv2

 »  Differentiation under Function Operations

    →  Composite form and Chain rule: given v(u) and u(x) (i.e. v(u(x))) then
dvdx=dvdududx

    →  Parametric form : given g(x) and h(x) then
dgdh=dg/dxdh/dx

algebra is about operations + - * / ^

"Algebra of differentiation" or "Algebra of derivatives" means studying of "Properties to find derivatives of functions given as algebraic operations of several functions".

The mathematical operations with functions u(x) and v(x) are

 •  addition and subtraction u(x)±v(x)

 •  multiple of a function au(x)

 •  multiplication and division u(x)v(x) and u(x)v(x)

 •  powers and roots [u(x)]n and [u(x)]1n

 •  composite form of functions v(u(x))

 •  parametric form of functions v=f(r);u=g(r)

establishing the problem

Given that f(x)=u(x)v(x) where is one of the arithmetic or function operations.

Will there be any relationship between the derivative of the functions ddxu(x) ; ddxv(x) and the derivative of the result ddxf(x)?

Algebra of differentiation analyses this and provides the required knowledge.

Note: In deriving the results, the functions are assumed to be continuous and differentiable at the points or range of interest. For specific functions at specific values of variables, one must check for the continuity and the differentiability before using the algebra of derivatives.

example problem

For example, consider
u(x)=x2
v(x)=sinx
f(x)=x2sinx

From the standard results, it is known that
ddxx2=2x and
ddxsinx=cosx.
What is ddxx2sinx?

In this particular example multiplication is considered. Instead of multiplication, one of the arithmetic or function operations may be considered too.

The algebra of derivatives analyses this and provides the required knowledge.

scalar multiple

Derivative of a scalar multiple of function. Given v(x)=au(x).

limδ0v(x+δ)-v(x)δ

    =limδ0au(x+δ)-au(x)δ

with continuity and differentiability conditions on u and a
    =alimδ0u(x+δ)-u(x)δ

    =addxu

The above proves that (au)=au. In other words, derivative of a multiple of a function is multiple of the derivative of the function

Intuitive understanding for
(au)=au
rate of change multiplies when the function is multiplied by a constant.

Given dydx=2x2 and v=y5, what is dvdx?

The answer is "25x2"

dvdx
=ddxy5
=15ddxy
=15×2x2
=25x2

summary

Derivative of a Multiple:
(au)=au
Derivative of a multiple of a function is multiple of the derivative of the function.

sum or difference

Finding derivative of sum or difference.

limδ0[(u(x+δ)±v(x+δ))-(u(x)±v(x))]/δ


  =limδ0[(u(x+δ)-u(x))±(v(x+δ)-v(x))]/δ


with continuity and differentiability conditions on u and v
  =limδ0u(x+δ)-u(x)δ

±limδ0v(x+δ)-v(x)δ


    =ddxu±ddxv

The above proves (u+v)=u+v and (u-v)=u-v. In other words, Derivative of a sum or difference is the sum or difference of derivatives.

Intuitive understanding for
(u±v)=u±v
rate of change adds (subtracts) when the function is added(subtracted).

Given dydx=sinx and v=y+20, what is dvdx?

The answer is "sinx"

dvdx
=d(y+20)dx
=dydx+d(20)dx
=sinx+0

summary

Derivative of Sum or Difference:
(u+v)=u+v

(u-v)=u-v
Derivative of a sum or difference is the sum or difference of derivatives.

product

Finding derivative of product.

limδ0[(u(x+δ)×v(x+δ))-(u(x)×v(x))]/δ


adding u(x)×v(x+δ)-u(x)×v(x+δ)


    =limδ0[u(x+δ)×v(x+δ)-u(x)×v(x+δ)+u(x)×v(x+δ)-u(x)×v(x)]/δ


with continuity and differentiability conditions on u and v
    =limδ0[v(x+δ)×(u(x+δ)-u(x))]/δ


  +limδ0[(u(x)×(v(x+δ)-v(x)))]/δ

    =vddxu+uddxv

The above proves that (uv)=uv+uv

Intuitive understanding of
(uv)=uv+uv

Two functions are multiplied at every point. Rate of change of the product equals sum of

fixing one function v as a constant and rate of change of the other function u

plus fixing the other function u as a constant and rate of change of the function v

This is compared to (au)=au.

Given y=x2sinx what is dydx?
Note: ddxx2=2x
ddxsinx=cosx

The answer is "2xsinx+x2cosx"

dydx
=ddx(x2sinx)
applying product law of derivative =sinxddxx2+x2ddxsinx
=2xsinx+x2cosx

summary

Derivative of Product: (uv)=uv+uv
Derivative of product of two function is sum of derivatives of the functions scaled by the value of other function

division

Finding derivative of division.
limδ0[u(x+δ)÷v(x+δ)-(u(x)÷v(x))]/δ

=limδ0{1v(x+δ)v(x)×[u(x+δ)v(x)-u(x)v(x+δ)]/δ}


adding u(x)v(x)-u(x)v(x)

=limδ0{1v(x+δ)v(x)[u(x+δ)v(x)-u(x)v(x)-u(x)v(x+δ)+u(x)v(x)]/δ}


=limδ0{1v(x+δ)v(x)[v(x)(u(x+δ)-u(x))-u(x)(v(x+δ)-v(x))]/δ}


=limδ0{1v(x+δ)v(x)×[v(x)(u(x+δ)-u(x))]/δ)-[u(x)(v(x+δ)-v(x))]/δ}

with continuity and differentiability conditions on u and v
1v2×{dudxv-udvdx}

The above proves (uv)=uv-uvv2

Intuitive understanding of (uv)=uv-uvv2

This can be rewritten as
(uv)=(u×(1v)+u×(-1v2)×v

The first part of the result is :
fixing 1v as a constant, rate of change of u is taken

The second part of the result is :
fixing u as a constant, rate of change of 1v is taken.
Rate of change of 1v is negative of rate of change of v and divided by v2.

Given y=sinxx2 what is dydx? Note: ddxx2=2x
ddxsinx=cosx

The answer is "x2cosx-2xsinxx4"

dydx
=ddx[sinxx2]
applying quotient law of derivative =x2ddxsinx-sinxddxx2x4
=x2cosx-2xsinxx4

summary

Derivative of Quotient: (uv)=uv-uvv2

composite

Finding derivative of composite function.
Given v(u) and u(x) find dvdx

dvdx

=limΔx0v(u(x+Δx))-v(u(x))Δx

multiplying and dividing by u(x+Δx)-u(x)

=limΔx0[v(u(x+Δx))-v(u(x))u(x+Δx)-u(x)×u(x+Δx)-u(x)Δx]

Substituting u(x+Δx)-u(x)=Δu
If Δx0, then Δu0
with continuity and differentiability conditions on v and u.


=limΔu0v(u(x+Δx))-v(u(x))ΔulimΔx0u(x+Δx)-u(x)Δx


=dvdududx

The above proves dvdx=dvdududx

Derivative of composite function can be extended to multi-level functions.

dfdx=dfdgdgdhdhdvdvdx

This is also called chain rule of differentiation.

Intuitive understanding of chain rule :


In v(u(x)), v(u) is called outer-function and u(x) is called inner-function. In a composite function,

the change in variable causes a change in inner-function and that change is the rate of change of inner-function.

the change in inner-function, in turn, causes change in outer-function. This change, rate of change of outer-function, is with respect to the inner-function.

Thus rate of change of outer function with respect to variable = rate of change of inner-function to the variable × rate of change of outer-function to the inner-function.

Given y=sin(x2), what is dydx?
Note: ddxx2=2x
ddxsinx=cosx

The answer is "2xcos(x2)"

dydx

taking u=x2
=ddusinu×ddxx2

applying law of derivative
=cosu×2x
=2xcos(x2)

Derivative of Composite Function : dvdx=dvdududx

parametric form

Finding derivative of function given in parametric form.
y=f(r) and x=g(r)
dydx=?

dydx =limΔx0[Δy÷Δx]

Note that change in x will reflect as change in r.
Δx=g(r+Δr)-g(r)
Δy=f(r+Δr)-f(r)


dfdg
=limΔr0[(f(r+Δr)-f(r))÷(g(r+Δr)-g(r))]

dividing numerator and denominator by Δr

=limΔr0[(f(r+Δr)-f(r))/Δr÷(g(r+Δr)-g(r))/Δr]

with continuity and differentiability conditions on u and a
=limΔr0[(f(r+Δr)-f(r))/Δr]÷limΔr0[(g(r+Δr)-g(r))/Δr]

=df/drdg/dr

=dy/drdx/dr

The above proves dvdu=dv/dx÷du/dx

Given y=sinr and x=r2, what is dydx?
Note: ddpp2=2p
ddpsinp=cosp?

The answer is "cosr2r"

dydx
dy/drdx/dr
=cosr2r
as dydr=cosr and dxdr=2r

Intuitive understanding of dvdu=dv/dxdu/dx Rate of change of a function v with respect to another function u can be computed by the change in the common variable x. The change in the common variable x causes change in v as well as in u. This leads to the given formula.

summary

Derivative of function in parametric form: dvdu=dv/dxdu/dx

summary

Derivative of a Multiple:
(au)=au
Derivative of a multiple of a function is multiple of the derivative of the function.

Derivative of Sum or Difference:
(u+v)=u+v

(u-v)=u-v
Derivative of a sum or difference is the sum or difference of derivatives.

Derivative of Product: (uv)=uv+uv
Derivative of product of two function is sum of derivatives of the functions scaled by the value of other function

Derivative of Quotient: (uv)=uv-uvv2

Derivative of function in parametric form: dvdu=dv/dxdu/dx

Outline

The outline of material to learn "Differential Calculus" is as follows.

•   Detailed outline of Differential Calculus

    →   Application Scenario

    →   Differentiation in First Principles

    →   Graphical Meaning of Differentiation

    →   Differntiability

    →   Algebra of Derivatives

    →   Standard Results