Full question as the title was a maximum of 150 characters. A binary tree is a connected graph with no cycles, where each vertex has a degree less than or equal to 3. What is the maximum number of vertices of degree one that a binary tree with 10 vertices can have?
I am really struggling to understand this question and have not seen questions that are similar. I was hoping someone could push me into the right direction. As I understand the problem, we can only use 10 vertices. So would the maximum amount of vertices not be 10? I tried drawing it out and don't see how it can be any larger.
Let $v_1$ be the number of vertices of degree $1$, $v_2$ the number of vertices with degree $2$, and $v_3$ the number of vertices with degree $3$, so that
$$v_1+v_2+v_3=10\,.\tag{1}$$
I’m going to assume that you already know that if a tree has $v$ vertices, it has $v-1$ edges, and I’m going to assume that you know the handshaking lemma. If you put those two facts together, you find that
$$v_1+2v_2+3v_3=2\cdot(10-1)=18\,.\tag{2}$$
Subtract $(1)$ from $(2)$ to find that
$$v_2+2v_3=8\,.\tag{3}$$
You want to make $v_1$ as large as possible, so $(1)$ tells you that you want to make $v_2+v_3$ as small as possible. Experiment with possible values of $v_2$ in $(3)$ to find which one minimizes $v_2+v_3$, and use $(1)$ to find the maximum possible value of $v_1$. (When you’ve done all that, it would be a good idea actually to find a tree with $10$ vertices and the maximum possible number of leaves.)