Given,
f(x)=max(x,1x)
Before we set out to answer the question,we digress to the definition of
h(x)=maximum{p(x),q(x)}
h(x)={p(x);whenp(x)>q(x)q(x);whenq(x)>p(x)
Thereby, the exact functional form of the given function f(x)=max(x,1x)can be found out if we can break down the mentioned domain into two subintervals , one where x>1x and the other where 1x>x.And this can be determined if we plot both x&1x on the same graph.
Hence, the function
f(x)=max(x,1x)=⎧⎨⎩1x;whenxϵ(0,1]x;whenxϵ[1,∞)
(this can be understood by assuming the value of x=12or13&2or3)
Similarly,
f(12)=max(1x,x)=⎧⎨⎩1x;whenxϵ(0,1]x;whenxϵ[1,∞)
Thereby,
g(x)=f(x).f(1x)=⎧⎨⎩1x2;whenxϵ(0,1]x2;whenxϵ[1,∞)
Now that we have the functional form of g(x) , we can plot the graph of g(x).