Finding general formula for $cos^-1(cosx)$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












My teacher teacher told me that for a general angle $x$, $cos^-1(cosx)$ does't represent $x$ but different straight lines depending upon the intervals in which it lies. For ex:



$$cos^-1cosx=$$
$$x,0leq x leq pi \ 2pi-x,pileq x leq 2pi\…$$
making the graph look like :-
From wolfram alpha



He told us that if we have to find the value of $cos^-1(cosx)$ for a particular $x$ we will have to first find the range in which $x$ lies and then judge with the help of graph but I wondered if there is a direct formula for that. I tried with $tan^-1(tanx)$ and got it as :-
from wolfram alpha



I even verified this with wolfram alpha and got it right but the problem with $cos$ is that when I try to solve it similarly like I did with the $tan$ one, and get the interval in which $n$ lies, the extremities of the interval differ by $0.5$ because of which for some values their floor and ceiling match but for some values there isn't an integer value lying in that interval like this :- from wolfram alpha



so what to do in that case and what does no value of $n$ lying in the interval signify?



Thanks for help :)







share|cite|improve this question




















  • $cos ^-1 cos x=t ⇒ t=2kpi+x, k∈ N $
    – sirous
    Mar 10 at 15:51










  • How to find the 'k'? Thanks
    – mayank mittal
    Mar 10 at 15:53










  • I think k could be any number in N.
    – sirous
    Mar 10 at 15:57










  • But that would mean that the function is having more than one value for a single value of x
    – mayank mittal
    Mar 10 at 16:00






  • 1




    $cos ^-1(cos (x))=\fracpi 2-frac120 i e^-i left(-fracpi 2+xright) pi left(-Phi left(-e^-2 i left(-fracpi2+xright),2,frac12right)+e^2 i left(-fracpi 2+xright) Phi left(-e^2 i left(-fracpi2+xright),2,frac12right)right)$ . where $Phi (x,a,b)$ is Lerch transcendent function.
    – Mariusz Iwaniuk
    Mar 10 at 16:45















up vote
2
down vote

favorite












My teacher teacher told me that for a general angle $x$, $cos^-1(cosx)$ does't represent $x$ but different straight lines depending upon the intervals in which it lies. For ex:



$$cos^-1cosx=$$
$$x,0leq x leq pi \ 2pi-x,pileq x leq 2pi\…$$
making the graph look like :-
From wolfram alpha



He told us that if we have to find the value of $cos^-1(cosx)$ for a particular $x$ we will have to first find the range in which $x$ lies and then judge with the help of graph but I wondered if there is a direct formula for that. I tried with $tan^-1(tanx)$ and got it as :-
from wolfram alpha



I even verified this with wolfram alpha and got it right but the problem with $cos$ is that when I try to solve it similarly like I did with the $tan$ one, and get the interval in which $n$ lies, the extremities of the interval differ by $0.5$ because of which for some values their floor and ceiling match but for some values there isn't an integer value lying in that interval like this :- from wolfram alpha



so what to do in that case and what does no value of $n$ lying in the interval signify?



Thanks for help :)







share|cite|improve this question




















  • $cos ^-1 cos x=t ⇒ t=2kpi+x, k∈ N $
    – sirous
    Mar 10 at 15:51










  • How to find the 'k'? Thanks
    – mayank mittal
    Mar 10 at 15:53










  • I think k could be any number in N.
    – sirous
    Mar 10 at 15:57










  • But that would mean that the function is having more than one value for a single value of x
    – mayank mittal
    Mar 10 at 16:00






  • 1




    $cos ^-1(cos (x))=\fracpi 2-frac120 i e^-i left(-fracpi 2+xright) pi left(-Phi left(-e^-2 i left(-fracpi2+xright),2,frac12right)+e^2 i left(-fracpi 2+xright) Phi left(-e^2 i left(-fracpi2+xright),2,frac12right)right)$ . where $Phi (x,a,b)$ is Lerch transcendent function.
    – Mariusz Iwaniuk
    Mar 10 at 16:45













