Question:easy

Integrate : \( \int \frac{dx}{x^2 + 6x + 13} \).

Show Hint

Complete the square: \( x^2 + 6x + 13 = (x+3)^2 + 4 \), then use the arctangent integral.
Show Solution

Solution and Explanation

Step 1: Idea:
We write the denominator as a perfect square plus a constant, and then use a trigonometric substitution.

Step 2: Rewrite the denominator:
\[ x^2 + 6x + 13 = (x+3)^2 + 4 \]

Step 3: Substitute:
Let $ x + 3 = 2\tan\theta $. Then $ dx = 2\sec^2\theta \, d\theta $, and $ (x+3)^2 + 4 = 4\tan^2\theta + 4 = 4\sec^2\theta $.

Step 4: Simplify and integrate:
\[ \int \frac{2\sec^2\theta \, d\theta}{4\sec^2\theta} = \int \frac{1}{2} \, d\theta = \frac{\theta}{2} + C \]

Step 5: Return to x:
From $ x + 3 = 2\tan\theta $ we get $ \theta = \tan^{-1}\frac{x+3}{2} $. So
\[ \int \frac{dx}{x^2 + 6x + 13} = \frac{1}{2}\tan^{-1}\frac{x+3}{2} + C \]

Final Answer:
Both methods agree. \[ \boxed{\frac{1}{2}\tan^{-1}\frac{x+3}{2} + C} \]
Was this answer helpful?
0