Exercise 5.1 · Q30: Find , : 5, then , then 21 is continuous
30. Find the values of and such that the function defined by is a continuous function.
For , and , is a constant or a polynomial, so it is continuous there. So must be continuous at and .
At : .
Continuity at gives
At : .
Continuity at gives
Subtracting (i) from (ii): , so . Then from (i), .
and .
Want the reason behind every step, the basics and the checks?
Each piece on its own is continuous (two constants and a straight line). The only places where can break are the two joints, and . The middle line must start at height 5 at and end at height 21 at . That gives two equations, and , for the two unknowns: , .
- Given
- A three-piece function: 5 up to and including 2, strictly between 2 and 10, and 21 from 10 onwards. and are unknown constants.
- To find
- All , for which is a continuous function, that is, continuous at every point of its domain.
- Plan
- (1) Find the domain and split it at 2 and 10. (2) Show is continuous inside each piece, whatever , are. (3) Condition at . (4) Condition at . (5) Solve the two equations. (6) Confirm.
Basics you need
A real function is continuous if it is continuous at every point of its domain (Definition 2, Section 5.2). So we must check every real number, not just the joints. Lesson: continuity at a point
At a point of the domain: left-hand limit = right-hand limit = (Definition 1). Basics: left-hand and right-hand limits
"" includes 2; "" excludes both 2 and 10; "" includes 10. So comes from the first line and from the third. Basics: piecewise functions
Constant functions (Example 5) and polynomials such as (Example 14) are continuous everywhere, so their limits are found by substituting. Basics: what a limit is
If both equations contain once, subtracting one from the other removes and leaves an equation in alone.
Solution
The domain is all of , split at 2 and 10
Every real number satisfies exactly one of , , , so is defined at every real number. The points to examine are
- points , points with , points (inside a piece);
- the joints and .
"Continuous function" means continuous at every point of the domain (Definition 2). Splitting the line this way covers every real number exactly once, so nothing is missed.Read the inequalities carefully: the three pieces meet at 2 and 10, and each of those points belongs to exactly one piece (Basic 3). Basics: piecewise functionsInside each piece, is continuous for every ,
- If : every close enough to (closer than ) also satisfies , so near the function is the constant 5. Hence .
- If : every close enough to also lies strictly between 2 and 10, so near , , a polynomial. Hence .
- If : near the function is the constant 21, so .
So is continuous at every point other than 2 and 10, whatever the values of and .
A limit at depends only on the values of near . For a point strictly inside a piece we can stay so close to that we never leave that piece, and there is a constant or a straight line, both continuous. That is why only the joints can cause trouble.Constants: Example 5; polynomials: Example 14. Basics: what a limit isThe joint : need
Value: , so the first line applies and .
Left-hand limit (only , first line):
Right-hand limit ( just above 2 lies in , middle line):
Continuity at 2 needs , that is
The middle line is not used at itself (the inequality is strict), but it is what follows as comes down to 2 from the right. So it supplies the right-hand limit, and that has to match the value 5.Definition 1 at . Basics: left-hand and right-hand limitsThe joint : need
Value: , so the third line applies and .
Left-hand limit ( just below 10 lies in , middle line):
Right-hand limit (only , third line):
Continuity at 10 needs , that is
This time the middle line approaches the joint from the left. It has to arrive at the height 21 where the last piece is sitting.Definition 1 at . Lesson: continuity at a pointSolve the two equations
Subtract (1) from (2): the 's cancel.
Put into (1): , so .
The two equations have exactly one solution, so , is the only choice. With any other pair, (1) or (2) fails and jumps at 2 or at 10.
Both conditions are needed at once: must be continuous at 2 and at 10. Two conditions and two unknowns give one answer here because the lines in the -plane, and , have different slopes and so cross at a single point.Elimination: subtract to remove one unknown (Basic 5).Confirm with ,
The middle piece is now :
Joint Left-hand limit Right-hand limit Value 5 21 All agree, and Step 2 covers every other point, so is continuous at every real number. ✓
With , : the level line (gold) runs into the filled dot ; the line (blue) climbs from there to the filled dot ; the level line (green) carries on. The whole graph is one unbroken path. The picture makes the conditions concrete: the blue segment is the line through and . Its slope is , the value of we found.
and . Then for , for , and 21 for , which is continuous at every real number. No other pair works. (Textbook answer: , .)
With , : near 2, and ; near 10, and . Both joints show values on the two sides closing in on and . ✓
- Using only one joint. One equation cannot fix two unknowns; continuity is needed at 2 and at 10.
- Mixing up which line gives the value. and ; the middle line gives neither value, only the limits from inside.
- Forgetting the other points. "Continuous function" means every point of the domain; Step 2 deals with the points inside the pieces.
- For a piecewise function built from continuous pieces, only the joints need checking; inside a piece the function is one continuous formula.
- Each joint gives one equation. Two joints, two unknowns.
- Geometrically, the middle line must pass through the two end-points and .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A continuous function is continuous at every point of its domain | Steps 1, 2 | Definition 2, Section 5.2 |
| Continuity at : left-hand limit, right-hand limit and equal | Steps 3, 4, 6 | Definition 1, Section 5.2 (Lesson: continuity at a point) |
| Constant functions are continuous | Steps 2–4 | Example 5, Section 5.2 |
| Polynomials (here ) are continuous | Steps 2–4 | Example 14, Section 5.2 |
| Solving two linear equations by elimination | Step 5 | Algebra (pair of linear equations) |
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 →