Let \(g\left( x \right) = \left\{ {\begin{array}{*{20}{c}} { - x,}&{x \le 1}\\ {x + 1,}&{x \ge 1} \end{array}} \right.\) and \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {1 - x,}&{x \le 0}\\ {{x^2},}&{x > 0} \end{array}} \right.\).
Consider the composition of f and g, i.e. (fog)(x) = f(g(x)). The number of discontinuities in (fog)(x) present in the interval (-∞, 0) is:
1
0
2
1
3
2
4
4