LogarithmLuke said:
Given the equation (x+4)(2-x)=x+4
How come it's wrong to divide both sides by x+4? Should it not give the same solution as multiplying out the left side and solving the quadratic equation?
When you divide by a factor, you have to keep in mind that you can't divide by zero. If you do divide by zero which happens in this case when x+4=0, or x=-4, then you've made the assumption that x+4 does not equal zero, or [itex]x\neq -4[/itex] and hence you've lost the solution x=-4. This is why you learn quadratics and factoring, because each factor is a solution, and in the same way that you wouldn't ignore one of the factors, you also don't divide by any factors.
You could always expand the left hand side, rearrange everything into the standard quadratic form and either factorize again or use the quadratic formula, but much more simply, you can notice that
[tex](x+4)(2-x)=x+4[/tex]
[tex](x+4)(2-x)-(x+4)=0[/tex]
[tex](x+4)(2-x-1)=0[/tex]
[tex](x+4)(1-x)=0[/tex]
Notice from the 2nd to 3rd line, what I did there is essentially factoring out x+4 from both factors. It might seem more obvious if we make the substitution u=x+4 and then we have to factorize u by doing
[tex]u(2-x)-u[/tex]
[tex]=u((2-x)-1)[/tex]
[tex]=u(2-x-1)[/tex]
Hence each factor equals 0 and so you have the two solutions x+4=0 which gives x=-4, and 1-x=0 which gives x=1.
Dividing through by x+4 would give us a linear equation which would only have the solution x=1 (because we've tossed out the x=-4 solution).