Week 2 Flashcards
1
Q
What is the Newton-Raphson method, and what are the steps?
A
The Newton’s method is used to find the minimum/maximum of a function.
By the Taylor expansion f(x + h) ≈ f(x) + h^T G(x) + 0,5 h^2 H(x) h =: Q(h), then minimize Q(h) with respect to h in R^d
Q’(x) = G(x) = H(x)h = 0 => H(x)h = -G(x)
set x = x + h, then repeat
2
Q
What are the disadvantages of the Newson-Rapson Method?
A
- It requires the existence of the Hessian matrix (2nd order derivates). If Hessian exists and behave well you also need t find the inverse of the Hessian at every step.
- A local optimum instead of a global one is found
We can use the BFGS method to approximate H^-1
3
Q
What are steps of the BFGS method?
A
- Start with k = 0 and a positive definite matrix M0, e.g. M0 = Id
- Calculate hk = -MkGk, with Gk = G(x^k)
- Update x^k+1 = x^k + hk
- Calculate qk = G(X^(k+1)) - G(x^k)
4
Q
What is the direction h of the Newton-Rapson method?
A
h = -[H(x^(k)]^-1 G(x^(k))
5
Q
What is the direction h of the BFGS method?
A
h = -MkG(x^(k))