The Key Rules of Differentiation
1. Power rule (다항식의 미분에 핵심)
If f(x)=xnf(x)=xn, where n∈R, then the derivative of f with respect to x is f′(x)=nxn−1
2. Constant rule
if f(x)=c where c∈R and constant, then the derivative of f with respect to x is f′(x)=0.
3. Sum and Difference rule (미분의 선형성)
f와 g 모두 x에 대해 differentiable function이라면, 다음이 성립.
ddx[f(x)±g(x)]=f′(x)±g′(x)=g′(x)±f′(x)
다음과 같은 linearity의 관점으로 기억하는게 낫다.
ddx(af(x)+bg(x))=adf(x)dx+bdg(x)dx
4.Product rule (곱의 법칙)
u,v가 미분 가능한 함수(differentiable functions) 라고 가정할 경우, 다음이 성립.
If f(x)=u(x)v(x), then the derivative of f with respect to x is f′(x)=u′(x)v(x)+u(x)v′(x).
5. Quotient rule (몫의 법칙)
두 미분가능한 functions 간의 ratio를 미분할 때 사용됨.
If f(x)=u(x)v(x), then the derivative of f with respect to x is f′(x)=u′(x)v(x)−u(x)v′(x)v2(x).
6. Chain rule (합성함수의 미분)
미분 가능한 여러 functions의 Composite function을 미분할 때 사용됨.
If a function y=f(u) is composed of another function u=g(x) such that y=f(g(x)), then the derivative of y with respect to x is dydx=dydududx.
2023.06.24 - [.../Math] - [Math] Chain Rule (연쇄법칙)
[Math] Chain Rule (연쇄법칙)
What is the Chain Rule Chain rule은 composite function에 대한 derivative를 구하는 방법임. ddx[f(g(x))]=f′(g(x))g′(x) Chain Rule of Multi-variate Functions n-dimensional
dsaint31.tistory.com
참고로, Back-propagation에서 gradient를 구하기 위해 사용되는 Reverse-mode automatic differentiation은 chain rule을 기반으로 동작함.
7. Inverse function rule (역함수의 미분법칙)
y=f(x)가 differentiable and bijective function인 경우, inverse f−1(y)의 derivative는 다음과 같음.
(f−1)′(y)=1f′(y)
위의 경우, f′(y)≠0여야 함.
주의할 건, f′(y)는 단순히 f′(x)에서 기호 x를 기호 y로 바꾼 것이 아니고, x를 y로 표현한 식을 x 자리에 대입하는 것임.
y=x3에 대해 적용시, f′(x)=3x2 이며 x=y13이므로, (f−1)(y)=13(y13)2=13y23 임.
reciprocal이 아닌 inverse function임을 기억할 것.
같이보면 좋은 자료들
https://dsaint31.github.io/math/math-week03/
[Math] Week 03
Limit and Continuity
dsaint31.github.io
'... > Math' 카테고리의 다른 글
[Math] Derivatives of Exponential and Logarithmic Functions (0) | 2024.02.28 |
---|---|
[Math] Limits of Log and Exponential Functions (0) | 2024.02.28 |
[Math] Cauch’s Mean Value Theorem (1) | 2024.02.27 |
[Math] Intermediate Value Theorem, Mean Value Theorem and Rolle’s Theorem (1) | 2024.02.27 |
[Math] interval (구간) (0) | 2024.02.27 |