How to Prove the Linearity of the Trace Function in Matrix Algebra

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
AI Thread Summary
The discussion focuses on proving the linearity of the trace function in matrix algebra, specifically showing that tr(a+b) = tr(a) + tr(b) and tr(ka) = k*tr(a). The initial approach involves summing the diagonal elements of matrices a and b, leading to the conclusion that tr(a+b) equals the sum of their traces. The associative property of addition is noted as a necessary step in the proof. Additionally, the linearity of the trace function is reinforced by stating that since sums are linear, the trace function itself is linear. The conversation emphasizes the need for clarity in demonstrating these properties.
Saladsamurai
Messages
3,009
Reaction score
7
I am not sure if this the correct forum, but

Problem: if the tr(c) is defined as tr(c)=\sum^{n}_{i=1}c_{ii}

Than deduce that tr(a+b)= tr(a)+tr(b) and that tr(ka)=ktr(a).

Attempt at the solution: For tr(a+b)=tr(a)+tr(b) I have somerthing to the effect of ,

tr(a+b)=\sum^{n}_{i=1}a_{ii}+b_{ii}=a_{11}+a_{22}+...a_{nn}+b_{11}+b_{22}+...b_{nn}

I do not know if this is the simplest approach, but I know that now I have to employ the associative property of addition, but I am not so sure how to bring this in quantitatively..or that just it...am I done?

The tr(ka) should be easier after I get the first one.

Any thoughts?

Casey
 
Physics news on Phys.org
\displaystyle tr(a+b)=\sum_{i=1}^n(a_{ii}+b_{ii})=\sum_{i=1}^na_{ii}+\sum_{i=1}^nb_{ii}=tr(a)+tr(b)
\displaystyle tr(ka)=\sum_{i=1}^nka_{ii}=k\sum_{i=1}^na_{ii}=ktr(a)
 
The function is defined as a sum. Sums are linear. Therefore, the function is linear. QED.
 
Nesk said:
The function is defined as a sum. Sums are linear. Therefore, the function is linear. QED.

Yes, but the problem is, I suspect to demonstrate it in this case.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top