Integral of $$$\cos{\left(x \right)} + 1$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \left(\cos{\left(x \right)} + 1\right)\, dx$$$.
Solution
Integrate term by term:
$${\color{red}{\int{\left(\cos{\left(x \right)} + 1\right)d x}}} = {\color{red}{\left(\int{1 d x} + \int{\cos{\left(x \right)} d x}\right)}}$$
Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=1$$$:
$$\int{\cos{\left(x \right)} d x} + {\color{red}{\int{1 d x}}} = \int{\cos{\left(x \right)} d x} + {\color{red}{x}}$$
The integral of the cosine is $$$\int{\cos{\left(x \right)} d x} = \sin{\left(x \right)}$$$:
$$x + {\color{red}{\int{\cos{\left(x \right)} d x}}} = x + {\color{red}{\sin{\left(x \right)}}}$$
Therefore,
$$\int{\left(\cos{\left(x \right)} + 1\right)d x} = x + \sin{\left(x \right)}$$
Add the constant of integration:
$$\int{\left(\cos{\left(x \right)} + 1\right)d x} = x + \sin{\left(x \right)}+C$$
Answer
$$$\int \left(\cos{\left(x \right)} + 1\right)\, dx = \left(x + \sin{\left(x \right)}\right) + C$$$A