Parameters (a, b) for continuity & differentiability
About this app
Piecewise x+2 | a+bx² at the kink x=1: drag sliders a, b — continuity is a line in (a,b)-space, differentiability is a point. With a mini parameter-space plot showing the solution set live.
The task
Let f(x) = x + 2 for x ≤ 1 and f(x) = a + b·x² for x > 1. Continuity at x = 1 requires both pieces to have the same value there: 3 = a + b. Differentiability also requires equal slopes: on the left f′ = 1, on the right 2b·x, which is 2b at x = 1. So 2b = 1 gives b = ½, and a + b = 3 gives a = 5/2. Continuity yields one equation with infinitely many solutions, differentiability exactly one.
What the app shows
Two linked plots: on the left the graph of f with the left-hand limit f(1⁻) = 3 and the right-hand value a + b, on the right the parameter space (a, b). There the continuity condition a + b = 3 is a line, the condition b = ½ a dashed line, and their intersection (5/2, ½) the only differentiable choice. The result panel gives the jump Δy = (a + b) − 3 and the slope jump Δf′ = 2b − 1 and reports “discontinuous”, “continuous with a kink” or “differentiable”.
Things to try
Move a and b until the point in parameter space lands on the green line: the jump disappears but a kink remains at the join. Then slide along the line to where it meets b = ½, and the tangents of both pieces merge. Three buttons jump straight to a + b = 3, to b = ½ or to the point (5/2, ½).
Frequently asked questions
- How do you find parameters that make a piecewise function differentiable?
- Write two equations at the join: equal function values (continuity) and equal derivatives (differentiability). With two parameters this system typically has exactly one solution. For x + 2 and a + bx² at x = 1 it is a = 5/2, b = ½.
- Why is continuity not enough for differentiability?
- Continuity only means the graph is connected at the join. If the two pieces have different slopes there, the graph has a kink and the difference quotient has different left and right limits.
- What is the parameter space in problems like this?
- Each choice of (a, b) is a point in a plane. The continuity condition describes a set of points there, in this case the line a + b = 3. Adding the differentiability condition leaves only the intersection point.
- What does the app show next to the graph?
- A second plot of the (a, b) parameter space with the continuity line, the line b = ½ and the differentiable point marked. Your current (a, b) moves there as you use the sliders.
Subject: Analysis (one-dimensional)
More from Analysis (one-dimensional)
- Derivative as a sequence of secants
- Bounded growth
- Units of an integral: rate times time
- Exponential growth and decay
- Optimisation: the largest rectangle
- Area between curves
- Area function is an antiderivative
- Sequential continuity
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps