To solve the problem, we begin by understanding that if two quadratic equations \(x^2 + px + q = 0\) and \(x^2 + qx + p = 0\) have a common root, then this root must satisfy both equations.
- Let \(\alpha\) be the common root. Then, substituting \(\alpha\) into both equations, we get two conditions:
- \(\alpha^2 + p\alpha + q = 0\)
- \(\alpha^2 + q\alpha + p = 0\)
- Subtracting the second equation from the first gives: \((\alpha^2 + p\alpha + q) - (\alpha^2 + q\alpha + p) = 0\)
Simplifying, we get: \(p\alpha + q - q\alpha - p = 0\)
which can be further simplified to: \((p-q)\alpha + q-p = 0\) - Simplifying further, we factor out common terms: \((p-q)(\alpha - 1) = 0\)
- This equation implies either:
- \(p = q\), or
- \(\alpha = 1\)
- If \(\alpha = 1\), substitute \(\alpha = 1\) in either equation. Using the first equation, we have:
\(1^2 + p\cdot 1 + q = 0\)
Simplifying, we find: \(1 + p + q = 0\)
This leads to: \(p + q + 1 = 0\) - Therefore, the correct answer is 0.
This detailed analysis shows that if \(\alpha = 1\) is the common root, then \(p + q + 1 = 0\).