Question:solving Sqrt(y)=tanh(x) For Y - MaplePrimes

MaplePrimes Posts and Questions Questions Posts Users MaplePrimes Advanced Search
  • Questions
  • Posts
  • Products
  • Users
  • Unanswered
  • Maplesoft Blog
  • Art Gallery
  • Badges
  • Recent
  • More
    • Tags
    • RSS Feeds
    • Submit Software Change Request
    • maplesoft.com

Ask a Question

Create a Post

Question: solving sqrt(y)=tanh(x) for y

Tags are words are used to describe and categorize your content. Combine multiple words with dashes(-), and seperate tags with spaces.

Edit

Question:solving sqrt(y)=tanh(x) for y

Posted: nm 11783 Product: Maple 2020 solve hyperbolic trig + Manage Tags October 31 2020 1

When solving this by hand sqrt(y)=tanh(x), I would square both sides to obtain y=tanh(x)^2 as solution.

Maple does this when RHS is tan,cos,sin, but not when RHS is hyperbolic.

Why is that, and how to best tell Maple to give the simple solution? Here is an example

restart; eq:=sqrt(y)=tanh(x); sol:=solve(eq,y);

Compare to Mathematica:

I can post-process Maple solution like this

restart; eq:=sqrt(y)=tanh(x); sol:=solve(eq,y); sol:=convert(sol,trigh); sol:=simplify(sol)

Which is tanh(x)^2.

But this is all too much work, since this is done in a program, and I do not know what specific convert to use at the time to try.

My question is, why does not maple simply solves sqrt(y) = f(x) giving y=f(x)^2? it works for generic function

restart; eq:=sqrt(y)=f(x); sol:=solve(eq,y);

it works for non-hyper trig functions also

restart; eq:=sqrt(y)=tan(x); sol:=solve(eq,y);

Is there a trick to make it work for hyperbolic functions also automatically?

ps. for now, to avoid all these issues, I am doing this

restart; the_rhs:=tanh(x); eq:=sqrt(y)=f; sol:=solve(eq,y); sol:=subs(f=the_rhs,sol);

Since I know that the RHS contains no y before hand. The above bypasses any issues Maple has with hyper trig functions.

175 views
  • More...
    • Contact Author
    • Subscribe
    • Generate PDF
  • Answer
  • Reply
  • Share
  • Branch
    • Create a new Post in reply
    • Ask a related Question
  • Flag
  • Preview

    Title: Comment: Subscribe: E-mail me when new comments are added to this You do not yet have a MaplePrimes user name, one is required to post to MaplePrimes, please enter one here. User Name: Cancel Preview Submit Please Wait... Answer this Question Add a Comment

    Preview

    Title: Comment: Subscribe: E-mail me when new comments are added to this You do not yet have a MaplePrimes user name, one is required to post to MaplePrimes, please enter one here. User Name: Cancel Preview Submit  Share via: Share via e-mail:
    From:
    To:
    Custom Message (optional):
    Share on Facebook:

    You must be logged into your Facebook account in order to share via Facebook.

    Login to Facebook Share via GooglePlus:

    Click the button below to share this on Google+. A new window will open.

    Click Here to Share on Google+ Share via Twitter:

    You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

    Login to Twitter Your message was sent! Send another message

    Please log-in to your MaplePrimes account.

    Wrong Email/Password. Please try again.

    E-Mail Address:
    Password:
    Remember Me: Automatically sign in on future visits
    Forgot your password? Create a New Account

    Save this setting as your default sorting preference?

    Note: You can change your preference any time in your account settings
    Don't show this again

    Please log-in to your MaplePrimes account.

    Wrong Email/Password. Please try again.

    E-Mail Address:
    Password:
    Remember Me: Automatically sign in on future visits
    Forgot your password? Create a New Account

    Ask a Question

    Create a Post

    Connect with Maplesoft: Questions | Posts | Tags | Users | Unanswered | Maplesoft Blog | Badges | Recent About | MaplePrimes Help | Support © Maplesoft, a division of Waterloo Maple Inc. . | maplesoft.com | Terms of Use | Privacy | Trademarks

    Generating PDF…

    loading PDF ready for download.

    Error occurred during PDF generation. Please refresh the page and try again

    ×

    Login to Your MaplePrimes Account

    Wrong Email/Password. Please try again.

    E-Mail Address: Password: Remember Me: Automatically sign in on future visits Forgot your password? Create a New Account Close Login

    Từ khóa » F(x)=tanh(sqrt X)