Example 5: The constant function is continuous everywhere
Check the points where the constant function is continuous.
Let be any real number. Then .
Since , is continuous at .
As is arbitrary, is continuous at every real number.
Want the reason behind every step, the basics and the checks?
The question asks about every real number at once, so we test continuity at an arbitrary point , a letter that could stand for any real number. For a constant function the test is almost immediate: every value, near or at , is the same number , so the limits and the value cannot disagree.
- Given
- for every real , where is a fixed real number.
- To find
- All points at which is continuous.
- Plan
- Fix an arbitrary real number . Find , the left-hand limit and the right-hand limit at , and compare them (Definition 1). Since was arbitrary, the conclusion holds at every real number.
Basics you need
gives the same output for every input. Its graph is the horizontal line . For example, sends , and all to . Basics: functions
means can be made as close to as we like by taking close enough to , . Basics: what a limit is
Work with a letter about which we assume nothing except that it is a real number. Whatever we prove about then holds for every real number.
Definition 1: is continuous at (in the domain) iff the left-hand limit, right-hand limit and exist and are equal. Definition 2: is a continuous function if it is continuous at every point of its domain. Lesson: continuity at a point
Solution
Fix an arbitrary point and find
The rule gives a value for every real , so the domain is . Let be any real number. Then
The question asks "at which points?", and the answer could be "all", "none" or "some". Working with an arbitrary covers every candidate at once (Basic 3). The domain check comes first because continuity is only discussed at points of the domain."By definition, its value at any real number equals " (the textbook's words): that is what "constant" means. Basics: functionsLeft-hand limit at
For every , . So
The values of to the left of are not just close to , they are : the distance is exactly 0 for every . So whatever closeness is demanded, it is met, and the limit is .The limit of a constant is that constant. Basics: one-sided limitsRight-hand limit at
For every , again , so
With and , for instance:
side of 2 left left right right Both one-sided limits are , so the limit at exists and , which is the single line in the textbook's solution.Compare at
All three agree, so and is continuous at (Definition 1).
Definition 1 asks for exactly this equality. Nothing in the argument used any special property of .Conclude for every real number
Since was an arbitrary real number, is continuous at every real number. As its domain is , it is a continuous function in the sense of Definition 2.
Step 1 promised that an argument about an arbitrary proves the statement for all real numbers; Step 4 completed that argument.This result, together with Example 6 (the identity function), is the starting point for proving that every polynomial is continuous (Example 14).
For every real : . So the constant function is continuous at every real number, which is the textbook's conclusion.
Take and test at : , , . The distance from is 0 on both sides, at every distance from 2.
- Testing a few points only. Showing continuity at 0, 1 and 2 does not show it at every real number. Use an arbitrary .
- Thinking a limit must "approach" a different number. A function can equal its limit everywhere near ; the limit is still .
- Forgetting the domain. Continuity is claimed at every point of the domain, here all of .
- To prove continuity at every point, prove it at an arbitrary point .
- Constant functions are continuous everywhere: for all .
- Definition 2: a function continuous at every point of its domain is called a continuous function.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A constant function takes the value everywhere | Steps 1–3 | Definition of a constant function (Basics: functions) |
| (from either side) | Steps 2, 3 | Algebra of limits, Class XI (Limits and Derivatives) (Basics: limits) |
| Continuous at iff LHL = RHL = | Step 4 | Definition 1, Section 5.2 (Lesson: continuity at a point) |
| Continuous function: continuous at every point of the domain | Step 5 | Definition 2, Section 5.2 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →