I have two operators $A$ and $B$ that do not commute, thus the binomial expansion can't be used. Is there any general formula for $(A+B)^n$, for $n \in \mathbb{N}$?
Thank you.
I have two operators $A$ and $B$ that do not commute, thus the binomial expansion can't be used. Is there any general formula for $(A+B)^n$, for $n \in \mathbb{N}$?
Thank you.
On
I am not sure if you will find this useful, but I think the best you can do is: $$ (A+B)^n = \sum_{f:\{1,\dotsc, n\}\to \{A, B\}} f(1)f(2)\dotsb f(n) $$ The sum is over all functions from the set $\{1,\dotsc,n\}$ to the set $\{A, B\}$.
When $A$ and $B$ commute, the coefficient of $A^kB^{n-k}$ is the number of such functions which take the value $A$ $k$ times and take the value $B$ $n-k$ times, giving the binomial theorem.
As Will wrote in his since-deleted answer. it's the sum of all the $2^n$ words of length $n$ over the alphabet $A,B$. You won't get a simpler answer, unless you know something useful about $A$ and $B$.