up vote
2
down vote

favorite









up vote
2
down vote

favorite











My teacher teacher told me that for a general angle $x$, $cos^-1(cosx)$ does't represent $x$ but different straight lines depending upon the intervals in which it lies. For ex:



$$cos^-1cosx=$$
$$x,0leq x leq pi \ 2pi-x,pileq x leq 2pi\…$$
making the graph look like :-
From wolfram alpha



He told us that if we have to find the value of $cos^-1(cosx)$ for a particular $x$ we will have to first find the range in which $x$ lies and then judge with the help of graph but I wondered if there is a direct formula for that. I tried with $tan^-1(tanx)$ and got it as :-
from wolfram alpha



I even verified this with wolfram alpha and got it right but the problem with $cos$ is that when I try to solve it similarly like I did with the $tan$ one, and get the interval in which $n$ lies, the extremities of the interval differ by $0.5$ because of which for some values their floor and ceiling match but for some values there isn't an integer value lying in that interval like this :- from wolfram alpha



so what to do in that case and what does no value of $n$ lying in the interval signify?



Thanks for help :)







share|cite|improve this question












My teacher teacher told me that for a general angle $x$, $cos^-1(cosx)$ does't represent $x$ but different straight lines depending upon the intervals in which it lies. For ex:



$$cos^-1cosx=$$
$$x,0leq x leq pi \ 2pi-x,pileq x leq 2pi\…$$
making the graph look like :-
From wolfram alpha



He told us that if we have to find the value of $cos^-1(cosx)$ for a particular $x$ we will have to first find the range in which $x$ lies and then judge with the help of graph but I wondered if there is a direct formula for that. I tried with $tan^-1(tanx)$ and got it as :-
from wolfram alpha



I even verified this with wolfram alpha and got it right but the problem with $cos$ is that when I try to solve it similarly like I did with the $tan$ one, and get the interval in which $n$ lies, the extremities of the interval differ by $0.5$ because of which for some values their floor and ceiling match but for some values there isn't an integer value lying in that interval like this :- from wolfram alpha



so what to do in that case and what does no value of $n$ lying in the interval signify?



Thanks for help :)









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 10 at 15:42









mayank mittal

223




223











  • $cos ^-1 cos x=t ⇒ t=2kpi+x, k∈ N $
    – sirous
    Mar 10 at 15:51










  • How to find the 'k'? Thanks
    – mayank mittal
    Mar 10 at 15:53










  • I think k could be any number in N.
    – sirous
    Mar 10 at 15:57










  • But that would mean that the function is having more than one value for a single value of x
    – mayank mittal
    Mar 10 at 16:00






  • 1




    $cos ^-1(cos (x))=\fracpi 2-frac120 i e^-i left(-fracpi 2+xright) pi left(-Phi left(-e^-2 i left(-fracpi2+xright),2,frac12right)+e^2 i left(-fracpi 2+xright) Phi left(-e^2 i left(-fracpi2+xright),2,frac12right)right)$ . where $Phi (x,a,b)$ is Lerch transcendent function.
    – Mariusz Iwaniuk
    Mar 10 at 16:45

















  • $cos ^-1 cos x=t ⇒ t=2kpi+x, k∈ N $
    – sirous
    Mar 10 at 15:51










  • How to find the 'k'? Thanks
    – mayank mittal
    Mar 10 at 15:53










  • I think k could be any number in N.
    – sirous
    Mar 10 at 15:57










  • But that would mean that the function is having more than one value for a single value of x
    – mayank mittal
    Mar 10 at 16:00






  • 1




    $cos ^-1(cos (x))=\fracpi 2-frac120 i e^-i left(-fracpi 2+xright) pi left(-Phi left(-e^-2 i left(-fracpi2+xright),2,frac12right)+e^2 i left(-fracpi 2+xright) Phi left(-e^2 i left(-fracpi2+xright),2,frac12right)right)$ . where $Phi (x,a,b)$ is Lerch transcendent function.
    – Mariusz Iwaniuk
    Mar 10 at 16:45
















