1

Can anyone show me how id prove this fact? I have no clue where to begin so any hints to help or full answers would be great!

Harry Peter
  • 7,819
Lauren
  • 465

2 Answers2

1

Since you suspect that $\int\frac1x\,\mathrm{d}x=\log|x|+C$, you can simply take the derivative to verify: $$ \frac{\mathrm{d}}{\mathrm{d}x}\log(x)=\frac1x\quad\text{when }x\gt0 $$ $$ \frac{\mathrm{d}}{\mathrm{d}x}\log(-x)=\frac1x\quad\text{when }x\lt0 $$ If you don't suspect $\log|x|+C$, you can use $$ \int x^n\,\mathrm{d}x=\frac1{n+1}\left(x^{n+1}-1\right)+C $$ as in this answer.

robjohn
  • 345,667
1

Perhaps $$ \int \frac{1}{x}\;dx = \ln|x|+C $$ is misleading. First, it is false for complex $x$. Second, for real $x$, it is shorthand for $$ \int\frac{1}{x}\;dx = \ln x + C \qquad\text{on intervals where $x>0$ and} \\ \int\frac{1}{x}\;dx = \ln(-x) + D \qquad\text{on intervals where $x<0$.} $$ The constants $C$ and $D$ need not be the same.

GEdgar
  • 111,679