Algebra · real student question

Factor 2x - 9xy.

Question

Factor

2x9xy2x-9xy

Step-by-step solution

  1. Compare the two terms factor by factor. Write each out:

    2x=2x,9xy=9xy2x=2\cdot x,\qquad9xy=9\cdot x\cdot y

    The coefficients 22 and 99 are coprime, so no number comes out. The variable yy appears only in the second term, so it cannot come out either. The only shared factor is xx.

  2. Divide each term by xx.

    2xx=2,9xyx=9y\frac{2x}{x}=2,\qquad\frac{-9xy}{x}=-9y

    so the bracket holds 29y2-9y, with the minus sign carried across:

    2x9xy=x(29y)2x-9xy=x(2-9y)

  3. Check by expanding. x2x9y=2x9xyx\cdot2-x\cdot9y=2x-9xy ✓, confirmed at all 400400 integer pairs with 10x,y9-10\le x,y\le9 ✓. Inside the bracket 22 and 9y9y share nothing, so the factoring is complete.

  4. Solve the associated equation. Setting the product to zero and using the zero-product property:

    x(29y)=0x=0  or  29y=0x(2-9y)=0\quad\Longrightarrow\quad x=0\ \text{ or }\ 2-9y=0

    The second branch gives 9y=29y=2, so y=29y=\tfrac29.

  5. Interpret the solution set. Because there are two variables, the solutions form two whole lines in the (x,y)(x,y) plane: the vertical line x=0x=0 (any yy) and the horizontal line y=29y=\tfrac29 (any xx). Check a point on each: x=0,y=5x=0,y=5 gives 00=00-0=0 ✓; x=7,y=29x=7,y=\tfrac29 gives 149729=1414=014-9\cdot7\cdot\tfrac29=14-14=0 ✓.

Answer

2x9xy=x(29y);x=0 or y=292x-9xy=x(2-9y);\quad x=0\ \text{or}\ y=\tfrac{2}{9}

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