Docsity

Sample Questions for Midterm Exam - Introduction to Statistical Computing | ECE 174, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
Sample ECE 174 Midterm Questions
1. VOCABULARY AND DEFINITIONS. Define the following terms.
Vector Space; Linear Independence; Dimension; Norm; Triangle Inequality; Banach Space; Inner
Product; Hilbert Space; Cauchy-Schwartz Inequality; Generalized Pythagorean Theorem; Projection
Theorem/Orthogonality Principle; Adjoint Operator; Independent Subspaces; Complementary Sub-
spaces; Orthogonal Complement; Projection Operator; Orthogonal Projection; Linear Inverse Problem;
Ill–posed Linear Inverse Problem; Least–Squares Solution; Minimum Norm Least–Squares Solution;
Moore–Penrose Pseudoinverse.
2. GEOMETRY OF LEAST SQUARES AND THE PROJECTION THEOREM. Consider the system
Ax =b,A∈Cm×n. View A:Cn→Cmas a linear operator between two finite dimensional Hilbert
spaces (of dimension nand m) over the field of complex numbers C.
(a) What is the geometry induced on the domain and codomain of Aby A? State in terms of Cn,
Cmand the “Fundamental Subspaces” of Aand its adjoint. Give the dimensions of the subspaces
and their geometric relationships to each other and the domain and codomain.
(b) (i) Give a condition for the system Ax =bto have a solution for every b∈Cm. (ii) Give a
condition for the system to have a uniq ue solution, when one exists. (iii) When neither of these
conditions holds, describe the solution possibilities in terms of b.
(c) Assume only that rank(A) = n. (i) Characterize the optimal solution to the Least Squares
Problem, min kAx −bk2. (I.e., what geometric condition must the optimal solution satisfy?) (ii)
Derive the Normal Equations (do not take derivatives). (iii) Does a unique optimal solution exist
and why?
(d) Now assume only that rank(A) = m. (i) Characterize the optimal solution to the Minimum Norm
Problem, min kxk2subject to Ax =b. (I.e., what geometric condition must the optimal solution
satisfy?) (ii) Derive an explicit form of the optimal solution in terms of Aand b(do not take
derivatives).
(e) (i) Give an exact expression (in terms of Aand its adjoint) for the Moore-Penrose pseudoinverse,
A+, of Awhen rank(A) = n(ii) Repeat for when rank(A) = m. (iii) Finally, show that when A
is square (m=n) both of these expressions reduce to A+=A−1.
3. OPERATOR ADJOINTS AND QUADRATIC OPTIMIZATION.
(a) Solve the Weighted Least Squares Problem,
min
x
1
2kAx −bk2
W,
where A∈Cm×n,W=WH>0, and rank(A) = n. Give the final solution explicitly in terms
of W,A, and bonly (or their hermitian transposes), using the appropriate inverses. Do not take
derivatives or factor W. (You can assume that the standard 2-norm holds on the domain.)
(b) Solve the Minimum Norm Problem,
min
x
1
2kxk2
Ωsubject to Ax =b ,
where A∈Cm×n, rank(A) = m, and Ω = ΩH>0. Give the final solution explicitly in terms
of Ω, A, and bonly (or their hermitian transposes), using the appropriate inverses. Do not take
derivatives or factor Ω. (You can assume that the standard 2-norm holds on the codomain.)
1
pf2

Partial preview of the text

Download Sample Questions for Midterm Exam - Introduction to Statistical Computing | ECE 174 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

Sample ECE 174 Midterm Questions

  1. VOCABULARY AND DEFINITIONS. Define the following terms.

Vector Space; Linear Independence; Dimension; Norm; Triangle Inequality; Banach Space; Inner Product; Hilbert Space; Cauchy-Schwartz Inequality; Generalized Pythagorean Theorem; Projection Theorem/Orthogonality Principle; Adjoint Operator; Independent Subspaces; Complementary Sub- spaces; Orthogonal Complement; Projection Operator; Orthogonal Projection; Linear Inverse Problem; Ill–posed Linear Inverse Problem; Least–Squares Solution; Minimum Norm Least–Squares Solution; Moore–Penrose Pseudoinverse.

  1. GEOMETRY OF LEAST SQUARES AND THE PROJECTION THEOREM. Consider the system Ax = b, A ∈ Cm×n. View A : Cn^ → Cm^ as a linear operator between two finite dimensional Hilbert spaces (of dimension n and m) over the field of complex numbers C.

