When is the Chern class of a principal $G$-bundle same to the Chern class of the associated complex vector bundle?

Let $P\rightarrow M$ be a principal bundle, with structure group $G$. If $G$ has a representation $\rho:G\rightarrow GL(n,\mathbb{C})$, then we can define its associated vector bundle $E=P\times_{\rho}\mathbb{C}^{n}$.

Since a connection $A$ on $P$ induces a covariant differential $\nabla$ on $E$, I would say that the Chern classes defined on $P$ is the same to the Chern classes defined on $E$.

Is the above statement correct?

I got confused because one can define the so-called adjoint bundle $ad(P)=P\times_{Ad}\mathfrak{g}$, where $Ad$ represents the adjoint action of $G$ acting on its own Lie algebra $\mathfrak{g}$. Such a bundle has typical fiber $\mathfrak{g}$ being the Lie algebra of its own structure group.

Take the canonical line bundle over $\mathbb{CP}^{1}$ as an example. The total space of the principal bundle is $S^{3}$, which is non-trivial. However, starting from the principal bundle $S^{3}\rightarrow\mathbb{CP}^{1}$, the adjoint bundle seems to be $\mathbb{CP}^{1}\times\mathbb{R}$, which is trivial, because its structure group $U(1)$ is abelian and the first Stiefel-Whitney class is zero.

Now, both the trivial line bundle and the canonical line bundle are the associated vector bundle of the same hopf fibration, but the adjoint bundle doesn't even have a Chern class.

Is that really true that the Chern class $c_{i}(P)$ of a principal bundle is same to the Chern class $c_{i}(E)$ of its associated vector bundle $E$?

In general, under what situation will the Chern class of a principal $G$-bundle be same to the Chern class of any of associated complex vector bundle?

• I don't think there is a definition of the Chern classes $c_i(P)$ of a principal bundle. For instance, what are the allowed values of $i$? – Will Sawin Aug 3 '18 at 21:05
• Maybe the OP is asking about the comparison between the Chern classes of the rank-$n$ vector bundle associated to a principal $\text{GL}_n$-bundle and the rank-$n^2$ vector bundle that is the adjoint bundle of that principal bundle. – Jason Starr Aug 3 '18 at 21:07
• @Will Sawin Doesn't the expression $\mathrm{Det}(1+\frac{iF}{2\pi})$, where $F=dA+A\wedge A$ define the Chern class of the principal bundle with the connection $A$? I found physicists talking about this in some papers about Chern-Simons theory. – The Last Knight of Silk Road Aug 3 '18 at 21:08
• The physicists were playing fast and lose: the definition of Chern class requires a determinant, as you have in your formula, so they are assuming that $G$ is a group of matrices, i.e. has a given faithful representation. – Ben McKay Aug 3 '18 at 23:14
• The Chern classes for a principal $U(n)$-bundle are, by definition, the Chern classes of the associated $\mathbb C^n$ bundle given by the standard $U(n)$-action on $\mathbb C^n$. The adjoint bundle isn't the right one to take and it has nothing to do with the matter. – Igor Belegradek Aug 3 '18 at 23:23