Integral of $$$\frac{1}{4} - 5 \cos{\left(x \right)}$$$

The calculator will find the integral/antiderivative of $$$\frac{1}{4} - 5 \cos{\left(x \right)}$$$, 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(\frac{1}{4} - 5 \cos{\left(x \right)}\right)\, dx$$$.

Solution

Integrate term by term:

$${\color{red}{\int{\left(\frac{1}{4} - 5 \cos{\left(x \right)}\right)d x}}} = {\color{red}{\left(\int{\frac{1}{4} d x} - \int{5 \cos{\left(x \right)} d x}\right)}}$$

Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=\frac{1}{4}$$$:

$$- \int{5 \cos{\left(x \right)} d x} + {\color{red}{\int{\frac{1}{4} d x}}} = - \int{5 \cos{\left(x \right)} d x} + {\color{red}{\left(\frac{x}{4}\right)}}$$

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=5$$$ and $$$f{\left(x \right)} = \cos{\left(x \right)}$$$:

$$\frac{x}{4} - {\color{red}{\int{5 \cos{\left(x \right)} d x}}} = \frac{x}{4} - {\color{red}{\left(5 \int{\cos{\left(x \right)} d x}\right)}}$$

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

$$\frac{x}{4} - 5 {\color{red}{\int{\cos{\left(x \right)} d x}}} = \frac{x}{4} - 5 {\color{red}{\sin{\left(x \right)}}}$$

Therefore,

$$\int{\left(\frac{1}{4} - 5 \cos{\left(x \right)}\right)d x} = \frac{x}{4} - 5 \sin{\left(x \right)}$$

Add the constant of integration:

$$\int{\left(\frac{1}{4} - 5 \cos{\left(x \right)}\right)d x} = \frac{x}{4} - 5 \sin{\left(x \right)}+C$$

Answer

$$$\int \left(\frac{1}{4} - 5 \cos{\left(x \right)}\right)\, dx = \left(\frac{x}{4} - 5 \sin{\left(x \right)}\right) + C$$$A