Evaluate the following integral (Calculus 2) Please provide step by step explanation!

Answer:
[tex]\displaystyle \int \dfrac{2}{x^2+2x+1}\:\:\text{d}x=-\dfrac{2}{x+1}+\text{C}[/tex]
Step-by-step explanation:
Fundamental Theorem of Calculus
[tex]\displaystyle \int \text{f}(x)\:\text{d}x=\text{F}(x)+\text{C} \iff \text{f}(x)=\dfrac{\text{d}}{\text{d}x}(\text{F}(x))[/tex]
If differentiating takes you from one function to another, then integrating the second function will take you back to the first with a constant of integration.
Given integral:
[tex]\displaystyle \int \dfrac{2}{x^2+2x+1}\:\:\text{d}x[/tex]
Factor the denominator:
[tex]\begin{aligned}\implies x^2+2x+1 & = x^2+x+x+1\\& = x(x+1)+1(x+1)\\& = (x+1)(x+1)\\& = (x+1)^2\end{aligned}[/tex]
[tex]\implies \displaystyle \int \dfrac{2}{x^2+2x+1}\:\:\text{d}x=\int \dfrac{2}{(x+1)^2}\:\:\text{d}x[/tex]
[tex]\textsf{Apply exponent rule} \quad \dfrac{1}{a^n}=a^{-n}[/tex]
[tex]\implies \displaystyle \int \dfrac{2}{x^2+2x+1}\:\:\text{d}x=\int 2(x+1)^{-2}\:\:\text{d}x[/tex]
[tex]\boxed{\begin{minipage}{4 cm}\underline{Integrating $ax^n$}\\\\$\displaystyle \int ax^n\:\text{d}x=\dfrac{ax^{n+1}}{n+1}+\text{C}$\end{minipage}}[/tex]
Use Integration by Substitution:
[tex]\textsf{Let }u=(x+1) \implies \dfrac{\text{d}u}{\text{d}x}=1 \implies \text{d}x=\text{d}u}[/tex]
Therefore:
[tex]\begin{aligned}\displaystyle \int \dfrac{2}{x^2+2x+1}\:\:\text{d}x & = \int 2(x+1)^{-2}\:\:\text{d}x\\\\& = \int 2u^{-2}\:\:\text{d}u\\\\& = \dfrac{2}{-1}u^{-2+1}+\text{C}\\\\& = -2u^{-1}+\text{C}\\\\& = -\dfrac{2}{u}+\text{C}\\\\& = -\dfrac{2}{x+1}+\text{C}\end{aligned}[/tex]
Learn more about integration here:
https://brainly.com/question/27988986
https://brainly.com/question/27805589