Given two graphs of piecewise functions f(x) and g(x), how do you know whether f[g(x)] and g[f(x)] are continuous at 0?
There is no simple answer.
Examine the graphs to find the one-sided limits,
If they are equal and are the same as
Here is another function I'll call
Perhaps someone else can summarize a method for this.