Integralen av $$$- x - 2 + \frac{1}{x}$$$
Relaterad kalkylator: Kalkylator för bestämda och oegentliga integraler
Din inmatning
Bestäm $$$\int \left(- x - 2 + \frac{1}{x}\right)\, dx$$$.
Lösning
Integrera termvis:
$${\color{red}{\int{\left(- x - 2 + \frac{1}{x}\right)d x}}} = {\color{red}{\left(- \int{2 d x} + \int{\frac{1}{x} d x} - \int{x d x}\right)}}$$
Tillämpa konstantregeln $$$\int c\, dx = c x$$$ med $$$c=2$$$:
$$\int{\frac{1}{x} d x} - \int{x d x} - {\color{red}{\int{2 d x}}} = \int{\frac{1}{x} d x} - \int{x d x} - {\color{red}{\left(2 x\right)}}$$
Integralen av $$$\frac{1}{x}$$$ är $$$\int{\frac{1}{x} d x} = \ln{\left(\left|{x}\right| \right)}$$$:
$$- 2 x - \int{x d x} + {\color{red}{\int{\frac{1}{x} d x}}} = - 2 x - \int{x d x} + {\color{red}{\ln{\left(\left|{x}\right| \right)}}}$$
Tillämpa potensregeln $$$\int x^{n}\, dx = \frac{x^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ med $$$n=1$$$:
$$- 2 x + \ln{\left(\left|{x}\right| \right)} - {\color{red}{\int{x d x}}}=- 2 x + \ln{\left(\left|{x}\right| \right)} - {\color{red}{\frac{x^{1 + 1}}{1 + 1}}}=- 2 x + \ln{\left(\left|{x}\right| \right)} - {\color{red}{\left(\frac{x^{2}}{2}\right)}}$$
Alltså,
$$\int{\left(- x - 2 + \frac{1}{x}\right)d x} = - \frac{x^{2}}{2} - 2 x + \ln{\left(\left|{x}\right| \right)}$$
Lägg till integrationskonstanten:
$$\int{\left(- x - 2 + \frac{1}{x}\right)d x} = - \frac{x^{2}}{2} - 2 x + \ln{\left(\left|{x}\right| \right)}+C$$
Svar
$$$\int \left(- x - 2 + \frac{1}{x}\right)\, dx = \left(- \frac{x^{2}}{2} - 2 x + \ln\left(\left|{x}\right|\right)\right) + C$$$A