Quên cách giải ptlg rồi nên lm câu 4 =.=
\(\cos3x=\cos\left(2x+x\right)=\cos2x.\cos x-\sin2x.\sin x\)
\(=\left(2\cos^2x-1\right)\cos x-2\sin^2x.\cos x\)
\(=2\cos^3x-\cos x-2\sin^2x.\cos x\)
\(\Rightarrow A=\frac{1+\cos x+2\cos^2x-1+2\cos^3x-\cos x-2\sin^2x.\cos x}{2\cos^2x-1+\cos x}\)
\(=\frac{2\cos^2x+2\cos^3x-2\sin^2x.\cos x}{2\cos^2x-1+\cos x}\)
\(=\frac{2\cos^2x+2\cos^3x-2\left(1-\cos^2x\right).\cos x}{2\cos^2x-1+\cos x}\)
\(=\frac{2\cos^2x+2\cos^3x-2\cos x+2\cos^3x}{2\cos^2x-1+\cos x}\)
\(=\frac{2\cos x\left(2\cos^2x+\cos x-1\right)}{2\cos^2x-1+\cos x}=2\cos x\)