Question
Simplify the expression
x2−x−2
Evaluate
(x−2)(x+1)
Apply the distributive property
x×x+x×1−2x−2×1
Multiply the terms
x2+x×1−2x−2×1
Any expression multiplied by 1 remains the same
x2+x−2x−2×1
Any expression multiplied by 1 remains the same
x2+x−2x−2
Solution
More Steps

Evaluate
x−2x
Collect like terms by calculating the sum or difference of their coefficients
(1−2)x
Subtract the numbers
−x
x2−x−2
Show Solution

Find the roots
x1=−1,x2=2
Evaluate
(x−2)(x+1)
To find the roots of the expression,set the expression equal to 0
(x−2)(x+1)=0
Separate the equation into 2 possible cases
x−2=0x+1=0
Solve the equation
More Steps

Evaluate
x−2=0
Move the constant to the right-hand side and change its sign
x=0+2
Removing 0 doesn't change the value,so remove it from the expression
x=2
x=2x+1=0
Solve the equation
More Steps

Evaluate
x+1=0
Move the constant to the right-hand side and change its sign
x=0−1
Removing 0 doesn't change the value,so remove it from the expression
x=−1
x=2x=−1
Solution
x1=−1,x2=2
Show Solution
