Prove the following statement:
If a tree has $n$ vertices, then it must have a path with at least $k$ vertices or the tree must contain at least $\dfrac{n}{k}$ leaves.
My thoughts:
I kind of get why this is true, since if the longest path has $k-1$ vertices, then at best you can have one vertex in the middle with paths of length $\dfrac{k-1}{2}$ going out from it in $\dfrac{2n}{k-1}$ directions for a total of $\dfrac{2n}{k-1}$ leaves.
However, I can't seem to give a rigorous proof of this - any hints?
Hint: Arbitrarily choose some "root" vertex $r$ in $G$. For every leaf $\ell\in G$, there is a unique path $p(\ell)$ from $r$ to $\ell$. Every vertex in $G$ is contained in one of these paths, that is, $$ V(G)=\bigcup_{\ell\text{ is a leaf}}p(\ell) $$
Addendum: You can prove a stronger result. If you choose the root $r$ to be the midpoint of any path of maximal length, then the same proof shows that any tree whose longest path has $k$ vertices will have at least $\frac{n}{\lceil k/2\rceil}$ leaves.