[Math] The Key Rules of Differentiation

2024. 2. 28. 09:18·.../Math
728x90
728x90

The Key Rules of Differentiation

 

1. Power rule (다항식의 미분에 핵심)

If $f(x)=x^n$, where $n \in \mathbb{R}$, then the derivative of $f$ with respect to $x$ is $f^\prime(x)=nx^{n-1}$

더보기
https://youtu.be/m0xJM4AntQg?si=KjDW_SeYWwN-BZnF


2. Constant rule

if $f(x)=c$ where $c \in \mathbb{R}$ and constant, then the derivative of $f$ with respect to $x$ is $f^\prime (x)=0$.


3. Sum and Difference rule (미분의 선형성)

$f$와 $g$ 모두 $x$에 대해 differentiable function이라면, 다음이 성립.

$$\frac{d}{dx}\left[ f(x) \pm g(x) \right] = f^\prime (x) \pm g^\prime (x) = g^\prime (x) \pm f^\prime(x)$$

 

다음과 같은 linearity의 관점으로 기억하는게 낫다.

$$\frac{d}{dx}\left(af(x)+bg(x)\right)=a\frac{df(x)}{dx}+b\frac{dg(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^\prime (x)= u^\prime(x)v(x)+u(x)v^\prime (x)$.


5. Quotient rule (몫의 법칙)

두 미분가능한 functions 간의 ratio를 미분할 때 사용됨.

 

If $f(x)=\frac{u(x)}{v(x)}$, then the derivative of $f$ with respect to $x$ is $f^\prime (x)=\frac{u^\prime (x) v(x)-u(x)v^\prime(x)}{v^2(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 $\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}$.

 

2023.06.24 - [.../Math] - [Math] Chain Rule (연쇄법칙)

 

[Math] Chain Rule (연쇄법칙)

What is the Chain Rule Chain rule은 composite function에 대한 derivative를 구하는 방법임. $$\displaystyle \frac{d}{dx}\left[f\left(g(x)\right)\right]= f^\prime \left(g(x)\right) g^\prime(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})^\prime (y) = \frac{1}{f^\prime (y)}$$

위의 경우, $f^\prime (y) \ne 0$여야 함.

 

주의할 건, $f^\prime (y)$는 단순히 $f^\prime (x)$에서 기호 $x$를 기호 $y$로 바꾼 것이 아니고, $x$를 $y$로 표현한 식을 $x$ 자리에 대입하는 것임.

$y=x^3$에 대해 적용시, $f^\prime(x)=3x^2$ 이며 $x=y^{\frac{1}{3}}$이므로, $(f^{-1}) (y)= \frac{1}{3(y^{\frac{1}{3}})^2} = \frac{1}{3y^{\frac{2}{3}}}$ 임.

 

reciprocal이 아닌 inverse function임을 기억할 것.


같이보면 좋은 자료들

https://dsaint31.github.io/math/math-week03/

 

[Math] Week 03

Limit and Continuity

dsaint31.github.io

 


 

728x90

'... > Math' 카테고리의 다른 글

[Math] Derivatives of Exponential and Logarithmic Functions  (1) 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
'.../Math' 카테고리의 다른 글
  • [Math] Derivatives of Exponential and Logarithmic Functions
  • [Math] Limits of Log and Exponential Functions
  • [Math] Cauch’s Mean Value Theorem
  • [Math] Intermediate Value Theorem, Mean Value Theorem and Rolle’s Theorem
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (787)
      • Private Life (15)
      • Programming (206)
        • DIP (116)
        • ML (35)
      • Computer (120)
        • CE (54)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (368)
        • Signals and Systems (115)
        • Math (176)
        • Linear Algebra (33)
        • Physics (43)
        • 인성세미나 (1)
      • 정리필요. (61)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (7)
        • PET Study 2009 (1)
        • 방사선 장해방호 (5)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

    • Test
    • PET Study 2009
    • 기타 방사능관련.
  • 인기 글

  • 태그

    signals_and_systems
    인허가제도
    Vector
    cv2
    math
    ML
    Programming
    Term
    function
    SS
    Python
    SIGNAL
    fourier transform
    opencv
    Probability
    linear algebra
    random
    Optimization
    numpy
    signal_and_system
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
[Math] The Key Rules of Differentiation
상단으로

티스토리툴바