A simple problem over reflection of point about a line











up vote
0
down vote

favorite












My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.










share|cite|improve this question




















  • 1




    "Please don't bother"? To answer your question?
    – Shubham Johri
    Dec 2 at 14:24










  • @Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
    – Awe Kumar Jha
    Dec 2 at 14:29






  • 1




    It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
    – Shubham Johri
    Dec 2 at 14:46















up vote
0
down vote

favorite












My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.










share|cite|improve this question




















  • 1




    "Please don't bother"? To answer your question?
    – Shubham Johri
    Dec 2 at 14:24










  • @Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
    – Awe Kumar Jha
    Dec 2 at 14:29






  • 1




    It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
    – Shubham Johri
    Dec 2 at 14:46













up vote
0
down vote

favorite









up vote
0
down vote

favorite











My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.










share|cite|improve this question















My question is extremely dull, so please don't bother: I want to have an explicit expression for the reflection of a point $(p,q)$ about a line $y=mx$, in terms of coefficients $p$,$q$ and $m$. But I am unable to get it. (Atleast no textbook or website mentions it to my reach). Please help.







analytic-geometry






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 2 at 14:30

























asked Dec 2 at 14:16









Awe Kumar Jha

27210




27210








  • 1




    "Please don't bother"? To answer your question?
    – Shubham Johri
    Dec 2 at 14:24










  • @Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
    – Awe Kumar Jha
    Dec 2 at 14:29






  • 1




    It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
    – Shubham Johri
    Dec 2 at 14:46














  • 1




    "Please don't bother"? To answer your question?
    – Shubham Johri
    Dec 2 at 14:24










  • @Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
    – Awe Kumar Jha
    Dec 2 at 14:29






  • 1




    It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
    – Shubham Johri
    Dec 2 at 14:46








1




1




"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24




"Please don't bother"? To answer your question?
– Shubham Johri
Dec 2 at 14:24












@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29




@Shubham Johri , I know that my question is a lack of mind and totally dull , and I fear that it may be put on hold or closed by the community , but the concept of reflection is quite new to me and I really don't know a bit about it.
– Awe Kumar Jha
Dec 2 at 14:29




1




1




It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46




It's okay I guess. Nobody is at the same level and this website is meant for general consumption. All you have to do is convince us that you have genuinely tried to solve the problem.
– Shubham Johri
Dec 2 at 14:46










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Let the image of $(p,q)$ be $(a,b)$.



Sample Graph



Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.






