Detailed Explanation
When we need to integrate the square root of a quadratic like \( \sqrt{x^2 - 8x + 7} \), the first step is to complete the square so the expression matches a standard form. Completing the square turns the quadratic into either \( u^2 - a^2 \), \( u^2 + a^2 \), or \( a^2 - u^2 \), where \( u \) is a linear substitution. Here we get the form \( \sqrt{u^2 - a^2} \), which has a known integration result taught in the Integrals chapter. This method avoids guessing and directly produces the antiderivative.
Formula Used
\[ \int \sqrt{x^2 - a^2}\, dx = \frac{x}{2}\sqrt{x^2 - a^2} - \frac{a^2}{2}\log\left| x + \sqrt{x^2 - a^2} \right| + C \]
Solution
- Step 1: Complete the square inside the square root. Take \( x^2 - 8x + 7 \) and write \( x^2 - 8x = (x-4)^2 - 16 \). So \( x^2 - 8x + 7 = (x-4)^2 - 16 + 7 = (x-4)^2 - 9 \).
- Step 2: Rewrite the integral in standard form. The integral becomes \[ \int \sqrt{(x-4)^2 - 9}\, dx. \] Let \( u = x - 4 \), so \( du = dx \), and here \( a^2 = 9 \), meaning \( a = 3 \).
- Step 3: Apply the standard formula \[ \int \sqrt{u^2 - a^2}\, du = \frac{u}{2}\sqrt{u^2 - a^2} - \frac{a^2}{2}\log\left| u + \sqrt{u^2 - a^2} \right| + C. \] Substituting \( u = x-4 \) and \( a^2 = 9 \) gives \[ \frac{x-4}{2}\sqrt{(x-4)^2 - 9} - \frac{9}{2}\log\left| (x-4) + \sqrt{(x-4)^2 - 9} \right| + C. \]
- Step 4: Replace \( (x-4)^2 - 9 \) back with \( x^2 - 8x + 7 \). This gives \[ \frac{1}{2}(x-4)\sqrt{x^2 - 8x + 7} - \frac{9}{2}\log\left| x - 4 + \sqrt{x^2 - 8x + 7} \right| + C. \] This matches option (D).
Final Answer
The correct option is (D): \[ \int \sqrt{x^2 - 8x + 7}\, dx = \frac{1}{2}(x-4)\sqrt{x^2 - 8x + 7} - \frac{9}{2}\log\left| x - 4 + \sqrt{x^2 - 8x + 7} \right| + C. \]
Common Mistake
A common mistake is forgetting the factor of \( \frac{1}{2} \) in front of the logarithm term. Since \( a^2 = 9 \), the coefficient of the log is \( \frac{a^2}{2} = \frac{9}{2} \), not \( 9 \). Choosing option (A) or (B) means students dropped this \( \frac{1}{2} \) or mis-completed the square.