Factor
\left(a-4\right)\left(a+7\right)
Evaluate
\left(a-4\right)\left(a+7\right)
Share
Copied to clipboard
a^{2}+3a-28
Multiply and combine like terms.
p+q=3 pq=1\left(-28\right)=-28
Factor the expression by grouping. First, the expression needs to be rewritten as a^{2}+pa+qa-28. To find p and q, set up a system to be solved.
-1,28 -2,14 -4,7
Since pq is negative, p and q have the opposite signs. Since p+q is positive, the positive number has greater absolute value than the negative. List all such integer pairs that give product -28.
-1+28=27 -2+14=12 -4+7=3
Calculate the sum for each pair.
p=-4 q=7
The solution is the pair that gives sum 3.
\left(a^{2}-4a\right)+\left(7a-28\right)
Rewrite a^{2}+3a-28 as \left(a^{2}-4a\right)+\left(7a-28\right).
a\left(a-4\right)+7\left(a-4\right)
Factor out a in the first and 7 in the second group.
\left(a-4\right)\left(a+7\right)
Factor out common term a-4 by using distributive property.
a^{2}+3a-28
Combine 7a and -4a to get 3a.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}