One of the first concepts that any calculus student learns is that the differential essentially measures the instantaneous rate of change of a curve/ the slope at any point, and this makes sense of continuous curves like $x^2$, $sin(x)$, etc. But what would that mean for a function that's differentiable and continuous at only one point, like $x^2q(x)$ where $q(x)$ is the indicator function of rationals? I have glanced through the answers to this question but it seems to be more concerned with continuous functions that functions that are continuous and differentiable at only one point.
reference:-
https://math.stackexchange.com/a/4580221/879009 and Can a function be differentiable at only isolated points?.