Solving $sin(x)-cos(x)=1$ The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to solve $sin x +cos x = 1$?How to prove $dfrac1+sin6^circ+cos12^circcos6^circ+sin12^circ=sqrt3$Is $sin^4 x-cos^4 x = cos2x$ or is it $-cos2x=cos2x$?How can I find $cos(theta)$ with $sin(theta)$?Determine $sintheta$ and $costheta$ to four decimal places given the point (-5, 1) in quadrants I and IIFind the general solution to $sin(4x)-cos(x)=0$Can $frac2usin(alpha-beta)gcosbeta=fracucos(alpha-beta)gsinbeta$ be reduced to $2tan(alpha-beta)tanbeta=1$?Solving $sin x - cos x = 1$$x=frac12a(1-cos(alpha))$ substition in Bernoullie's brachistochroneSolving periodic equation $cos 7theta=cos 3theta+sin 5theta$.Trigonometric Identities: Given that $frac2cos(a)+3sin(a)3cos(a)-2sin(a)=-2$ find $sin(2a)$

"... to apply for a visa" or "... and applied for a visa"?

US Healthcare consultation for visitors

Is there a writing software that you can sort scenes like slides in PowerPoint?

Single author papers against my advisor's will?

should truth entail possible truth

What aspect of planet Earth must be changed to prevent the industrial revolution?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

Variable with quotation marks "$()"

How do spell lists change if the party levels up without taking a long rest?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

Match Roman Numerals

How to determine omitted units in a publication

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

What is the role of 'For' here?

How to handle characters who are more educated than the author?

Why doesn't a hydraulic lever violate conservation of energy?

Why are PDP-7-style microprogrammed instructions out of vogue?

Windows 10: How to Lock (not sleep) laptop on lid close?

Working through the single responsibility principle (SRP) in Python when calls are expensive

What would this chord progression be called?

Sort list of array linked objects by keys and values

Am I ethically obligated to go into work on an off day if the reason is sudden?

Do warforged have souls?

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?



Solving $sin(x)-cos(x)=1$



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to solve $sin x +cos x = 1$?How to prove $dfrac1+sin6^circ+cos12^circcos6^circ+sin12^circ=sqrt3$Is $sin^4 x-cos^4 x = cos2x$ or is it $-cos2x=cos2x$?How can I find $cos(theta)$ with $sin(theta)$?Determine $sintheta$ and $costheta$ to four decimal places given the point (-5, 1) in quadrants I and IIFind the general solution to $sin(4x)-cos(x)=0$Can $frac2usin(alpha-beta)gcosbeta=fracucos(alpha-beta)gsinbeta$ be reduced to $2tan(alpha-beta)tanbeta=1$?Solving $sin x - cos x = 1$$x=frac12a(1-cos(alpha))$ substition in Bernoullie's brachistochroneSolving periodic equation $cos 7theta=cos 3theta+sin 5theta$.Trigonometric Identities: Given that $frac2cos(a)+3sin(a)3cos(a)-2sin(a)=-2$ find $sin(2a)$










4












$begingroup$


Solving
$$sin(x)-cos(x)=1$$
for $x$. I used Pythagoras' Theoream and
$$Csin(x+alpha)=Asin(x)+Bcos(x)$$
where $A=1$ and $B=-1$, and I obtained
$$C=sqrt2$$
$$alpha = dfracpi4$$
and substituted where,
$$sqrt2sin(x+dfracpi4)=1$$
but somehow I think there is something wrong with my calculation, because in Wolfram it is
$$-sqrt2 sin(dfracpi4-x)=1$$
and I don't understand why do I get a different solution, I did everything correct algebraically.










share|cite|improve this question









$endgroup$











  • $begingroup$
    There are multiple solutions. $x=pi/2+2kpi, pi+2k pi$
    $endgroup$
    – Mark Viola
    Mar 24 at 19:30










  • $begingroup$
    I don't think you did everything correct algebraically, because it should have been $-fracpi4$ instead of $fracpi4$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:30











  • $begingroup$
    @SaucyO'Path Is it wrong to use Pythagoras' Theoream, because I get $sin(alpha)=dfracAsqrt2=dfrac1sqrt2$ and $cos(alpha)=dfracBsqrt2= dfrac-1sqrt2$ and now doing it again in my calculator I get that $alpha= dfrac3pi4$
    $endgroup$
    – D. Qa
    Mar 24 at 19:34










  • $begingroup$
    I can't really follow your logic, in the sense that you are referencing your own notation in your own sheet of paper some hundreds miles away from where I am, but the formula you should keep in mind appears to be $sin(x+alpha)=cosalphasin x+sinalphacos x$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:58











  • $begingroup$
    See math.stackexchange.com/questions/618192/…
    $endgroup$
    – lab bhattacharjee
    Mar 25 at 3:36