(a) What is the geometry induced on the domain and codomain of A by A? State in terms of Cn, Cm^ and the “Fundamental Subspaces” of A and its adjoint. Give the dimensions of the subspaces and their geometric relationships to each other and the domain and codomain.

(b) (i) Give a condition for the system Ax = b to have a solution for every b ∈ Cm. (ii) Give a condition for the system to have a unique solution, when one exists. (iii) When neither of these conditions holds, describe the solution possibilities in terms of b. (c) Assume only that rank(A) = n. (i) Characterize the optimal solution to the Least Squares Problem, min ‖Ax − b‖^2. (I.e., what geometric condition must the optimal solution satisfy?) (ii) Derive the Normal Equations (do not take derivatives). (iii) Does a unique optimal solution exist and why? (d) Now assume only that rank(A) = m. (i) Characterize the optimal solution to the Minimum Norm Problem, min ‖x‖^2 subject to Ax = b. (I.e., what geometric condition must the optimal solution satisfy?) (ii) Derive an explicit form of the optimal solution in terms of A and b (do not take derivatives). (e) (i) Give an exact expression (in terms of A and its adjoint) for the Moore-Penrose pseudoinverse, A+, of A when rank(A) = n (ii) Repeat for when rank(A) = m. (iii) Finally, show that when A is square (m = n) both of these expressions reduce to A+^ = A−^1.

3. OPERATOR ADJOINTS AND QUADRATIC OPTIMIZATION.

(a) Solve the Weighted Least Squares Problem,

min x

‖Ax − b‖^2 W ,

where A ∈ Cm×n, W = W H^ > 0, and rank(A) = n. Give the final solution explicitly in terms of W , A, and b only (or their hermitian transposes), using the appropriate inverses. Do not take derivatives or factor W. (You can assume that the standard 2-norm holds on the domain.) (b) Solve the Minimum Norm Problem,

min x

‖x‖^2 Ω subject to Ax = b ,

where A ∈ Cm×n, rank(A) = m, and Ω = ΩH^ > 0. Give the final solution explicitly in terms of Ω, A, and b only (or their hermitian transposes), using the appropriate inverses. Do not take derivatives or factor Ω. (You can assume that the standard 2-norm holds on the codomain.)

V

V

V

1

2

3

R 1

R 2

R 3

Figure 1: The three resistor values are given and fixed, as is the desired target current I. You are to determine the voltages V 1 , V 2 , and V 3 which will attained the target current while minimizing the power dissipated in the circuit. You must also determine the optimum (minimum) value of the power dissipated in the circuit.

  1. SIMPLE APPLICATIONS. Do not use derivatives.

(a) In the plane, R^2 , suppose that repeated noisy measurements (say m of them) are made of a line through the origin. Derive the least squares estimate of the slope of the line based on your measured data. (b) Consider the three-resistor circuit shown in Figure 1 where I is a specified nonzero constant current and R 1 6 = R 2 6 = R 3 6 = R 1. (i) Find the voltages V 1 , V 2 , V 3 which will minimize the power dissipated in the resistors. (ii) Derive the optimum (minimum) power dissipated when the optimal voltages are used. (iii) Now let R = R 1 = R 2 = R 3 and show that the optimum power dissipated is 13 the power dissipated when the simple solution corresponding to V 2 = V 3 = 0 is used. (c) In the plane, R^2 , derive the minimum distance from the origin to the line y = ax + b. (The scalars a and b are both assumed to be nonzero.) Give the answer in terms of a and b. (d) (i) Determine the Normal Equations and the form of the pseudoinverse solution appropriate for determining a least–squares empirical fit to the forward I–V characteristic of a diode using the model, I = α + β V 3 , and abstract data (Vk , Ik), k = 1, · · · , m. (ii) Apply your solution to the specific numerical data,

V (mV ) 0.00 0.50 1. I (mA) -0.09 0.98 8.