What is an orbit of a group action? What is an example of a group action on a set with 10 elements withe exactly two orbits?
I'm not entirely sure what an orbit is. This is a definition I found online:
Let $S$ be a $G$-set and $s\in S$. The orbit of $s$ is the set $G\cdot s =\{g\cdot s \mid g\in G\}$, the full set of objects that $s$ is sent to under the action of $G$.
This definition doesn't make sense to me, but is it a correct definition?
How would I use this definition to find an example?
This is correct. The idea of a group action is that you have a set (with no additional structure), and a group $G$ which acts on that set $S$ by permutations.
For a simple example, let $S$ be the letters $\{a,b,c,d,e\}$, and let $G$ be the cyclic group of order $3$. An action of $G$ on $S$ is essentially just a way to think of each element of $G$ as a function $S\to S$.
Write $G=\{1,\sigma,\sigma^2\}$, where $1$ is the identity. One possible action is to associate $1$ to the identity map $S\to S$ and $\sigma$ to the map defined as
\begin{align} \sigma(a)&=b\\ \sigma(b)&=c\\ \sigma(c)&=a\\ \sigma(d)&=d\\ \sigma(e)&=e. \end{align}
Then necessarily, this means
\begin{align} \sigma^2(a)&=c\\ \sigma^2(b)&=a\\ \sigma^2(c)&=b\\ \sigma^2(d)&=d\\ \sigma^2(e)&=e. \end{align}
You can see that $G$ can carry $a$ to $b$ and $c$, but never to $d$ or $e$. We say that the orbit of $a$ is the set $\{a,b,c\}=Ga$, and that the orbit of $d$ is $\{d\}=Gd$.
I am not being 100% precise in my definition of a group action, but this is the main idea. The "orbit" is meant to have sort of a physical interpretation in the sense that the orbit $Gx$ of $x$ is the set of points in $S$ which $x$ "visits" under the action by $G$.