I had a lesson about operations on funcions. Everything was good until I reach the point of division of function so the lesson was saying that you can divide a function over another function but when it comes to determining the domain I find it weird i.e $$f(x)=\frac{x}{x+1},\qquad g(x)=\frac{x-3}{x+4}$$
The final function is $$\frac{x(x+4)}{(x-1)(x-3)}$$ so the domain becomes $R-[-4,3,1]$
Why do we exclude $-4$ and if we put $f(-4)=0$ not refused. can someone please explain this?