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

                      How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer

                      random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

                      Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye