Sorry if this is a dumb question (I'm new). I swear I searched and read forums first!
I'm trying to rewrite expressions in terms of the Golden Ratio. For example, I know 9+4Sqrt[5] is Phi^6, but can figure out how to get mathematica to tell me that.
Ideally it would also tell me that 10+4Sqrt[5] is 1+Phi^6 (and more complex versions).
Edit: Thanks everyone! I should have been more specific about my "more complex examples". The problem is, I have no clue what form they'll end up in. I guess I'm hoping for a "FullSimplify" analogue that uses GoldenRatio wherever reasonable. Here's a couple actual examples:
Sqrt[(3 (935 - 65 Sqrt[5] + 4 Sqrt[15 (1205 + 298 Sqrt[5])]))/4490]
1/2 Sqrt[1/
10 (3123 + 1251 Sqrt[5] - 2 Sqrt[4386990 + 1955766 Sqrt[5]])]
I'll try to use, or modify, the suggestions already made. I'll post anything that seems "share-worthy". Sorry for not being more spoecific from the start. Again, thanks for the help!
Simplify[9+4Sqrt[5] == GoldenRatio^6], right? The problem is that expressions in terms ofGoldenRatioaren't unique. For example,Simplify[GoldenRatio^6 == 5 + 8 GoldenRatio]is alsoTrue, and I'm not sure whether you would accept both answers. A very simple answer would be to do this with any given expressionexpr: replace it bySimplify[expr /.Sqrt[5]->(2GoldenRatio-1)]– Jens Apr 25 '15 at 02:33Simplify'sComplexityFunctionoption can be useful here? – Apr 25 '15 at 18:19{}button above the edit window. The edit window help button?is also useful for learning how to format your questions and answers. – Michael E2 Apr 26 '15 at 19:24