(a)What we check: both non-negativity and total =1 (the two defining conditions). Every entry is ≥0. The sum:
0.05+0.05+0.10+0.10+0.20+0.10+0.10+0.15+0.15=1.00.✓
So it is a valid joint PMF.
(b)This is pure reading — the cell in row X=1, column Y=1: P(X=1,Y=1)=0.20.
(c)Why add two cells: the event {X=1,Y≤1} is the union of the disjoint cells {X=1,Y=0} and {X=1,Y=1}. Disjoint ⇒ add:
0.10+0.20=0.30.
Why no integral is needed: a constant density over a region means "probability spread evenly." Total probability = (height k) × (area of region). The unit square has area 1, so
k×1=1⇒k=1.Sanity picture: a flat sheet of height 1 sitting on a 1×1 base has volume 1 — and volume under the density is total probability.
Recipe:pX(x)=∑ypX,Y(x,y) — sum along a row. pY(y)=∑xpX,Y(x,y) — sum down a column.
Rows (marginal of X):
pX(0)=0.05+0.05+0.10=0.20,pX(1)=0.10+0.20+0.10=0.40,pX(2)=0.10+0.15+0.15=0.40.
Columns (marginal of Y):
pY(0)=0.05+0.10+0.10=0.25,pY(1)=0.05+0.20+0.15=0.40,pY(2)=0.10+0.10+0.15=0.35.Check:pX sums to 0.20+0.40+0.40=1.00 and pY sums to 0.25+0.40+0.35=1.00 — both consistent with the total probability being 1. We summarize in the margins:
Y=0
Y=1
Y=2
pX
X=0
0.05
0.05
0.10
0.20
X=1
0.10
0.20
0.10
0.40
X=2
0.10
0.15
0.15
0.40
pY
0.25
0.40
0.35
1.00
So pX=(0.20,0.40,0.40) and pY=(0.25,0.40,0.35). (Writing the sums in the margins is literally where the name "marginal" comes from.)
Recipe: freeze the column Y=1, divide each entry by that column's total pY(1)=0.40.
pX∣Y(0∣1)=0.400.05=0.125,pX∣Y(1∣1)=0.400.20=0.50,pX∣Y(2∣1)=0.400.15=0.375.Why divide: the raw column sums to pY(1)=0.40, not 1. Dividing rescales the slice into a legitimate distribution. Check:0.125+0.50+0.375=1.00✓.
First confirm it's valid:∫01∫01(x+y)dxdy=∫01(21+y)dy=21+21=1✓.
Recipe: integrate out y over its full range 0 to 1 (a fixed square, so bounds are constant):
fX(x)=∫01(x+y)dy=[xy+2y2]01=x+21,0<x<1,
and fX(x)=0 for x≤0 or x≥1 (outside the support the joint is 0, so the integral vanishes).
Check it integrates to 1:∫01(x+21)dx=21+21=1✓.
Sketch the region before integrating. The figure below shows, on the x–y plane, the triangle bounded by the vertical line x=0 (left edge), the horizontal line y=1 (top edge), and the diagonal line y=x (lower-right edge). The shaded interior is the support 0<x<y<1; the orange vertical segment is one slice at a fixed x, where y sweeps from y=x up to y=1.
Recall Solution 3.1
(a)Why: total probability must be 1. On 0<x<y<1, for a fixed x the variable y runs from x up to 1 (the orange slice in the figure):
∫01∫x18xydydx=∫018x[2y2]x1dx=∫014x(1−x2)dx=4(21−41)=1.✓
(b)Marginal of X — collapse y; for fixed x, y∈(x,1):
fX(x)=∫x18xydy=8x⋅21−x2=4x(1−x2),0<x<1,
and fX(x)=0 outside (0,1).
Marginal of Y — collapse x; for fixed y, x∈(0,y) (a horizontal slice of the triangle):
fY(y)=∫0y8xydx=8y⋅2y2=4y3,0<y<1,
and fY(y)=0 outside (0,1).
Checks:∫014x(1−x2)dx=1 and ∫014y3dy=1✓.
(c)Conditional of Y given X=x — divide joint by fX(x), keep the support y>x:
fY∣X(y∣x)=4x(1−x2)8xy=1−x22y,x<y<1,
and fY∣X(y∣x)=0 for y≤x or y≥1.
Why the support shifts: once X=x is fixed, Y can only live where the joint is positive, i.e. y∈(x,1).
Test: independence ⟺fX,Y(x,y)=fX(x)fY(y)for all(x,y).
fX(x)fY(y)=4x(1−x2)⋅4y3=16xy3(1−x2),
but the joint is 8xy. These are not equal, so X,Y are dependent.
Deeper reason (this is the real giveaway): the support itself is the triangle x<y — a constraint linking the two variables. Whenever the support of a joint density is not a rectangle (product of intervals), the variables cannot be independent, no matter how the formula looks. Knowing X=0.9 forces Y>0.9; that is dependence by definition. See Independence of Random Variables.
(a)Marginals (support x<y; for fixed x, y∈(x,1); for fixed y, x∈(0,y)):
fX(x)=∫x12dy=2(1−x),0<x<1;fY(y)=∫0y2dx=2y,0<y<1,
and both marginals are 0 outside (0,1).
(b)Expectations (use each marginal — see Expectation and Variance):
E[X]=∫01x⋅2(1−x)dx=2(21−31)=31,E[Y]=∫01y⋅2ydy=2⋅31=32.
(c)Cross-moment (integrate xy against the joint, over the triangle):
E[XY]=∫01∫0yxy⋅2dxdy=∫012y⋅2y2dy=∫01y3dy=41.
Then, via Covariance and Correlation,
Cov(X,Y)=E[XY]−E[X]E[Y]=41−31⋅32=41−92=369−8=361.
(d)Cov=+361>0: X and Y tend to move together. That matches the geometry — since x<y always, a large x forces a large y, giving positive association.
Given Y=y, X is uniform on (0,y), so fX∣Y(x∣y)=y1 for 0<x<y.
Multiply:
fX,Y(x,y)=y1⋅1=y1,0<x<y<1,
and fX,Y=0 elsewhere.
Support: the triangle 0<x<y<1 (same triangle as before).
Recover fX — collapse y; for fixed x, y ranges x to 1:
fX(x)=∫x1y1dy=[lny]x1=−lnx=lnx1,0<x<1,
and fX(x)=0 outside (0,1).
Check it integrates to 1:∫01(−lnx)dx=[x−xlnx]01=1✓. This is exactly the Law of Total Probability carried out in the continuous world.
The disk support is the whole point. The figure below shows, on the x–y plane, the circle x2+y2=1 (the violet boundary) with its interior shaded — that interior is the support. The two axes cross at the centre (0,0), which is the mean of both variables. The magenta vertical segment at x=0.6 is the chord to which Y is confined once X=0.6 is fixed: Y can only range over ∣y∣<1−0.62.
Recall Solution 5.1
(a) By symmetry E[X]=E[Y]=0 (the density is symmetric about both axes). For E[XY]:
E[XY]=π1∬x2+y2<1xydxdy.
For each fixed x, y runs symmetrically over (−1−x2,1−x2), and ∫−aaydy=0. So the whole integral is 0:
E[XY]=0⇒Cov(X,Y)=0−0⋅0=0.
(b)Independence test via support: the support is a disk, not a rectangle. Concretely, fX(x)=π21−x2 on (−1,1) (length of the vertical chord over π) and 0 elsewhere, and likewise fY(y)=π21−y2 on (−1,1). Their product
fX(x)fY(y)=π241−x21−y2
is not equal to the joint π1 on the disk (and is nonzero at, e.g., (0.9,0.9) which lies outside the disk where the joint is 0). Hence dependent.
(c)The resolution: covariance only detects linear association. Here the dependence is purely geometric/nonlinear: knowing X=0.9 squeezes Y into ∣y∣<1−0.81=0.19, so X constrains the range of Y — but symmetrically, so no linear tilt exists. Zero covariance means "no linear trend," never "independent." Only for the Bivariate Normal Distribution does zero covariance actually force independence. See also Independence of Random Variables.
Step 2 — marginal of the data (Law of Total Probability, integrate out θ):
P(D=1)=∫01θdθ=21.
Step 3 — posterior (Bayes = joint ÷ marginal):fΘ∣D(θ∣1)=1/2θ=2θ,0<θ<1,
and 0 outside (0,1).
Check:∫012θdθ=1✓ — a valid density.
Step 4 — posterior mean:E[Θ∣D=1]=∫01θ⋅2θdθ=2⋅31=32.Interpretation: seeing a defect pushes our belief about Θ from prior mean 21 up to 32 — exactly what evidence of a defect should do.