If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: Calculus, all content (2017 edition)>Unit 1

Lesson 12: Limits from equations (direct substitution)

# Limits by direct substitution

Sal explains how you can easily find limits of functions at points where the functions are continuous: simply plug in the x-value into the function! Later we will learn how to find limits even when the function isn't continuous.

## Want to join the conversation?

• I think Sal may have left something out. Correct me if I'm wrong, but on certain occasions, the entire function does not have to be continuous. If it is continuous at the value, a, then it should be fine to use direct substitution even though the function might be undefined elsewhere. This is because it isn't undefined at a so your output will be defined. Also, since your function is continuous at a, the limit there will exist meaning that you won't have to worry about jump discontinuities. Please tell me if this all seems reasonable.
• You are essentially correct. Sal should have said that the function only has to be continuous within the interval you are concerned with.
I hope this helps!
• how would we know if the problem is to be solved by direct substitution method? or if the function given is continuous? without drawing its graph
• How would you know? In some cases it is easier than in others; here, we see that the function is a parabola so it is somewhat clear that it has to be continuous. In general, all simple polynomials such as a parabola are continuous.

However, say you have a quotient, such as f(x) = x^2/x. Since division by zero is undefined, f(0) would be undefined in this function.
So, you have to watch out for things such as division by zero, which will frequently pop up when finding limits.
• lim h(x) as x ->6 for h(x) =square root of (5x+6) should be 6 or -6 or both?
• y=√x is a function that returns only positive values. So in this context, we are only looking at the principal root, and the limit is positive 6.

Limits are unique: they cannot have multiple values. So "both" would never be an option.
• At , what's the difference between f(x) as x->a, and f(a)?
• One is a limit, the other is an evaluation of the function. If the function is continuous and defined at (in your example), a, then they're equivalent. But you can get some very interesting results if the function is not continuous or not defined.

The limit is basically saying what the function seems to be going to as x gets closer to closer to a, but the function may not be defined at that point.
• Is the limit zero or none since it is continuous?
• The limit is 0 as Sal has demonstrated in the video.
• I can hear the sadness in his voice from doing this for years. Recording thousands of math (and many other subjects) to a computer must be draining.

or he just enjoys that sort of thing
• Ok so basically if a function, say f(x), is continuous at x=c, then the lim x-->c = f(x)? Is this why you can find limits of continuous functions by direct substitution?
• Yes, the limit as x->c of f(x) is f(c). This property is equivalent to the epsilon-delta definition of continuity, and it's why we can use direct substitution for most familiar functions.
• Can a limit be a fraction?
• yes a limit can be a fraction. For example if I asked you to find the limit as X approaches 2 for the functions (1/X), when you use substitution to find the limit you find that the number it approaches is .5 or 1/2.
• I thought it like this : Lim x-> a f(x) = f(a) if f(x) is continuous at x=a, not vice versa? Can someone tell me why?
• That statement holds in both directions. A function is continuous at a point a if and only if the limit value equals the function value at a. Since the two statements are equivalent, this can be used as a definition of continuity.
• By Sal and almost all discussion about relation between continuity and limit: it always says that as long as the function is continuous, there is a limit.
i am wondering if there is a case that the function is continuous but the limit does not exist.

https://math.libretexts.org/Bookshelves/Calculus/Book%3A_Active_Calculus_(Boelkins_et_al)/1%3A_Understanding_the_Derivative/1.7%3A_Limits%2C_Continuity%2C_and_Differentiability

in figure 1.7.2, the right graph, at point x=1. the left hand limit is 2. but the as x approaches 1 from the right, the function keeps oscillating, so the limit does not exist.

so the function is continuous by the graph, but limit does not exist.

am I wrong? or am I give some wrong example?