Integral of $$$x y^{x}$$$ with respect to $$$x$$$

The calculator will find the integral/antiderivative of $$$x y^{x}$$$ 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 x y^{x}\, dx$$$.

Solution

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

Let $$$\operatorname{u}=x$$$ and $$$\operatorname{dv}=y^{x} dx$$$.

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

Thus,

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

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

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

Apply the exponential rule $$$\int{a^{x} d x} = \frac{a^{x}}{\ln{\left(a \right)}}$$$ with $$$a=y$$$:

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

Therefore,

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

Simplify:

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

Add the constant of integration:

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

Answer

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


Please try a new game Rotatly