इस पर अटक गए? इसे AI से हल करें
Algebra · real student question

Factor x² - 2ax + x + a² - a - 2 completely.

Question

Factor completely (with aa a parameter):

x2−2ax+x+a2−a−2x^2-2ax+x+a^2-a-2

Step-by-step solution

  1. Collect the terms by powers of xx.

    x2+(1−2a)x+(a2−a−2)x^2+(1-2a)x+\left(a^2-a-2\right)

    It is a quadratic in xx whose coefficients involve aa — so any factorization should be a product of two linear-in-xx brackets.

  2. Spot the completed square hiding inside. The pieces x2x^2, −2ax-2ax and a2a^2 are exactly (x−a)2(x-a)^2. Peeling them off leaves

    x2−2ax+a2+x−a−2=(x−a)2+(x−a)−2x^2-2ax+a^2+x-a-2=(x-a)^2+(x-a)-2

    because the leftover +x−a+x-a is itself (x−a)(x-a). Every occurrence of xx and aa now sits inside the single combination x−ax-a.

  3. Substitute u=x−au=x-a and factor the plain quadratic.

    u2+u−2=(u−1)(u+2)u^2+u-2=(u-1)(u+2)

    since (−1)(2)=−2(-1)(2)=-2 and −1+2=1-1+2=1. With the substitution the parameter has disappeared entirely.

  4. Back-substitute u=x−au=x-a.

    (x−a−1)(x−a+2)(x-a-1)(x-a+2)

  5. Cross-check two ways. By the coefficient route: a2−a−2=(a−2)(a+1)a^2-a-2=(a-2)(a+1), and the two bracket constants −(a+1)-(a+1) and 2−a2-a sum to 1−2a1-2a ✓ matching the linear coefficient. Numerically at x=1x=1, a=2a=2: the original is 1−4+1+4−2−2=−21-4+1+4-2-2=-2, and (1−2−1)(1−2+2)=(−2)(1)=−2(1-2-1)(1-2+2)=(-2)(1)=-2 ✓.

Answer

x2−2ax+x+a2−a−2=(x−a−1)(x−a+2)x^2-2ax+x+a^2-a-2=(x-a-1)(x-a+2)

Need to solve a different problem like this? Open the solver →