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


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

Re: How to simplify ArcSin formula

Started byAndrzej Kozlowski <akoz@mimuw.edu.pl>
First post2011-12-05 10:24 +0000
Last post2011-12-05 10:24 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to simplify ArcSin formula Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-12-05 10:24 +0000

#6935 — Re: How to simplify ArcSin formula

FromAndrzej Kozlowski <akoz@mimuw.edu.pl>
Date2011-12-05 10:24 +0000
SubjectRe: How to simplify ArcSin formula
Message-ID<jbi645$4uu$1@smc.vnet.net>
Here is a way to obtain, I think, the complete solution to the original 
problem.

xxx = t + ArcSin[aa] - ArcSin[aa*Cos[t] + Sqrt[1 - aa^2]*Sin[t]]

Assuming that -1<=a<=1 we can make the substitution (as in Alexei Boulbitch's post) and define a function of two variables.

FF[t_, \[Theta]_] = xxx /. aa -> Cos[\[Theta]];

Now we look for the conditions that make the partial derivatives vanish:

FullSimplify[D[FF[t, \[Theta]], \[Theta]], {Cos[\[Theta]] > 0, Cos[t + \[Theta]] > 0}]

FullSimplify[D[FF[t, \[Theta]], \[Theta]], {Cos[\[Theta]] > 0, Cos[t + \[Theta]] > 0}]

FullSimplify[D[FF[t, \[Theta]], \[Theta]], {Cos[\[Theta]] < 0, Cos[t + \[Theta]] < 0}]

FullSimplify[D[FF[t, \[Theta]], \[Theta]], {Cos[\[Theta]] < 0, Cos[t + \[Theta]] > 0}]

FullSimplify[D[FF[t, \[Theta]], \[Theta]], {Cos[\[Theta]] > 0, Cos[t + \[Theta]] < 0}]

which shows that the necessary condition is Cos[\[Theta] + t] >= 0. It is easy to show that it is also sufficient for the vanishing of FF[t, \[Theta]]  and, hence, zz.

We can now use Reduce:

cond =
 DeleteCases[
  Reduce[aa == Sin[\[Theta]] && -1 <= t <= 1 &&
    Cos[\[Theta] + t] >= 0 &&
    Inequality[-Pi/2, LessEqual, \[Theta], Less, Pi/2], t],
     \[Theta] == _, Infinity]

(aa == -1 &&
   0 <= t <= 1) || (-1 < aa <
    Sin[(2 - Pi)/2] && (1/2)*(-Pi - 2*ArcSin[aa]) <= t <= 1) ||
   (Sin[(2 - Pi)/2] <= aa <= Sin[(1/2)*(-2 + Pi)] && -1 <= t <=

    1) || (Sin[(1/2)*(-2 + Pi)] < aa < 1 &&
      -1 <= t <= (1/2)*(Pi - 2*ArcSin[aa]))

I believe that give the subregion of the square -1<=aa<=1, -1<=t<=
1 in which xxx is zero. The following Plot3D confirms this 
(notwithstanding some singular-like behaviour near the boundary)

Plot3D[xxx, {aa, -1, 1}, {t, -1, 1},
 RegionFunction -> Function[{aa, t}, cond], WorkingPrecision -> 30]


Andrzej

On 4 Dec 2011, at 15:09, Andrzej Kozlowski wrote:

>
> On 4 Dec 2011, at 08:49, Dana DeLouis wrote:
>
>>>
>>
>> This I find strange, in that Mathematica really does recognize this 
form.
>>
>> Anyway, at small values of t,
>> ArcSin[Sin[t + Pi/6]]   returns t+Pi/6.
>> Which cancels out the other terms, and returns zero.
>>
>> However, as t gets large,
>> ArcSin[Sin[t + Pi/6]]    does NOT return t+Pi/6.
>>
>> And hence the return value is NOT 0.
>>
>> If you plot with say  aa -> 1/2...
>>
>> Plot[xxx /. aa -> 1/2, {t, -5, 5}]
>>
>> Then the zero line is broken based on the phase shift when t gets to 
both
>>
>> NSolve[Pi/6 + t == Pi/2]
>> {{t -> 1.047197}}
>>
>> NSolve[Pi/6 + t == -Pi/2]
>> {{t -> -2.094395}}
>>
>> For your question, you should add a constraint for t also.
>> However, it doesn't seem to work here for this equation either:  :>(
>>
>> FullSimplify[xxx, Assumptions -> {-1 < aa < 1, -1 < t < 1}]
>> <<unevaluated>>
>>
>
> I don't really what it is that "doesn't work" here. As far as I can tell, what you are doing is:
>
> xxx = t + ArcSin[aa] - ArcSin[aa Cos[t] + Sqrt[1 - aa^2] Sin[t]]
>
>
> FullSimplify[xxx, Assumptions -> {-1 < aa < 1, -1 < t < 1}]
>
> What do you expect to get here? Look at:
>
> Plot3D[xxx, {aa, -1, 1}, {t, -1, 1}, WorkingPrecision -> 30]
>
> Are you claiming the graph is wrong or what? (You obviously need to take a smaller interval for aa. )
>
> Andrzej Kozlowski

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web