Exercises
ex-ch22-01
EasyA relay channel has dB, dB, and dB.
(a) Compute the direct transmission rate. (b) Compute the half-duplex DF achievable rate. (c) Compute the half-duplex AF achievable rate. (d) Which protocol provides the largest gain over direct?
Convert dB to linear scale before computing rates.
Direct rate
(a) . bits/s/Hz.
DF rate
(b) , . bits/s/Hz.
AF rate
(c) bits/s/Hz.
Comparison
(d) DF: gain. AF: gain. DF provides the larger gain because the link is strong enough for reliable decoding.
ex-ch22-02
EasyVerify the cut-set bound for the relay channel in Exercise 22-1.
(a) Compute the cut-set bound for equal time allocation (). (b) Compute the gap between the cut-set bound and the DF rate. (c) Is the relay in the "strong relay" regime?
The cut-set bound with is .
Cut-set bound
(a) Cut 1: . Cut 2: .
bits/s/Hz.
Gap
(b) bits/s/Hz.
This is above the theoretical 0.5-bit gap for the optimal time-sharing; the gap here is larger because we fixed .
Strong relay check
(c) Strong relay requires : . Yes, the relay is in the strong regime.
ex-ch22-03
HardDerive the AF achievable rate formula:
(a) Write the relay's received signal and the amplification gain . (b) Write the destination's combined received signal from both the direct and relay paths. (c) Compute the effective SINR at the destination.
The relay amplifies with gain to satisfy its power constraint.
Relay amplification
(a) Relay receives: . Relay transmits: with .
Destination signal
(b) Phase 1: . Phase 2: .
.
Effective SINR
(c) MRC combining yields:
where .
Therefore: .
ex-ch22-04
HardShow that the capacity of the degraded relay channel ( is a degraded version of , i.e., ) is achieved by decode-and-forward and equals the cut-set bound.
(a) Define the degraded relay channel formally. (b) Show that the DF lower bound matches the cut-set upper bound. (c) Explain why the degraded condition is sufficient for capacity characterisation.
In a degraded channel, the relay can decode anything the destination can decode, so the DF relay never becomes the bottleneck.
Degraded channel definition
(a) The relay channel is physically degraded if , i.e., is obtained from through a memoryless channel.
More precisely: forms a Markov chain (given ). This means the relay receives a noisier version of the destination's signal.
DF matches cut-set
(b) The cut-set bound (broadcast cut) is: .
By the degradedness: (Markov chain). So Cut 2 .
DF achieves . Since (data processing inequality, reversed because degradedness is ... wait, the degraded direction means is better than ).
Actually: for the degraded relay channel where the relay has a weaker observation, DF with block Markov encoding achieves . Since , the broadcast cut is not the binding cut.
Capacity expression
(c) For the degraded relay channel:
The degradedness ensures that the relay's decoding constraint is the tighter of the two cuts, and DF with superposition coding at the source achieves this. This was Cover and El Gamal's original 1979 result.
ex-ch22-05
MediumA cooperative system has one source, one relay, and one destination, all with Rayleigh fading links. The target rate is bits/s/Hz.
(a) Compute the outage probability of direct transmission at SNR = 15 dB. (b) Compute the approximate outage probability with selection DF cooperation (diversity order 2). (c) What is the cooperation gain (in dB) at this outage probability?
For Rayleigh: . For diversity order 2: .
Direct outage
(a) . (9.1%).
Cooperative outage
(b) Half-duplex effective rate: bits/s/Hz. Threshold: .
.
Wait β this is worse than direct! The half-duplex penalty doubles the effective rate requirement. With effective threshold :
.
At bits/s/Hz and SNR = 15 dB, the half-duplex penalty outweighs the diversity gain. Cooperation is beneficial at higher SNR or lower rate.
Revised comparison
(c) For bit/s/Hz instead: Direct: . Coop: , .
Cooperation gain: direct needs SNR 20.5 dB for 0.9% outage; coop achieves it at 15 dB. Gain 5.5 dB.
ex-ch22-06
MediumDerive the diversity-multiplexing trade-off (DMT) for repetition-coded cooperation with relays.
(a) Show that the multiplexing gain is (each phase carries the same information). (b) Show that the diversity order at is . (c) Plot the DMT curve for . (d) Compare with the DMT of DDF: .
With phases (broadcast + relay phases), the effective rate is where is the per-phase rate.
Multiplexing gain
(a) In repetition-coded cooperation, phases transmit the same codeword. The effective rate is . The multiplexing gain , so the effective multiplexing gain is . Maximum: (since the per-phase ).
Maximum diversity
(b) At : all paths contribute diversity independently. Each Rayleigh link provides diversity 1. .
Full DMT
(c) The DMT is linear: for .
: , . : , . : , .
DDF comparison
(d) DDF: for .
DDF achieves the same maximum diversity but with multiplexing gain up to (the full MISO DMT). The repetition-coded DMT is strictly worse for all .
ex-ch22-07
HardProve that the DDF protocol achieves the optimal DMT of the MISO channel.
(a) Write the DDF protocol: the relay listens for fraction of the block, then transmits for . (b) Show that the relay can decode at multiplexing gain if for some . (c) Show that the remaining fraction is sufficient for the distributed space-time code to achieve diversity .
The key idea is that adapts to the relay's channel realisation, not fixed in advance.
DDF protocol
(a) Source transmits a codeword of block length . Relay listens until time where:
.
After decoding, relay transmits a distributed space-time code with the source for the remaining symbols.
Decoding fraction at multiplexing gain $r$
(b) With and Rayleigh fading: .
For (exponential parameterisation): when .
If : and relay cannot decode. Probability: .
DMT computation
(c) With paths (direct + relays), each independently faded, and relay contributing for fraction :
The outage exponent is , matching the MISO DMT. The dynamic listening ensures that the relay contributes whenever possible, and the diversity order is not penalised by the variable listening time.
ex-ch22-08
MediumA relay at position of the - distance with and dB:
(a) Compute and . (b) Compute the DF rate. (c) Compare with and .
.
SNR values
(a) . . .
DF rate at $f = 0.3$
(b) bits/s/Hz.
Comparison
(c) : , . .
: , . .
gives the highest rate (3.67 bits/s/Hz).
ex-ch22-09
MediumSolve the optimal DF relay position equation numerically for .
(a) For each , find to three decimal places. (b) Show that as . (c) Show that as . (d) Plot and comment on the sensitivity.
Use bisection or Newton's method on .
Numerical solutions
(a) | | | |----------|-------------| | 2 | 0.382 | | 3 | 0.414 | | 4 | 0.435 | | 5 | 0.447 | | 6 | 0.456 |
Limit $\alpha \to \infty$
(b) As : for , and . The equation requires both sides to be nearly equal, which forces .
Limit $\alpha \to 1$
(c) For : . Cross-multiplying: , , , . As , .
Sensitivity
(d) varies from 0.382 to 0.456 as goes from 2 to 6 β a range of only 7.4% of . The optimal position is remarkably insensitive to the path-loss exponent, so -- is a robust choice for most environments.
ex-ch22-10
EasyIn a PNC two-way relay with BPSK modulation (, BPSK mapping ):
(a) Write all possible received signals at the relay for (four cases). (b) Show that the relay can determine from a 3-level threshold detector. (c) What happens when ? Describe the difficulty and a solution.
The four transmitted pairs are .
Received signals
(a) : ; ; ; .
Three distinct levels: .
XOR detection
(b) when (same bits). when (different bits).
Threshold detector: if , decode XOR = 0; if , decode XOR = 1.
Asymmetric channels
(c) When , the constellation points are , , , . The middle two points ( and ) are no longer coincident, creating a 4-point constellation.
Solution: the relay uses a mapping that accounts for the known channel gains, or it uses lattice codes that are designed to be robust to asymmetric channels.
ex-ch22-11
HardDerive the achievable rate region for the two-way relay channel with PNC.
(a) Write the multiple-access channel (MAC) constraints in Phase 1 for a Gaussian TWRC. (b) Show that the relay needs to decode for the XOR function. (c) Write the broadcast constraints in Phase 2 and derive the achievable sum rate. (d) Compare with the cut-set bound and identify the gap.
The MAC phase is a standard two-user Gaussian MAC. The relay only needs to decode the modulo-2 sum, not individual messages.
MAC phase constraints
(a) Phase 1 is a Gaussian MAC:
XOR decoding
(b) For the relay to decode , it suffices to decode the lattice point for some prime . The rate of the XOR function is bounded by the computation rate:
(for lattice codes).
For equal channels: .
Broadcast phase
(c) Phase 2: relay broadcasts at rate .
Sum rate: .
With equal channels: per phase, so sum rate bits/s/Hz.
Gap to cut-set
(d) The cut-set bound for the TWRC is . The PNC achievable rate is .
Gap: .
At high SNR: gap bit.
ex-ch22-12
EasyCompute the Gupta--Kumar per-node throughput for: (a) nodes. (b) nodes. (c) nodes. (d) By what factor does decrease when increases from 50 to 5000?
with (normalised).
Throughput values
(a) . (b) . (c) .
Decrease factor
(d) .
A 100 increase in nodes reduces per-node throughput by 14.7. The sub-linear scaling is better than (direct transmission) but still approaches zero.
ex-ch22-13
MediumExplain why the relay bottleneck arises in the Gupta--Kumar model.
(a) For random source-destination pairs in a unit square, compute the average number of hops per route using nearest-neighbour communication range . (b) Compute the number of routes passing through a typical node's neighbourhood. (c) Show that each node must relay for flows, leading to the per-node throughput bound.
Average source-destination distance: . Number of hops: .
Average hops
(a) (random pairs in unit square). Hop length: . Hops per route: .
Routes through a node
(b) Each route passes through nodes. There are routes total (one per source). Each node's neighbourhood (area ) is crossed by routes from sources that lie on a strip of width through the neighbourhood.
Number of routes through a typical node: .
Per-node throughput
(c) Each node can transmit at rate per time slot. With spatial reuse, each node gets fraction of time. It must relay for flows.
Per-flow throughput: .
ex-ch22-14
HardDescribe the hierarchical MIMO cooperation scheme of Ozgur--Leveque--Tse (2007) and show how it achieves per-node throughput.
(a) Describe the three-phase protocol at one level of the hierarchy: (i) intra-cluster exchange, (ii) MIMO transmission, (iii) intra-cluster distribution. (b) Show that if the cluster size is and the intra-cluster communication uses the protocol of the previous level, the overhead is . (c) Explain how levels suffice for the cluster size to reach . (d) Discuss the practical limitations of this scheme.
At each level, the cluster size squares: .
Three-phase protocol
(a) Phase I (local exchange): Nodes within a cluster of size exchange their data using the protocol of the previous hierarchical level. After this phase, every node in the cluster knows all messages.
Phase II (long-range MIMO): The cluster acts as a virtual -antenna array and performs distributed MIMO transmission to another cluster (also with virtual antennas), achieving multiplexing gain .
Phase III (local distribution): The receiving cluster distributes the decoded messages to individual nodes.
Overhead analysis
(b) Phase I requires messages to be exchanged within a cluster of nodes. Using the previous level's protocol with per-node throughput : time .
The MIMO phase delivers streams in one "super-slot." The ratio of overhead to useful data is , which is if (in the appropriate scaling).
Hierarchical levels
(c) Starting with (individual nodes): (first level clusters). ... More precisely, at each level the cluster size grows as : . After levels: . .
Practical limitations
(d) Key challenges:
- CSI overhead: Each node needs CSI for all intra-cluster links.
- Synchronisation: Distributed space-time coding requires tight timing across the cluster.
- Backhaul for CSI exchange: The intra-cluster exchange of channel estimates consumes overhead.
- Latency: levels of recursion introduce delay.
ex-ch22-15
MediumFor a relay at the midpoint () with and km:
(a) Compute and . (b) At what transmit SNR ( at 1 km) does direct transmission achieve 1 bit/s/Hz? (c) At the same , compute the DF rate and the gain.
.
SNR ratios
(a) . .
SNR for 1 bit/s/Hz
(b) requires . (9 dB).
DF rate
(c) , . bits/s/Hz.
Gain: .
ex-ch22-16
EasyDerive the crossover SNR for AF relaying at the midpoint () with .
(a) Write the AF rate as a function of . (b) Set and solve for . (c) Compare with the DF crossover from the text ( for DF).
.
AF rate expression
(a) , .
Crossover equation
(b) At the crossover: .
.
(8.4 dB).
Comparison
(c) AF crossover: 8.4 dB. DF crossover: 23.5 dB. AF ceases to be beneficial at much lower SNR than DF because it amplifies noise, providing less SNR gain per relay hop.
ex-ch22-17
MediumAnalyse full-duplex relaying and show that it eliminates the crossover problem.
(a) Write the full-duplex DF rate (no 1/2 factor) with self-interference cancellation (residual SI level ): . (b) Show that for all SNR values when (perfect cancellation). (c) Find the maximum tolerable residual SI for full-duplex to outperform half-duplex DF at SNR = 20 dB.
Full-duplex removes the 1/2 factor but adds self-interference at the relay.
Full-duplex DF rate
(a)
No 1/2 pre-factor since the relay transmits and receives simultaneously.
Perfect cancellation
(b) With :
Both terms since and .
Therefore always.
Maximum tolerable SI
(c) At , , SNR = 20 dB ():
HD-DF: bits/s/Hz.
FD-DF requires: (16 dB).
Full-duplex needs only 16 dB of SI cancellation to beat half-duplex DF at 20 dB SNR. Modern prototypes achieve 80+ dB cancellation β far exceeding this requirement.
ex-ch22-18
HardConsider a multi-hop relay chain with equidistant relays between source and destination (total distance , hop length , path-loss exponent ).
(a) Write the end-to-end rate for DF relaying with hops (each hop uses of the time). (b) Show that the optimal number of hops satisfies for large , where is a reference distance. (c) Compare single-hop, 2-hop, and 4-hop for km, , dB. (d) Discuss the overhead (latency, synchronisation) of multi-hop vs. the rate gain.
With hops and TDMA: rate .
Multi-hop rate
(a) Each hop spans distance . .
End-to-end rate (bottleneck = per-hop rate / time fraction): .
Optimal $L$
(b) Taking derivative of and setting to zero: gives .
For large : , so , giving , .
Numerical comparison
(c) , , . .
: . : . : .
Multi-hop with 3 relays gives the best rate (2.49 bits/s/Hz).
Overhead discussion
(d) Multi-hop introduces: (i) latency of hop delays, (ii) synchronisation overhead for TDMA scheduling, (iii) CSI acquisition for each hop, (iv) reliability concerns (one failed hop drops the connection). The optimal balances rate gain against these overheads.