Integral of $$$i f n t x + g x$$$ with respect to $$$x$$$

The calculator will find the integral/antiderivative of $$$i f n t x + g 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 \left(i f n t x + g x\right)\, dx$$$.

Solution

Integrate term by term:

$${\color{red}{\int{\left(i f n t x + g x\right)d x}}} = {\color{red}{\left(\int{g x d x} + \int{i f n t x d x}\right)}}$$

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=g$$$ and $$$f{\left(x \right)} = x$$$:

$$\int{i f n t x d x} + {\color{red}{\int{g x d x}}} = \int{i f n t x d x} + {\color{red}{g \int{x d x}}}$$

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

$$g {\color{red}{\int{x d x}}} + \int{i f n t x d x}=g {\color{red}{\frac{x^{1 + 1}}{1 + 1}}} + \int{i f n t x d x}=g {\color{red}{\left(\frac{x^{2}}{2}\right)}} + \int{i f n t x d x}$$

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=i f n t$$$ and $$$f{\left(x \right)} = x$$$:

$$\frac{g x^{2}}{2} + {\color{red}{\int{i f n t x d x}}} = \frac{g x^{2}}{2} + {\color{red}{i f n t \int{x d x}}}$$

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

$$i f n t {\color{red}{\int{x d x}}} + \frac{g x^{2}}{2}=i f n t {\color{red}{\frac{x^{1 + 1}}{1 + 1}}} + \frac{g x^{2}}{2}=i f n t {\color{red}{\left(\frac{x^{2}}{2}\right)}} + \frac{g x^{2}}{2}$$

Therefore,

$$\int{\left(i f n t x + g x\right)d x} = \frac{i f n t x^{2}}{2} + \frac{g x^{2}}{2}$$

Simplify:

$$\int{\left(i f n t x + g x\right)d x} = \frac{x^{2} \left(i f n t + g\right)}{2}$$

Add the constant of integration:

$$\int{\left(i f n t x + g x\right)d x} = \frac{x^{2} \left(i f n t + g\right)}{2}+C$$

Answer

$$$\int \left(i f n t x + g x\right)\, dx = \frac{x^{2} \left(i f n t + g\right)}{2} + C$$$A