Algebra · real student question

Let a and b be positive real numbers, m = a^3 + b^3 and n = a^2b + ab^2. Compare m and n.

Question

Let aa and bb be positive real numbers, and set

m=a3+b3,n=a2b+ab2m=a^3+b^3,\qquad n=a^2b+ab^2

Compare mm and nn.

Step-by-step solution

  1. Compare by subtracting, not by dividing. For two expressions the reliable move is to study the sign of mnm-n: if mn>0m-n>0 then m>nm>n, if mn=0m-n=0 they are equal, and if mn<0m-n<0 then m<nm<n. Division would also work here since a,b>0a,b>0, but subtraction keeps everything polynomial and factorable.

  2. Form the difference and group in pairs.

    mn=a3+b3a2bab2m-n=a^3+b^3-a^2b-ab^2

    Group the cubes with the mixed terms that share a variable:

    mn=(a3a2b)+(b3ab2)=a2(ab)+b2(ba)m-n=(a^3-a^2b)+(b^3-ab^2)=a^2(a-b)+b^2(b-a)

  3. Pull out the common factor (ab)(a-b). Since ba=(ab)b-a=-(a-b),

    mn=a2(ab)b2(ab)=(ab)(a2b2)m-n=a^2(a-b)-b^2(a-b)=(a-b)(a^2-b^2)

    and a2b2=(ab)(a+b)a^2-b^2=(a-b)(a+b), so

    mn=(a+b)(ab)2\boxed{m-n=(a+b)(a-b)^2}

    This factored form is the whole solution: it turns a comparison into a sign inspection.

  4. Read off the sign. With a>0a>0 and b>0b>0 we have a+b>0a+b>0, and (ab)20(a-b)^2\ge 0 for any real numbers. A positive number times a nonnegative number is nonnegative, so

    mn0mnm-n\ge 0\qquad\Longrightarrow\qquad m\ge n

  5. Pin down when equality happens. The product (a+b)(ab)2(a+b)(a-b)^2 is zero only if one factor is zero. Since a+b>0a+b>0, equality forces (ab)2=0(a-b)^2=0, that is a=ba=b. So

    a3+b3>a2b+ab2  when ab,a3+b3=a2b+ab2  when a=ba^3+b^3>a^2b+ab^2\ \text{ when } a\neq b,\qquad a^3+b^3=a^2b+ab^2\ \text{ when } a=b

  6. Check with numbers. Take a=3,b=1a=3,b=1: m=27+1=28m=27+1=28 and n=9+3=12n=9+3=12, and indeed (a+b)(ab)2=44=16=2812(a+b)(a-b)^2=4\cdot 4=16=28-12. Take a=b=2a=b=2: m=16m=16 and n=16n=16, equal as predicted. The same identity also proves the familiar rearrangement fact that a3+b3ab(a+b)a^3+b^3\ge ab(a+b) for positive a,ba,b.

Answer

m  n, since mn=(a+b)(ab)20, with equality only when a=bm\ \ge\ n,\ \text{since } m-n=(a+b)(a-b)^2\ge 0,\ \text{with equality only when } a=b

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