$cos ^-1 cos x=t ⇒ t=2kpi+x, k∈ N $
– sirous
Mar 10 at 15:51




$cos ^-1 cos x=t ⇒ t=2kpi+x, k∈ N $
– sirous
Mar 10 at 15:51












How to find the 'k'? Thanks
– mayank mittal
Mar 10 at 15:53




How to find the 'k'? Thanks
– mayank mittal
Mar 10 at 15:53












I think k could be any number in N.
– sirous
Mar 10 at 15:57




I think k could be any number in N.
– sirous
Mar 10 at 15:57












But that would mean that the function is having more than one value for a single value of x
– mayank mittal
Mar 10 at 16:00




But that would mean that the function is having more than one value for a single value of x
– mayank mittal
Mar 10 at 16:00




1




1




$cos ^-1(cos (x))=\fracpi 2-frac120 i e^-i left(-fracpi 2+xright) pi left(-Phi left(-e^-2 i left(-fracpi2+xright),2,frac12right)+e^2 i left(-fracpi 2+xright) Phi left(-e^2 i left(-fracpi2+xright),2,frac12right)right)$ . where $Phi (x,a,b)$ is Lerch transcendent function.
– Mariusz Iwaniuk
Mar 10 at 16:45





$cos ^-1(cos (x))=\fracpi 2-frac120 i e^-i left(-fracpi 2+xright) pi left(-Phi left(-e^-2 i left(-fracpi2+xright),2,frac12right)+e^2 i left(-fracpi 2+xright) Phi left(-e^2 i left(-fracpi2+xright),2,frac12right)right)$ . where $Phi (x,a,b)$ is Lerch transcendent function.
– Mariusz Iwaniuk
Mar 10 at 16:45











3 Answers
3






active

oldest

votes

















up vote
0
down vote



accepted










By definition we have that for $xin[0,2pi]$



  • for $0le xle piquad $ $cos^-1cosx=x$

  • for $pi<xle 2piquad$ $cos^-1cosx=2pi-x$

and this is periodic with period $T=2pi$.



Thus it is a kind of triangle function and we always need to divide into two parts dependind upon the range in which x lies.






share|cite|improve this answer






















  • @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
    – gimusi
    Mar 10 at 16:02










  • No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
    – mayank mittal
    Mar 10 at 16:16










  • @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
    – gimusi
    Mar 10 at 16:19

















up vote
1
down vote













I'm writing $arccos$ instead of $cos^-1$. By definition,
$$arccos(cos y)=yqquad(0leq yleqpi) .$$
For arbitrary $xinmathbb R$ define
$$d(x):=minbigl$$
to be the distance of $x$ from the nearest integer multiple of $2pi$. Then
$$0leq d(x)leqpi,quad cos x=cosbigl(d(x)bigr)qquadforall xinmathbb R .$$
It follows that
$$arccos(cos x)=arccosbigl(cosbigr(d(x)bigr)bigr)=d(x)qquad(xinmathbb R) ,$$
which reveals $arccoscirccos$ to be a sawtooth function.






