Algebra · real student question

Factor x^4 + 2x^3 y + 3x^2 y^2 + 2x y^3 + y^4.

Question

Factor

x4+2x3y+3x2y2+2xy3+y4x^4+2x^3y+3x^2y^2+2xy^3+y^4

Step-by-step solution

  1. Read the coefficient pattern. Listing the coefficients in order gives

    1,  2,  3,  2,  11,\;2,\;3,\;2,\;1

    a palindrome, and the expression is homogeneous of degree 44 — every term has total degree 44. A degree-44 homogeneous palindrome is a strong hint that it is the square of a degree-22 homogeneous expression.

  2. Set up the square of a general trinomial. Try (x2+kxy+y2)2\left(x^2+kxy+y^2\right)^2 and expand using (a+b+c)2=a2+b2+c2+2ab+2ac+2bc(a+b+c)^2=a^2+b^2+c^2+2ab+2ac+2bc with a=x2a=x^2, b=kxyb=kxy, c=y2c=y^2:

    (x2+kxy+y2)2=x4+2kx3y+(k2+2)x2y2+2kxy3+y4\left(x^2+kxy+y^2\right)^2=x^4+2kx^3y+\left(k^2+2\right)x^2y^2+2kxy^3+y^4

  3. Match coefficients. Comparing with the target:

    2k=2    k=1,k2+2=1+2=3  2k=2\;\Longrightarrow\;k=1,\qquad k^2+2=1+2=3\;\checkmark

    Both conditions are satisfied by the same kk, which is exactly why the factorization exists. Had the x2y2x^2y^2 coefficient been anything but 33, no single kk would have worked.

  4. Write the factorization.

    x4+2x3y+3x2y2+2xy3+y4=(x2+xy+y2)2x^4+2x^3y+3x^2y^2+2xy^3+y^4=\left(x^2+xy+y^2\right)^2

  5. Confirm numerically and note irreducibility. At x=2x=2, y=1y=1: the original is 16+16+12+4+1=4916+16+12+4+1=49, and (4+2+1)2=72=49  \left(4+2+1\right)^2=7^2=49\;\checkmark. The inner factor x2+xy+y2x^2+xy+y^2 does not factor further over the reals — as a quadratic in xx its discriminant is y24y2=3y2<0y^2-4y^2=-3y^2<0 — so this is the complete factorization.

Answer

x4+2x3y+3x2y2+2xy3+y4=(x2+xy+y2)2x^4+2x^3y+3x^2y^2+2xy^3+y^4=\left(x^2+xy+y^2\right)^2

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