Message Boards Message Boards

0
|
3559 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

[?] Calculate a trigonometric function?

Posted 6 years ago

Please help me with calculating the following trigonometric function

ArcTan[1/x] + ArcTan[x]]

Thanks.

POSTED BY: Jacques Ou

Reduce[z == ArcTan[1/x] + ArcTan[x], {x}, Reals] gets you most of the way there.

This seems to do the trick:

PiecewiseExpand@Piecewise[
  Join @@ 
     With[{assum = And @@ Cases[#, Except[_Equal]]},
       ({z, assum} /. Solve[FullSimplify[#, assum]])] & /@ 
   List @@ LogicalExpand@
     Reduce[z == ArcTan[1/x] + ArcTan[x], {x}, Reals],
  Indeterminate]  (* <-- or Undefined *)
POSTED BY: Michael Rogers
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract