[Math] Example of Lagrange Method

2024. 6. 19. 20:30·.../Math
728x90
728x90

Example 1 :

$x$, $y$ 가 조건 $g(x,y)=2x−y−10=0$을 만족할 때, $f=x^2+y^2$의 global minimum(최솟값)을 구하라.

Lagrangian

  • $L=x^2+y^2+\lambda (2x-y-10)$

풀이

Tangency condition 에 의해 최솟값을 가지는 $x,y$에서 다음이 성립.

  1. $\dfrac{\partial L}{\partial x}=2x+2\lambda=0$ , $\lambda = -x$
  2. $\dfrac{\partial L}{\partial y}=2y-\lambda=0, \lambda=2y$

1, 2로부터 Lagrange multiplier $\lambda$ 만족하는 식은 다음과 같음.

$$\lambda = -x = 2y$$

 

constraints $g(x,y)=0$ 을 위의 식과 함께 사용하면 다음과 같이 $\lambda, x, y$ 를 구할 수 있음.

$-2\lambda-\dfrac{\lambda}{2}−10=0$ 이므로, $\lambda=-4$임.

 

$y=−2, x=4, \lambda=-4$일 때 global minimum $f=20$ 이 성립.

 

Necessary condition을 만족하는 $x,y$를 구한 것이므로, 실제로 global minimum인지 test를 해야함.


참고자료

2023.06.26 - [.../Math] - [Math] Lagrange Method or Lagrange Multiplier Method

 

[Math] Lagrange Method or Lagrange Multiplier Method

Lagrange Method or Lagrange Multiplier MethodLagrange Method (or Lagrange multiplier method, 라그랑지 승수법)은equality constraints를 가진 optimization problem의 solution을 쉽게 구하는 방법을 가르킨다. 이를 좀 더 자세

dsaint31.tistory.com

 

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

[ML] Out of Bag: 유도하기.  (0) 2024.06.20
[Math] Ex: Lagrange Method: Tangency Condition  (0) 2024.06.19
[Math] Geometry: Euclidean, Projective, Non-Euclidean  (0) 2024.06.16
[Math] Homogeneous Coordinate and Projective Geometry  (1) 2024.06.16
[CV] Intersection and Ideal Point; Homogeneous Coordinate and Cross Product  (1) 2024.06.16
'.../Math' 카테고리의 다른 글
  • [ML] Out of Bag: 유도하기.
  • [Math] Ex: Lagrange Method: Tangency Condition
  • [Math] Geometry: Euclidean, Projective, Non-Euclidean
  • [Math] Homogeneous Coordinate and Projective Geometry
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (739)
      • Private Life (13)
      • Programming (56)
        • DIP (104)
        • ML (26)
      • Computer (119)
        • CE (53)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (350)
        • Signals and Systems (103)
        • Math (171)
        • Linear Algebra (33)
        • Physics (42)
        • 인성세미나 (1)
      • 정리필요. (54)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (1)
        • PET Study 2009 (1)
        • 방사선 장해방호 (4)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

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

  • 태그

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

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
[Math] Example of Lagrange Method
상단으로

티스토리툴바