





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!






The final exam is closed notes and book. Bring only a pen (no pencils). I can ask vocabulary questions on the final exam and expect you to know technical terms used in the problem statements.^1 The best way to study for the exam is to understand concepts and study all of the homework solutions, lecture notes, projects, and lecture supplements.
√^1 2 0 √^1 2
√^1 2 0 −^ √^1 2 0 1 0 √^1 2 0 √^1 2
All the columns of U provide an orthonormal basis for Y = R^3. The column of U 1 spans R(A) and the two columns of U 2 provide an orthonormal basis for N (AT^ ). The single element of V T^ = V 1 T spans R(AT^ ) = R = X. The nullspace of A is trivial. With the SVD in hand, it is readily determined using the formulas given earlier that σ 1 =
2 > 0 and
(^1) Thus during the exam I will not answer questions about questions asking for clarifications to to terms
or concepts that you are expected to already know. (^2) Note that these matrices have been hand crafted to be amenable to this approach. Generally numerical
techniques must be used to obtain the SVD.
Note that because A has full column rank we can also compute A+^ directly as A+^ = (AT^ A)−^1 AT^.
(b) We first determine that m = 3, n = 2, r = 2, ν = 0, and μ = 1. Again, once the dimensions of the various subspaces are known, we can systematically work the matrix A into the appropriate factorization,
√^1 2 0 0 1 √^1 2 0
√^1 2 0 0 1 √^1 2 0
√^1 2 0 −^ √^1 2 0 1 0 √^1 2 0 √^1 2
All the columns of U provide an orthonormal basis for Y = R^3. The two columns of U 1 gives an orthonormal basis for R(A) and the column of U 2 spans N (AT^ ). Both rows of V T^ = V 1 T provide an orthonormal basis for R(AT^ ) = R^2 = X. The nullspace of A is trivial. It now can be readily determined that σ 1 =
√ 2 2 > σ^2 = 1 > 0 and
1 2 0 1 0
1 2 0
1 2 0 1 0 1 2 0
1 2
1 2 0 −
1 2 0 0 0 −^12 0
Note that because A has full column rank we can also compute A+^ directly as A+^ = (AT^ A)−^1 AT^. (c) Here m = n = 3 while r = 1. For this case, the matrix A is rank–deficient (i.e., is neither one–to–one nor onto) and hence cannot be constructed using an analytic formula as can be done for the full–rank cases. We also have ν = μ = 1. The
(d) Here m = 2, n = 3, and r = 1. Thus A is rank–deficient and non–square (and definitely nonsymmetric).
√^1 5 √^2 5
√^1 5 √^2 5
√ 5 √^2 5
√^1 3 √^1 3 √^1 3
√ 5 −^ √^2 2 5 √ 5 √^15
√^1 3 √^1 3 √^1 3
√ 5 −^ √^2 2 5 √ 5 √^15
√^1 3 √^1 3 √^1 1 3 √ 2 0 − √^12 √^1 6 −^ √^2 6 √^1 6
Both columns of U provide an orthonormal basis for Y = R^2. The column of U 1 spans R(A) and the column of U 2 spans N (AT^ ). All the rows of V T^ provide an orthonormal basis for X = R^3. The row of V 1 T spans R(AT^ ). The nullspace of A is spanned by the two rows of V 2 T. It can now be readily determined that σ 1 =
15 > 0 and
̂ xMLE = arg min x {− ln p(y |x)} = arg min x
i=
σ i^2
(yi − x)^2 = arg min x ‖y − Ax‖^2 W ,
where
y =
y 1 y 2
σ 12 0 (^0) σ^12 2
We have that the adjoint operator is given by
σ^21
σ^22
so that,
A∗A =
σ 12
σ 22
which is invertible (as we already knew since A has full column rank). Continuing, we obtain,
(A∗A)−^1 =
σ 12 σ^22 σ^21 + σ 22
and
A+^ = (A∗A)−^1 A∗^ =
σ^22 σ^21 + σ^22
σ 12 σ 12 + σ 22
Thus,
x̂ MLE = A+y =
σ^22 σ^21 + σ^22
y 1 +
σ 12 σ^21 + σ 22
y 2 = α 1 y 1 + α 2 y 2 ,.
where
0 ≤ αi =
σ i^2 σ 12 + σ 22
≤ 1 , for i = 1, 2 ,
and α 1 + α 2 = 1. This shows that the MLE is a so–called convex combination(i.e., a normalized weighted average) of the measurements y 1 and y 2.
(a) In the limit that σ 1 → 0, we see from the general solution derived above that ̂ xMLE → y 1. This makes sense as σ 1 → 0 corresponds to y 1 becoming a perfect, non–noisy measurement of the unknown quantity x. In the limit that σ 1 → ∞, the general solution shows that ̂xMLE → y 2. This makes sense as σ 1 → ∞ corresponds to the first measurement becoming so noisy that it is worthless relative to the second measurement. (b) In the case that σ 1 = σ 2 = σ we have,
̂ xMLE = arg min x ‖y − Ax‖^2 W = arg min x
σ^2
‖y − Ax‖^2 = arg min x ‖y − Ax‖^2 ,
the last expression being an unweighted least–squares problem. Using the condi- tion σ 1 = σ 2 = σ, the general solution derived above becomes,
̂ xMLE =
(y 1 + y 2 ).
(b) We have y = Ax + n = Ax + b + (n − b) = Ax + b + ν where ν = n − b = n − βe has zero mean. Continuing,
y =
A e
x β
where A =
A e
and x =
x β
Assuming that A is one–to–one, we have
x̂ = A+y = (AT^ A)−^1 AT^ y
and ˜x = A+ν. Since ν has zero mean, ̂x is unbiased.
Note that in the scalar case the loss function is
`(x) =
(y − h(x))^2.
Also the gradient of (x) is just the derivative of(x) with respect to x,
′(x) = ∇(x) =
d dx
`(x) = −h′(x) (y − h(x)) ,
where h′(x) = (^) dxd h(x). Note also that the second derivative of the loss function is
`′′(x) = h′^2 (x) − h′′(x) (y − h(x)).
(a) Gradient Descent Method.
̂ xk+1 = ̂xk − αk`′(x̂ k) = x̂ k + αkh′( x̂ k) (y − h(̂xk)) ,
where the step size αk > 0 is used for convergence control. It is evident that Qk = 1 for all k.
(b) Gauss’ Method (Gauss–Newton Method).
To find a correction to the current estimate x̂ , we linearize the nonlinear inverse problem y = h(x) about the point ̂x,
y ≈ h( x̂ ) + h′(̂x)(x − ̂x) = h(x̂ ) + h′(̂x)∆x ,
where ∆x = x − ̂x, and find a solution which is optimal in the least–squares sense for this linearized problem. Note that the loss function for this linearized problem is
`gauss(x) =
(y − [h(̂x) + h′(̂x) (x − ̂x)])^2 =
(∆y − h′( x̂ )∆x)^2 = `gauss(∆x) ,
where ∆y = y − h(̂ x). Also note that because
x = x̂ + ∆x ,
where ̂x is given and fixed, it is evident that optimizing over x is equivalent to optimizing over ∆. An equivalent problem, then, is to find the correction ∆x which is optimal in the least–squares sense by minimizing `gauss(∆x) with respect to ∆x.
The solution is ∆x =
h′(̂x)
∆y =
h′(̂x)
(y − h(̂x)) ,
assuming that h′(̂x) 6 = 0. Incorporating a step size α > 0 for convergence control, yields ∆x = α(̂x)
h′(̂x)
(y − h(̂x)) = α(̂ x) Q(̂x)h′(̂x) (y − h(̂x)) ,
where Q(x̂ ) =
h′^2 (̂x)
This yields the iterative algorithm,
x̂ k+1 = ̂xk + αk
h′(̂ xk)
(y − h(̂ xk)) = ̂xk + αkQkh′(̂ xk) (y − h(̂xk))
where Qk =
h′^2 (̂ xk)
(c) Newton’s Method. To find a correction to the current estimate ̂x we expand the loss function (x) about ̂x to second order and then minimize this quadratic approximation to(x). With ∆x = x − ̂x, the quadratic approximation is
(x) ≈quad(x) = (̂x) +′(̂x)∆x +
′′(̂x)(∆x)^2 =quad(∆x).