Derivatives and Optimization
Derivatives
Existence of the derivative
Functions where we cannot find the derivative at every point are called the non-differentiable functions.
x = 1
Correct. There is a cusp at x = 1 so the derivative does not exist.
x = -1
Correct. There is a discontinuity/jump at x=-1, so the derivative does not exist.
Vertical tangents are not differentiable at the origin (x = 0) because we cannot divide by 0.
Properties of the derivative: Multiplication by scalars
When the function is multiplied by a scalar then the derivative is also multiplied by a scalar.
Properties of the derivative: The sum rule
The derivates can be added if they are heading in the same direction.
Speed = 0.65 m/s
Correct. The speeds add, to get 0.6 + 0.05 = 0.65
$2 + 2x$
Properties of the derivative: The product rule
The products of derivatives are the addition of two separate derivatives multiplied by the other element.
Given that $f(x) = xe^x$, calculate $f'(x)$
Properties of the derivative: The chain rule
With the above example, the chain rule allows us to find the change in temperature to time if we know the change in height to time and the change in temperature to height.
It allows us to find the derivative of the earlier element if we know the derivatives of the later elements.
$2e^{2x}$
Correct! The derivative of $2x$ is $2$ and $f(x)=g(2x)$ where $g(x)=e^x$.
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 (5) (0) | 2024.08.26 |
---|---|
Calculus for Machine Learning and Data Science (4) (0) | 2024.08.25 |
Calculus for Machine Learning and Data Science (2) (0) | 2024.08.23 |
Calculus for Machine Learning and Data Science (1) (0) | 2024.08.22 |
Calculus for Machine Learning and Data Science (0) (0) | 2024.08.21 |