Algebra · real student question

Factor the expression (a + x)^(m+1) (b + x)^(n-1) - (a + x)^m (b + x)^n completely.

Question

Factor completely:

(a+x)m+1(b+x)n1(a+x)m(b+x)n(a+x)^{m+1}(b+x)^{n-1}-(a+x)^m(b+x)^n

Step-by-step solution

  1. Read the exponents, not the letters. Both terms are built from the same two bases, (a+x)(a+x) and (b+x)(b+x); only the exponents differ. Term 1 carries (a+x)m+1(b+x)n1(a+x)^{m+1}(b+x)^{n-1} and term 2 carries (a+x)m(b+x)n(a+x)^{m}(b+x)^{n}. When two products share bases, the greatest common factor uses the smaller exponent of each base — that rule is the whole method here, and it works even though mm and nn are unknown.

  2. Take the smaller exponent of each base. For (a+x)(a+x) the exponents are m+1m+1 and mm, so the smaller is mm. For (b+x)(b+x) they are n1n-1 and nn, so the smaller is n1n-1. Hence

    GCF=(a+x)m(b+x)n1\text{GCF}=(a+x)^{m}(b+x)^{n-1}

    Note that this is legitimate for any integers m,nm,n: we never had to know their values, only which of each pair is smaller.

  3. Divide each term by the GCF using xp/xq=xpqx^p/x^q=x^{p-q}.

    (a+x)m+1(b+x)n1(a+x)m(b+x)n1=(a+x)1=a+x\frac{(a+x)^{m+1}(b+x)^{n-1}}{(a+x)^{m}(b+x)^{n-1}}=(a+x)^{1}=a+x

    (a+x)m(b+x)n(a+x)m(b+x)n1=(b+x)1=b+x\frac{(a+x)^{m}(b+x)^{n}}{(a+x)^{m}(b+x)^{n-1}}=(b+x)^{1}=b+x

    So the expression becomes (a+x)m(b+x)n1[(a+x)(b+x)](a+x)^m(b+x)^{n-1}\left[(a+x)-(b+x)\right].

  4. Simplify the bracket — this is where the problem collapses. Distribute the minus sign carefully:

    (a+x)(b+x)=a+xbx=ab(a+x)-(b+x)=a+x-b-x=a-b

    The two xx terms cancel, so the bracket is not a binomial in xx at all; it is the constant difference aba-b. Forgetting to distribute the minus over +x+x is the single most common error and would leave a wrong bracket ab+2xa-b+2x.

  5. Write the factored form and check it. Putting the pieces together,

    (ab)(a+x)m(b+x)n1(a-b)(a+x)^{m}(b+x)^{n-1}

    Quick numeric check with a=2,b=1,x=1,m=2,n=3a=2,b=1,x=1,m=2,n=3: the original is 33223223=10872=363^{3}\cdot 2^{2}-3^{2}\cdot 2^{3}=108-72=36, and the factored form gives (21)3222=36(2-1)\cdot 3^{2}\cdot 2^{2}=36. The two agree, so the factorisation is correct.

Answer

(ab)(a+x)m(b+x)n1(a-b)(a+x)^{m}(b+x)^{n-1}

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