Exercises
ex-ch14-01
EasyConsider the binary multiplier MAC: , , and (Boolean AND).
(a) Find the capacity region.
(b) What is the maximum sum rate?
Compute for general Bernoulli inputs.
Given , the output is always regardless of .
Given , the output perfectly reveals .
Compute conditional mutual information
Let independently.
since deterministically. .
So . By symmetry, .
Sum mutual information
(since is a deterministic function). , so .
Capacity region
We must optimize over . For the sum rate, the maximum of is 1 bit, achieved when . But we also need and .
The maximum sum rate is bit (e.g., ). At this point: , . So user 1 cannot transmit!
The capacity region (convex hull over ) has sum rate at most 1 bit. One achievable extreme is with (user 1 always sends 1, acting as a relay).
ex-ch14-02
EasyFor a two-user MAC with , , and bits:
(a) List all five vertices of the capacity region (pentagon).
(b) Find the area of the pentagon.
(c) Find the rate pair on the dominant face where .
The five vertices are , , , , .
The pentagon area equals the area of the rectangle minus the triangle cut off by the sum-rate constraint.
Vertices
With , , :
, , , , .
Area
Rectangle area: . The sum-rate constraint cuts off a triangle with vertices , , . This triangle has base and height , so area .
Pentagon area: square bits.
Equal-rate point
Set . We need , , and , i.e., .
So the equal-rate point is , which is the corner point where both the and constraints are active.
ex-ch14-03
EasyVerify that for independent and any channel :
Interpret each decomposition in terms of SIC decoding.
Use the chain rule .
The independence of and is crucial for the step .
Chain rule
By the chain rule for mutual information:
This uses: and .
The second decomposition follows by symmetry (swapping user indices).
SIC interpretation
The decomposition corresponds to SIC with order : user 2 is decoded first at rate (treating user 1 as noise), then user 1 is decoded at rate (with user 2 removed). The total throughput equals regardless of the order.
ex-ch14-04
MediumFor the Gaussian MAC with , , :
(a) Compute the three capacity region bounds.
(b) Write down the two SIC corner points.
(c) Find the time-sharing parameter such that user 1 and user 2 achieve equal rates.
The corner points are and its dual.
Capacity region bounds
$
SIC corner points
Order : .
Order : .
Equal-rate time-sharing
Let and . The time-shared rate is . Setting :
Since , the equal-rate point is not on the dominant face. It must lie on the edge. Setting : we check . Yes. So the equal-rate point is .
ex-ch14-05
MediumFor the symmetric Gaussian MAC with and :
(a) Show that the MAC sum rate exceeds the TDMA sum rate by computing the ratio for .
(b) What happens to the ratio as and ?
For TDMA with , each user transmits with power for half the time.
At low SNR, .
At high SNR, .
MAC and TDMA sum rates
C_{\text{TDMA}} = 2\cdot\frac{1}{4}\log(1+2P) = \frac{1}{2}\log(1+2P) = C_{\text{MAC}}$.
Indeed, for the symmetric Gaussian MAC, the optimal TDMA sum rate equals the MAC sum rate. The MAC advantage is in the rate region shape, not the sum rate.
Asymmetric case shows the gap
For asymmetric powers , the gap appears. With and (fixed total ):
.
For TDMA, the optimal split gives a strictly smaller sum rate. The ratio depends on the power asymmetry.
Limiting behavior
For any fixed power asymmetry:
As : , so both MAC and TDMA sum rates are approximately linear in total power, and the ratio approaches 1.
As : , and the ratio also approaches 1 (logarithmic compression). The gap is largest at moderate SNR.
ex-ch14-06
MediumFill in the details of the MAC converse proof. Specifically, show that for any code with :
where as .
Apply Fano's inequality to .
Use since the messages are uniform.
Apply Fano's inequality
The messages are uniform over , so .
By Fano's inequality (applied to the pair as a single random variable over values):
Bound the rates
n(R_{1}+R_{2}) \leq I(X_1^n, X_2^n; Y^n) + n\epsilon_n\blacksquare$
ex-ch14-07
MediumFor the two-user MIMO MAC, verify that the sum of the SIC corner point rates equals the sum capacity. That is, show:
Use the identity .
Write .
Simplify the second term
Let and . Then:
Take log-determinant
\log\det(\mathbf{A}) + \log\det(\mathbf{A}+\mathbf{B}) - \log\det(\mathbf{A}) = \log\det(\mathbf{A}+\mathbf{B})= \log\det(\mathbf{I} + \mathbf{H}{1}\mathbf{K}1\mathbf{H}{1}^{H} + \mathbf{H}{2}\mathbf{K}2\mathbf{H}{2}^{H})\blacksquare$
ex-ch14-08
MediumFor the three-user Gaussian MAC with equal powers and noise variance 1, verify the submodularity inequality:
where ...
Actually, let us state it correctly: for the symmetric case (where the bound depends only on ). Verify submodularity for , .
For the symmetric MAC, depends only on . Write for .
Submodularity for a symmetric function reduces to: is decreasing in .
Compute $g(s)$ for the symmetric MAC
For users with equal power and noise 1:
With : .
bits. bits. bits.
Verify diminishing marginals
. . .
Wait, the marginals are increasing, not decreasing! This seems to violate submodularity. Let us recheck.
Actually, . For the symmetric Gaussian MAC:
where the noise after canceling users is just (not ). Given , the remaining channel is .
So: , , .
Marginals: , , . These are decreasing: . Submodularity holds.
Verify the specific inequality
. .
Indeed . Submodularity is verified.
ex-ch14-09
MediumFor the two-user fading MAC with Rayleigh fading i.i.d. across users and time, , :
(a) Write the ergodic sum-rate formula with CSIR only.
(b) Show that as , where is the Euler-Mascheroni constant.
For (b), use at high SNR.
For : where is the digamma function.
Ergodic sum rate
G = |h_1|^2 + |h_2|^2 \sim \text{Gamma}(2, 1)f_G(g) = g e^{-g}g \geq 0$.
High-SNR approximation
For : .
For : .
Since : the offset is approximately bits above .
ex-ch14-10
HardFor the -user symmetric fading MAC with i.i.d. Rayleigh fading (, equal power per user, noise variance 1), show that with opportunistic scheduling (CSIT), the sum rate scales as
where is the -th harmonic number. Compare with the CSIR-only sum rate.
With opportunistic scheduling, the effective channel gain is .
For i.i.d. : .
At high SNR, the sum rate is approximately .
Effective channel gain
With opportunistic scheduling, only the best user transmits at each time. The effective channel gain is . The total transmit power is (shared among users, but only one transmits at each time with the pooled power).
Actually, with individual power constraints per user, the active user transmits at power (not ). The sum rate is:
Expected maximum
For i.i.d. random variables:
This is a well-known result: the expected maximum of i.i.d. exponentials with mean 1 is the harmonic number .
Sum rate scaling
By Jensen's inequality (concavity of log):
At high SNR, (using for large ).
Compare with CSIR: . At high SNR, .
The CSIR sum rate grows as with the number of users (because power adds linearly), while the opportunistic scheduling sum rate with individual power constraints grows as (only multiuser diversity gain, not power pooling).
ex-ch14-11
HardConsider a two-user DM-MAC where for a specific input distribution , the capacity region pentagon has corner points and .
(a) What is the sum rate ?
(b) Find the rate pair achieved by time-sharing between and with .
(c) Can any point strictly above the line segment be achieved?
The sum rate must equal at both corner points.
Time-sharing gives a convex combination of the corner points.
Sum rate
At corner point : . At corner point : .
These should be equal (both on the dominant face)! Since they are not equal, these are not both on the dominant face of the same pentagon. This means they come from different input distributions.
If they come from the same input distribution, then the sum rate at both corners equals . Since , these must be from different pentagons. The capacity region is the convex hull.
Time-sharing
With :
Can we beat time-sharing?
Time-sharing between points from different pentagons is just one way to convexify. In principle, coding schemes that use the channel differently in different time slots (with shared randomness/time-sharing variable ) can achieve any point in the convex hull. But for the MAC, time-sharing is sufficient โ no more sophisticated technique is needed because the capacity region is the closure of the convex hull. So no point strictly outside the convex hull of the union of pentagons can be achieved.
ex-ch14-12
HardConsider the two-user MIMO MAC with (identity channel matrices, i.e., no spatial structure) and power constraints .
(a) Find the sum capacity.
(b) Show that this equals the sum capacity of a single-user MIMO channel with transmit antennas, receive antennas, channel matrix , and power constraint .
(c) Does it also equal the single-user capacity with power and channel ?
The sum capacity is .
For (c), the single-user channel has no block-diagonal constraint.
Sum capacity
With :
By water-filling: the optimal , (isotropic, since the channel has no preferred direction). So:
Comparison with single-user
(b): A single user with antennas, channel , and power has capacity:
.
The constraint is on a general matrix , not block-diagonal. This has more freedom than the MAC constraint, so the single-user capacity is at least as large. With the block-diagonal constraint (MAC), the two are equal only if the optimal single-user happens to be block-diagonal.
(c): Single-user with and power : . This equals the MAC sum capacity! Because both users see the same channel , their combined effect is equivalent to a single user with power .
ex-ch14-13
HardProve the individual rate converse for the Gaussian MAC: for any achievable rate pair, .
Use Fano's inequality and the entropy power inequality (or the maximum entropy property of the Gaussian).
Key step: .
Converse bound
By the converse argument (Section 14.1), any achievable rate satisfies:
Bound per-symbol mutual information
For each :
Since and independently, has variance at most . By the maximum entropy property:
with equality iff .
Conclude
$
ex-ch14-14
HardFor the -user symmetric Gaussian MAC (, i.i.d., ):
(a) Write the rate achieved by user under SIC with decoding order .
(b) Show that the user decoded last achieves the highest rate.
(c) For and , compute the rate of the first-decoded and last-decoded users.
User is decoded after removing . The remaining interference is from users.
SIC rates
User is decoded -th. After removing the first users, the remaining channel is . The interference power is and noise power is 1:
Last-decoded user has highest rate
User (decoded last) achieves .
User (decoded first) achieves .
Since for , we have . More generally, is increasing in (later = cleaner channel).
Numerical values for $K=5$, $P=10$
bits.
bits.
The ratio is . The last-decoded user gets more than 10 times the rate of the first-decoded user!
ex-ch14-15
HardProve that for i.i.d. random variables :
Use the order statistics approach: .
Alternatively, use where is the -th order statistic.
Tail probability approach
$
Evaluate the integral
Expand using the binomial theorem:
So:
Integrating:
Simplify to harmonic number
We use the identity: .
This can be proven by noting that and , or equivalently by the identity (substitute ).
The substitution , , transforms our integral:
Hmm, that does not simplify cleanly. Instead, directly:
Substituting : .
ex-ch14-16
EasyConsider the binary MAC with , , and (XOR).
(a) Find and .
(b) What is the capacity region? Is the sum-rate constraint active?
Given , is a bijection of .
What is without conditioning on ?
Conditional mutual information
Given , is a one-to-one function of . So . Similarly, .
Joint mutual information
(since is deterministic given both inputs).
For : is uniform on (since XOR of two i.i.d. fair bits is fair), so .
But .
So : the sum-rate constraint is binding.
Capacity region
, , .
The capacity region is a triangle with vertices , , . The sum rate is only 1 bit โ XOR completely destroys one user's information when the other is unknown!
ex-ch14-17
HardFor the two-user fading MAC with CSIT, show that the sum-rate-optimal power allocation satisfies:
where , and only the user with the strongest channel transmits.
Write the Lagrangian for the sum-rate maximization with individual power constraints.
For the sum rate, the channel is equivalent to a single user with gain .
Lagrangian formulation
The sum-rate optimization is:
Lagrangian with multipliers :
KKT conditions
For a given fading state , the optimal powers satisfy:
with equality if .
If both : . In the symmetric case (), this requires , a zero-probability event for continuous fading.
Only the best user transmits
For continuous fading distributions, with probability 1 there is a unique strongest user. Suppose and . Then the KKT condition for user 2 gives:
so . Only user 1 transmits with water-filling power:
ex-ch14-18
Challenge(Preview of Chapter 15) For the two-user Gaussian MAC, show that the sum capacity
equals the sum capacity of a Gaussian broadcast channel with total transmit power and two receivers with noise variance .
Hint: The Gaussian BC sum capacity is also (this will be proven in Chapter 15).
This is a special case of MAC-BC duality for the Gaussian case.
The key observation is that the sum rate depends only on the total power, not how it is split between users.
MAC sum capacity
The MAC sum capacity is . With Gaussian inputs and power constraints:
BC sum capacity
The Gaussian BC has a single transmitter with power and channel for receiver . When both receivers have the same noise variance , the BC is degraded, and the sum capacity is:
Duality
The MAC and BC sum capacities are equal: .
This is a special case of a deeper result: the capacity region of the Gaussian MIMO BC is the dual of the MIMO MAC capacity region. The MAC-BC duality transforms the MAC decoding problem (SIC at the receiver) into the BC encoding problem (dirty paper coding at the transmitter), preserving the rate region.
ex-ch14-19
ChallengeFor the two-user DM-MAC, show that for rate pairs strictly inside the capacity region, the average error probability decreases exponentially in :
where .
Hint: Show that each of the four error events in the joint typicality proof decays exponentially.
Each error event for subset decays as where is the mutual information bound and .
The overall exponent is the minimum over all subsets.
Exponential decay of each error event
From the achievability proof, for each non-empty :
When the rate pair is strictly inside the capacity region, each exponent .
Overall error exponent
n\Pr(\mathcal{E}_0)\blacksquare$
ex-ch14-20
MediumConsider a practical Gaussian MAC with users, power levels dB, dB, dB (received powers in dB above noise floor).
(a) Convert to linear scale and compute the maximum sum rate.
(b) Determine the optimal SIC decoding order for maximizing the weakest user's rate.
(c) Compute each user's rate under this ordering.
(dB) means .
To maximize the weakest user's rate, decode the weakest user last.
Convert to linear
, , . Noise .
Sum rate
$
Optimal ordering for fairness
To maximize the weakest user's rate, decode the weakest user last (giving it a clean channel). Order: (strongest first).
bits.
After removing user 1: bits.
After removing users 1, 2: bits.
Sum: bits. Checks out.