Integral of $$$\frac{3 x}{3 x - 2}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \frac{3 x}{3 x - 2}\, dx$$$.
Solution
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=3$$$ and $$$f{\left(x \right)} = \frac{x}{3 x - 2}$$$:
$${\color{red}{\int{\frac{3 x}{3 x - 2} d x}}} = {\color{red}{\left(3 \int{\frac{x}{3 x - 2} d x}\right)}}$$
Rewrite the numerator of the integrand as $$$x=\frac{1}{3}\left(3 x - 2\right)+\frac{2}{3}$$$ and split the fraction:
$$3 {\color{red}{\int{\frac{x}{3 x - 2} d x}}} = 3 {\color{red}{\int{\left(\frac{1}{3} + \frac{2}{3 \left(3 x - 2\right)}\right)d x}}}$$
Integrate term by term:
$$3 {\color{red}{\int{\left(\frac{1}{3} + \frac{2}{3 \left(3 x - 2\right)}\right)d x}}} = 3 {\color{red}{\left(\int{\frac{1}{3} d x} + \int{\frac{2}{3 \left(3 x - 2\right)} d x}\right)}}$$
Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=\frac{1}{3}$$$:
$$3 \int{\frac{2}{3 \left(3 x - 2\right)} d x} + 3 {\color{red}{\int{\frac{1}{3} d x}}} = 3 \int{\frac{2}{3 \left(3 x - 2\right)} d x} + 3 {\color{red}{\left(\frac{x}{3}\right)}}$$
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=\frac{2}{3}$$$ and $$$f{\left(x \right)} = \frac{1}{3 x - 2}$$$:
$$x + 3 {\color{red}{\int{\frac{2}{3 \left(3 x - 2\right)} d x}}} = x + 3 {\color{red}{\left(\frac{2 \int{\frac{1}{3 x - 2} d x}}{3}\right)}}$$
Let $$$u=3 x - 2$$$.
Then $$$du=\left(3 x - 2\right)^{\prime }dx = 3 dx$$$ (steps can be seen »), and we have that $$$dx = \frac{du}{3}$$$.
Thus,
$$x + 2 {\color{red}{\int{\frac{1}{3 x - 2} d x}}} = x + 2 {\color{red}{\int{\frac{1}{3 u} d u}}}$$
Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\frac{1}{3}$$$ and $$$f{\left(u \right)} = \frac{1}{u}$$$:
$$x + 2 {\color{red}{\int{\frac{1}{3 u} d u}}} = x + 2 {\color{red}{\left(\frac{\int{\frac{1}{u} d u}}{3}\right)}}$$
The integral of $$$\frac{1}{u}$$$ is $$$\int{\frac{1}{u} d u} = \ln{\left(\left|{u}\right| \right)}$$$:
$$x + \frac{2 {\color{red}{\int{\frac{1}{u} d u}}}}{3} = x + \frac{2 {\color{red}{\ln{\left(\left|{u}\right| \right)}}}}{3}$$
Recall that $$$u=3 x - 2$$$:
$$x + \frac{2 \ln{\left(\left|{{\color{red}{u}}}\right| \right)}}{3} = x + \frac{2 \ln{\left(\left|{{\color{red}{\left(3 x - 2\right)}}}\right| \right)}}{3}$$
Therefore,
$$\int{\frac{3 x}{3 x - 2} d x} = x + \frac{2 \ln{\left(\left|{3 x - 2}\right| \right)}}{3}$$
Add the constant of integration:
$$\int{\frac{3 x}{3 x - 2} d x} = x + \frac{2 \ln{\left(\left|{3 x - 2}\right| \right)}}{3}+C$$
Answer
$$$\int \frac{3 x}{3 x - 2}\, dx = \left(x + \frac{2 \ln\left(\left|{3 x - 2}\right|\right)}{3}\right) + C$$$A