4












$begingroup$


Solving
$$sin(x)-cos(x)=1$$
for $x$. I used Pythagoras' Theoream and
$$Csin(x+alpha)=Asin(x)+Bcos(x)$$
where $A=1$ and $B=-1$, and I obtained
$$C=sqrt2$$
$$alpha = dfracpi4$$
and substituted where,
$$sqrt2sin(x+dfracpi4)=1$$
but somehow I think there is something wrong with my calculation, because in Wolfram it is
$$-sqrt2 sin(dfracpi4-x)=1$$
and I don't understand why do I get a different solution, I did everything correct algebraically.










share|cite|improve this question









$endgroup$











  • $begingroup$
    There are multiple solutions. $x=pi/2+2kpi, pi+2k pi$
    $endgroup$
    – Mark Viola
    Mar 24 at 19:30










  • $begingroup$
    I don't think you did everything correct algebraically, because it should have been $-fracpi4$ instead of $fracpi4$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:30











  • $begingroup$
    @SaucyO'Path Is it wrong to use Pythagoras' Theoream, because I get $sin(alpha)=dfracAsqrt2=dfrac1sqrt2$ and $cos(alpha)=dfracBsqrt2= dfrac-1sqrt2$ and now doing it again in my calculator I get that $alpha= dfrac3pi4$
    $endgroup$
    – D. Qa
    Mar 24 at 19:34










  • $begingroup$
    I can't really follow your logic, in the sense that you are referencing your own notation in your own sheet of paper some hundreds miles away from where I am, but the formula you should keep in mind appears to be $sin(x+alpha)=cosalphasin x+sinalphacos x$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:58











  • $begingroup$
    See math.stackexchange.com/questions/618192/…
    $endgroup$
    – lab bhattacharjee
    Mar 25 at 3:36













4












4








4





$begingroup$


Solving
$$sin(x)-cos(x)=1$$
for $x$. I used Pythagoras' Theoream and
$$Csin(x+alpha)=Asin(x)+Bcos(x)$$
where $A=1$ and $B=-1$, and I obtained
$$C=sqrt2$$
$$alpha = dfracpi4$$
and substituted where,
$$sqrt2sin(x+dfracpi4)=1$$
but somehow I think there is something wrong with my calculation, because in Wolfram it is
$$-sqrt2 sin(dfracpi4-x)=1$$
and I don't understand why do I get a different solution, I did everything correct algebraically.










share|cite|improve this question









$endgroup$




Solving
$$sin(x)-cos(x)=1$$
for $x$. I used Pythagoras' Theoream and
$$Csin(x+alpha)=Asin(x)+Bcos(x)$$
where $A=1$ and $B=-1$, and I obtained
$$C=sqrt2$$
$$alpha = dfracpi4$$
and substituted where,
$$sqrt2sin(x+dfracpi4)=1$$
but somehow I think there is something wrong with my calculation, because in Wolfram it is
$$-sqrt2 sin(dfracpi4-x)=1$$
and I don't understand why do I get a different solution, I did everything correct algebraically.







trigonometry






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 24 at 19:25









D. QaD. Qa

1656




