Algebra · real student question

Expand and simplify (1 - 2x)(5 - 3x) + (4 - x)^2.

Question

Expand and simplify

(12x)(53x)+(4x)2(1-2x)(5-3x)+(4-x)^{2}

Step-by-step solution

  1. Expand the product with FOIL. Multiply each term of the first bracket by each of the second, watching the signs:

    (12x)(53x)=53x10x+6x2=6x213x+5(1-2x)(5-3x)=5-3x-10x+6x^{2}=6x^{2}-13x+5

    The last product (2x)(3x)=+6x2(-2x)(-3x)=+6x^{2} is positive because two negatives multiply to a positive.

  2. Expand the square with the difference identity. Using (ab)2=a22ab+b2(a-b)^{2}=a^{2}-2ab+b^{2} with a=4a=4, b=xb=x:

    (4x)2=168x+x2(4-x)^{2}=16-8x+x^{2}

    There are three terms — writing 16x216-x^{2} or 16+x216+x^{2} drops the essential middle term 8x-8x.

  3. Add the two expansions.

    (6x213x+5)+(168x+x2)\left(6x^{2}-13x+5\right)+\left(16-8x+x^{2}\right)

  4. Collect like terms by degree.

    6x2+x2=7x2,13x8x=21x,5+16=216x^{2}+x^{2}=7x^{2},\qquad-13x-8x=-21x,\qquad5+16=21

    giving

    7x221x+217x^{2}-21x+21

  5. Verify and note the common factor. At x=1x=1: the original is (1)(2)+9=7(-1)(2)+9=7, and the answer gives 721+21=77-21+21=7 ✓. The identity holds at every integer from 30-30 to 2929 ✓. All three coefficients share a factor of 77, so the result also equals 7(x23x+3)7\left(x^{2}-3x+3\right); the inner quadratic has discriminant 912=3<09-12=-3<0, so it never factors further over the reals and the expression is always positive.

Answer

7x221x+21=7(x23x+3)7x^{2}-21x+21=7\left(x^{2}-3x+3\right)

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