Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6820
| From | Andrzej Kozlowski <akoz@mimuw.edu.pl> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Cancel order |
| Date | 2011-11-29 12:42 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jb2jva$68m$1@smc.vnet.net> (permalink) |
| References | <201111291205.HAA05469@smc.vnet.net> |
On 29 Nov 2011, at 13:05, =E9=81=93 =E5=8E=9A wrote:
> How can I make Sqrt[(v1^2+v2^2)(g^2+gp^2)]/Sqrt[v1^2+v2^2] simple in
> mathematica?
>
You need the assumption that the expressions under the square root are positive. So:
Assuming[g^2 + gp^2 >= 0 && v1^2 + v2^2 > 0,
Simplify[Sqrt[(g^2 + gp^2)*(v1^2 + v2^2)]/Sqrt[v1^2 + v2^2]]]
Sqrt[g^2 + gp^2]
In particular, this will be true if everything in your expression is real:
Assuming[Element[_, Reals],
Simplify[Sqrt[(g^2 + gp^2)*(v1^2 + v2^2)]/
Sqrt[v1^2 + v2^2]]]
Sqrt[g^2 + gp^2]
Andrzej Kozlowski
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Cancel order Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-11-29 12:42 +0000
csiph-web