So I was learning how to divide polynomials and I was making this one...
$$\frac{x^2+3x+2}{x+1}=x+2$$
When I graph the equation in Desmos, it looks like when $x = -1$ we have undefined in one part of the equation and $1$ in the other, when we solve $x = -1$ the left side ends up being $\frac{0}{0}$ while the right side becomes $1$... Both functions are by the way exactly the same with the exception that for $x=-1$ one has a blank point and the other doesn't.
Does that means then that, it is at least possible to divide $\frac{0}{0}$ or that $x+2$ is NOT equal to the polynomial division?
Thanks!
From $\frac{2(x^2+3x+2)}{x+1} = 2(x+2)$, we discover by exactly the same method that $0/0 = 2$. In fact, from $\frac{k(x^2+3x+2)}{x+1} = k(x+2)$, we discover that $0/0 = k$ for any $k$ you like.
But if $a = b$ and $a = c$, we must have $b = c$. This means $1 = 0/0 = 2$, which is clearly nonsense. (In fact, we have $k = 1$ for any $k$ you like, which is even more clearly nonsense.)
The difficulty is you have read that equals sign as promising more than it actually does. In the form $f = g$ where $f$ and $g$ are functions, the equality only promises that $f$ and $g$ give the same output values for a given input value. This claim is only possible when that input value is in both of their domains. Equality of functions only happens at points where both functions are defined.
The resolution to your question is "$x-2$ is equal to the polynomial division but may or may not be the same function as $x-2$ depending on what domain you assign to that polynomial." Remember every function has a domain. Two functions given by the same recipe, "$x-2$" but with different domains are different functions. The maximal domain of the rational function $\frac{x^2+3x+2}{x+1}$ is $(-\infty, -1) \cup (-1,\infty)$. (I say "maximal domain" because the convention is that a function has its maximal domain unless specified otherwise.) On that domain the quotient is the same as $x-2$, but now we have an ambiguity. Do we mean
We can't tell which is meant from what is written. The quotient is equal to both of these functions. These two functions are equal (recall that this is because equality only inspects the functions where both are defined).
The quotient is exactly the same function as "$x-2$ with domain $(-\infty, -1) \cup (-1,\infty)$" (some values and same domains). The quotient is equal to "$x-2$ with domain $(-\infty, \infty)$" (same values on their common domain). When you wrote "$x-2$", which of these two functions did you mean?