Optimality Principle 3 (cont)
If T were not optimal then we could find a lower cost tree T. This will lead to a lower cost tree T for the original alphabet.
T
q+p
T
q+p
T
q
p
C(T) = C(T) + p + q < C(T) + p + q = C(T)
which is a contradiction
Previous slide
Next slide
Back to first slide
View graphic version