Zulip Chat Archive

Stream: Is there code for X?

Topic: Trace of identity


Antoine Labelle (Nov 10 2021 at 18:39):

Is there somewhere a lemma saying that the trace of the identity map on a finite-dimensional vector space is the dimension of the space? I found the analogous lemma for matrices but not for linear maps.

Antoine Labelle (Nov 10 2021 at 18:48):

Oh and same question for trace being invariant under conjugation

Eric Wieser (Nov 10 2021 at 18:51):

Isn't the linear_map trace defined via a matrix anyway? If so, you can probably get the results you want by unfolding down to that matrix, if you don't want to wait for a better response here.

Kyle Miller (Nov 10 2021 at 19:06):

docs#matrix.trace_mul_cycle along with matrix inverse cancellation would give you invariance under conjugation, but that's still for matrices and not linear endomorphisms

Antoine Labelle (Nov 11 2021 at 02:35):

Yeah I guess that would work but I feel like we should have the linear map versions of these lemmas so that we can avoid working with bases if not needed

Riccardo Brasca (Nov 11 2021 at 08:12):

We have the characteristic polynomial of an endomorphism

Riccardo Brasca (Nov 11 2021 at 08:13):

Writing an API for the coefficients is in my todo list, but I got absorbed by flt-regular

Kevin Buzzard (Nov 11 2021 at 10:07):

The moment you say "n-dimensional" you have already picked a basis, done something with it, and checked it's independent of basis. You can't get away from picking a basis

Kevin Buzzard (Nov 11 2021 at 10:07):

But I agree the notions should be there for linear maps :-)


Last updated: Dec 20 2023 at 11:08 UTC