Loading [MathJax]/jax/output/HTML-CSS/jax.js

Sunday, May 13, 2018

Mathematical formula in calculus you must know for machine learning①

As you may know, for the sake of appropriate understanding towards "machine learning", mathematical knowledge is imperative. In this article, I will share with you some mathematical formula in calculus you must know.

1. Product rule of differentiation

"Product rule of differentiation" is one of ways of evaluating derivatives.
(f(x)g(x))=f(x)g(x)+f(x)g(x) You can derive this formula by followings with comparative ease.
From definitin of differentiation, (f(x)g(x))=limh0f(x+h)g(x+h)f(x)g(x)h=limh0f(x+h)g(x+h)+f(x+h)g(x)f(x+h)g(x)f(x)g(x)h=limh0(g(x+h)g(x))f(x+h)h+limh0(f(x+h)f(x))g(x)h Now we assume f(x) is differentiable, therefore, let alone, f(x) is continuous. Consequetnly, limh0f(x+h)=f(x). Hence,
(f(x)g(x))=g(x)f(x)+g(x)f(x)

2. Quotient rule of differentiation

In calculus, quotient rule of differentiation is a method to find the derivative of a function that is the ratio of two different functions. source : Quotient rule
{g(x)f(x)}=g(x)f(x){f(x)}2 You can derive this formula as bellow with comparative ease. (g(x)f(x))=limh0g(x+h)f(x+h)g(x)f(x)h=limh0g(x+h)f(x)g(x)f(x+h)f(x)f(x+h)h=limh0g(x+h)f(x)f(x)g(x)+f(x)g(x)g(x)f(x+h)f(x)f(x+h)h=limh0{{g(x+h)g(x)}f(x)h{f(x+h)f(x)}g(x)h}1f(x)f(x+h)h
Since f(x) is differentiable let alone continuous, {g(x)f(x)}=g(x)f(x){f(x)}2

3. Integration by parts

"Integration by parts" or "partial integration" is a process to find the integral of a product of function in terms of the intergral of their derivative and anti derivative. source : Integration by parts (f(x)g(x))=f(x)G(x)f(x)G(x)dx    where G(x)=g(x)dx
You can derive this formula by following with comparative ease.
From "product rule of calculus",
(f(x)G(x))=f(x)G(x)+f(x)G(x)=f(x)G(x)+f(x)g(x) Therefore,    f(x)g(x)=(f(x)G(x))f(x)G(x) Take Integral on both sides, f(x)g(x)dx=(f(x)G(x))f(x)G(x)dx=(f(x)G(x))dxf(x)G(x)dx=f(x)G(x)f(x)G(x)dx

4. L'Hôpital's rule

"L'Hôpital's rule" uses derivative to help evaluate limits involving indeterminant form. source : L'Hôpital's rule
If limxcf(x)=limxcg(x)=0 or ,
limxcg(x)f(x)=limxcg(x)f(x)

No comments:

Post a Comment