Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5930 > unrolled thread

Combine sqrts in denominator

Started byTom D <tomdickens@att.net>
First post2011-10-27 10:40 +0000
Last post2011-10-28 09:40 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  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

#5930 — Combine sqrts in denominator

FromTom D <tomdickens@att.net>
Date2011-10-27 10:40 +0000
SubjectCombine 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]


#5948

FromRay Koopman <koopman@sfu.ca>
Date2011-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]


#5953

FromSzabolcs Horvát <szhorvat@gmail.com>
Date2011-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]


#5960

From"Dr. Wolfgang Hintze" <weh@snafu.de>
Date2011-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