Reflection about y = 2x

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • Formula of reflection about the line y = 2x
    In this video, I present a really neat application of change of coordinates: Namely, I calculate the formula of the reflection of a point about the line y = 2x. Can you guess the formula beforehand? You might be surprised! Enjoy
    Change of coordinates video: • Change of Matrix
    Rotation matrix video (related): • Rotation Matrix
    Check out my Linear Transformations Playlist: • Linear Transformations
    Subscribe to my channel: / drpeyam

КОМЕНТАРІ • 53

  • @blackpenredpen
    @blackpenredpen 5 років тому +10

    Yo thumbnail is on point again, Dr. P!! Love it!

  • @guyguy1811
    @guyguy1811 5 років тому +30

    I asked my teacher about this and she said it wasn't possible. Gonna annoy her tomorrow 😂😂

  • @eliyasne9695
    @eliyasne9695 5 років тому +7

    I did not use linear algebra.
    Me solution uses complex numbers.
    Here it is:
    In order to find a mapping transformation for a mirror placed on y=2x i started by making a point in the complex plane such that its angel with the "real" number line is that of the line y=2x and its magnetude is one. Then i made a second, general point that the transformation would act onto. Now, my transformation is the following: to get the output point i multiply the input point by the square of the ratio
    ((special point)/(input point divided by its magnitude))
    In the end i can take the general coordinates of my output complex number and they would be the answer.

  • @thedoublehelix5661
    @thedoublehelix5661 5 років тому +5

    Woah! I used linear algebra on a school assignment once. The final for my precal class was to draw a picture using graphs. I used linear transformations to rotate functions to what I wanted. I also used calculus to come up with really accurate features. (What I did was plot the points I wanted to connect with my equation, then found the slope between the points and created a derivative graph. Then used regression and integration to smooth things out)

  • @zachariahjones2338
    @zachariahjones2338 5 років тому +10

    what an absolute banger of a video

  • @yoavshati
    @yoavshati 5 років тому +1

    You could easily do it for any linear equation y=mx+n and a point P(a,b) by finding the perpendicular line to the linear function that also passes through the point, which will be y=((a-x)/m)+b, and then you can find the intersection, which is the midpoint of P and P', so you can find P'

  • @victoroa1974
    @victoroa1974 5 років тому +1

    Dr Peyam! Two days ago I just had an important exam which had an exercise about this. If only you would have uploaded this video earlier 😢

    • @drpeyam
      @drpeyam  5 років тому +1

      Awwwww!!! It was on my playlists though!

  • @fantiscious
    @fantiscious 2 роки тому

    Not completely related to the video, but I found a function that describes part of the graph e^x flipped across y = 2x. It has the Lambert W function in it, here it is
    [For x>0.7726, y

  • @ArtelValenheart
    @ArtelValenheart 5 років тому

    I've found the same matrix by simply solving a system of equations { T(1, 2) = (1, 2) , A(-2, 1) = (2, 1) }, where T is a linear operator with matrix { { a , b } , { c , d } } in Cartesian coordinate system.

  • @thesakinator7639
    @thesakinator7639 6 місяців тому

    Why not just solve the system of equations using the known points @4:36 ? You have a + 2b = 1 and c + 2d = 2, as well as -2a + b = 2 and -2c + d = -1. This easily becomes 5b = 4 and b = 4/5, and then a = -3/5, and similarly 5d = 3 and d = 3/5, c = 4/5

  • @franchello1105
    @franchello1105 5 років тому

    You could get the same results with 3 simple tranformations? Rotation[[cos(tan^-1(.5)), sin(tan^-1(.5))],[-sin(tan^-1(.5)),cos(tan^-1(.5))] Reflection[[-1,0],[0,1]] Rotation[[cos(-tan^-1(.5)),sin(-tan^-1(.5))],[-cos(-tan^-1(.5)),sin(-tan^-1(.5))]]
    Rotate your axis of reflection so that it becomes the y axis, reflect around the y-axis, then rotate back.

  • @non-inertialobserver946
    @non-inertialobserver946 5 років тому +1

    I did this without linear algebra, and was honestly quite easy, but the linear algebra way is very elegant :)

  • @mimithewienerdog6928
    @mimithewienerdog6928 5 років тому +1

    Very cool!

  • @bryanwright7822
    @bryanwright7822 3 роки тому

    easy to do without linear algebra. For example reflect the point (6,3) about line y = 2x
    step one: calculate equation of line with (6,3) that is perpendicular to y = 2x
    it is y = -1/2 x + 6
    step two: use systems of equations to solve for point of intersection which is (12/5, 24/5)
    third: since this is midpoint the reflected point easy to solve for (-6/5, 33/5)
    Lot easier!

    • @drpeyam
      @drpeyam  3 роки тому

      But systems of equations *is* linear algebra, that’s the whole point!! I’m just doing a more systematic way of what you’re doing!

  • @MrRyanroberson1
    @MrRyanroberson1 5 років тому

    Reflect about the line x sin(t) = y cos(t):
    if we rotate the plane such that the line meets the x axis, then negate, then rotate back, it should work. so let's take the formula: e^-it * [1,0;0,-1] * e^it, e^it being a rotation matrix. The first two multiply to give [cos,sin;sin,-cos], and multiplying that by e^it gives [cos^2-sin^2, 2sincos; 2sincos, sin^2-cos^2] which if i recall is equivalent to the quaternion (cos^2-sin^2)i + (2sincos)k = (1-2sin^2)i + (2sincos)k for any angle input to the sines and cosines. Odd how this is supposed to map from 2d to 2d... is it really guaranteed that this quaternion works?

    • @MrRyanroberson1
      @MrRyanroberson1 5 років тому

      in this case, the input vector should be formatted as a complex number ix + ky, and multiplying this by ai+bk we get -(ax +by) -(ay+bx)j, which seems like a reasonable linear combination of x and y, though i can't prove the quaternion solution i remain confident on the matrix one. really it should work with the proper map for (x,y) -> [quaternion]

    • @MrRyanroberson1
      @MrRyanroberson1 5 років тому

      Algebraic solution: take (x,y) -> x+iy = z. c(z) = x-iy, the complex conjugate. z' = c(z * e^-it) * e^it, as the conjugate flips about the x axis, we simply need to rotate into our new basis, since the line of reflection is indeed a line which is conservative in terms of area and even the position of the origin point in this case. If, however, the line is moved H units away from the origin along a perpendicular line (the exact distance can be determined through basic algebra), simply subtract H before conjugating. The linear algebra version of this is just replacing each function with its matrix

    • @MrRyanroberson1
      @MrRyanroberson1 5 років тому

      it also seems that by your solution sincos = m/(1+m^2) and (1-m^2)/(1+m^2) = cos^2-sin^2, if 1+m^2 = sec^2, then 1-m^2 = 1 - tan^2, yes m = tangent, this makes total sense. tan/(1+tan^2) = tan/(sec^2) = sincos. our formulas totally agree under m = tangent, and your solution operates on the tangent (the point 1,M) whereas mine operates on the unit circle (a,b where aa+bb=1)

  • @tieumai1548
    @tieumai1548 4 роки тому

    Thank you so much about your knowledge sharing

  • @alexhernandez1844
    @alexhernandez1844 5 років тому

    The truth I love your videos I am your fan and I would like you to share more math topics that this matery I love I sleep two hours to study it, to be a great mathematician like you and I would like you to share topics, only basic topics like theorem of pick and others I hope you share more topics: '(

  • @benjaminbrady2385
    @benjaminbrady2385 5 років тому +1

    The Linear Algebra in this is too hard for me :/
    Is there a recommendation of where to learn this?

    • @drpeyam
      @drpeyam  5 років тому +2

      All my playlists!

    • @benjaminbrady2385
      @benjaminbrady2385 5 років тому +1

      @@drpeyam Thanks but which one should I start with?

    • @drpeyam
      @drpeyam  5 років тому +1

      Start with Linear Equations (Lay Chapter 1), finish all the Lay ones, then do all the Friedberg ones

  • @rurafs7934
    @rurafs7934 5 років тому +2

    Woahhh, its beautiful

  • @shiina_mahiru_9067
    @shiina_mahiru_9067 5 років тому +1

    T is much nicer if you use y=(tanθ)x instead of y=mx

  • @rafaeldubois8192
    @rafaeldubois8192 5 років тому +1

    It really do be like that sometimes

  • @ethanbrandt8617
    @ethanbrandt8617 4 роки тому

    Half of that kinda flew over my head because I dont know all of the stuff that this builds off of but I think I understand

    • @drpeyam
      @drpeyam  4 роки тому

      Check out my Linear Transformations Playlist: ua-cam.com/play/PLJb1qAQIrmmCGJgXVb1gt0q1weM_Bt6aE.html

  • @gordonchan4801
    @gordonchan4801 5 років тому

    I think finding the reflection about y = mx + c with algebra only is not too difficult.

  • @alexhernandez1844
    @alexhernandez1844 5 років тому

    Hello, I am Mexican, I dream some day to be like you, to know a lot of mathematics,

  • @sugarfrosted2005
    @sugarfrosted2005 5 років тому

    Is it bad that I'd rotate and rotate back?

    • @drpeyam
      @drpeyam  5 років тому

      Inefficient 😂

  • @MuPrimeMath
    @MuPrimeMath 5 років тому +2

    I derived the formula for reflection across y=mx using vector projections! ua-cam.com/video/JHQtA6R7fYc/v-deo.html
    Sadly I never learned the basis stuff that you use in this video, but I have my own methods!

  • @michaelz2270
    @michaelz2270 5 років тому

    This video reflects well on you.

    • @drpeyam
      @drpeyam  5 років тому

      Hahaha, pun intended? 😉

    • @michaelz2270
      @michaelz2270 5 років тому

      @@drpeyam yes :-)

  • @jamesbra4410
    @jamesbra4410 5 років тому

    It's special orthogonal group 2!

  • @husklyman
    @husklyman 5 років тому

    Reflection about y=mx+b ?

    • @drpeyam
      @drpeyam  5 років тому +1

      I mentioned that in the video, you do a translation first

    • @husklyman
      @husklyman 5 років тому +1

      am whoops my mistake, I ment reflection of a function.

  • @cicciobombo7496
    @cicciobombo7496 5 років тому

    imgur.com/a/QuopTEn
    To be fair it is easier with simple Cartesian geometry. Always love linear algebra tho

  • @alexhernandez1844
    @alexhernandez1844 5 років тому

    I hope and see it I'm your fan :'(💔

  • @OonHan
    @OonHan 5 років тому +1

    YAY | YAY

    • @drpeyam
      @drpeyam  5 років тому

      Oooooon!!!! 😄😄😄

    • @OonHan
      @OonHan 5 років тому

      @@drpeyam What's up???!!!