0
$\begingroup$

$$ x^2 - x - 2 = 0 $$
$$ (x-2)(x+1) = 0 $$
$$ x = -1, 2 $$

in the given example, (x-2)(x+1) where x is -2 and +1 why did the last line of the example was swap?

  • 2
    Don't read too much into it; it's the same as saying $x=2$ and $x=-1$. Note that if you solve $x+1=0$ for $x$, you get $x=-1$.2011-05-03
  • 2
    $x - 2 = 0$ doesn't imply that $x = -2$.2011-05-03
  • 0
    $(x-2)(x+1)=0$ $\Leftrightarrow$ $x-2=0 \lor x+1=0$ $\Leftrightarrow$ $x=2 \lor x=-1$. Is this what you're asking? (You're question does not sound very clear to me.)2011-05-03
  • 0
    so in this case I can also choose $$ x = 1, -2 $$2011-05-03
  • 1
    @liangteh, No. please make sure you understand what Martin said.2011-05-03
  • 0
    @liangteh, remember that you can always check your answer by plugging them into your original equation. What happens if you plug in 1 or -2? What happens if you plug in -1 or 2? The last result is reached by solving $x-2=0$ and $x+1=0$. What are the solutions to these equations?2011-05-03

1 Answers 1

1

In the real numbers (and complex numbers, and integers, and rationals), if a product is equal to $0$, then at least one factor is equal to zero.

So for $(x-2)(x+1)$ to be equal to zero, either $x-2=0$, or $x+1=0$.

However, for $x-2$ to equal $0$ you don't need $x$ to be equal to $-2$, you need it to be equal to $2$: $x-2=0$ is equivalent to $x=2$. And for $x+1=0$ to be true, you need $x=-1$. So that's why you go from "$x$ minus $2$" to $x=2$, and from "$x$ plus $1$" to $x=-1$.

(In general, $x$ equals $a$ if and only if $x-a=0$. And $x+1 = x-(-1)$).

  • 0
    @Theo: Thanks! I never proofread enough...2011-05-03
  • 0
    Somehow I am reminded of the rant somewhere in this site (was it you?) about the use of the word "negative"...2011-05-03
  • 0
    @J.M. I wouldn't call it a "rant", but perhaps you are thinking of the last sentence in the penultimate paragraph of http://math.stackexchange.com/questions/13094/significance-of-displaystyle-sqrtnan/13095#130952011-05-03
  • 0
    thank you for your clarification.2011-05-04