Jamiey1988 said:
Ok I thought magnitude was fo example:
SQRT((a)^2 +(b)^2) not SQRT (a+b)^2
The first form is not true in general, but only if a and b are the lengths of two perpendicular vectors and you want the magnitude of the sum of the vectors. (Think Pythagorean theorem.) For example, if z was a complex number, with real component a and imaginary component b, then
|z| = \sqrt{|z|^2} = \sqrt{|a + bi|^2} = \sqrt{(a + bi)(a - bi)} = \sqrt{a^2 + abi - abi + b^2} = \sqrt{a^2 + b^2}
Notice that the middle two terms, abi and -abi, canceled each other. This happens precisely because a and bi are perpendicular to each other.
But you have a different situation. You have a real number,
2 \sin 2x + \sin x,
and you want its magnitude (absolute value).
In general, if r is a real number, then its absolute value is
|r| = \sqrt{|r|^2} = \sqrt{r^2}
So in your case
|2 \sin 2x + \sin x| = \sqrt{(2 \sin 2x + \sin x)^2}
Now expand the square:
(2 \sin 2x + \sin x)^2 = 4\sin^2 2x + 4 \sin 2x \sin x + \sin^2 x
The middle term is the one you are missing.