Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5930 > unrolled thread
| Started by | Tom D <tomdickens@att.net> |
|---|---|
| First post | 2011-10-27 10:40 +0000 |
| Last post | 2011-10-28 09:40 +0000 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Combine sqrts in denominator Tom D <tomdickens@att.net> - 2011-10-27 10:40 +0000
Re: Combine sqrts in denominator Ray Koopman <koopman@sfu.ca> - 2011-10-28 09:37 +0000
Re: Combine sqrts in denominator Szabolcs Horvát <szhorvat@gmail.com> - 2011-10-28 09:35 +0000
Re: Combine sqrts in denominator "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-10-28 09:40 +0000
| From | Tom D <tomdickens@att.net> |
|---|---|
| Date | 2011-10-27 10:40 +0000 |
| Subject | Combine sqrts in denominator |
| Message-ID | <j8bcf3$8s3$1@smc.vnet.net> |
I'm doing a calculation that results in terms of the form 1/ Sqrt[ -h + Sqrt[h^2 + r^2]] * 1/Sqrt[h + Sqrt[h^2 + r^2]] * (other functions) One sees that this simplifies to (other functions)/r. It would helpful to make Mathematica perform this simplification, but I have not been able to get Simplify[] or FullSimplify[] or anything else to do it. How would I be able to do this? Thanks, Tom
[toc] | [next] | [standalone]
| From | Ray Koopman <koopman@sfu.ca> |
|---|---|
| Date | 2011-10-28 09:37 +0000 |
| Message-ID | <j8dt58$kdf$1@smc.vnet.net> |
| In reply to | #5930 |
On Oct 27, 3:40 am, Tom D <tomdick...@att.net> wrote:
> I'm doing a calculation that results in terms of the form
>
> 1/ Sqrt[ -h + Sqrt[h^2 + r^2]] * 1/Sqrt[h + Sqrt[h^2 + r^2]] * (other
> functions)
>
> One sees that this simplifies to (other functions)/r.
>
> It would helpful to make Mathematica perform this simplification, but
> I have not been able to get Simplify[] or FullSimplify[] or anything
> else to do it.
>
> How would I be able to do this?
>
> Thanks,
> Tom
In[1]:= f = 1/Sqrt[-h + Sqrt[h^2 + r^2]] *
1/Sqrt[ h + Sqrt[h^2 + r^2]];
In[2]:= Assuming[{h,r} \[Element] Reals, FullSimplify[f]]
Out[2]= 1/Abs[r]
[toc] | [prev] | [next] | [standalone]
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Date | 2011-10-28 09:35 +0000 |
| Message-ID | <j8dt1b$k99$1@smc.vnet.net> |
| In reply to | #5930 |
On 2011.10.27. 12:40, Tom D wrote: > I'm doing a calculation that results in terms of the form > > 1/ Sqrt[ -h + Sqrt[h^2 + r^2]] * 1/Sqrt[h + Sqrt[h^2 + r^2]] * (other > functions) > > One sees that this simplifies to (other functions)/r. > > It would helpful to make Mathematica perform this simplification, but > I have not been able to get Simplify[] or FullSimplify[] or anything > else to do it. > > How would I be able to do this? > Tell Mathematica that h and r are positive reals: Simplify[1/(Sqrt[-h + Sqrt[h^2 + r^2]] Sqrt[h + Sqrt[h^2 + r^2]]), h > 0 && r > 0] In Mathematica, saying that they're positive implies that they're real.
[toc] | [prev] | [next] | [standalone]
| From | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| Date | 2011-10-28 09:40 +0000 |
| Message-ID | <j8dtb0$ken$1@smc.vnet.net> |
| In reply to | #5930 |
In[259]:= Simplify[(1/Sqrt[-h + Sqrt[h^2 + r^2]])* (1/Sqrt[h + Sqrt[h^2 + r^2]]), h \[Element] Reals] Out[259]= 1 --- Wolfgang "Tom D" <tomdickens@att.net> schrieb im Newsbeitrag news:j8bcf3$8s3$1@smc.vnet.net... > I'm doing a calculation that results in terms of the form > > 1/ Sqrt[ -h + Sqrt[h^2 + r^2]] * 1/Sqrt[h + Sqrt[h^2 + r^2]] * (other > functions) > > One sees that this simplifies to (other functions)/r. > > It would helpful to make Mathematica perform this simplification, but > I have not been able to get Simplify[] or FullSimplify[] or anything > else to do it. > > How would I be able to do this? > > Thanks, > Tom >
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web