# Solve trigonometric equation

How do I solve simple trigonometric equation 2*cot(2x)=0?

I tried solve, but it gives me one solution, I need solution with n.

Thank you.

edit retag close merge delete

Sort by ยป oldest newest most voted

With solve(2*cot(x)==0, x, to_poly_solve = 'force') you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.

more

It doesn't work for 2*cot(2x). More precisely, solve(2*cot(2*x)==0, x, to_poly_solve='force') returns empty list.

( 2016-08-28 23:40:30 +0100 )edit

Strange. I get $\pi/2 + \pi z$, see here.

( 2016-08-28 23:52:52 +0100 )edit

Pay attention to argument of cotangent: it is 2x: see here See equation solver for correct answer.

( 2016-08-29 08:34:30 +0100 )edit

Ok! Sorry, I don't know why does it return the empy list. Of course, a change of variables var('x, y') and solve([2*cot(y)==0, y==2*x], x, y, to_poly_solve = 'force') will do the job, but it's awkward..

( 2016-08-29 10:07:10 +0100 )edit

I agree...

( 2016-08-29 10:20:14 +0100 )edit