My professor wants me to solve this identity in two ways. Sadly, I could only do one way and haven't figure out how to solve it another way. Here is my way,
Denote $F(t)=e^{t\hat{A}}\hat{B}e^{-t\hat{A}}$
$\frac{dF}{dt}=\hat{A}e^{t\hat{A}}\hat{B}e^{-t\hat{A}}-e^{t\hat{A}}\hat{B}e^{-t\hat{A}}\hat{A}=[\hat{A},F]=ad\hat{A}\cdot F(t)\quad\Rightarrow\frac{d^nF}{dt^n}=\left(ad\hat{A}\right)^n\cdot F(t)$
Using Taylor expansion $f(x)=\Sigma_n\frac{f^{(n)}(a)}{n!}(x-a)^n$ for $a=0$
$\begin{array}{l}F(t)&=F(0)+F'(0)t+F''(0)\frac{t}{2}+\dots+\frac{F^{(n)}(0)t^n}{n!}\\&=\hat{B}+ad\hat{A}\cdot\hat{B}+\dots\\&=e^{ad\hat{A}t}\cdot\hat{B}\end{array}$
Thus, $e^{\hat{A}}\hat{B}e^{-\hat{A}}=F(1)=e^{ad\hat{A}}\cdot\hat{B}$
Could you show me another way prove this identity?