Integral of $$$y \left(x^{2} \ln\left(x y\right) + 1\right)$$$ with respect to $$$x$$$

The calculator will find the integral/antiderivative of $$$y \left(x^{2} \ln\left(x y\right) + 1\right)$$$ with respect to $$$x$$$, 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 y \left(x^{2} \ln\left(x y\right) + 1\right)\, dx$$$.

Solution

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=y$$$ and $$$f{\left(x \right)} = x^{2} \ln{\left(x y \right)} + 1$$$:

$${\color{red}{\int{y \left(x^{2} \ln{\left(x y \right)} + 1\right) d x}}} = {\color{red}{y \int{\left(x^{2} \ln{\left(x y \right)} + 1\right)d x}}}$$

Integrate term by term:

$$y {\color{red}{\int{\left(x^{2} \ln{\left(x y \right)} + 1\right)d x}}} = y {\color{red}{\left(\int{1 d x} + \int{x^{2} \ln{\left(x y \right)} d x}\right)}}$$

Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=1$$$:

$$y \left(\int{x^{2} \ln{\left(x y \right)} d x} + {\color{red}{\int{1 d x}}}\right) = y \left(\int{x^{2} \ln{\left(x y \right)} d x} + {\color{red}{x}}\right)$$

For the integral $$$\int{x^{2} \ln{\left(x y \right)} d x}$$$, use integration by parts $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$.

Let $$$\operatorname{u}=\ln{\left(x y \right)}$$$ and $$$\operatorname{dv}=x^{2} dx$$$.

Then $$$\operatorname{du}=\left(\ln{\left(x y \right)}\right)^{\prime }dx=\frac{dx}{x}$$$ (steps can be seen ») and $$$\operatorname{v}=\int{x^{2} d x}=\frac{x^{3}}{3}$$$ (steps can be seen »).

Thus,

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

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=\frac{1}{3}$$$ and $$$f{\left(x \right)} = x^{2}$$$:

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

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

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

Therefore,

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

Simplify:

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

Add the constant of integration:

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

Answer

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