Earlier quoted context omitted.
y=x^2/x and y=x aren't the same thing though. The first is undefined at x=0, the second is not. How does this break algebra?
Because if you can't simplify, you can't treat them as the same, which is a fundamental premise of algebra. I.e. the promise/premise of algebra is that if you take an equation, it remains equally valid when you add, subtract, multiply, or divide both sides by the same expression. If you treat these as distinct, then every division operation where you divide by a variable expression reduces the domain of possible answ…
No.
The promise/premise of algebra is that an equation remains equally valid when you perform valid algebraic operations on two equal quantities.
Division is defined as the inverse of multiplication. Multiplying by zero has no inverse, and thus, it is not valid to divide by zero. If you are in a circumstance where you want to divide to solve an equation, you must check to make sure you're not dividing by zero (and write a special case for any circumstance in which you might otherwise have divided by zero.)
> "Solve for f(x) in the following equation (x + 2) * f(x) = x^2 + 4x + 4, where x = -2."
The way you've written it, f(x) is undefined for x=-2. Any value I select for f(2) makes that expression true. Try it -- if f(2)=813, 0 * 813 = 4-8+4. That solution works.
You might prefer to define f(2)=0 because it makes f(x) continuous. But you have to define that value separately; you can't solve for it from the equation, because dividing by (x+2) is not a valid operation for x=-2. You could, alternatively, choose to define f(2)=7 or f(2)=-318 or any other value. Because you've written an equation that allows it.
That's the thing about mathematics. It's very carefully defined and very precise. Your inclination is to try to simplify first, but you're simplifying in a way that is not valid for x=-2 and thereby accidentally making an incorrect statement (that f(2) "should" be zero.) If you simplify properly, you'll see what ubercow said is true -- the solution is f(x)=x+2 except at x=-2, where f(-2) can be any number and therefore you have a continuum of possible solutions.