Vedic Sutra #9: Differential Calculus
|
We want to differentiate
y = (x + a1)(x + a2)(x + a3)...
|
Note: Given a polynomial, we first factor it as noted above ... if we can !
Example #1:
y = x2 + 3x + 2 = (x+1)(x+2)
Then dy/dx = (x+1) + (x+2) ... the sum of different factor-products, 1 at a time
Example #2:
y = x4 + 10x3 + 35x2 + 50x + 24 = (x+1)(x+2)(x+3)(x+4) ... factor the polynomial, if we can !
dy/dx = (x+2)(x+3)(x+4) + (x+1)(x+3)(x+4) + (x+1)(x+2)(x+4) + (x+1)(x+2)(x+3)
... the sum of different factor-products, 3 at a time
d2y/dx2 = 2{(x+3)(x+4) +(x+2)(x+4) + (x+2)(x+3) + (x+1)(x+4) + (x+1)(x+3) + (x+1)(x+2)}
... the sum of different factor-products, 2 at a time
d3y/dx3 = 6{(x+1) + (x+2) + (x+3) + (x+4)2}
... the sum of different factor-products, 1 at a time
Note:
The numbers in blue are related to the degree of the polynomial, eh?
Why?
If y = (x + a1)(x + a2)(x + a3)... (x + an) for n factors
then
[1] log(y) = log(x + a1) + log(x + a2) + log(x + a3) + ...
then (differentiating)
[2] (1/y) dy/dx = 1/(x + a1) + 1/(x + a2) + 1/(x + a3) + ...
then
[3] dy/dx = y/(x + a1) + y/(x + a2) + y/(x + a3) + ...
and, replacing y by (x + a1)(x + a2)(x + a3)...
[4] dy/dx is the sum of factor-products, taken n-1 at a time.
Note:
There are n terms in dy/dx, each a product of n-1
factors, where the first term is missing (x + a1), the second is missing (x + a2) etc.
Differentiating again, to obtain d2y/dx2, we use the same ritual [1] - [4], obtaining for each term a sum
of n-1 terms.
Each is a sum of factor-products with n-2 factors ... but some factor-products are repeated !
Consider
y = (x + a1)(x + a2)(x + a3)... (x + an) =
xn + (a1+a2+...+an)xn-1 + ...
then n-1 differentiations would yield:
dn-1y/dxn-1
= [n!]x + [(n-1)!](a1+a2+...+an)
= [(n-1)!] {(x+a1)+(x+a2)+...+(x+an)}
which is (n-1)! times the sum of factor-products taken 1 at a time
In general, for the higher derivatives, we have:
dmy/dxm
= m!{sum of factor-products taken n-m at a time}
|