Integral of $$$\left(2 \sin{\left(\theta \right)} + 3\right)^{2}$$$

The calculator will find the integral/antiderivative of $$$\left(2 \sin{\left(\theta \right)} + 3\right)^{2}$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int \left(2 \sin{\left(\theta \right)} + 3\right)^{2}\, d\theta$$$.

Solution

Expand the expression:

$${\color{red}{\int{\left(2 \sin{\left(\theta \right)} + 3\right)^{2} d \theta}}} = {\color{red}{\int{\left(4 \sin^{2}{\left(\theta \right)} + 12 \sin{\left(\theta \right)} + 9\right)d \theta}}}$$

Integrate term by term:

$${\color{red}{\int{\left(4 \sin^{2}{\left(\theta \right)} + 12 \sin{\left(\theta \right)} + 9\right)d \theta}}} = {\color{red}{\left(\int{9 d \theta} + \int{12 \sin{\left(\theta \right)} d \theta} + \int{4 \sin^{2}{\left(\theta \right)} d \theta}\right)}}$$

Apply the constant rule $$$\int c\, d\theta = c \theta$$$ with $$$c=9$$$:

$$\int{12 \sin{\left(\theta \right)} d \theta} + \int{4 \sin^{2}{\left(\theta \right)} d \theta} + {\color{red}{\int{9 d \theta}}} = \int{12 \sin{\left(\theta \right)} d \theta} + \int{4 \sin^{2}{\left(\theta \right)} d \theta} + {\color{red}{\left(9 \theta\right)}}$$

Apply the constant multiple rule $$$\int c f{\left(\theta \right)}\, d\theta = c \int f{\left(\theta \right)}\, d\theta$$$ with $$$c=4$$$ and $$$f{\left(\theta \right)} = \sin^{2}{\left(\theta \right)}$$$:

$$9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + {\color{red}{\int{4 \sin^{2}{\left(\theta \right)} d \theta}}} = 9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + {\color{red}{\left(4 \int{\sin^{2}{\left(\theta \right)} d \theta}\right)}}$$

Apply the power reducing formula $$$\sin^{2}{\left(\alpha \right)} = \frac{1}{2} - \frac{\cos{\left(2 \alpha \right)}}{2}$$$ with $$$\alpha=\theta$$$:

$$9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + 4 {\color{red}{\int{\sin^{2}{\left(\theta \right)} d \theta}}} = 9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + 4 {\color{red}{\int{\left(\frac{1}{2} - \frac{\cos{\left(2 \theta \right)}}{2}\right)d \theta}}}$$

Apply the constant multiple rule $$$\int c f{\left(\theta \right)}\, d\theta = c \int f{\left(\theta \right)}\, d\theta$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(\theta \right)} = 1 - \cos{\left(2 \theta \right)}$$$:

$$9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + 4 {\color{red}{\int{\left(\frac{1}{2} - \frac{\cos{\left(2 \theta \right)}}{2}\right)d \theta}}} = 9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + 4 {\color{red}{\left(\frac{\int{\left(1 - \cos{\left(2 \theta \right)}\right)d \theta}}{2}\right)}}$$

Integrate term by term:

$$9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + 2 {\color{red}{\int{\left(1 - \cos{\left(2 \theta \right)}\right)d \theta}}} = 9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} + 2 {\color{red}{\left(\int{1 d \theta} - \int{\cos{\left(2 \theta \right)} d \theta}\right)}}$$

Apply the constant rule $$$\int c\, d\theta = c \theta$$$ with $$$c=1$$$:

$$9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - 2 \int{\cos{\left(2 \theta \right)} d \theta} + 2 {\color{red}{\int{1 d \theta}}} = 9 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - 2 \int{\cos{\left(2 \theta \right)} d \theta} + 2 {\color{red}{\theta}}$$

Let $$$u=2 \theta$$$.

Then $$$du=\left(2 \theta\right)^{\prime }d\theta = 2 d\theta$$$ (steps can be seen »), and we have that $$$d\theta = \frac{du}{2}$$$.

So,

$$11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - 2 {\color{red}{\int{\cos{\left(2 \theta \right)} d \theta}}} = 11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - 2 {\color{red}{\int{\frac{\cos{\left(u \right)}}{2} d u}}}$$

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(u \right)} = \cos{\left(u \right)}$$$:

$$11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - 2 {\color{red}{\int{\frac{\cos{\left(u \right)}}{2} d u}}} = 11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - 2 {\color{red}{\left(\frac{\int{\cos{\left(u \right)} d u}}{2}\right)}}$$

The integral of the cosine is $$$\int{\cos{\left(u \right)} d u} = \sin{\left(u \right)}$$$:

$$11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - {\color{red}{\int{\cos{\left(u \right)} d u}}} = 11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - {\color{red}{\sin{\left(u \right)}}}$$

Recall that $$$u=2 \theta$$$:

$$11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - \sin{\left({\color{red}{u}} \right)} = 11 \theta + \int{12 \sin{\left(\theta \right)} d \theta} - \sin{\left({\color{red}{\left(2 \theta\right)}} \right)}$$

Apply the constant multiple rule $$$\int c f{\left(\theta \right)}\, d\theta = c \int f{\left(\theta \right)}\, d\theta$$$ with $$$c=12$$$ and $$$f{\left(\theta \right)} = \sin{\left(\theta \right)}$$$:

$$11 \theta - \sin{\left(2 \theta \right)} + {\color{red}{\int{12 \sin{\left(\theta \right)} d \theta}}} = 11 \theta - \sin{\left(2 \theta \right)} + {\color{red}{\left(12 \int{\sin{\left(\theta \right)} d \theta}\right)}}$$

The integral of the sine is $$$\int{\sin{\left(\theta \right)} d \theta} = - \cos{\left(\theta \right)}$$$:

$$11 \theta - \sin{\left(2 \theta \right)} + 12 {\color{red}{\int{\sin{\left(\theta \right)} d \theta}}} = 11 \theta - \sin{\left(2 \theta \right)} + 12 {\color{red}{\left(- \cos{\left(\theta \right)}\right)}}$$

Therefore,

$$\int{\left(2 \sin{\left(\theta \right)} + 3\right)^{2} d \theta} = 11 \theta - \sin{\left(2 \theta \right)} - 12 \cos{\left(\theta \right)}$$

Add the constant of integration:

$$\int{\left(2 \sin{\left(\theta \right)} + 3\right)^{2} d \theta} = 11 \theta - \sin{\left(2 \theta \right)} - 12 \cos{\left(\theta \right)}+C$$

Answer

$$$\int \left(2 \sin{\left(\theta \right)} + 3\right)^{2}\, d\theta = \left(11 \theta - \sin{\left(2 \theta \right)} - 12 \cos{\left(\theta \right)}\right) + C$$$A