Derivatives and Optimization
Derivatives
Some common derivatives - Lines
Here are some of the common derivatives
Some common derivatives - Quadratics
For the above slide, plug in the values for $\Delta x$ (the change in $x$) and $x$, where $x = 1$ to get $\Delta f$ and then the slope
Some common derivatives - Higher degree polynomials
Some common derivatives - Other power functions
For all power functions, the exponent goes to a scalar value, and the exponent is subtracted by 1 as the new exponent.
The inverse function and its derivative
The inverse function undoes what a function did to an input.
The derivative of the inverse function is 1 over the derivative of the function.
Derivative of trigonometric functions
As $\Delta x$ gets smaller, the orange triangle also gets smaller, and the hypotenuse $h$ changes to $\Delta x$.
So update the formula and divide both left and right by $\Delta x$, where the left term changes to the derivatives and the right term cancels out the $\Delta x$ that leaves the trigonometric functions.
For formal math explanation, refer to [Derivatives of the Trigonometric Functions](https://www.mathsisfun.com/calculus/derivatives-trig-proof.html#:~:text=The%20three%20most%20useful%20derivatives%20in%20trigonometry%20are...,sin%20%28x%29...%20ddx%20tan%20%28x%29%20%3D%20sec2%20%28x%29).
Meaning of the Exponential (e)
Using the bank interests as an example.
As n increases the output gets close to the value of e.
The derivative of $e^x$
The derivative of $e^x$ is itself.
The derivative of log(x)
The derivative of a log is the inverse of the value
All the information provided is based on the Calculus for Machine Learning and Data Science | Coursera from DeepLearning.AI
'Coursera > Mathematics for ML and Data Science' 카테고리의 다른 글
Calculus for Machine Learning and Data Science (4) (0) | 2024.08.25 |
---|---|
Calculus for Machine Learning and Data Science (3) (0) | 2024.08.24 |
Calculus for Machine Learning and Data Science (1) (0) | 2024.08.22 |
Calculus for Machine Learning and Data Science (0) (0) | 2024.08.21 |
Linear Algebra for Machine Learning and Data Science (17) (0) | 2024.08.20 |