Let the number of complaints $X$ have a $Poisson$ distribution with mean, $λ=2$ and let $U$ be a random variable with $P(U=u) = 0.1u$, for $u=1,2,3,4$. (Calculate the probabilities $P(U = x),$ for $x=0,1,2,3,4.$)
For $N=0$, we have $P(N=0)=\frac{e^{-2}2^x}{x!}=\frac{e^{-2}}{1}≈0.1353352832.$
I just don't understand why they give me the random variable $U.$ Am I missing something?
Edit: The previous problem states:
For a r.v. $N$ with $Poisson$ distribution and $U_i$ with $P(U=u)=0.1u$, for $u=1,2,3,4.$ All random variables are independent.
Find the expected value of $S,$ defined as: $$S=\sum_{i=1}^N U_i.$$
Note: Confusion seems to have emerged about the statement of the problem. For clarity, here is the problem addressed in this Answer:
It seems that each complaint has consequences and the "cost" (in dollars time, or whatever) of a complaint is expressed by $U.$ For a similar Question, please see this page and also these lecture notes. This kind of random variable $S$ is known as a "random sum of random variables."
A result, often derived by a conditional argument, is that $E(S) = E(N)E(U).$ I will leave it to you to verify that $E(N) = 2$ and $E(U) = 3.$ There is also a result for $V(S),$ not required here, that is not so 'obvious'.
It is easy to get a good idea of some characteristics of the distribution of $S$ by simulation in R. The random function
rpoisdetermines the number $N$ of complaints, and the $U_i$ can be simulated by sampling from the integers 1 through 4 in the appropriate proportions. Results are for 100,000 repetitions of your experiment.A histogram of the simulated values of $S$ approximates the distribution of $S.$ Notice that $S = 0$ whenever $N = 0,$ and you have already noted that $P(N = 0) = .135.$