

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


[1.a.] Use the fact (1) ∇(cT^ x) = c, and (2) ∇(xT^ c) = c where c, x ∈ Rn. In addition, xT^ Qx = (xT^ Q)x or xT^ Qx = xT^ (Qx), and use the fact (f g)
f
′ g + f g
′ :
∇(xT^ Qx) = (xT^ Q)T^ + Qx = QT^ x + Qx
Then, we have
∇f (x) =
∇(xT^ Qx) − ∇(cT^ x) =
(Q + QT^ )x − c,
Thus, the first-order necessary condition is 12 (Q + QT^ )x = c. And when ”(Q +
QT^ )” is invertible, then there exist a stationary point.
[1.b.] The Hessian matrix of f is ∇^2 f = 12 (Q+QT^ ). Thus, when (Q + QT^ ) is positive definite, then there exists a local minimizer. OR, for the condition for Q, Q should be positive definite, which leads that (Q + QT^ ) is also positive definite (the reason is given in (1.c.)) and invertible.
Note that if Q is positive semi-definite, then (Q + QT^ ) is also positive semi- definite, thus we cannot make sure that (Q + QT^ ) is invertible.
[1.c.] Let x 0 be an starting point. By using Newton’s method, we have
x 1 = x 0 − [∇^2 f (x 0 )]−^1 ∇f (x 0 )
= x 0 − [
(Q + QT^ )x 0 − c]
= x 0 − x 0 + [
(Q + QT^ )]−^1 c
= 2(Q + QT^ )−^1 c
Then, we need to prove that x 1 is a local minimizer;
[2.a.] We have f (x) = ‖Ax − b‖^2 = xT^ AT^ Ax − bT^ Ax − xT^ AT^ b + bT^ b. Then,
∇f (x) = ∇(xT^ AT^ Ax) − ∇(bT^ Ax) − ∇(xT^ AT^ b) = (AT^ A + (AT^ A)T^ )x − ∇((bT^ A)x) − ∇(xT^ (AT^ b)) = 2 AT^ Ax − (bT^ A)T^ − AT^ b = 2 AT^ Ax − AT^ b − AT^ b = 2 AT^ (Ax − b)
Thus, the first-order necessary condition is ∇f (x) = 2AT^ (Ax − b) = 0 i.e. AT^ Ax − AT^ b = 0.
And, this is also a sufficient condition since f is strictly convex on Rn^ (∵ For any non-zero vector v, vT^ AT^ Av = ‖Av‖^2 > 0 ⇒ ∇^2 f = 2AT^ A is positive definite for all x ∈ Rn^ ⇒ f is strictly convex on Rn).
[2.b.] Since A is m × n matrix and rank(A) = n (A has full rank), then AT^ A is non-singular (invertible). Thus, the optimal solution is x = (AT^ A)−^1 AT^ b.
[3] Let p = Zv and q = AT^ λ where Z is a basis matrix for the null space of A. Then, from the expression
x = p + q = Zv + AT^ λ
v^ +
λ 1 λ 2 λ 3
we have ”4” equations for ”4” unknowns (v, λ 1 , λ 2 , λ 3 ). Find (v, λ 1 , λ 2 , λ 3 ).
[4.] [•] (0, 0 , 2)T^ is not feasible, and (0, 0 , 3)T^ and (1, 0 , 1)T^ are feasible. [•] Check if (0, 0 , 3)T^ and (1, 0 , 1)T^ are stationary points, i.e.
ZT^ ∇f (x) =
2 x 1 + 2x 1 x^23 + 2x 2 2 x 1 + 4x^32 + 8 2 x^21 x 3
Since ZT^ ∇f (x) = 0 at x = (1, 0 , 1)T^ , (1, 0 , 1)T^ is the only stationary point.
[•] By using the following matrix,
ZT^ ∇^2 f (x)Z =
2 + 2x^23 2 4 x 1 x 3 2 12 x^22 4 x 1 x 3 0 2 x^21
we have
ZT^ ∇^2 f ((1, 0 , 1)T^ )Z =
which can be changed to (using Gaussian elimination) ( − 4 2 0 51