Integral of $$$\frac{\sin{\left(\pi n y \right)}}{2}$$$ with respect to $$$y$$$

The calculator will find the integral/antiderivative of $$$\frac{\sin{\left(\pi n y \right)}}{2}$$$ with respect to $$$y$$$, 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 \frac{\sin{\left(\pi n y \right)}}{2}\, dy$$$.

Solution

Apply the constant multiple rule $$$\int c f{\left(y \right)}\, dy = c \int f{\left(y \right)}\, dy$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(y \right)} = \sin{\left(\pi n y \right)}$$$:

$${\color{red}{\int{\frac{\sin{\left(\pi n y \right)}}{2} d y}}} = {\color{red}{\left(\frac{\int{\sin{\left(\pi n y \right)} d y}}{2}\right)}}$$

Let $$$u=\pi n y$$$.

Then $$$du=\left(\pi n y\right)^{\prime }dy = \pi n dy$$$ (steps can be seen »), and we have that $$$dy = \frac{du}{\pi n}$$$.

Therefore,

$$\frac{{\color{red}{\int{\sin{\left(\pi n y \right)} d y}}}}{2} = \frac{{\color{red}{\int{\frac{\sin{\left(u \right)}}{\pi n} d u}}}}{2}$$

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

$$\frac{{\color{red}{\int{\frac{\sin{\left(u \right)}}{\pi n} d u}}}}{2} = \frac{{\color{red}{\frac{\int{\sin{\left(u \right)} d u}}{\pi n}}}}{2}$$

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

$$\frac{{\color{red}{\int{\sin{\left(u \right)} d u}}}}{2 \pi n} = \frac{{\color{red}{\left(- \cos{\left(u \right)}\right)}}}{2 \pi n}$$

Recall that $$$u=\pi n y$$$:

$$- \frac{\cos{\left({\color{red}{u}} \right)}}{2 \pi n} = - \frac{\cos{\left({\color{red}{\pi n y}} \right)}}{2 \pi n}$$

Therefore,

$$\int{\frac{\sin{\left(\pi n y \right)}}{2} d y} = - \frac{\cos{\left(\pi n y \right)}}{2 \pi n}$$

Add the constant of integration:

$$\int{\frac{\sin{\left(\pi n y \right)}}{2} d y} = - \frac{\cos{\left(\pi n y \right)}}{2 \pi n}+C$$

Answer

$$$\int \frac{\sin{\left(\pi n y \right)}}{2}\, dy = - \frac{\cos{\left(\pi n y \right)}}{2 \pi n} + C$$$A