Function plot through plotter plotting point not in domain/range

16 Views Asked by At

Given $f(x)=(x^{2}-1)/(x+1)$ where domain of $f(x)= \mathbb{R} - \{-1\}$ and range of $f(x) = \mathbb{R} - \{-2\}$.

When the graph is plotted on Wolfram Alpha, the graph is a straight line where $\hspace{0.1mm} x \hspace{1mm} \epsilon \hspace{1mm} [-1.7,1.1] $.

Please find attached the plot for the same.

enter image description here

Had a question regarding the attached plot. why it calculates the limit of the function when x tends to -1 while plotting?