##### Show that f(x) = cos x2 is a continuous function.

Idea: Such problems can be solved easily using the idea of the continuity of composite function.

If we not go to very strict mathematical meaning of composite function you can think it as it is a function of function.

Let, g(x) = cos x

And h(x) = x2

Then g(h(x)) = g(x2) = cos x2

We write g(h(x)) as (goh)(x) and this is what we called composite function/function composition.

We have a theorem regarding composition of function in continuity which lets us to solve problems easily.

Theorem: If f and g are real valued function such that (fog) is defined at c, and g is continuous at c and f is continuous at g(c) then (fog) is continuous at x = c

For our problem:

Let, g(x) = cos x

and h(x) = x2

Given: f(x) = cos x2 = g(h(x)) = (goh)(x)

Clearly, h(x) is a polynomial function, which is everywhere continuous

And g(x) being cosine function, it is also everywhere continuous.

FIG : Plot of cos x2

goh(x) = f(x) is also everywhere continuous. [using above explained theorem]

14