CS代写 UNIVERSITY COLLEGE LONDON Faculty of Engineering Sciences

UNIVERSITY COLLEGE LONDON Faculty of Engineering Sciences
Department of Computer Science
Problem Set: Mathematical Foundations

Copyright By PowCoder代写 加微信 powcoder

1. Consider the following vector and matrix:
where α ∈ R
(a) What value(s) should β take so that v is normalised?
(b) Find a vector, w, which is orthonormal to v?
(c) Is such a vector unique? Explain.
(d) Is A symmetric?
(e) Under what conditions on α is A invertible?
(f) If A is positive definite how is α constrained?
v=β 4 􏰈4 α􏰉
(g) If A represents the covariance matrix associated with a bivariate Gaussian distri- bution, and α = −3 then what is the correlation between the 2 random variables associated with that distribution?
(h) If A represents the covariance matrix associated with a bivariate Gaussian distribu- tion, and α = 0, describe the particular shape of the 2-dimensional isocontours of probability traced out by this particular distribution.

2. Discuss the nature of the optimality associated with minimisations of the following func- tions. For each consider whether we can be sure that a particular minimisation is globally or locally optimal and whether a particular minimisation is unique.
where: b ∈ R
f (x) = 􏰑 (x − ai )2
g(x) = |x − b|
h(x) = 􏰑 |x − bi| i=1
22 k(x)=􏰑(x−ai)2 +􏰑|x−bi| i=1 i=1
where: a1,a2 ∈R,a1 ̸=a2
where: b1,b2 ∈ R,b1 < b2 where: a1, a2, b1, b2 ∈ R are all distinct. 3. Demonstrate, using Taylor’s expansion: (1 − x) ≤ e−x [20 marks] Consider a dice-rolling game in which you are invited to roll a fair six-sided die, and are paid the same number of pounds as the outcome on the die. How much would you pay to play this game? (b) Consider a new dice-rolling game in which you are invited to roll a fair six-sided die, after which you are given the option to re-roll the die, after which the game ends, or to end the game immediately. Whenever the game ends you are paid the same number of pounds as the outcome on the final die roll. How much would you pay to play this game? (c) Finally, consider a new dice-rolling game in which you are invited to roll a fair six- sided die, after which you are given the option to re-roll the die or to end the game immediately. Should you choose to roll the die a second time you are then given a further option to re-roll the die a third time, after which the game ends, or to end the game after the second roll. Whenever the game ends you are paid the same number of pounds as the outcome on the final die roll. How much would you pay to play this game? 5. Consider the following probability density function (pdf): 1 􏰂 (x−μ)2􏰃 p(x) = √2πσ2 exp − 2σ2 (a) What is the name usually given to this pdf? Where μ ∈ R and σ ∈ R+. (b) State the mode of p(x). (c) Demonstrate that the stationary point of p(x) is equal to the mode. 6. Suppose that X is a discrete random variable, with outcomes 0 and 1, with a distribution characterised such that P(X = 1) = θ. (a) What is the mean of X? (b) What is the variance of X ? (c) Assuming that a sequence of n samples are drawn iid from this distribution. State the log-likelihood function for this sequence. (d) Now assume that we observe one such sequence of outcomes: {1, 1, 0, 0, 1}. Use the technique of maximum likelihood estimation to infer a value for θ.