Math Help - solving equation

1. solving equation

am i using a valid alternative solution?

question:

$\sin x+\cos\frac{x}{2}=0$

correct solution:

$\sin(2\cdot\frac{x}{2})+cos\frac{x}{2}=0$

$\2sin\frac{x}{2}\cos\frac{x}{2}+cos\frac{x}{2}=0$

$\cos\frac{x}{2}(\2sin\frac{x}{2}+1)=0$

$\cos\frac{x}{2}=0, \sin\frac{x}{2}=-\frac{1}{2}$

since $0\leq x<2\pi, \sin\frac{x}{2}\geq 0$

$\sin\frac{x}{2}\neq -\frac{1}{2}$

$x=\pi$

my solution (is this correct?):

$\sin x+\sin(\frac{\pi}{2}\cdot\frac{x}{2})=0$

$2\sin\frac{x+\pi}{4}=0, \cos\frac{3x-\pi}{4}=0$

$\frac{\pi}{4}\leq\frac{x+\pi}{4}<\frac{3}{4}\pi, /frac{\pi}{4}\leq\frac{3x-\pi}{4}<\frac{5}{4}\pi$

$\frac{x+\pi}{4}=0, \frac{3x-\pi}{4}=\frac{\pi}{2}$

since $0\leq x<2\pi, x\neq -\pi$

$x=\pi$

2. Re: solving equation

Originally Posted by muddywaters
my solution (is this correct?):
$\sin x+\sin(\frac{\pi}{2}\cdot\frac{x}{2})=0$
What have you done here?

An altenative solution could be to use the fact that $\cos\left(\frac{x}{2}\right)=\sin\left(\frac{\pi}{ 2}-\frac{x}{2}\right)$

3. Re: solving equation

Originally Posted by Siron
What have you done here?

An altenative solution could be to use the fact that $\cos\left(\frac{x}{2}\right)=\sin\left(\frac{\pi}{ 2}-\frac{x}{2}\right)$
i'm sorry you're right. typo >< it should be $\cos\left(\frac{x}{2}\right)=\sin\left(\frac{\pi}{ 2}-\frac{x}{2}\right)$

4. Re: solving equation

with that, is it a valid alternative solutioN?

5. Re: solving equation

ish. just realized the mistakes in the first post. it should me liek this:

my solution (is this correct?):

$\sin x+\sin(\frac{\pi}{2}-\frac{x}{2})=0$

$2\sin\frac{x+\pi}{4}\cos\frac{3x-\pi}{4}=0$

$2\sin\frac{x+\pi}{4}=0, \cos\frac{3x-\pi}{4}=0$

$\frac{\pi}{4}\leq\frac{x+\pi}{4}<\frac{3}{4}\pi, \frac{\pi}{4}\leq\frac{3x-\pi}{4}<\frac{5}{4}\pi$

$\frac{x+\pi}{4}=0, \frac{3x-\pi}{4}=\frac{\pi}{2}$

since $0\leq x<2\pi, x\neq -\pi$

$x=\pi$

6. Re: solving equation

Your solution looks fine to me.