# equation sqrt

I tried to solve with sage $$4=x+\sqrt{(x+1)(x+2)}+\sqrt{(x+2)(x+3)}+\sqrt{(x+3)(x+1)}$$ but it does work. Could you help me what shoud I enter in sage to get exact solution ? thank you

equation sqrt

add a comment

0

I don't think this equation can be solved analytically, but I may be wrong. Here is how I found the solution.

I used the following command to plot the function

```
plot(x+sqrt((x+1)*(x+2))+sqrt((x+2)*(x+3)+sqrt((x+3)*(x+1)))-4,x,-10,10)
```

I see that this is zero at two points near -7 and 0. So I typed the following commands to find the root in that region

```
find_root(x+sqrt((x+1)*(x+2))+sqrt((x+2)*(x+3)+sqrt((x+3)*(x+1)))-4,-1,5)
find_root(x+sqrt((x+1)*(x+2))+sqrt((x+2)*(x+3)+sqrt((x+3)*(x+1)))-4,-10,05)
```

This gave me -0.06139800265618307 and -7.529020910031573.

Asked: **
2013-11-06 11:31:54 -0500
**

Seen: **49 times**

Last updated: **Nov 06 '13**

Please Append 'solve' Help Documentation

Solve for all values of a variable

Solving trigonometric functions

Solve system of equations with additional conditions in sage

Plot the level sets of a function

assume() seems not to work for a specific case...

How to make solve to use certain variables on the right side

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.