I came across this problem while I was practicing for my math exam, and I could really use someone's help... The problem is:
$$\int\frac{1}{ax+b}\,dx$$
The solution by Symbolab and my professor is:
$$\frac{1}{a}ln|ax+b|$$
Can somebody explain why they took out the constant $\frac{1}{a}$?
Also, why is it $ax + b$ in the absolute value brackets in the solution, and not $x + \frac{b}{a}$
Thank you in advance!
Because $(\ln|x|)'=\frac{1}{x}$ and $$\left(\frac{1}{a}\ln|ax+b|\right)'=\frac{1}{a}\cdot\frac{1}{ax+b}\cdot (ax+b)'=\frac{1}{a}\cdot\frac{1}{ax+b}\cdot a=\frac{1}{ax+b}.$$