Integral of $$$\frac{x^{2} + 6 x + 9}{x + 3}$$$

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

Solution

Let $$$u=x + 3$$$.

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

The integral becomes

$${\color{red}{\int{\frac{x^{2} + 6 x + 9}{x + 3} d x}}} = {\color{red}{\int{u d u}}}$$

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

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

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

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

Therefore,

$$\int{\frac{x^{2} + 6 x + 9}{x + 3} d x} = \frac{\left(x + 3\right)^{2}}{2}$$

Add the constant of integration:

$$\int{\frac{x^{2} + 6 x + 9}{x + 3} d x} = \frac{\left(x + 3\right)^{2}}{2}+C$$

Answer

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