I've been studying representation theory and a doubt has originated within me
I'm working with nonlinear irreducible characters, and by exercise 2.10 on Isaac's "Character theory of finite groups" I know that if $\chi (1) > 1$ then $\chi(1) \geq |G|/(n-1)$ with $n = |G:A|$ with $A$ an abelian subgroup of $G$.
But we know that the center of a group $Z(G) \subseteq G$ is abelian, by its definition, so $|G:Z(G)|=n$
Now, what I'd like to know is the relation of this index with the order of the conmutator subgroup $G'$ defined in the book as \begin{align} G' = \cap \{Ker(\chi) | \chi \in Irr(G), \chi(1)=1\} \end{align}
\begin{align} |G:Z(G)| ??|G'| \end{align}
If there's a relation from group theory it would also be helpful, it doesn't have to come from the definition I gave previously
Pd: the reason why I cited exercise 2.10 is that the relation involving the $n-1$ would be useful in the problem I'm working on
Thank you in advance, I hope there exists such relation.
Edit: I forgot to mention that I have that $|G'|=p$ with $p$ a prime number.
There is no clear relation between $[G:Z(G)]$ and $|G'|$. For the Dihedral group $D_{2n}$, of order $2n$, $n$ odd, the former number is $2n$ and the latter is $n$. For Abelian groups and simple groups the numbers are equal. If $p,q$ are odd primes, $p\mid q-1$, then there is a non-abelian group of order $pq$ with the first number equal to $pq$ and the second number equal to $q$. For the Heisenberg group of order $p^3$, the first number is $p^2$ and the second number is $p$.
Edit. Influenced by Derek Holt's answer, I found a connection between $|G/Z(G)|$ and $|G'|$: If $|G/Z(G)|=n$ then $|G'|\le n^{2n^3}$.