If in the expansion of (1+x)p(1−x)q(1 + x)^p (1 - x)^q, the coefficients of xx and x2x^2 are 1 and -2, respectively, then p2+q2p^2 + q^2 is equal to:

Answer: 13

Step-by-step solution

Step 1: Expand the given expression using binomial theorem

We use the binomial theorem to expand each term. The binomial theorem states that (1+y)n=1+ny+n(n−1)2!y2+…(1+y)^n = 1 + ny + \frac{n(n-1)}{2!}y^2 + \dots. We apply this to (1+x)p(1+x)^p and (1−x)q(1-x)^q, noting that for (1−x)q(1-x)^q, the terms alternate in sign.

Step 2: Multiply the expansions and find coefficients of xx and x2x^2

Now we multiply the two expanded series. To find the coefficient of xx, we multiply the constant term from the first expansion by the xx term from the second, and the xx term from the first by the constant term from the second. Similarly, for the coefficient of x2x^2, we consider all combinations that result in an x2x^2 term: constant with x2x^2, xx with xx, and x2x^2 with constant.

Step 3: Formulate equations from given coefficients

We are given that the coefficient of xx is 1 and the coefficient of x2x^2 is -2. We set up two equations based on these given values and the coefficients we derived in the previous step.

Step 4: Simplify and solve the system of equations

We simplify Equation 2 by multiplying by 2 and rearranging terms. We recognize that p2−2pq+q2p^2 - 2pq + q^2 is (p−q)2(p-q)^2. Substituting p−q=1p-q=1 from Equation 1, we can solve for p+qp+q.

Step 5: Solve for pp and qq

Now we have a simple system of two linear equations with two variables (pp and qq). We can add the two equations to find pp, and subtract them to find qq.

Step 6: Calculate p2+q2p^2 + q^2

Finally, we substitute the values of pp and qq we found into the expression p2+q2p^2 + q^2 to get the final answer.

More from this chapter

All Binomial Theorem solutions →

Solve your own maths question free →