1656











  • $begingroup$
    There are multiple solutions. $x=pi/2+2kpi, pi+2k pi$
    $endgroup$
    – Mark Viola
    Mar 24 at 19:30










  • $begingroup$
    I don't think you did everything correct algebraically, because it should have been $-fracpi4$ instead of $fracpi4$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:30











  • $begingroup$
    @SaucyO'Path Is it wrong to use Pythagoras' Theoream, because I get $sin(alpha)=dfracAsqrt2=dfrac1sqrt2$ and $cos(alpha)=dfracBsqrt2= dfrac-1sqrt2$ and now doing it again in my calculator I get that $alpha= dfrac3pi4$
    $endgroup$
    – D. Qa
    Mar 24 at 19:34










  • $begingroup$
    I can't really follow your logic, in the sense that you are referencing your own notation in your own sheet of paper some hundreds miles away from where I am, but the formula you should keep in mind appears to be $sin(x+alpha)=cosalphasin x+sinalphacos x$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:58











  • $begingroup$
    See math.stackexchange.com/questions/618192/…
    $endgroup$
    – lab bhattacharjee
    Mar 25 at 3:36
















  • $begingroup$
    There are multiple solutions. $x=pi/2+2kpi, pi+2k pi$
    $endgroup$
    – Mark Viola
    Mar 24 at 19:30










  • $begingroup$
    I don't think you did everything correct algebraically, because it should have been $-fracpi4$ instead of $fracpi4$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:30











  • $begingroup$
    @SaucyO'Path Is it wrong to use Pythagoras' Theoream, because I get $sin(alpha)=dfracAsqrt2=dfrac1sqrt2$ and $cos(alpha)=dfracBsqrt2= dfrac-1sqrt2$ and now doing it again in my calculator I get that $alpha= dfrac3pi4$
    $endgroup$
    – D. Qa
    Mar 24 at 19:34










  • $begingroup$
    I can't really follow your logic, in the sense that you are referencing your own notation in your own sheet of paper some hundreds miles away from where I am, but the formula you should keep in mind appears to be $sin(x+alpha)=cosalphasin x+sinalphacos x$.
    $endgroup$
    – Saucy O'Path
    Mar 24 at 19:58











  • $begingroup$
    See math.stackexchange.com/questions/618192/…
    $endgroup$
    – lab bhattacharjee
    Mar 25 at 3:36















$begingroup$
There are multiple solutions. $x=pi/2+2kpi, pi+2k pi$
$endgroup$
– Mark Viola
Mar 24 at 19:30




$begingroup$
There are multiple solutions. $x=pi/2+2kpi, pi+2k pi$
$endgroup$
– Mark Viola
Mar 24 at 19:30












$begingroup$
I don't think you did everything correct algebraically, because it should have been $-fracpi4$ instead of $fracpi4$.
$endgroup$
– Saucy O'Path
Mar 24 at 19:30





$begingroup$
I don't think you did everything correct algebraically, because it should have been $-fracpi4$ instead of $fracpi4$.
$endgroup$
– Saucy O'Path
Mar 24 at 19:30













$begingroup$
@SaucyO'Path Is it wrong to use Pythagoras' Theoream, because I get $sin(alpha)=dfracAsqrt2=dfrac1sqrt2$ and $cos(alpha)=dfracBsqrt2= dfrac-1sqrt2$ and now doing it again in my calculator I get that $alpha= dfrac3pi4$
$endgroup$
– D. Qa
Mar 24 at 19:34




$begingroup$
@SaucyO'Path Is it wrong to use Pythagoras' Theoream, because I get $sin(alpha)=dfracAsqrt2=dfrac1sqrt2$ and $cos(alpha)=dfracBsqrt2= dfrac-1sqrt2$ and now doing it again in my calculator I get that $alpha= dfrac3pi4$
$endgroup$
– D. Qa
Mar 24 at 19:34












$begingroup$
I can't really follow your logic, in the sense that you are referencing your own notation in your own sheet of paper some hundreds miles away from where I am, but the formula you should keep in mind appears to be $sin(x+alpha)=cosalphasin x+sinalphacos x$.
$endgroup$
– Saucy O'Path
Mar 24 at 19:58





$begingroup$
I can't really follow your logic, in the sense that you are referencing your own notation in your own sheet of paper some hundreds miles away from where I am, but the formula you should keep in mind appears to be $sin(x+alpha)=cosalphasin x+sinalphacos x$.
$endgroup$
– Saucy O'Path
Mar 24 at 19:58













$begingroup$
See math.stackexchange.com/questions/618192/…
$endgroup$
– lab bhattacharjee
Mar 25 at 3:36




$begingroup$
See math.stackexchange.com/questions/618192/…
$endgroup$
– lab bhattacharjee
Mar 25 at 3:36










5 Answers
5






active

oldest

votes


















2












$begingroup$

I would rather use the substitution $$cos(x)=(pm)sqrt1-sin^2(x)$$ to obtain $$sin(x)-cos(x)=1iffldotsiff sin(x)-1=(pm)sqrt1-sin^2(x)$$
Squaring $$sin^2(x)-2sin(x)+1=1-sin^2(x)iff 2sin^2(x)-2sin(x)=0iff colorbluesin^2(x)-sin(x)=0$$



