MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to simplify ArcSin formula

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123389] Re: How to simplify ArcSin formula
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Mon, 5 Dec 2011 05:15:28 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201112040749.CAA21486@smc.vnet.net> <3A8A16B2-5407-470C-9413-F2EC033B0AFE@mimuw.edu.pl>

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




  • Prev by Date: Re: Ploting a transformation of a set
  • Next by Date: Re: FindShortestTour Function- Roundtrip & Constructive
  • Previous by thread: Re: How to simplify ArcSin formula
  • Next by thread: Re: How to simplify ArcSin formula