share|cite|improve this answer




























    up vote
    1
    down vote













    There is a simple derivation using complex numbers.



    Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.



    We can find the point corresponding to $(p,q)$ in three steps:




    1. rotate the point around the origin by the angle $-alpha$;

    2. get the reflection of the point about the $x$-axis;

    3. rotate the point around the origin by the angle $alpha$.


    If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are




    1. multiply $z$ by $u^{-1}=bar{u}$;

    2. get the conjugate;

    3. multiply by $u$.


    The bar denotes conjugation.



    Thus the corresponding point is
    $$
    overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
    $$

    Now it's just a matter of separating the real and imaginary parts. Note that
    $$
    u^2=cos2alpha+isin2alpha
    $$

    so we have
    $$
    u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
    $$

    Taking into account that
    $$
    cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
    sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
    $$

    we have
    $$
    (p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
    $$

    In matrix form, identifying a point with a column vector, the transformation is
    $$
    begin{bmatrix} p \ q end{bmatrix}
    mapsto
    begin{bmatrix}
    dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
    dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
    end{bmatrix}
    begin{bmatrix} p \ q end{bmatrix}
    =
    begin{bmatrix}
    cos2alpha & sin2alpha \
    sin2alpha & -cos2alpha
    end{bmatrix}
    begin{bmatrix} p \ q end{bmatrix}
    $$

    Note that the trigonometric representation is also valid for any angle, including $pi/2$.






    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: 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%2f3022687%2fa-simple-problem-over-reflection-of-point-about-a-line%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote



      accepted










      Let the image of $(p,q)$ be $(a,b)$.



      Sample Graph



      Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.






      share|cite|improve this answer

























        up vote
        1
        down vote



        accepted










        Let the image of $(p,q)$ be $(a,b)$.



        Sample Graph



        Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.






        share|cite|improve this answer























          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Let the image of $(p,q)$ be $(a,b)$.



          Sample Graph



          Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.






          share|cite|improve this answer












          Let the image of $(p,q)$ be $(a,b)$.



          Sample Graph



          Since the line joining these two points is orthogonal to $y=mx$, its slope $=frac{b-q}{a-p}=-1/m$. Further, the midpoint of the line segment joining these two points lies on $y=mximplies frac{b+q}2=mcdotfrac{a+p}2$. Solve these two equations to get $(a,b)=(frac{2mq-p(m^2-1)}{m^2+1},frac{2mp+q(m^2-1)}{m^2+1})$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 2 at 14:41









          Shubham Johri

          1,28239




          1,28239






















              up vote
              1
              down vote













              There is a simple derivation using complex numbers.



              Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.



              We can find the point corresponding to $(p,q)$ in three steps:




              1. rotate the point around the origin by the angle $-alpha$;

              2. get the reflection of the point about the $x$-axis;

              3. rotate the point around the origin by the angle $alpha$.


              If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are




              1. multiply $z$ by $u^{-1}=bar{u}$;

              2. get the conjugate;

              3. multiply by $u$.


              The bar denotes conjugation.



              Thus the corresponding point is
              $$
              overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
              $$

              Now it's just a matter of separating the real and imaginary parts. Note that
              $$
              u^2=cos2alpha+isin2alpha
              $$

              so we have
              $$
              u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
              $$

              Taking into account that
              $$
              cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
              sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
              $$

              we have
              $$
              (p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
              $$

              In matrix form, identifying a point with a column vector, the transformation is
              $$
              begin{bmatrix} p \ q end{bmatrix}
              mapsto
              begin{bmatrix}
              dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
              dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
              end{bmatrix}
              begin{bmatrix} p \ q end{bmatrix}
              =
              begin{bmatrix}
              cos2alpha & sin2alpha \
              sin2alpha & -cos2alpha
              end{bmatrix}
              begin{bmatrix} p \ q end{bmatrix}
              $$

              Note that the trigonometric representation is also valid for any angle, including $pi/2$.






              share|cite|improve this answer

























                up vote
                1
                down vote













                There is a simple derivation using complex numbers.



                Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.



                We can find the point corresponding to $(p,q)$ in three steps:




                1. rotate the point around the origin by the angle $-alpha$;

                2. get the reflection of the point about the $x$-axis;

                3. rotate the point around the origin by the angle $alpha$.


                If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are




                1. multiply $z$ by $u^{-1}=bar{u}$;

                2. get the conjugate;

                3. multiply by $u$.


                The bar denotes conjugation.



                Thus the corresponding point is
                $$
                overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
                $$

                Now it's just a matter of separating the real and imaginary parts. Note that
                $$
                u^2=cos2alpha+isin2alpha
                $$

                so we have
                $$
                u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
                $$

                Taking into account that
                $$
                cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
                sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
                $$

                we have
                $$
                (p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
                $$

                In matrix form, identifying a point with a column vector, the transformation is
                $$
                begin{bmatrix} p \ q end{bmatrix}
                mapsto
                begin{bmatrix}
                dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
                dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
                end{bmatrix}
                begin{bmatrix} p \ q end{bmatrix}
                =
                begin{bmatrix}
                cos2alpha & sin2alpha \
                sin2alpha & -cos2alpha
                end{bmatrix}
                begin{bmatrix} p \ q end{bmatrix}
                $$

                Note that the trigonometric representation is also valid for any angle, including $pi/2$.






                share|cite|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  There is a simple derivation using complex numbers.



                  Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.



                  We can find the point corresponding to $(p,q)$ in three steps:




                  1. rotate the point around the origin by the angle $-alpha$;

                  2. get the reflection of the point about the $x$-axis;

                  3. rotate the point around the origin by the angle $alpha$.


                  If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are




                  1. multiply $z$ by $u^{-1}=bar{u}$;

                  2. get the conjugate;

                  3. multiply by $u$.


                  The bar denotes conjugation.



                  Thus the corresponding point is
                  $$
                  overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
                  $$

                  Now it's just a matter of separating the real and imaginary parts. Note that
                  $$
                  u^2=cos2alpha+isin2alpha
                  $$

                  so we have
                  $$
                  u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
                  $$

                  Taking into account that
                  $$
                  cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
                  sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
                  $$

                  we have
                  $$
                  (p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
                  $$

                  In matrix form, identifying a point with a column vector, the transformation is
                  $$
                  begin{bmatrix} p \ q end{bmatrix}
                  mapsto
                  begin{bmatrix}
                  dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
                  dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
                  end{bmatrix}
                  begin{bmatrix} p \ q end{bmatrix}
                  =
                  begin{bmatrix}
                  cos2alpha & sin2alpha \
                  sin2alpha & -cos2alpha
                  end{bmatrix}
                  begin{bmatrix} p \ q end{bmatrix}
                  $$

                  Note that the trigonometric representation is also valid for any angle, including $pi/2$.






                  share|cite|improve this answer












                  There is a simple derivation using complex numbers.



                  Let $alpha$ be the angle the line forms with the positive $x$-semiaxis, so $m=tanalpha$; we can choose $-pi/2<alpha<pi/2$.



                  We can find the point corresponding to $(p,q)$ in three steps:




                  1. rotate the point around the origin by the angle $-alpha$;

                  2. get the reflection of the point about the $x$-axis;

                  3. rotate the point around the origin by the angle $alpha$.


                  If we identify $(p,q)$ with $z=p+iq$ and consider $u=cosalpha+isinalpha$, then the three operations above are




                  1. multiply $z$ by $u^{-1}=bar{u}$;

                  2. get the conjugate;

                  3. multiply by $u$.


                  The bar denotes conjugation.



                  Thus the corresponding point is
                  $$
                  overline{(zbar{u})}u=bar{z}uu=u^2bar{z}
                  $$

                  Now it's just a matter of separating the real and imaginary parts. Note that
                  $$
                  u^2=cos2alpha+isin2alpha
                  $$

                  so we have
                  $$
                  u^2bar{z}=(cos2alpha+isin2alpha)(p-iq)=(pcos2alpha+qsin2alpha)+i(psin2alpha-qcos2alpha)
                  $$

                  Taking into account that
                  $$
                  cos2alpha=frac{1-tan^2alpha}{1+tan^2alpha}=frac{1-m^2}{1+m^2},qquad
                  sin2alpha=frac{2tanalpha}{1+tan^2alpha}=frac{2m}{1+m^2}
                  $$

                  we have
                  $$
                  (p,q)mapstoleft(frac{1-m^2}{1+m^2}p+frac{2m}{1+m^2}q,frac{2m}{1+m^2}p-frac{1-m^2}{1+m^2}qright)
                  $$

                  In matrix form, identifying a point with a column vector, the transformation is
                  $$
                  begin{bmatrix} p \ q end{bmatrix}
                  mapsto
                  begin{bmatrix}
                  dfrac{1-m^2}{1+m^2} & dfrac{2m}{1+m^2} \
                  dfrac{2m}{1+m^2} & -dfrac{1-m^2}{1+m^2}
                  end{bmatrix}
                  begin{bmatrix} p \ q end{bmatrix}
                  =
                  begin{bmatrix}
                  cos2alpha & sin2alpha \
                  sin2alpha & -cos2alpha
                  end{bmatrix}
                  begin{bmatrix} p \ q end{bmatrix}
                  $$

                  Note that the trigonometric representation is also valid for any angle, including $pi/2$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 2 at 14:53









                  egreg

                  175k1383198




                  175k1383198






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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.


                      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%2f3022687%2fa-simple-problem-over-reflection-of-point-about-a-line%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

                      Bressuire

                      Cabo Verde

                      Gyllenstierna