Integral of $\int\frac{1}{4x^2+4x+2}dx$ [closed]

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

I think it may related to $\tan^{-1}x$. Any hint?

closed as off-topic by user223391, user91500, Claude Leibovici, Watson, QwertySep 25 '16 at 13:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Community, user91500, Claude Leibovici, Watson, Qwerty
If this question can be reworded to fit the rules in the help center, please edit the question.

• Is it $4x^4+4x^2+1$ or $4x^4+4x+1$? – Jacky Chong Sep 25 '16 at 6:10
• It is $4x^4+4x+2$ – Han Tang Sep 25 '16 at 6:11
• Wolframalpha doesn't seem to give a nice solution. – Jacky Chong Sep 25 '16 at 6:12
• What did you try? – Carl Schildkraut Sep 25 '16 at 6:13
• If the roots are ugly, then the solution must be ugly as well. There is no going around that. – Ivan Neretin Sep 25 '16 at 6:14

Hint: The denominator turns into $$(2x+1)^2+1$$
so you can make the substitution $$y = 2x+1$$ to turn the integral into
$$\frac{1}{2}\int \frac{1}{y^2+1}\ dy$$