y=(sinx)^4+2sinxcosx-(cosx)^4
=(sin²x+cos²x)(sin²x-cos²x)+2sinxcosx
=sin²x-cos²x +2sinxcosx
=sin2x-cos2x
=√2[(√2/2)sin2x-(√2/2)cosx]
=√2sin(2x-π/4)∈[-√2,√2]
y=(sinx)^4+2sinxcosx-(cosx)^4
=(sin²x+cos²x)(sin²x-cos²x)+2sinxcosx
=sin²x-cos²x +2sinxcosx
=sin2x-cos2x
=√2[(√2/2)sin2x-(√2/2)cosx]
=√2sin(2x-π/4)∈[-√2,√2]