Replacement Rule with Sqrt in denominator
- To: mathgroup at smc.vnet.net
- Subject: [mg113967] Replacement Rule with Sqrt in denominator
- From: Themis Matsoukas <tmatsoukas at me.com>
- Date: Fri, 19 Nov 2010 05:11:34 -0500 (EST)
This replacement rule works, Sqrt[-4 \[Zeta]^2 + (1 + \[Rho]^2)^2] /. Sqrt[-4 \[Zeta]^2 + (1 + \[Rho]^2)^2] -> G G but this doesn't: 1/Sqrt[-4 \[Zeta]^2 + (1 + \[Rho]^2)^2] /. Sqrt[-4 \[Zeta]^2 + (1 + \[Rho]^2)^2] -> G 1/Sqrt[-4 \[Zeta]^2 + (1 + \[Rho]^2)^2] The only difference is that the quantity to be replaced is in the denominator. If I remove Sqrt from the replacement rule it will work but I don't understand why a square root in the denominator (but not in the numerator) causes the rule to fail. Themis