This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Since f ( x ) = 2 x is an increasing function in 0 ≤ x ≤ 2 , it is maximized at the right end of the domain. Thus, f ( x ) ≤ f ( 2 ) = 4 , which implies that the maximum value is 4 in the domain 0 ≤ x ≤ 2 .
Since f ( x ) = 8 − 2 x is a decreasing function in 2 < x ≤ 4 , it is maximized at the left end of the domain. Thus, f ( x ) < f ( 2 ) = 4 , which implies that the maximum value is < 4 in the domain 2 ≤ x ≤ 4 .
Therefore, the maximum value of the given function is 4 .