Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm learning integrals and I have one question.

I have this integral:


I thought the solution was using $f'/(1+f^2)$ letting $f'=2x$ and $f^2 = x^2$ so the solution would be $\arcsin(x) + C$.

Searching for the right answer on the internet, everyone uses $$\frac{f'}{f}$$ so the solution is $\log|1+x^2| + C$

Can someone explain me why my solution is wrong?

share|cite|improve this question
up vote 2 down vote accepted

The first solution is wrong while the second is correct.

You have $f(x)=1+x^2$ when you "let $f^{\prime}(x)=2x$" (*) not $f^2(x)=x^2$!! Thus it is $$\frac{f^{\prime}}{f}$$ and not $$\frac{f^{\prime}}{1+f^2}$$ If the second were true, then indeed a primitive would have been $\arcsin f$

(*) Usually, you don't actually let $f^{\prime}=...$ but rather $f=...$ and then you compute $f^{\prime}$

share|cite|improve this answer
Hi Nameless. Thanks for your information. Now I understand. – Favolas Dec 29 '12 at 12:24
@Favolas Glad to help – Nameless Dec 29 '12 at 12:25

$f^2\neq f.f$ Instead your $f$ should be $x^2.$ so that you can get $f'(x)=2x$

share|cite|improve this answer

$$\frac{d\arcsin x}{dx}=\frac1{\sqrt{1-x^2}}$$

So, $$\int\frac{dx}{\sqrt{1-x^2}}=\arcsin x+C$$, so the first solution is wrong.

$$\int \frac{f'}{1+f^2}dx=\int \frac{df}{1+f^2}=\arctan f+C$$

and $$\int \frac{f'}fdx=\int \frac{df}f=\log f+C$$ as $f'dx=\frac{df}{dx}dx=df$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.