f(x)=1-2sin^2(x+π/8)+2sin(x+π/8)cos(x+π/8)
=cos(2x+π/4)+sin(2x+π/4)
=√2*[√2/2*cos(2x+π/4)+√2/2*sin(2x+π/4)]
=√2*[sinπ/4*cos(2x+π/4)+cosπ/4*sin(2x+π/4)]
=√2*sin(π/4+2x+π/4)
=√2*sin(π/2+2x)
=√2*cos2x
所以f(x)最大值为:√2,
单调增区间:2kπ-π
f(x)=1-2sin^2(x+π/8)+2sin(x+π/8)cos(x+π/8)
=cos(2x+π/4)+sin(2x+π/4)
=√2*[√2/2*cos(2x+π/4)+√2/2*sin(2x+π/4)]
=√2*[sinπ/4*cos(2x+π/4)+cosπ/4*sin(2x+π/4)]
=√2*sin(π/4+2x+π/4)
=√2*sin(π/2+2x)
=√2*cos2x
所以f(x)最大值为:√2,
单调增区间:2kπ-π