share|cite|improve this answer





























    up vote
    0
    down vote













    Claim. Let $xinleft[kpi,left(k+1right)piright]$, where $kinmathbbZ$. Then:



    beginalignat*1
    cos^-1left(cos xright) & =begincases
    x-kpi & textitif ktextit is even,\
    left(k+1right)pi-x & textitif ktextit is odd.
    endcases
    endalignat*




    Proof. First, note that $x-kpi$ and $left(k+1right)pi-x$ are both in $left[0,piright]$.



    Moreover, if $yinleft[0,piright]$, then $cos^-1left(cos yright)overset1=y$.



    Now, suppose $k$ is even. Then $cosleft(x-kpiright) overset2=cos x$ and so:



    $$cos^-1left(cos xright)=cos^-1left[cosleft(x-kpiright)right]overset1=x-kpi.$$



    Next, suppose $k$ is odd. Then $cosleft[left(k+1right)pi-xright]overset3=cos x$ and so:



    $$cos^-1left(cos xright)=cos^-1left[cosleft(left(k+1right)pi-xright)right]overset1=left(k+1right)pi-x. tag*∎$$




    (The reader can verify $overset2=$ and $overset3=$ using the Subtraction Formulae for Cosine.)






    share|cite|improve this answer




















      Your Answer




      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "69"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2685182%2ffinding-general-formula-for-cos-1-cosx%23new-answer', 'question_page');

      );

      Post as a guest






























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote



      accepted










      By definition we have that for $xin[0,2pi]$



      • for $0le xle piquad $ $cos^-1cosx=x$

      • for $pi<xle 2piquad$ $cos^-1cosx=2pi-x$

      and this is periodic with period $T=2pi$.



      Thus it is a kind of triangle function and we always need to divide into two parts dependind upon the range in which x lies.






      share|cite|improve this answer






















      • @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
        – gimusi
        Mar 10 at 16:02










      • No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
        – mayank mittal
        Mar 10 at 16:16










      • @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
        – gimusi
        Mar 10 at 16:19














      up vote
      0
      down vote



      accepted










      By definition we have that for $xin[0,2pi]$



      • for $0le xle piquad $ $cos^-1cosx=x$

      • for $pi<xle 2piquad$ $cos^-1cosx=2pi-x$

      and this is periodic with period $T=2pi$.



      Thus it is a kind of triangle function and we always need to divide into two parts dependind upon the range in which x lies.






      share|cite|improve this answer






















      • @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
        – gimusi
        Mar 10 at 16:02










      • No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
        – mayank mittal
        Mar 10 at 16:16










      • @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
        – gimusi
        Mar 10 at 16:19












      up vote
      0
      down vote



      accepted







      up vote
      0
      down vote



      accepted






      By definition we have that for $xin[0,2pi]$



      • for $0le xle piquad $ $cos^-1cosx=x$

      • for $pi<xle 2piquad$ $cos^-1cosx=2pi-x$

      and this is periodic with period $T=2pi$.



      Thus it is a kind of triangle function and we always need to divide into two parts dependind upon the range in which x lies.






      share|cite|improve this answer














      By definition we have that for $xin[0,2pi]$



      • for $0le xle piquad $ $cos^-1cosx=x$

      • for $pi<xle 2piquad$ $cos^-1cosx=2pi-x$

      and this is periodic with period $T=2pi$.



      Thus it is a kind of triangle function and we always need to divide into two parts dependind upon the range in which x lies.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Mar 10 at 16:08

























      answered Mar 10 at 15:59









      gimusi

      71.2k73786




      71.2k73786











      • @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
        – gimusi
        Mar 10 at 16:02










      • No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
        – mayank mittal
        Mar 10 at 16:16










      • @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
        – gimusi
        Mar 10 at 16:19
















      • @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
        – gimusi
        Mar 10 at 16:02










      • No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
        – mayank mittal
        Mar 10 at 16:16










      • @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
        – gimusi
        Mar 10 at 16:19















      @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
      – gimusi
      Mar 10 at 16:02




      @mayankmittal ops sorry I lost this part, thus you are looking for another expression?
      – gimusi
      Mar 10 at 16:02












      No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
      – mayank mittal
      Mar 10 at 16:16




      No I got it, Thanks for help. I had been toiling around it for an hour. Thanks :)
      – mayank mittal
      Mar 10 at 16:16












      @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
      – gimusi
      Mar 10 at 16:19




      @mayankmittal You are welcome and You already had clear the general set upo for the solution that's important since often we can get confused with this kind of expression. Iìm sorry there is not such kind of formula! Bye
      – gimusi
      Mar 10 at 16:19










      up vote
      1
      down vote













      I'm writing $arccos$ instead of $cos^-1$. By definition,
      $$arccos(cos y)=yqquad(0leq yleqpi) .$$
      For arbitrary $xinmathbb R$ define
      $$d(x):=minbigl$$
      to be the distance of $x$ from the nearest integer multiple of $2pi$. Then
      $$0leq d(x)leqpi,quad cos x=cosbigl(d(x)bigr)qquadforall xinmathbb R .$$
      It follows that
      $$arccos(cos x)=arccosbigl(cosbigr(d(x)bigr)bigr)=d(x)qquad(xinmathbb R) ,$$
      which reveals $arccoscirccos$ to be a sawtooth function.






      share|cite|improve this answer


























        up vote
        1
        down vote













        I'm writing $arccos$ instead of $cos^-1$. By definition,
        $$arccos(cos y)=yqquad(0leq yleqpi) .$$
        For arbitrary $xinmathbb R$ define
        $$d(x):=minbigl$$
        to be the distance of $x$ from the nearest integer multiple of $2pi$. Then
        $$0leq d(x)leqpi,quad cos x=cosbigl(d(x)bigr)qquadforall xinmathbb R .$$
        It follows that
        $$arccos(cos x)=arccosbigl(cosbigr(d(x)bigr)bigr)=d(x)qquad(xinmathbb R) ,$$
        which reveals $arccoscirccos$ to be a sawtooth function.






        share|cite|improve this answer
























          up vote
          1
          down vote










          up vote
          1
          down vote









          I'm writing $arccos$ instead of $cos^-1$. By definition,
          $$arccos(cos y)=yqquad(0leq yleqpi) .$$
          For arbitrary $xinmathbb R$ define
          $$d(x):=minbigl$$
          to be the distance of $x$ from the nearest integer multiple of $2pi$. Then
          $$0leq d(x)leqpi,quad cos x=cosbigl(d(x)bigr)qquadforall xinmathbb R .$$
          It follows that
          $$arccos(cos x)=arccosbigl(cosbigr(d(x)bigr)bigr)=d(x)qquad(xinmathbb R) ,$$
          which reveals $arccoscirccos$ to be a sawtooth function.






          share|cite|improve this answer














          I'm writing $arccos$ instead of $cos^-1$. By definition,
          $$arccos(cos y)=yqquad(0leq yleqpi) .$$
          For arbitrary $xinmathbb R$ define
          $$d(x):=minbigl$$
          to be the distance of $x$ from the nearest integer multiple of $2pi$. Then
          $$0leq d(x)leqpi,quad cos x=cosbigl(d(x)bigr)qquadforall xinmathbb R .$$
          It follows that
          $$arccos(cos x)=arccosbigl(cosbigr(d(x)bigr)bigr)=d(x)qquad(xinmathbb R) ,$$
          which reveals $arccoscirccos$ to be a sawtooth function.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Aug 29 at 1:58









          Kenny LJ

          1,45611331




          1,45611331










          answered Mar 10 at 17:31









          Christian Blatter

          165k7109311




          165k7109311




















              up vote
              0
              down vote













              Claim. Let $xinleft[kpi,left(k+1right)piright]$, where $kinmathbbZ$. Then:



              beginalignat*1
              cos^-1left(cos xright) & =begincases
              x-kpi & textitif ktextit is even,\
              left(k+1right)pi-x & textitif ktextit is odd.
              endcases
              endalignat*




              Proof. First, note that $x-kpi$ and $left(k+1right)pi-x$ are both in $left[0,piright]$.



              Moreover, if $yinleft[0,piright]$, then $cos^-1left(cos yright)overset1=y$.



              Now, suppose $k$ is even. Then $cosleft(x-kpiright) overset2=cos x$ and so:



              $$cos^-1left(cos xright)=cos^-1left[cosleft(x-kpiright)right]overset1=x-kpi.$$



              Next, suppose $k$ is odd. Then $cosleft[left(k+1right)pi-xright]overset3=cos x$ and so:



              $$cos^-1left(cos xright)=cos^-1left[cosleft(left(k+1right)pi-xright)right]overset1=left(k+1right)pi-x. tag*∎$$




              (The reader can verify $overset2=$ and $overset3=$ using the Subtraction Formulae for Cosine.)






              share|cite|improve this answer
























                up vote
                0
                down vote













                Claim. Let $xinleft[kpi,left(k+1right)piright]$, where $kinmathbbZ$. Then:



                beginalignat*1
                cos^-1left(cos xright) & =begincases
                x-kpi & textitif ktextit is even,\
                left(k+1right)pi-x & textitif ktextit is odd.
                endcases
                endalignat*




                Proof. First, note that $x-kpi$ and $left(k+1right)pi-x$ are both in $left[0,piright]$.



                Moreover, if $yinleft[0,piright]$, then $cos^-1left(cos yright)overset1=y$.



                Now, suppose $k$ is even. Then $cosleft(x-kpiright) overset2=cos x$ and so:



                $$cos^-1left(cos xright)=cos^-1left[cosleft(x-kpiright)right]overset1=x-kpi.$$



                Next, suppose $k$ is odd. Then $cosleft[left(k+1right)pi-xright]overset3=cos x$ and so:



                $$cos^-1left(cos xright)=cos^-1left[cosleft(left(k+1right)pi-xright)right]overset1=left(k+1right)pi-x. tag*∎$$




                (The reader can verify $overset2=$ and $overset3=$ using the Subtraction Formulae for Cosine.)






                share|cite|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Claim. Let $xinleft[kpi,left(k+1right)piright]$, where $kinmathbbZ$. Then:



                  beginalignat*1
                  cos^-1left(cos xright) & =begincases
                  x-kpi & textitif ktextit is even,\
                  left(k+1right)pi-x & textitif ktextit is odd.
                  endcases
                  endalignat*




                  Proof. First, note that $x-kpi$ and $left(k+1right)pi-x$ are both in $left[0,piright]$.



                  Moreover, if $yinleft[0,piright]$, then $cos^-1left(cos yright)overset1=y$.



                  Now, suppose $k$ is even. Then $cosleft(x-kpiright) overset2=cos x$ and so:



                  $$cos^-1left(cos xright)=cos^-1left[cosleft(x-kpiright)right]overset1=x-kpi.$$



                  Next, suppose $k$ is odd. Then $cosleft[left(k+1right)pi-xright]overset3=cos x$ and so:



                  $$cos^-1left(cos xright)=cos^-1left[cosleft(left(k+1right)pi-xright)right]overset1=left(k+1right)pi-x. tag*∎$$




                  (The reader can verify $overset2=$ and $overset3=$ using the Subtraction Formulae for Cosine.)






                  share|cite|improve this answer












                  Claim. Let $xinleft[kpi,left(k+1right)piright]$, where $kinmathbbZ$. Then:



                  beginalignat*1
                  cos^-1left(cos xright) & =begincases
                  x-kpi & textitif ktextit is even,\
                  left(k+1right)pi-x & textitif ktextit is odd.
                  endcases
                  endalignat*




                  Proof. First, note that $x-kpi$ and $left(k+1right)pi-x$ are both in $left[0,piright]$.



                  Moreover, if $yinleft[0,piright]$, then $cos^-1left(cos yright)overset1=y$.



                  Now, suppose $k$ is even. Then $cosleft(x-kpiright) overset2=cos x$ and so:



                  $$cos^-1left(cos xright)=cos^-1left[cosleft(x-kpiright)right]overset1=x-kpi.$$



                  Next, suppose $k$ is odd. Then $cosleft[left(k+1right)pi-xright]overset3=cos x$ and so:



                  $$cos^-1left(cos xright)=cos^-1left[cosleft(left(k+1right)pi-xright)right]overset1=left(k+1right)pi-x. tag*∎$$




                  (The reader can verify $overset2=$ and $overset3=$ using the Subtraction Formulae for Cosine.)







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 29 at 2:36









                  Kenny LJ

                  1,45611331




                  1,45611331



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2685182%2ffinding-general-formula-for-cos-1-cosx%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      tkz-euclide: tkzDrawCircle[R] not working

                      How to combine Bézier curves to a surface?

                      1st Magritte Awards