I am trying to show that $\int_{a}^{b} \frac{f'(x)}{f^2(x)} dx = \frac{f(b) -f(a)} {f(a) f(b)}$ given that $f(x)$ is, continuous in $[a,b]$, differentiable in $(a,b)$ and $f(x) \neq 0$ in $[a,b]$.
New Edit : i have understood my doubt answer from this post https://math.stackexchange.com/a/470460/961436 , but now a question arise is if we are asked to show the proof of the above integration, we will take help of fundamental theorem of calculus with compositon rule ?like as done in there , because otherwise if i do like what i was taught as in below old method of mine it would cause confusion that whether i was supposing it to be injective or not ? Or the below proof is fine in its own way ? ,
My steps: I was taught this method so I am writing this down letting $f(x) = t$ we have $f'(x)dx=dt$ substituting this in the integrand and changing the limits we arrived at $\int_{f(a)}^{f(b)} \frac{1}{t^2} dt$ which by knowing that $\int x^ndx$ = $\frac{x^{n+1}}{n+1} + C$ gives the required result. My query is in the substitution used, as such we want the integration when $x$ goes from $a$ to $b$, so we need to integrate at all possible values of $x$ lying between $a$ and $b$, but how are we sure that the substitution will give the same range of $x$ for which the integral is being evaluated, its not given as such that $f(x)$ is injective in $[a,b]$ so how can we do such substitution? Or this approach is not correct therefore?
- Like the case of $f(x) = (x-2) ^2 + 1 $, from $[1,4]$, we can observe its not injective at all, but still the integration of $\frac{2(x-2)}{({x-2})^2 + 1 }$ integrated from $1$ to $4$, gives the correct answer as $0.3$, I am not gettting at all why as such.