Group Abstract Group Abstract

Message Boards Message Boards

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

Solving simple equation involving Tan fails

Posted 5 days ago
Solve[-x + Tan[y] == 0, y, Reals]

fails, but

Solve[-x + Cos[y] == 0, y, Reals]
Solve[-x + Sin[y] == 0, y, Reals]
Solve[-x + Cot[y] == 0, y, Reals]

works.

How to make it work with Tan?

Weirdly, but Solve[-x + Tan[y] == 0, y] works, as well as Solve[-x + Cot[y] == 0, y].

But Solve[-x + Cot[y] == 0, y] gives slightly different answer than Solve[-x + Cot[y] == 0, y, Reals].

POSTED BY: Paul R

The error message from Solve[], while it does not say this directly, indicates one should try

Solve[-x + Tan[y] == 0,  y,  Reals, Method -> Reduce]

This works for me in V14.2.1.

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