Playing with Maple, I noticed that it gives the square root of c=1+√32 as equal to a=12+√32.
Indeed it checks out. But I got curious: how can I find that value, or more generally any square root of numbers of the form x+y√k?
I was able to do it the following way: the square of z=x+y√k is also of the same form. Therefore, I can suppose there is a number of that form whose square is equal to z.
In my case, I want to find (x,y) such that (x+y√3)2=1+√32. I developed, which yields (x2+3y2)+2xy√3=1+√32. Then I matched the coefficients of 1 and of √3 on both sides, to get the system:
x2+3y2=1
2xy=12
Solving for x and y, I got x=±12 and y=±12 (there is another pair of solutions that compute to the same number). QED.
Is my method correct? Is there any more efficient way? Is it possible to prove that a solution of the form z=x+y√k always exist and if not, when?
Thanks.
Answer
Simpler than undetermined coefficients is the following rule I discovered as a teenager.
Simple Denesting Rule subtract out √norm, then divide out √trace
Recall w=a+b√n has norm =w⋅w′=(a+b√n) ⋅(a−b√n) =a2−nb2
and, furthermore, w has trace =w+w′=(a+b√n)+(a−b√n)=2a
Here 1+√3/2 has norm =1/4. subtracting out √norm =1/2 yields 1/2+√3/2
and this has √trace=1, thus, dividing it out of this yields the sqrt: 1/2+√3/2.
Below is another example.
Note 9−4√2 has norm =49. subtracting out √norm =7 yields 2−4√2
and this has √trace=2, so, dividing it out of this yields the sqrt: 1−2√2.
See here for many more examples, and see this answer for general radical denesting algorithms.
No comments:
Post a Comment