[tex]\lim_{x\rightarrow 0}\frac{\frac{xsinx}{x}+\frac{x^2sin^2{\frac{x}{2}}}{2\frac{x^2}{4}}}{-\frac{xsinx}{x}+\frac{x^2sin^2{\frac{x}{2}}}{2\frac{x^2}{4}}}=\lim_{x\rightarrow 0}\frac{x+\frac{x^2}{2}}{-x+\frac{x^2}{2}}=\lim_{x\rightarrow 0}\frac{2+x}{-2+x}=-1[/tex]
dùng công thức cosa-cosb đưa về sin hết là ra