# Evaluate the following integrals. Include absolute values only when needed. intfrac{ln^2x+2ln x-1}{x}dx

Question
Integrals
Evaluate the following integrals. Include absolute values only when needed.
$$\int\frac{\ln^2x+2\ln x-1}{x}dx$$

2021-01-14
$$\text{Given integtral, }\int\frac{\ln^2x+2\ln x-1}{x}dx$$
$$\text{we have to find the given integral.}$$
$$\text{here,}\int\frac{\ln^2x+2\ln x-1}{x}dx$$
$$\text{substitute } \ln x=t\Rightarrow\frac{1}{x}\frac{dx}{dt}=1\Rightarrow\frac{1}{x}dx=dt$$
$$\Rightarrow, \int\frac{\ln^2x+2\ln x-1}{x}dx=\int(t^2+2t-1)dt$$
$$=\int t^2dt+2\int tdt-\int 1dt$$
$$=\frac{t^3}{3}+2\frac{t^2}{2}-t+C$$
$$=\frac{t^3}{3}+t^2-t+C$$
$$\text{undo substitution }t=\ln x$$
$$\Rightarrow\int\frac{\ln^2x+2\ln x-1}{x}dx=\frac{\ln^3x}{3}+\ln^2x-\ln x+C$$
$$\text{this is the required answer}$$

### Relevant Questions

Evaluate the following integrals. Include absolute values only when needed.
$$\int 3^{-2x}dx$$
Evaluate the following integrals.
$$\int\frac{4^{\cot x}}{\sin^2x}dx$$
Evaluate the following integrals.
$$\int\frac{e^x+e^{-x}}{e^x-e^{-x}}dx$$
Evaluate the following integrals.
$$\int\frac{e^{\sin x}}{\sec x}dx$$
Evaluate the integrals. $$\int\frac{\tan^{-1}x}{x^2}dx$$
Evaluate the following integrals.
$$\int_1^{e^2}\frac{(\ln x)^5}{x}dx$$
$$\int_{\ln2}^{\ln3}\frac{e^x+e^{-x}}{e^{2x}-2+e^{-2x}}dx$$
$$\int_0^1\frac{16^x}{4^{2x}}dx$$
$$\int x^3e^{2x}dx$$
$$\int_{1/8}^1\frac{dx}{x\sqrt{1+x^{2/3}}}$$