18 Apr 2012 23:46
`to_poly_solve` inconsistency of solutions for equivalent forms of goniometric equations
Duc Trung Ha <mathemage <at> gmail.com>
2012-04-18 21:46:42 GMT
2012-04-18 21:46:42 GMT
Hola,
I am sorry if this would come as a completely stupid question but I was really
amazed at this Maxima's behavior:
When I searched for solution of goniometric equation `tan(x) = 1`::
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(%i22) to_poly_solve(tan(x) = 1, x);
%pi
- 2 %pi %z30 - ---
2
(%o22) %union([x = - ------------------])
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
answer was given to me. On the other hand, when I entered what I consider an
equivalent form of the very same equation:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(%i23) to_poly_solve((sin(x)/cos(x)) - 1 = 0, x);
%pi
- 4 %pi %z40 - ---
%pi (8 %z40 + 1) 2
(%o23) %union(%if(cos(----------------) # 0, [x = - ------------------],
4 2
3 %pi
%union()), [x = 2 %pi %z38 - -----])
4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(Continue reading)
RSS Feed