I am referring to this video https://www.youtube.com/watch?v=vgELyZ9LXX4 at 1:08:39 .
$n$ : number of nodes in the tree
$Z_{n,k}$ : Indicator random variable that activates when rank of the root is k
$X_n$ : random variable denoting height of BST
$Y_n$ : random variable denoting $2^{X_n}$
In the video, it is said that $Z_{n,k}$ and $max(Y_{k-1} , Y_{n-k})$ are independent events.
But how they are independent? If we have $k=1$, then the max height can go till n. And when we have $k=n/2$ , max can go till $n/2$ only. Therefore the choice made by $Z_{n,i}$ affects the possibilities for $Y_{k-1}$ and $Y_{n-k}$