Algebra · real student question

Factorise x^2 + (2a + 5)x + a^2 + 5a - 6.

Question

Factorise

x2+(2a+5)x+a2+5a6x^{2}+(2a+5)x+a^{2}+5a-6

Step-by-step solution

  1. Organise the expression in one variable. The expression is already written as a quadratic in xx: the coefficient of xx is 2a+52a+5 and the constant term is a2+5a6a^2+5a-6. Treating aa as a fixed number turns this into an ordinary sum-and-product factorisation.

  2. Factor the constant term. Two numbers with product 6-6 and sum 55 are 66 and 1-1:

    a2+5a6=(a+6)(a1)a^{2}+5a-6=(a+6)(a-1)

  3. Test whether those two pieces add to the middle coefficient.

    (a+6)+(a1)=2a+5(a+6)+(a-1)=2a+5

    This matches the coefficient of xx exactly, which is the signal that the quadratic factors as (x+p)(x+q)(x+p)(x+q) with p=a+6p=a+6 and q=a1q=a-1.

  4. Write down the factorisation.

    x2+[(a+6)+(a1)]x+(a+6)(a1)=(x+a+6)(x+a1)x^{2}+\big[(a+6)+(a-1)\big]x+(a+6)(a-1)=(x+a+6)(x+a-1)

    (x+a+6)(x+a1)\boxed{(x+a+6)(x+a-1)}

  5. Expand to verify. (x+a+6)(x+a1)=x2+(a1)x+(a+6)x+(a+6)(a1)=x2+(2a+5)x+a2+5a6(x+a+6)(x+a-1)=x^2+(a-1)x+(a+6)x+(a+6)(a-1)=x^2+(2a+5)x+a^2+5a-6 — the original expression.

Answer

(x+a+6)(x+a1)(x+a+6)(x+a-1)

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