1 + 2mcosx + m^{2} = (1 + me^{ix}) (1 + me^{-ix}) = 1 + m^{2} + m(e^{ix} + e^{-ix})
now use Euler's formula e^{ix} = cosx + isinx
so e^{ix} = cosx + isinx .....e^{-ix} = cosx - isinx......e^{ix} + e^{-ix} = 2cosx
here goes my doubt
i read it in arihant
according to complex numbers
now consider
please explain last two steps
1 + 2mcosx + m^{2} = (1 + me^{ix}) (1 + me^{-ix}) = 1 + m^{2} + m(e^{ix} + e^{-ix})
now use Euler's formula e^{ix} = cosx + isinx
so e^{ix} = cosx + isinx .....e^{-ix} = cosx - isinx......e^{ix} + e^{-ix} = 2cosx