Expanding the left side of the first equation:
(sin^2x + 2sinxcosx + cos^2x) = 1 + cosx(sin^2x + cos^2x + 2sinxcosx) = 1 + cosx1 + 2sinxcosx = 1 + cosx
Expanding the left side of the second equation:
(sin^2x - 2sinxcosx + cos^2x) = 1 + sinx(sin^2x + cos^2x - 2sinxcosx) = 1 + sinx1 - 2sinxcosx = 1 + sinx
Thus, the given equations are correct.
Expanding the left side of the first equation:
(sin^2x + 2sinxcosx + cos^2x) = 1 + cosx
(sin^2x + cos^2x + 2sinxcosx) = 1 + cosx
1 + 2sinxcosx = 1 + cosx
Expanding the left side of the second equation:
(sin^2x - 2sinxcosx + cos^2x) = 1 + sinx
(sin^2x + cos^2x - 2sinxcosx) = 1 + sinx
1 - 2sinxcosx = 1 + sinx
Thus, the given equations are correct.