Parameters (m, b) at x₀ = 3
About this app
Piecewise ½x²+x−4 | mx+b at the kink x=3 — sliders m, b with snap buttons onto continuity (3m+b=3.5) and differentiability (m=4, b=−8.5). Mini parameter-space plot shows line and intersection.
The task
Let f(x) = ½x² + x − 4 for x < 3 and f(x) = m·x + b for x ≥ 3. The left-hand limit at x = 3 is ½·9 + 3 − 4 = 3.5 and the right-hand value is 3m + b, so continuity requires 3m + b = 3.5. For differentiability the line must also have the slope of the parabola at 3: f′(x) = x + 1, so f′(3⁻) = 4 and m = 4. Substituting gives b = 3.5 − 12 = −8.5. The line y = 4x − 8.5 is then the tangent to the parabola at x = 3.
What the app shows
The main plot shows the parabola and the line meeting at x = 3, and a small second plot shows the (m, b) space. There the continuity condition 3m + b = 3.5 is a green line, m = 4 a vertical line, and their intersection (4, −8.5) is the differentiable solution. The status panel shows the jump Δy and the slope jump Δf′ = m − 4 and reports “discontinuous”, “continuous with a kink” or “differentiable”.
Things to try
First set m and b so that the jump vanishes, and notice that many pairs work. Then move along the green line until m = 4: the left and right tangents merge. Three buttons set the values directly onto the continuity line, onto m = 4 or onto the point (4, −8.5).
Frequently asked questions
- How do you make a piecewise function continuous at the join?
- Compute the limit of the left piece and the value of the right piece at the join and set them equal. For ½x² + x − 4 and mx + b at x = 3 this gives 3m + b = 3.5. Every pair (m, b) on that line gives a continuous function.
- What does it mean for a line to join a parabola smoothly?
- At the join the line has the same value and the same slope as the parabola. It is then the tangent to the parabola at that point. For ½x² + x − 4 at x = 3 that is y = 4x − 8.5.
- How do you find the tangent to a parabola at a point?
- Compute the value f(x₀) and the slope f′(x₀) and plug them into y = f′(x₀)·(x − x₀) + f(x₀). For f(x) = ½x² + x − 4 and x₀ = 3 these are f(3) = 3.5 and f′(3) = 4.
- What do I adjust in the app?
- The slope m and the intercept b of the line, using sliders. The app shows the graph, the jump and the slope jump, and your choice as a point in (m, b) space.
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