1

I've seen other methods for integrating this on StackExchange yet I'm wondering if what I'm doing is valid as well.

$$\int \frac {1}{x^4 + 1} dx$$

$$\int \frac {1}{(x^2 + 1)(x^2-1)+2} dx$$

Using the trigonometric substitution: $x = \tan(u), \,dx = \sec^2(u)\, du$

$$\int \frac {\sec^2u}{((\tan^2(u) +1)(\tan^2(u)-1)+2) } du$$

Using trigonometric identities: $ \tan^2(u) +1= \sec^2(u)$, and completing the trigonometric substitution the integral becomes:

edit: removed brackets around variable for readability

$$\int \frac {\sec^2u}{(\,(\sec^2u)\ ((\,(\sec^2u-1)-1)+2) } du$$

$$\int \frac {\sec^2u}{(\,(\sec^2u\,)(\sec^2u-2)+2) } du$$

Proceeding into the unknown:

$$\int \frac {\sec^2u}{((\sec^4u-2\sec^2u)+2) } du$$

$$\int \frac {\sec^2u}{(\sec^4u-2\sec^2u + 2) } du$$

Making a substitution $ v=\sec^2u$ would not simplify this any further as far as I can see since: $ dv = 2(\sec^2u)( \tan u)\, du$


Previous working:

$$\int \cos^2(u)\, du$$

$$\frac{1}{4}(2u+\sin(2u))$$

Using $\sin(2u) = 2\sin(u)\cos(u)$ & back substitution of: $u = \arctan(x)$

$$\frac{1}{4}(2\arctan(x)) * 2\sin(\arctan(x))\cos(\arctan(x))$$

  • 3
    You're made an error in cancelling the $\sec^2(u)$. You may also want to check that the parentheses are matched correctly on the step before that. – Irregular User Mar 07 '16 at 21:16
  • 1
    Look at here and here –  Mar 07 '16 at 21:21
  • @IrregularUser: Could you explain the error? I tidied up the parentheses but I haven't seen anything different. – mostlyfabulous Mar 07 '16 at 21:30
  • 1
    Even with the new edit (the bracketing is better) the $sec^2(u)$ has been cancelled incorrectly. What happened to the $2$? This is like saying that $\frac{a}{a+b} = \frac{1}{1 + b}$ – Irregular User Mar 07 '16 at 21:31
  • @IrregularUser: Thank you for pointing that out!

    Also, someone wrote an answer and I'm not sure if editing my question does anything to existing answers. Sorry in advance!

    – mostlyfabulous Mar 07 '16 at 21:55
  • 2
    You're welcome! It just goes to show the importance of keeping good track of your work, whether that be through the use of potentially different bracketing (e.g. { } ( ) [ ] or whatever you wish to invent) or not working purely in LaTeX (write on paper first!). Also no, some of the people who answered chose to delete their own answer so you editing your post did nothing to those. – Irregular User Mar 07 '16 at 22:14
  • 1

1 Answers1

1

NOTE:

The solution herein addressed the Originally Posted Question the OP edited the question.

Your mistake starts at the third line,

$$\int \frac {1}{x^4 + 1} dx$$

$$\int \frac {1}{(x^2 + 1)(x^2-1)+2} dx$$

Using the trigonometric substitution: $x = \tan(u), \,dx = \sec^2(u)\, du$

$$\int \frac {\color{red}{\sec^2 u }}{((\tan^2(u) +1)(\tan^2(u)-1)+2) } \color{red}{du}$$

See more at the duplicate

3SAT
  • 7,512