I'm trying to do some discrete mathematics work and I am told I need to use Inclusion-exclusion, but I really don't see why the exclusion would be needed?
The question:
What is the number of ways to color $n$ objects with 3 colors if every color must be used at least once?
If we let each color represent a circle on a venn diagram, we would come up with this something like this:
Let's say the green circle is $A$, the blue circle is $B$ and the red circle is $C$.
If we used inclusion-exclusion, $|A \cup B \cup C| = |A| + |B| + |C| = |A \cap B| - |A \cap C| - |B \cap C| + |A \cap C \cap C|$
Why would you exclude $|A \cap B| - |A \cap C| - |B \cap C|$? That would be getting rid of yellow, purple, and baby blue. Is there something I'm missing?
I would say there are 7 possible colors per object, therefore, the number of ways to color n objects with 3 colors would be $n^7$.

We can make a table of the number of ways to color:
Using color $1$ only: $1$ way to color.
Using color $2$ only: $1$ way to color.
Using color $3$ only: $1$ way to color.
Using colors $1$ and $2$ (so each color appears at least once): $2^n-2$ ways to color
Using colors $1$ and $3$ (so each color appears at least once): $2^n-2$ ways to color
Using colors $2$ and $3$ (so each color appears at least once): $2^n-2$ ways to color
Using colors $1,2$ and $3$ (so each color appears at least once): $3^n-3\cdot2^n+6-3=3^n-3\cdot2^n+3$