2
$\begingroup$

$(x+2)(x-1$)

Totally forgot how to do it. Isn't this the rule:

$(a+b)(c+d)$

$a*c +a*d +b*c +b*d$

The answer I'm getting is $x^2-x+2x-2$ which is wrong. Please help me out, thanks!

  • 0
    yes, indeed, "foil"-ish! I agree that emphasizing distributivity is more generalizable. "FOIL" can simply be a reminder of the need to distribute multiplication, for those who insist, e.g., that $(a + b)^2 = a^2 + b^2$!2019-01-27

2 Answers 2

10

It's not wrong. You just haven't noticed that $-x+2x = x$, so that, if you simplify, you get $(x+2)(x-1) = x^2 -x + 2x - 2 = x^2 + x - 2.$

  • 1
    I see, thanks for helping out, finally I can continue my studies. Appreciate it ;)2011-05-18
3

The FOIL "rule" (First, Outer, Inner, Last) simply follows from the distributive laws:

$k(m+n) = km + kn$

$(k+m)n = kn + mn$

In your case,

$ \begin{align} (x+2)(x-1) = x(x-1) + 2(x-1) = x^2 - x + 2x - 2 = x^2 + x - 2, \end{align} $

as you have already noted.

  • 0
    @ShreevatsaR: Thanks for the comment. I edited my answer accordingly.2011-05-30