阿肥刚刚在想微积分的事情,想说自己拿笔推推看。
第一个拿来开刀练习的是多项式的导数。
Q: Given f(x) = x^2, find its derivative.
A:
1. lim (f(x+h) - f(x)) / h, where h approches to 0
2. plug x^2 in the function, we have
((x + h)^2 - x^2) / h
which is equivalent to:
(x^2 + 2xh + h^2 - x^2) / h
=h(2x+h) / h
=2x+h
because h approches to 0, we plug 0 to h, which
gives us 2x
Therefore 2x is the derivative.