\(A=\frac{tana+tanb}{tan\left(a+b\right)}-\frac{tana-tanb}{tan\left(a-b\right)}=\frac{tana+tanb}{\frac{tana+tanb}{1-tana\cdot tanb}}-\frac{tana-tanb}{\frac{tana-tanb}{1+tana\cdot tanb}}\\ \Leftrightarrow A=1-tana\cdot tanb-1-tana\cdot tanb=-2tana\cdot tanb\)
\(B=\frac{cos^3x-cos3x}{cosx}+\frac{sin^3x+sin3x}{sinx}\\ B=\frac{cos^3x-4cos^3x+3cosx}{cosx}+\frac{sin^3x+3sinx-4sin^3x}{sinx}\\ B=\frac{-3cos^3x+3cosx}{cosx}+\frac{-3sin^3x+3sinx}{sinx}\\ B=\frac{cosx\left(-3cos^2x+3\right)}{cosx}+\frac{sinx\left(-3sin^2x+3\right)}{sinx}\\ B=-3cos^2x+3-3sin^2x+3=6-3\left(sin^2x+cos^2x\right)=6-3=3\)
~~~~~~~~chúc bạn học tốt~~~~~~~~~~