0

I have an integral:

$$ \int \frac{5}{50-x} dx$$

Why it is equal to $$ -5 \ln|50-x| +constant $$?

I'm getting $$ 5 \ln|50-x| +constant $$

adam
  • 61

4 Answers4

2

If you take the derivative of $5ln|50-x| + C$ What do you get?

Finance
  • 1,247
2

$\dfrac{d}{dx}(50-x) = -1$.

$$\int \frac{5}{50-x} dx = -5\int \dfrac{(50 - x)'\,dx}{50 - x} = -5\ln|50 - x| + C$$

That is, if $u = 50-x$, then $du = -dx \iff dx = -\,du$

And our integral becomes $$5\int\dfrac{-du}{u}\quad =\quad -5\int \dfrac{du}{u} \quad = \quad -5\ln|u|+C = -5\ln|50 - x| + C$$

Christoph
  • 24,912
amWhy
  • 209,954
1

Let $u=50-x$, then $du=-dx$ which is the same as $-du=dx$. This makes the integral $$5\int\dfrac{1}{u}(-du)=-\int 5\dfrac{1}{u}du=-5\ln|u|+C=-5\ln|50-x|+C$$

homegrown
  • 3,678
0

set u=50-x and solve the integral.

Fermat
  • 5,230