I had a question about the definition of a limit. I know for a limit to exist the right hand limit must equal the left hand limit but what if the graph of a specific function has the domain from [0,5] and if you wanted to find the limit at x=5 you know the left hand limit exists but the right hand doesn't.
So in this situation does the limit exist or not since only the right-hand limit exists?
You can only discuss limits in neighborhoods where the function is defined.
If the function is only defined in $[0, 5]$, then it makes no sense to talk about a right-hand limit at $5$. Therefore, when you talk about a limit at $5$, you can only mean left-hand limit.