Integral of $$$\frac{1}{\sqrt{x + 1} + \sqrt{x + 2}}$$$

The calculator will find the integral/antiderivative of $$$\frac{1}{\sqrt{x + 1} + \sqrt{x + 2}}$$$, 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 \frac{1}{\sqrt{x + 1} + \sqrt{x + 2}}\, dx$$$.

Solution

Rationalize the denominator:

$${\color{red}{\int{\frac{1}{\sqrt{x + 1} + \sqrt{x + 2}} d x}}} = {\color{red}{\int{\left(- \sqrt{x + 1} + \sqrt{x + 2}\right)d x}}}$$

Integrate term by term:

$${\color{red}{\int{\left(- \sqrt{x + 1} + \sqrt{x + 2}\right)d x}}} = {\color{red}{\left(- \int{\sqrt{x + 1} d x} + \int{\sqrt{x + 2} d x}\right)}}$$

Let $$$u=x + 2$$$.

Then $$$du=\left(x + 2\right)^{\prime }dx = 1 dx$$$ (steps can be seen »), and we have that $$$dx = du$$$.

Thus,

$$- \int{\sqrt{x + 1} d x} + {\color{red}{\int{\sqrt{x + 2} d x}}} = - \int{\sqrt{x + 1} d x} + {\color{red}{\int{\sqrt{u} d u}}}$$

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

$$- \int{\sqrt{x + 1} d x} + {\color{red}{\int{\sqrt{u} d u}}}=- \int{\sqrt{x + 1} d x} + {\color{red}{\int{u^{\frac{1}{2}} d u}}}=- \int{\sqrt{x + 1} d x} + {\color{red}{\frac{u^{\frac{1}{2} + 1}}{\frac{1}{2} + 1}}}=- \int{\sqrt{x + 1} d x} + {\color{red}{\left(\frac{2 u^{\frac{3}{2}}}{3}\right)}}$$

Recall that $$$u=x + 2$$$:

$$- \int{\sqrt{x + 1} d x} + \frac{2 {\color{red}{u}}^{\frac{3}{2}}}{3} = - \int{\sqrt{x + 1} d x} + \frac{2 {\color{red}{\left(x + 2\right)}}^{\frac{3}{2}}}{3}$$

Let $$$u=x + 1$$$.

Then $$$du=\left(x + 1\right)^{\prime }dx = 1 dx$$$ (steps can be seen »), and we have that $$$dx = du$$$.

Thus,

$$\frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - {\color{red}{\int{\sqrt{x + 1} d x}}} = \frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - {\color{red}{\int{\sqrt{u} d u}}}$$

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

$$\frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - {\color{red}{\int{\sqrt{u} d u}}}=\frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - {\color{red}{\int{u^{\frac{1}{2}} d u}}}=\frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - {\color{red}{\frac{u^{\frac{1}{2} + 1}}{\frac{1}{2} + 1}}}=\frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - {\color{red}{\left(\frac{2 u^{\frac{3}{2}}}{3}\right)}}$$

Recall that $$$u=x + 1$$$:

$$\frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - \frac{2 {\color{red}{u}}^{\frac{3}{2}}}{3} = \frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3} - \frac{2 {\color{red}{\left(x + 1\right)}}^{\frac{3}{2}}}{3}$$

Therefore,

$$\int{\frac{1}{\sqrt{x + 1} + \sqrt{x + 2}} d x} = - \frac{2 \left(x + 1\right)^{\frac{3}{2}}}{3} + \frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3}$$

Add the constant of integration:

$$\int{\frac{1}{\sqrt{x + 1} + \sqrt{x + 2}} d x} = - \frac{2 \left(x + 1\right)^{\frac{3}{2}}}{3} + \frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3}+C$$

Answer

$$$\int \frac{1}{\sqrt{x + 1} + \sqrt{x + 2}}\, dx = \left(- \frac{2 \left(x + 1\right)^{\frac{3}{2}}}{3} + \frac{2 \left(x + 2\right)^{\frac{3}{2}}}{3}\right) + C$$$A