Can you end it now?






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
    $endgroup$
    – D. Qa
    Mar 24 at 20:10






  • 1




    $begingroup$
    Exactly @D. Qa ;)
    $endgroup$
    – Dr. Mathva
    Mar 24 at 20:14


















3












$begingroup$

You made a mistake:



$$
sin x - cos x=sqrt2sinleft(xcolorred-fracpi4right).
$$



The correctness of the last expression can be easily verified by trigonometric summation formula:



$$
sin(x+y)=sin x cos y+cos x sin y.
$$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
    $endgroup$
    – D. Qa
    Mar 24 at 19:39










  • $begingroup$
    Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
    $endgroup$
    – D. Qa
    Mar 24 at 19:40






  • 1




    $begingroup$
    @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
    $endgroup$
    – user
    Mar 24 at 19:42







  • 2




    $begingroup$
    @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
    $endgroup$
    – user
    Mar 24 at 20:08










  • $begingroup$
    Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
    $endgroup$
    – D. Qa
    Mar 24 at 20:11


















1












$begingroup$

No, you're good.



Remember that $sin(-x)=-sin(x)$.



That means that $-sqrt2 sin(dfracpi4-x)$ is equivalent to $sqrt2 sin(x-dfracpi4)$






share|cite|improve this answer









$endgroup$












  • $begingroup$
    The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
    $endgroup$
    – Cameron Buie
    Mar 24 at 20:29


















1












$begingroup$

Hint: Use the so-called Weierstrass substitution:
$$sin(x)=frac2t1+t^2$$
$$cos(x)=frac1-t^21+t^2$$






share|cite|improve this answer









