Friday, 16 September 2016

vector spaces - square root of 1/2+sqrt3/2?



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+yk?




I was able to do it the following way: the square of z=x+yk 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+y3)2=1+32. I developed, which yields (x2+3y2)+2xy3=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+yk 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+bn has norm =ww=(a+bn) (abn) =a2nb2



and, furthermore, w has trace =w+w=(a+bn)+(abn)=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 942 has norm =49.  subtracting out norm =7  yields  242



and this has  trace=2,  so,   dividing it out  of this yields the sqrt: 122.







See here for many more examples, and see this answer for general radical denesting algorithms.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...