Integral of $$$\cos{\left(4 x - 2 \right)} - 1$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \left(\cos{\left(4 x - 2 \right)} - 1\right)\, dx$$$.
Solution
Integrate term by term:
$${\color{red}{\int{\left(\cos{\left(4 x - 2 \right)} - 1\right)d x}}} = {\color{red}{\left(- \int{1 d x} + \int{\cos{\left(4 x - 2 \right)} d x}\right)}}$$
Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=1$$$:
$$\int{\cos{\left(4 x - 2 \right)} d x} - {\color{red}{\int{1 d x}}} = \int{\cos{\left(4 x - 2 \right)} d x} - {\color{red}{x}}$$
Let $$$u=4 x - 2$$$.
Then $$$du=\left(4 x - 2\right)^{\prime }dx = 4 dx$$$ (steps can be seen »), and we have that $$$dx = \frac{du}{4}$$$.
Therefore,
$$- x + {\color{red}{\int{\cos{\left(4 x - 2 \right)} d x}}} = - x + {\color{red}{\int{\frac{\cos{\left(u \right)}}{4} 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}{4}$$$ and $$$f{\left(u \right)} = \cos{\left(u \right)}$$$:
$$- x + {\color{red}{\int{\frac{\cos{\left(u \right)}}{4} d u}}} = - x + {\color{red}{\left(\frac{\int{\cos{\left(u \right)} d u}}{4}\right)}}$$
The integral of the cosine is $$$\int{\cos{\left(u \right)} d u} = \sin{\left(u \right)}$$$:
$$- x + \frac{{\color{red}{\int{\cos{\left(u \right)} d u}}}}{4} = - x + \frac{{\color{red}{\sin{\left(u \right)}}}}{4}$$
Recall that $$$u=4 x - 2$$$:
$$- x + \frac{\sin{\left({\color{red}{u}} \right)}}{4} = - x + \frac{\sin{\left({\color{red}{\left(4 x - 2\right)}} \right)}}{4}$$
Therefore,
$$\int{\left(\cos{\left(4 x - 2 \right)} - 1\right)d x} = - x + \frac{\sin{\left(4 x - 2 \right)}}{4}$$
Add the constant of integration:
$$\int{\left(\cos{\left(4 x - 2 \right)} - 1\right)d x} = - x + \frac{\sin{\left(4 x - 2 \right)}}{4}+C$$
Answer
$$$\int \left(\cos{\left(4 x - 2 \right)} - 1\right)\, dx = \left(- x + \frac{\sin{\left(4 x - 2 \right)}}{4}\right) + C$$$A