Final answer to the problem
Step-by-step Solution
Specify the solving method
Simplify $\left(\cos\left(x\right)+\sin\left(x\right)\right)^2$ into $1+\sin\left(2x\right)$ by applying trigonometric identities
Learn how to solve trigonometric integrals problems step by step online.
$\int\left(1+\sin\left(2x\right)\right)dx$
Learn how to solve trigonometric integrals problems step by step online. Solve the trigonometric integral int((cos(x)+sin(x))^2)dx. Simplify \left(\cos\left(x\right)+\sin\left(x\right)\right)^2 into 1+\sin\left(2x\right) by applying trigonometric identities. Expand the integral \int\left(1+\sin\left(2x\right)\right)dx into 2 integrals using the sum rule for integrals, to then solve each integral separately. The integral \int1dx results in: x. The integral \int\sin\left(2x\right)dx results in: -\frac{1}{2}\cos\left(2x\right).