$endgroup$




















    0












    $begingroup$

    One thing you could do is square both sides. This yields $$sin^2x-2sin xcos x+cos^2x=1\1-2sin xcos x=1\sin xcos x=0\sin x=0text or cos x=0.$$ This provides us with all integer multiples of $fracpi2$ as possible solutions. However, we must be a bit wary, since some of these may actually be solutions to $$sin x-cos x=-1.$$ Fortunately, periodicity means that we only have to check $0,fracpi2,pi,frac3pi2$ to see which of those works, then conclude the rest accordingly.






    share|cite|improve this answer









    $endgroup$













      Your Answer








      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      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%2f3160925%2fsolving-sinx-cosx-1%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      I would rather use the substitution $$cos(x)=(pm)sqrt1-sin^2(x)$$ to obtain $$sin(x)-cos(x)=1iffldotsiff sin(x)-1=(pm)sqrt1-sin^2(x)$$
      Squaring $$sin^2(x)-2sin(x)+1=1-sin^2(x)iff 2sin^2(x)-2sin(x)=0iff colorbluesin^2(x)-sin(x)=0$$



      Can you end it now?






      share|cite|improve this answer











      $endgroup$








      • 1




        $begingroup$
        Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
        $endgroup$
        – D. Qa
        Mar 24 at 20:10






      • 1




        $begingroup$
        Exactly @D. Qa ;)
        $endgroup$
        – Dr. Mathva
        Mar 24 at 20:14















      2












      $begingroup$

      I would rather use the substitution $$cos(x)=(pm)sqrt1-sin^2(x)$$ to obtain $$sin(x)-cos(x)=1iffldotsiff sin(x)-1=(pm)sqrt1-sin^2(x)$$
      Squaring $$sin^2(x)-2sin(x)+1=1-sin^2(x)iff 2sin^2(x)-2sin(x)=0iff colorbluesin^2(x)-sin(x)=0$$



      Can you end it now?






      share|cite|improve this answer











      $endgroup$








      • 1




        $begingroup$
        Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
        $endgroup$
        – D. Qa
        Mar 24 at 20:10






      • 1




        $begingroup$
        Exactly @D. Qa ;)
        $endgroup$
        – Dr. Mathva
        Mar 24 at 20:14













      2












      2








      2





      $begingroup$

      I would rather use the substitution $$cos(x)=(pm)sqrt1-sin^2(x)$$ to obtain $$sin(x)-cos(x)=1iffldotsiff sin(x)-1=(pm)sqrt1-sin^2(x)$$
      Squaring $$sin^2(x)-2sin(x)+1=1-sin^2(x)iff 2sin^2(x)-2sin(x)=0iff colorbluesin^2(x)-sin(x)=0$$



      Can you end it now?






      share|cite|improve this answer











      $endgroup$



      I would rather use the substitution $$cos(x)=(pm)sqrt1-sin^2(x)$$ to obtain $$sin(x)-cos(x)=1iffldotsiff sin(x)-1=(pm)sqrt1-sin^2(x)$$
      Squaring $$sin^2(x)-2sin(x)+1=1-sin^2(x)iff 2sin^2(x)-2sin(x)=0iff colorbluesin^2(x)-sin(x)=0$$



      Can you end it now?







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Mar 24 at 22:01

























      answered Mar 24 at 19:33









      Dr. MathvaDr. Mathva

      3,493630




      3,493630







      • 1




        $begingroup$
        Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
        $endgroup$
        – D. Qa
        Mar 24 at 20:10






      • 1




        $begingroup$
        Exactly @D. Qa ;)
        $endgroup$
        – Dr. Mathva
        Mar 24 at 20:14












      • 1




        $begingroup$
        Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
        $endgroup$
        – D. Qa
        Mar 24 at 20:10






      • 1




        $begingroup$
        Exactly @D. Qa ;)
        $endgroup$
        – Dr. Mathva
        Mar 24 at 20:14







      1




      1




      $begingroup$
      Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
      $endgroup$
      – D. Qa
      Mar 24 at 20:10




      $begingroup$
      Well, I set $v=sin(x)$ and then wrote $2v^2-2v=0$ and solved for $v$ where I would get $v=0,1$ and so, $sin(x)=1$ and $sin(x)=0$, I will get $x=dfracpi2+2pi n$ and $x=pi + 2pi n$
      $endgroup$
      – D. Qa
      Mar 24 at 20:10




      1




      1




      $begingroup$
      Exactly @D. Qa ;)
      $endgroup$
      – Dr. Mathva
      Mar 24 at 20:14




      $begingroup$
      Exactly @D. Qa ;)
      $endgroup$
      – Dr. Mathva
      Mar 24 at 20:14











      3












      $begingroup$

      You made a mistake:



      $$
      sin x - cos x=sqrt2sinleft(xcolorred-fracpi4right).
      $$



      The correctness of the last expression can be easily verified by trigonometric summation formula:



      $$
      sin(x+y)=sin x cos y+cos x sin y.
      $$






      share|cite|improve this answer











      $endgroup$












      • $begingroup$
        I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
        $endgroup$
        – D. Qa
        Mar 24 at 19:39










      • $begingroup$
        Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
        $endgroup$
        – D. Qa
        Mar 24 at 19:40






      • 1




        $begingroup$
        @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
        $endgroup$
        – user
        Mar 24 at 19:42







      • 2




        $begingroup$
        @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
        $endgroup$
        – user
        Mar 24 at 20:08










      • $begingroup$
        Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
        $endgroup$
        – D. Qa
        Mar 24 at 20:11















      3












      $begingroup$

      You made a mistake:



      $$
      sin x - cos x=sqrt2sinleft(xcolorred-fracpi4right).
      $$



      The correctness of the last expression can be easily verified by trigonometric summation formula:



      $$
      sin(x+y)=sin x cos y+cos x sin y.
      $$






      share|cite|improve this answer











      $endgroup$












      • $begingroup$
        I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
        $endgroup$
        – D. Qa
        Mar 24 at 19:39










      • $begingroup$
        Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
        $endgroup$
        – D. Qa
        Mar 24 at 19:40






      • 1




        $begingroup$
        @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
        $endgroup$
        – user
        Mar 24 at 19:42







      • 2




        $begingroup$
        @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
        $endgroup$
        – user
        Mar 24 at 20:08










      • $begingroup$
        Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
        $endgroup$
        – D. Qa
        Mar 24 at 20:11













      3












      3








      3





      $begingroup$

      You made a mistake:



      $$
      sin x - cos x=sqrt2sinleft(xcolorred-fracpi4right).
      $$



      The correctness of the last expression can be easily verified by trigonometric summation formula:



      $$
      sin(x+y)=sin x cos y+cos x sin y.
      $$






      share|cite|improve this answer











      $endgroup$



      You made a mistake:



      $$
      sin x - cos x=sqrt2sinleft(xcolorred-fracpi4right).
      $$



      The correctness of the last expression can be easily verified by trigonometric summation formula:



      $$
      sin(x+y)=sin x cos y+cos x sin y.
      $$







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Mar 24 at 19:40

























      answered Mar 24 at 19:37









      useruser

      6,48511031




      6,48511031











      • $begingroup$
        I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
        $endgroup$
        – D. Qa
        Mar 24 at 19:39










      • $begingroup$
        Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
        $endgroup$
        – D. Qa
        Mar 24 at 19:40






      • 1




        $begingroup$
        @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
        $endgroup$
        – user
        Mar 24 at 19:42







      • 2




        $begingroup$
        @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
        $endgroup$
        – user
        Mar 24 at 20:08










      • $begingroup$
        Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
        $endgroup$
        – D. Qa
        Mar 24 at 20:11
















      • $begingroup$
        I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
        $endgroup$
        – D. Qa
        Mar 24 at 19:39










      • $begingroup$
        Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
        $endgroup$
        – D. Qa
        Mar 24 at 19:40






      • 1




        $begingroup$
        @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
        $endgroup$
        – user
        Mar 24 at 19:42







      • 2




        $begingroup$
        @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
        $endgroup$
        – user
        Mar 24 at 20:08










      • $begingroup$
        Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
        $endgroup$
        – D. Qa
        Mar 24 at 20:11















      $begingroup$
      I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
      $endgroup$
      – D. Qa
      Mar 24 at 19:39




      $begingroup$
      I am now confused, because when using Pythagoras' Theoream, you get $sin(alpha)=dfrac1sqrt2$ and $cos(alpha)=-dfrac1sqrt2$, and so $alpha=-dfracpi4$ would be correct for sine but not for cosine because the value in cosine is negative, since $B=-1$
      $endgroup$
      – D. Qa
      Mar 24 at 19:39












      $begingroup$
      Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
      $endgroup$
      – D. Qa
      Mar 24 at 19:40




      $begingroup$
      Well, checking again, $cos(-dfracpi4) neq dfrac-1sqrt2$ and $sin(-dfracpi4) neq dfrac1sqrt2$
      $endgroup$
      – D. Qa
      Mar 24 at 19:40




      1




      1




      $begingroup$
      @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
      $endgroup$
      – user
      Mar 24 at 19:42





      $begingroup$
      @D.Qa I have added the formula for the sine of a sum. Just substitute $y=pmfracpi4$ and compare the results.
      $endgroup$
      – user
      Mar 24 at 19:42





      2




      2




      $begingroup$
      @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
      $endgroup$
      – user
      Mar 24 at 20:08




      $begingroup$
      @D.Qa $$beginalign sin(xcolorred+fracpi4)&=sin x cosleft(+fracpi4right)+cos x sin left(+fracpi4right)=fracsin xcolorred+cos xsqrt2\ sin(xcolorred-fracpi4)&=sin x cosleft(-fracpi4right)+cos x sin left(-fracpi4right)=fracsin xcolorred-cos xsqrt2endalign $$ Hopefully this helps.
      $endgroup$
      – user
      Mar 24 at 20:08












      $begingroup$
      Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
      $endgroup$
      – D. Qa
      Mar 24 at 20:11




      $begingroup$
      Yes, I was trying it on my own, and it did actually, thank you, I think now I understood what is going on. :)
      $endgroup$
      – D. Qa
      Mar 24 at 20:11











      1












      $begingroup$

      No, you're good.



      Remember that $sin(-x)=-sin(x)$.



      That means that $-sqrt2 sin(dfracpi4-x)$ is equivalent to $sqrt2 sin(x-dfracpi4)$






      share|cite|improve this answer









      $endgroup$












      • $begingroup$
        The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
        $endgroup$
        – Cameron Buie
        Mar 24 at 20:29















      1












      $begingroup$

      No, you're good.



      Remember that $sin(-x)=-sin(x)$.



      That means that $-sqrt2 sin(dfracpi4-x)$ is equivalent to $sqrt2 sin(x-dfracpi4)$






      share|cite|improve this answer









      $endgroup$












      • $begingroup$
        The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
        $endgroup$
        – Cameron Buie
        Mar 24 at 20:29













      1












      1








      1





      $begingroup$

      No, you're good.



      Remember that $sin(-x)=-sin(x)$.



      That means that $-sqrt2 sin(dfracpi4-x)$ is equivalent to $sqrt2 sin(x-dfracpi4)$






      share|cite|improve this answer









      $endgroup$



      No, you're good.



      Remember that $sin(-x)=-sin(x)$.



      That means that $-sqrt2 sin(dfracpi4-x)$ is equivalent to $sqrt2 sin(x-dfracpi4)$







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered Mar 24 at 19:34









      Saketh MalyalaSaketh Malyala

      7,4561534




      7,4561534











      • $begingroup$
        The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
        $endgroup$
        – Cameron Buie
        Mar 24 at 20:29
















      • $begingroup$
        The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
        $endgroup$
        – Cameron Buie
        Mar 24 at 20:29















      $begingroup$
      The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
      $endgroup$
      – Cameron Buie
      Mar 24 at 20:29




      $begingroup$
      The OP came up with $sqrt2sinleft(x+frac]pi4right),$ not $sqrt2sinleft(x-frac]pi4right).$
      $endgroup$
      – Cameron Buie
      Mar 24 at 20:29











      1












      $begingroup$

      Hint: Use the so-called Weierstrass substitution:
      $$sin(x)=frac2t1+t^2$$
      $$cos(x)=frac1-t^21+t^2$$






      share|cite|improve this answer









      $endgroup$

















        1












        $begingroup$

        Hint: Use the so-called Weierstrass substitution:
        $$sin(x)=frac2t1+t^2$$
        $$cos(x)=frac1-t^21+t^2$$






        share|cite|improve this answer









        $endgroup$















          1












          1








          1





          $begingroup$

          Hint: Use the so-called Weierstrass substitution:
          $$sin(x)=frac2t1+t^2$$
          $$cos(x)=frac1-t^21+t^2$$






          share|cite|improve this answer









          $endgroup$



          Hint: Use the so-called Weierstrass substitution:
          $$sin(x)=frac2t1+t^2$$
          $$cos(x)=frac1-t^21+t^2$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Mar 24 at 19:39









          Dr. Sonnhard GraubnerDr. Sonnhard Graubner

          79k42867




          79k42867





















              0












              $begingroup$

              One thing you could do is square both sides. This yields $$sin^2x-2sin xcos x+cos^2x=1\1-2sin xcos x=1\sin xcos x=0\sin x=0text or cos x=0.$$ This provides us with all integer multiples of $fracpi2$ as possible solutions. However, we must be a bit wary, since some of these may actually be solutions to $$sin x-cos x=-1.$$ Fortunately, periodicity means that we only have to check $0,fracpi2,pi,frac3pi2$ to see which of those works, then conclude the rest accordingly.






              share|cite|improve this answer









              $endgroup$

















                0












                $begingroup$

                One thing you could do is square both sides. This yields $$sin^2x-2sin xcos x+cos^2x=1\1-2sin xcos x=1\sin xcos x=0\sin x=0text or cos x=0.$$ This provides us with all integer multiples of $fracpi2$ as possible solutions. However, we must be a bit wary, since some of these may actually be solutions to $$sin x-cos x=-1.$$ Fortunately, periodicity means that we only have to check $0,fracpi2,pi,frac3pi2$ to see which of those works, then conclude the rest accordingly.






                share|cite|improve this answer









                $endgroup$















                  0












                  0








                  0





                  $begingroup$

                  One thing you could do is square both sides. This yields $$sin^2x-2sin xcos x+cos^2x=1\1-2sin xcos x=1\sin xcos x=0\sin x=0text or cos x=0.$$ This provides us with all integer multiples of $fracpi2$ as possible solutions. However, we must be a bit wary, since some of these may actually be solutions to $$sin x-cos x=-1.$$ Fortunately, periodicity means that we only have to check $0,fracpi2,pi,frac3pi2$ to see which of those works, then conclude the rest accordingly.






                  share|cite|improve this answer









                  $endgroup$



                  One thing you could do is square both sides. This yields $$sin^2x-2sin xcos x+cos^2x=1\1-2sin xcos x=1\sin xcos x=0\sin x=0text or cos x=0.$$ This provides us with all integer multiples of $fracpi2$ as possible solutions. However, we must be a bit wary, since some of these may actually be solutions to $$sin x-cos x=-1.$$ Fortunately, periodicity means that we only have to check $0,fracpi2,pi,frac3pi2$ to see which of those works, then conclude the rest accordingly.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Mar 24 at 20:34









                  Cameron BuieCameron Buie

                  86.8k773161




                  86.8k773161



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3160925%2fsolving-sinx-cosx-1%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

                      Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

                      Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers