Question
Simplify the expression
x2y−2xy−x2
Evaluate
xy(x−1)−(x−y)(x×1)−2(xy×1)
Remove the parentheses
xy(x−1)−(x−y)x×1−2xy×1
Multiply the terms
More Steps

Multiply the terms
(−x+y)x×1
Rewrite the expression
(−x+y)x
Multiply the terms
x(−x+y)
xy(x−1)+x(−x+y)−2xy×1
Any expression multiplied by 1 remains the same
xy(x−1)+x(−x+y)−2xy
Expand the expression
More Steps

Calculate
xy(x−1)
Apply the distributive property
xyx−xy×1
Multiply the terms
x2y−xy×1
Any expression multiplied by 1 remains the same
x2y−xy
x2y−xy+x(−x+y)−2xy
Expand the expression
More Steps

Calculate
x(−x+y)
Apply the distributive property
x(−x)+xy
Multiply the terms
More Steps

Evaluate
x(−x)
Use the commutative property to reorder the terms
−x×x
Multiply the terms
−x2
−x2+xy
x2y−xy−x2+xy−2xy
Solution
More Steps

Evaluate
−xy+xy−2xy
Collect like terms by calculating the sum or difference of their coefficients
(−1+1−2)xy
Calculate the sum or difference
−2xy
x2y−2xy−x2
Show Solution

Factor the expression
x(xy−2y−x)
Evaluate
xy(x−1)−(x−y)(x×1)−2(xy×1)
Remove the parentheses
xy(x−1)−(x−y)x×1−2xy×1
Any expression multiplied by 1 remains the same
xy(x−1)−(x−y)x−2xy×1
Multiply the terms
xy(x−1)−x(x−y)−2xy×1
Multiply the terms
xy(x−1)−x(x−y)−2xy
Simplify
More Steps

Evaluate
xy(x−1)
Apply the distributive property
xyx+xy(−1)
Multiply the terms
x2y+xy(−1)
Multiplying or dividing an odd number of negative terms equals a negative
x2y−xy
x2y−xy−x(x−y)−2xy
Simplify
More Steps

Evaluate
−x(x−y)
Apply the distributive property
−x×x−x(−y)
Multiply the terms
−x2−x(−y)
Multiplying or dividing an even number of negative terms equals a positive
−x2+xy
x2y−xy−x2+xy−2xy
Calculate the sum or difference
More Steps

Evaluate
−xy+xy−2xy
Collect like terms by calculating the sum or difference of their coefficients
(−1+1−2)xy
Calculate the sum or difference
−2xy
x2y−2xy−x2
Rewrite the expression
x×xy−x×2y−x×x
Solution
x(xy−2y−x)
Show Solution
