Graduate · Smoothing a weak derivative
Smoothing a weak derivative: Translate the corner right
Smoothing a weak derivative: investigate translate the corner right with smoothing width ε = 0.2; corner location b = 1.
Predict what will happen, press Play, then pause and explain what changed. Every control also works without playback.
Watch the relationship
PausedHD animation studio
From experiment to screen.
Present a crisp Canvas scene, save a full-HD image, or capture your model as a silent video.
Understand what you are seeing
The idea behind the motion.
The absolute-value function has a corner but admits a weak first derivative represented by a sign function. A smooth approximation makes the distinction visible: its derivative transitions continuously, while its function error is uniformly bounded by ε. Values assigned to the sign function at the single corner do not affect the weak derivative class. This investigation starts with Smoothing width ε = 0.2; Corner location b = 1. Predict the result before playing, then change one parameter while keeping the other fixed to test the reason for the change.
A relationship to keep
fε(x)=√((x−b)²+ε²); fε′=(x−b)/fε; ||fε−|x−b|||∞≤ε
Read the symbols alongside the explanation. A diagram shows the relationship; the assumptions tell you when it applies.
- STEP 1
Set up the mathematical model
Locate the corner b and compare the exact absolute-value curve with its smooth approximation. The starting case is “Translate the corner right.”
- STEP 2
Follow the changing quantity
Trace the derivative of the smooth curve. Away from the corner it approaches −1 or +1 as ε shrinks.
- STEP 3
Explain and test the result
Use √(d²+ε²)−|d|≤ε for the function-error bound. This does not give uniform convergence of the derivatives across the corner.
Your turn to explain
Make a prediction. Test your reasoning.
Keep Smoothing width ε = 0.2; Corner location b = 1. Pause the timeline at 80%. Given input x = 1.8, calculate smooth derivative, sign representative, smoothing error. Show the substitution into the displayed formula.
Use the values specified in the question. Reset restores the initial values for this investigation.
Compare your explanation
At d=x−b=0.8, the smooth derivative is d/√(d²+ε²)=0.8/√(0.8²+0.2²)=0.970143. Subtracting |d| from the smooth function gives error 0.024621, at most ε=0.2. Results: Smooth derivative: 0.97; Sign representative: 1; Smoothing error: 0.025. Decimal values are rounded; retain the original parameters when checking.
Work through a full lesson
Connect the animation to a worked example and practice questions.