Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8317433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:36:06+00:00 2026-06-08T21:36:06+00:00

sqrt(a^2+2*a+1) can be easily rewritten as |a+1| . I would like to do this

  • 0

sqrt(a^2+2*a+1) can be easily rewritten as |a+1|. I would like to do this in maxima, however cannot make it work. Although sqrt(a^2) is automatically simplified to |a|, sqrt(a^2+2*a+1) is not. And radcan(sqrt(a^2+2*a+1)) give a+1, which is incorrect. Is there anyway to get the right simplification in Maxima?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:36:09+00:00Added an answer on June 8, 2026 at 9:36 pm

    Yep. Basically, you just have to tell Maxima to try a bit harder to factorise the inside of the square root. For example:

    (%i1) x: sqrt(a^2 + 2*a + 1);
                                        2
    (%o1)                         sqrt(a  + 2 a + 1)
    (%i2) factor(a^2 + 2*a + 1);
                                              2
    (%o2)                              (a + 1)
    (%i3) map (factor, x);
    (%o3)                             abs(a + 1)
    (%i4) 
    

    The map here means that the function factor should be applied to each of the arguments of sqrt. What happens is that you get sqrt((a+1)^2) appear on the way, and this is automatically simplified to abs(a+1).

    Note that the answer from radcan is correct for some values of a. As I understand it, this is all that radcan guarantees: it’s useful for answering “Yikes! Is there a simpler way to think about this crazy expression?”, but not particularly helpful for “Hmm, I’m not sure what the variables in this are. Is there a simpler form?”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how can I make it so the arrows have
I got the following Expression that can look like this (the amount of Sqrt[XXX]
Math.sqrt(); seems to work fine with any number less than 310 characters long. However,
let's hope I can make this non-sujective Here's the thing: Sometimes, on fixed-typed languages,
I would like to know how we can use UIPinchGestureRecognizer to scale UIView in
/// I can't do this let max = float n |> sqrt |> int64
This sequence satisfies a(n+2) = 2 a(n+1) + 2 a(n). and also a(n)=[(1+sqrt(3))^(n+2)-(1-sqrt(3))^(n+2)]/(4sqrt(3)). I
I just can't seem to figure out how to make efficient and clean looking
Can anyone explain, why this program is returning the correct value for sqrt_min? int
Consider this code: double result = Math.Sqrt(4746073226998689451); For result I get 2178548422 instead of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.