Skip to main content
Factor
Tick mark Image
Evaluate
Tick mark Image

Similar Problems from Web Search

Share

-a^{2}-a+2
Multiply and combine like terms.
p+q=-1 pq=-2=-2
Factor the expression by grouping. First, the expression needs to be rewritten as -a^{2}+pa+qa+2. To find p and q, set up a system to be solved.
p=1 q=-2
Since pq is negative, p and q have the opposite signs. Since p+q is negative, the negative number has greater absolute value than the positive. The only such pair is the system solution.
\left(-a^{2}+a\right)+\left(-2a+2\right)
Rewrite -a^{2}-a+2 as \left(-a^{2}+a\right)+\left(-2a+2\right).
a\left(-a+1\right)+2\left(-a+1\right)
Factor out a in the first and 2 in the second group.
\left(-a+1\right)\left(a+2\right)
Factor out common term -a+1 by using distributive property.
2-a-a^{2}
Multiply a and a to get a^{2}.