Integral of $$$\left(- a + x\right)^{- p}$$$ with respect to $$$x$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \left(- a + x\right)^{- p}\, dx$$$.
Solution
The input is rewritten: $$$\int{\left(- a + x\right)^{- p} d x}=\int{\left(\frac{1}{- a + x}\right)^{p} d x}$$$.
Let $$$u=- a + x$$$.
Then $$$du=\left(- a + x\right)^{\prime }dx = 1 dx$$$ (steps can be seen »), and we have that $$$dx = du$$$.
The integral becomes
$${\color{red}{\int{\left(\frac{1}{- a + x}\right)^{p} d x}}} = {\color{red}{\int{\left(\frac{1}{u}\right)^{p} d u}}}$$
Let $$$v=\frac{1}{u}$$$.
Then $$$dv=\left(\frac{1}{u}\right)^{\prime }du = - \frac{1}{u^{2}} du$$$ (steps can be seen »), and we have that $$$\frac{du}{u^{2}} = - dv$$$.
Therefore,
$${\color{red}{\int{\left(\frac{1}{u}\right)^{p} d u}}} = {\color{red}{\int{\left(- v^{p - 2}\right)d v}}}$$
Apply the constant multiple rule $$$\int c f{\left(v \right)}\, dv = c \int f{\left(v \right)}\, dv$$$ with $$$c=-1$$$ and $$$f{\left(v \right)} = v^{p - 2}$$$:
$${\color{red}{\int{\left(- v^{p - 2}\right)d v}}} = {\color{red}{\left(- \int{v^{p - 2} d v}\right)}}$$
Apply the power rule $$$\int v^{n}\, dv = \frac{v^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=p - 2$$$:
$$- {\color{red}{\int{v^{p - 2} d v}}}=- {\color{red}{\frac{v^{\left(p - 2\right) + 1}}{\left(p - 2\right) + 1}}}=- {\color{red}{\frac{v^{p - 1}}{p - 1}}}$$
Recall that $$$v=\frac{1}{u}$$$:
$$- \frac{{\color{red}{v}}^{p - 1}}{p - 1} = - \frac{{\color{red}{\frac{1}{u}}}^{p - 1}}{p - 1}$$
Recall that $$$u=- a + x$$$:
$$- \frac{\left({\color{red}{u}}^{-1}\right)^{p - 1}}{p - 1} = - \frac{\left({\color{red}{\left(- a + x\right)}}^{-1}\right)^{p - 1}}{p - 1}$$
Therefore,
$$\int{\left(\frac{1}{- a + x}\right)^{p} d x} = - \frac{\left(\frac{1}{- a + x}\right)^{p - 1}}{p - 1}$$
Add the constant of integration:
$$\int{\left(\frac{1}{- a + x}\right)^{p} d x} = - \frac{\left(\frac{1}{- a + x}\right)^{p - 1}}{p - 1}+C$$
Answer
$$$\int \left(- a + x\right)^{- p}\, dx = - \frac{\left(\frac{1}{- a + x}\right)^{p - 1}}{p - 1} + C$$$A