Indefinite integral with just variables. Check?

34 Views Asked by At

This is the problem:

$$ \int \frac{dx}{ax+b}$$ where $$a \ne 0$$

So maybe...

$u = ax + b$ so $\frac{du}{dx} = a$ so $du = a \cdot dx$ so $ \frac{du}{a} = dx$

$$ = \frac{1}{a} \int \frac{1}{u} \cdot du$$

$$= \frac{1}{a} \cdot ln|u| $$

$$= \frac{1}{a} ln |ax+b| + C$$

Does that look right?

Why does $ln|u| = \frac{1}{x}$? Why isn't it just $ln(u)$?

3

There are 3 best solutions below

0
On BEST ANSWER

Note that $$ \frac{d}{dx}\left( \frac{1}{a}\ln|ax+b| \right)=\frac{1}{a}\frac{1}{ax+b}\frac{d}{dx}(ax+b)=\frac{a}{a}\frac{1}{ax+b}=\frac{1}{ax+b} $$ so you are correct.

0
On

Intuitively:

Note that $\frac{1}{u}$ is defined for $u\ne 0$, but $\log (u)$ is defined only for $u\ge 0$ so, if we want the primitive of the function for all values where it is defined we need $log |u|$.

0
On

I suppose that your problem is with the absolute value sign.

If $x>0$, $|x|=x$ and hence

$$\frac{d\ln|x|}{dx}=\frac{d\ln x}{dx}=\frac{1}{x}$$

If $x<0$, then $-x>0$ and $|x|=-x$.

$$\frac{d\ln|x|}{dx}=\frac{d\ln (-x)}{d(-x)}\cdot\frac{d(-x)}{dx}=\frac{1}{-x}\cdot(-1)=\frac{1}{x}$$

Therefore, $\displaystyle \int\frac{1}{x}dx=\ln|x|+C$.

If $x>0$, we still have $\displaystyle \int\frac{1}{x}dx=\ln x+C$.