Integral of $$$2 p - q$$$ with respect to $$$p$$$

The calculator will find the integral/antiderivative of $$$2 p - q$$$ with respect to $$$p$$$, 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 p - q\right)\, dp$$$.

Solution

Integrate term by term:

$${\color{red}{\int{\left(2 p - q\right)d p}}} = {\color{red}{\left(\int{2 p d p} - \int{q d p}\right)}}$$

Apply the constant rule $$$\int c\, dp = c p$$$ with $$$c=q$$$:

$$\int{2 p d p} - {\color{red}{\int{q d p}}} = \int{2 p d p} - {\color{red}{p q}}$$

Apply the constant multiple rule $$$\int c f{\left(p \right)}\, dp = c \int f{\left(p \right)}\, dp$$$ with $$$c=2$$$ and $$$f{\left(p \right)} = p$$$:

$$- p q + {\color{red}{\int{2 p d p}}} = - p q + {\color{red}{\left(2 \int{p d p}\right)}}$$

Apply the power rule $$$\int p^{n}\, dp = \frac{p^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=1$$$:

$$- p q + 2 {\color{red}{\int{p d p}}}=- p q + 2 {\color{red}{\frac{p^{1 + 1}}{1 + 1}}}=- p q + 2 {\color{red}{\left(\frac{p^{2}}{2}\right)}}$$

Therefore,

$$\int{\left(2 p - q\right)d p} = p^{2} - p q$$

Simplify:

$$\int{\left(2 p - q\right)d p} = p \left(p - q\right)$$

Add the constant of integration:

$$\int{\left(2 p - q\right)d p} = p \left(p - q\right)+C$$

Answer

$$$\int \left(2 p - q\right)\, dp = p \left(p - q\right) + C$$$A


Please try a new game Rotatly