home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   sci.math.symbolic      Symbolic algebra discussion      10,432 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,388 of 10,432   
   Nasser M. Abbasi to All   
   what is the correct anti-derivative for    
   18 Mar 24 14:36:36   
   
   From: nma@12000.org   
      
   For int(2*cot(2*x),x)   
      
   Maple 2024:   -1/2*ln(cot(2*x)^2+1)   
   MMA 14 : ln(sin(2*x))   
   Fricas : 1/2*ln( (1-cos(4*x))/2)   
   giac: log(abs(sin(2*x)))   
   maxima: ln(sin(2*x))   
   sympy: ln(sin(2*x))   
      
   The plot of these over say x=-4*Pi..4*Pi is not the same.   
      
   Maple and Fricas give same plot. But Mathematica gives   
   differet plot. There are gaps in the plot of ln(sin(2*x))   
   compared to Maple's and Fricas version.   
      
   When differentiating these, I get back the integrand. So   
   they are all correct in this sense.   
      
   This PDF file has the code and the plots.   
      
      
      
   Any comment on which is the better anti-derivative here?   
      
   --Nasser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca