I solved the following equation the hard way: $$\sqrt{x+1} +\sqrt{x+33}=\sqrt{x+6} +\sqrt{x+22}$$ The only solution is $x=3$. I am wondering if there is some easy observation that solves the equation without squaring both sides?
Equating sums of square roots
-
2Squaring is your friend in these types of problems. – 2012-11-13
-
1Please use more informative titles. – 2012-11-13
-
1Do you mean the only _integer_ solution is $x=3$? – 2012-11-13
-
1Depending on the source, you might guess that there is an integral solution and trying some small ones will find $3$. Then you can take the derivative of the difference of the two sides and find that it is of constant sign to show there are no more real solutions. – 2012-11-19
-
0Please transfer your acceptance from my wrong, now deleted, answer to Matthew Conroy's correct answer. – 2012-11-22
-
0Do not square! Two non-identical monotonius (either increasing or decreasing) functions can cross at no more than 1 point. It is easy to prove: 2nd crossing point will violate condition of functions being strictly increasing / decreasing. [Here is my answer to a similar question.](http://math.stackexchange.com/a/400667/79187) – 2013-05-23
-
0@Stoleg I've converted your answer to a comment, since it is generally considered bad practice to give an answer which is just a link to another answer on the site. It's also worth noting that your other answer is incorrect. Consider for example $f(x)=x+2, g(x)=e^x$ which are both strictly increasing but cross twice. In general arbitrarily many crossings are possible. – 2013-05-23
2 Answers
In general, if an equation of the form $$ \sqrt{x+a}+\sqrt{x+b} = \sqrt{x+c} + \sqrt{x+d} $$ has a solution, that solution is $$ x = \frac{t^2-16s^2ab}{8s(2s(a+b)+t)}$$ where $s=a+b-c-d$ and $t=-s^2-4ab+4cd$. A bit messy, but you can be sure that the equation has, at most, one solution. If you find a small integer solution that works, then you are done.
To prove this general solution, you just square repeatedly and judiciously, simplifying as you go so you avoid getting any equation more complex than a quadratic at any stage (and those simplify to linear, and so we get only a single solution).
-
0You are right. My revised answer may still be wrong, so I would be grateful if you would check it. – 2012-11-22
-
0@JohnBentin I tried it out with some complicated examples, and your solution appears to be correct. Cheers! – 2012-11-25
Edit: My answer was wrong. Please refer to Matthew Conroy's correct answer instead. My version of his solution is $$x=\dfrac{(4s_2-s_1^2)^2-64s_4}{64s_3-8s_1(4s_2-s_1^2)},$$where $s_1, s_2, s_3, s_4$ are respectively the cubic, quadratic, linear, and constant coefficients of the polynomial expansion of $(x+a)(x+b)(x+c)(x+d)$.
-
0It is not quite as complicated as you describe. See my answer. Cheers! – 2012-11-20