How to rotate any graph by any angle

Поделиться
HTML-код
  • Опубликовано: 23 фев 2023
  • Without matrices!
  • НаукаНаука

Комментарии • 790

  • @uncleben7306
    @uncleben7306 Год назад +1317

    This video is really cool, you have a super simple derivation for the transformation too. One thing I think you should have included was why using a rule to rotate the point counterclockwise ended up rotating the graph clockwise. It was because plugging the new expressions in for x and y was basically saying "the counterclockwise rotations of these points satisfy the equation." So the said points would be a rotation in the clockwise direction from the original equation (very similar to how replacing x with x+2 in a function actually moves the graph to left by 2, instead of the right). To go in the standard counterclockwise direction, you can plug in negative theta and simplify with sin and cos rules. Also, it explains why the parametric equations still rotated counterclockwise, because you replaced the functions with the expressions rather than x and y, so the values that were equal to the new x and y rotated counterclockwise, instead of the counterclockwise rotations of x and y satisfying an equation. Again, great video. You definitely deserve more subs for this quality of video and explanation.

    • @fahrenheit2101
      @fahrenheit2101 Год назад +14

      I knew some subtlety had to have been glossed over - thanks for this. Still a little weird to wrap my head around though.

    • @uchinanchuu58
      @uchinanchuu58 Год назад +16

      You answered the main question I had about this video. Thanks!

    • @may21136
      @may21136 Год назад +8

      Yep. Given that positive theta = anticlockwise, we should ideally start with the transformed coordinate point (x',y'), rotate the point (x',y') back to our original coordinate system (x,y) in a clockwise direction (wherein negative theta comes), and then use the equation y = f(x). The final equation should be consisting of x' and y' terms.
      What this guy did, is that, instead of finding the locus P' (x',y'), he ended up finding the locus of P' conjugate (x',-y'), entirely going against the initial purpose.

    • @zackattack9228
      @zackattack9228 Год назад +4

      Thanks uncle Ben🙏

    • @rolosilver3256
      @rolosilver3256 Год назад +3

      UNCLE BEN?!

  • @OrangeC7
    @OrangeC7 Год назад +3069

    "All I ask for is infinite precision, is that so much?"
    Every mathematician ever

    • @omargoodman2999
      @omargoodman2999 Год назад +112

      Heisenberg Uncertainty Principle: Yeah, about that...

    • @someoneonyoutube8622
      @someoneonyoutube8622 Год назад +97

      @@omargoodman2999 Gödel’s incompleteness theorems & Turing’s halting problem… we need to talk

    • @FireyDeath4
      @FireyDeath4 Год назад +18

      See if you can run Desmos on your personal hardware, get a chunkier graphics card and make the limiting parameters bigger

    • @NoerLuin
      @NoerLuin Год назад +28

      Fun Fact: in this case it is not about precision, the reason why it looks wrong is aliasing (the signal processing kind).
      The simple version is, that in each pixel on the screen there are multiple red lines, which cannot be shown correctly to you.

    • @someoneonyoutube8622
      @someoneonyoutube8622 Год назад +11

      @@NoerLuin what if someone invented a computer that could rotate pixels acording to the direction needed to display the best resolution for a given image

  • @pkmnhx43_27
    @pkmnhx43_27 Год назад +4132

    Finally, I can rotate the line y = x I've always wanted to model the values of y where it is twice and much as x, but never knew how to rotate it, I can finally live in peace

    • @incredulity
      @incredulity Год назад +99

      Lol

    • @user-pr6ed3ri2k
      @user-pr6ed3ri2k Год назад +102

      tan(a)x be like

    • @capsey_
      @capsey_ Год назад +137

      @@user-pr6ed3ri2k nah dude, i use noodle technique, it's taking a raw noodle on a paper, spinning it around and drawing what it looks like on canvas with oil paints

    • @dukeofhollow5541
      @dukeofhollow5541 Год назад +39

      Also y = 2x and y = 0.5x graphs be like

    • @reeb3687
      @reeb3687 Год назад +7

      @@incredulity is your username dakota? it uses letters ive seen in dakota

  • @IlTechnoDashlI
    @IlTechnoDashlI Год назад +1440

    For those people who don't want to watch the whole 16 minutes:
    1) Replace all the X's in your function with "x cos(Θ) - y sin(Θ)"
    2) Replace all the Y's in your function with "x sin(Θ) + y cos(Θ)"
    3) Set the "Θ" parameter to whatever angle you want your graph to be rotated by
    And that's it!

    • @cemmy410
      @cemmy410 Год назад +233

      Thank you! The video topic is very interesting and I would have watched the whole thing but I had to tap out about 4 minutes in because the pitched-up voice is a sensory nightmare 😩

    • @Dark-jn2pg
      @Dark-jn2pg Год назад +6

      Thanks so much

    • @kelly4187
      @kelly4187 Год назад +50

      And if anyone has ever encountered a rotation matrix... You already know how to do it lol.
      It seems a weird choice to go through this and not at least mention it at the end, instead choosing to go through a million examples when one or two would have sufficed.

    • @starfeast
      @starfeast Год назад +23

      That's literally a matrix. Thank you for saving me 14 minutes.

    • @manioqqqq
      @manioqqqq Год назад +2

      Add the parametrics

  • @stealthgamer4620
    @stealthgamer4620 Год назад +154

    I really like that he basically taught the polar coordinate plane and system without actually using or saying that it is. Props to this person.

    • @fuschia-draws
      @fuschia-draws 9 месяцев назад +7

      all while answering an age-old question math enthusiasts always ask!

  • @jacobbaer785
    @jacobbaer785 Год назад +498

    One thing to keep in mind is that whenever you rotate a graph, it likely is no longer a function (if it was one to begin with). Some exceptions I can think of are straight lines, and sin and cos (rotated no more than 45 degrees).
    Otherwise,the curve will "bend over itself" and the same 'x' value can result in 2 different 'y' values.
    In other words, functions when rotated will, with some exceptions, always become implicit equations.

    • @notamouse5630
      @notamouse5630 Год назад +41

      And the proper solution to that is no longer thinking of it as a function in the cartesian plane, but instead the polar one. y=f(x) -> r=f(theta) then rotate and it can be a function. Or a parametric equation.

    • @astralnekomimi
      @astralnekomimi Год назад +12

      This is one way to define that a function is one-to-one: a function is one-to-one if and only if it can never be rotated about the origin in such a way that it is no longer a function.

    • @AliAhmed-ez2zy
      @AliAhmed-ez2zy Год назад +6

      @@notamouse5630 Agreed, that's how I approached the original problem; parameterize your equation to make a vector in ℝ² as a function of t, and then apply the general rotation matrix in ℝ²:
      Rot_θ = {{cosθ, -sinθ}, {sinθ, cosθ}}
      So for a generic vector valued function v(t) in ℝ², the rotation would just be (Rot_θ) v(t). It's a generic linear algebra approach to the problem that yields the same results.

    • @kelly4187
      @kelly4187 Год назад

      @Astralnekomimi not quite. Y=X can be rotated up to 45 degrees and still be a bijection.

    • @rashid.harvey
      @rashid.harvey Год назад +1

      This was missing, you can't really rotate all functions like stated at the beginning of the video

  • @withjoe1880
    @withjoe1880 Год назад +234

    Desmos can use degrees if you open the menu (wrench in upper right corner) and change from radians to degrees. You can also changes axis limits, ticks, polar, and more.

    • @Sahl0
      @Sahl0 Год назад +8

      needs likes cos important

    • @AwesomeEv
      @AwesomeEv Год назад +9

      radians usually works better because you don't have to change the axis scale for a sin function specifically

    • @user-iz5pd7tj6q
      @user-iz5pd7tj6q Год назад +3

      ​@@Sahl0 I think its sin important

    • @Sahl0
      @Sahl0 Год назад

      @@user-iz5pd7tj6q inverse tan important

    • @jwjustjwgd
      @jwjustjwgd Год назад +1

      You can also just put a degree symbol after a number while in radian mode and it will calculate that number specifically as degrees

  • @justinelliott4127
    @justinelliott4127 Год назад +118

    If my math teacher had shown the movement and number changes like you did in the first 30 seconds here, I could have avoided so much pain. Why they expected everyone to be able to just look at the numbers and automatically understand I'll never know.

    • @no-bk4zx
      @no-bk4zx Год назад +15

      The best way I found to intuitively understand graphs is to just plot it on a graph paper. Sit down, draw the axes, start taking some easily calculatable values of x and just plot it. Don't use calculators for as many values as possible and when you run out of easy values, then use calculator.
      Usually just gives me a good enough understanding of exactly why the graph is what it is.

    • @justinelliott4127
      @justinelliott4127 Год назад +7

      @@no-bk4zx Makes sense. I just know that I understand so much better with a corresponding automatic changing visual. There used to be this sim called Orbiter. Space flight but with hard numbers. I was grasping complex orbital mechanics through mathematical inputs while seeing the spacecraft change and also orbital trajectories change in real time.

    • @AlanCanon2222
      @AlanCanon2222 Год назад +4

      I feel the same way. I was educated before apps like this were commonplace (though computer graphics certainly existed, and such a program would be easy to write). But it can be shown just with chalk and a blackboard, using a few examples, even without animation.

  • @trippstreehouse
    @trippstreehouse Год назад +55

    Thanks for the demonstration, wish you didn’t pitch shift vocals.

  • @WhyneedanAlias
    @WhyneedanAlias Год назад +261

    I actually found out how to do this quite recently. I was playing around and noticed if I change the x in y=x² to x+y and y to x-y I would get a rotated parabola. Then by changing the ratios to like 5x+3y I'd get different rotations but they'd also always get scaled by some factor. So I also added complicated scaling factors until I tried using trig functions to scale the axes and it became so much easier. And after having taken a linear algera class it also makes much more sense because it is basically just applying a rotation matrix to [x,y]

    • @kelly4187
      @kelly4187 Год назад +13

      Still, nice work! Maths is supposed to be something we play with, not simply memorise to pass tests. No matter how hard it gets, you're doing it right!

  • @int16_t
    @int16_t Год назад +180

    So, basically you apply a 2D rotation matrix on the curve of the function. I find it interesting the inverse of x^2 (which is an even function) is sqrt(x) which is rotated 90 degree clockwise, and the inverse of x^3 (which is an odd function) is cuberoot(x), which is rotated 90 degrees (either sides), and flipped horizontally. While the inverse of 1/x is 1/x itself. Cool!!

    • @judecarter6095
      @judecarter6095 Год назад +28

      In fact every inverse function is equivalent to a pi/2 rotation and a reflection in the x axis, because that's functionally the same as reflecting in y=x.

    • @angeldude101
      @angeldude101 Год назад +5

      Alternatively, you multiply by a complex number. Using a matrix let's you represent arbitrary linear transformations, but complex numbers restrict you to just rotations (and scaling if you let them be unnormalized) which is perfectly fine and more efficient if that's all you need.

    • @aliensoup2420
      @aliensoup2420 Год назад +9

      Yeah, he's kind of lying when he says he doesn't use matrices. He is writing out the matrix operations long-hand as a new function, but he is still applying the standard rotational matrix transformation. It seems that a sophisticated graphing application could perform the proper substitutions without the need to write it out yourself. In a sense, he is defeating the purpose of layered abstraction, which is the general basis of higher mathematics.

    • @jaythegreat9211
      @jaythegreat9211 Год назад +2

      @@aliensoup2420 You do have to remember the target audience of this video is people in lower levels of math

    • @kelly4187
      @kelly4187 Год назад

      Then perhaps he should have not said anything about matrices in the description, and actually mentioned them in the video at the end. Tease them with the method and examples in the video, but then say "you know how I said we rotate the x-y plane not the curve... Well there's a more general way to transform the x-y plane..." And at least simply name drop

  • @shmuelalexis9836
    @shmuelalexis9836 Год назад +43

    This questions, of rotating the graph, have been in my interest for long time. I always though a general procedure exist - glad I found your channel.
    Great work.

  • @redbeaniemaths
    @redbeaniemaths  Год назад +38

    Part 2: ruclips.net/video/_DYYjci2Qpw/видео.html&ab_channel=RedBeanieMaths

    • @Sirmrmeowmeow
      @Sirmrmeowmeow Год назад

      part 3 soon? D:

    • @Sahl0
      @Sahl0 Год назад

      thats a banger of a video, what

    • @idkyet9458
      @idkyet9458 Год назад

      how do i make the parametric draw itself?

    • @Thomfamily5
      @Thomfamily5 9 месяцев назад

      whats MOB? what does the function stand for? how does it work?

  • @DoctressCalibrator
    @DoctressCalibrator Год назад +10

    I couldn't help myself but laugh when you added this modified voice that said "Shut up and tell us already." You did a great job!

  • @magnusalferes1143
    @magnusalferes1143 Год назад +4

    I need to thank you so much for this, I've been working on a video game for a while now and decided that I would spawn things as I go rather than hand build in the editor. You have bestowed the power of rotating graphs upon me and now I can build using arrays and rotate after, simply amazing!!!!

  • @muffinconsumer4431
    @muffinconsumer4431 Год назад +145

    No pitch shift = 7x better video

    • @sportsloverbaseball
      @sportsloverbaseball Год назад +11

      What does it matter? Maybe they just don’t feel comfortable with their voice being heard

    • @muffinconsumer4431
      @muffinconsumer4431 Год назад +27

      @@sportsloverbaseball And I don’t feel comfortable not hearing it

    • @EHMM
      @EHMM Год назад +1

      @@muffinconsumer4431 Literally only you.

    • @muffinconsumer4431
      @muffinconsumer4431 Год назад +14

      @@EHMM despite tens of other comments to the contrary. Riiiiiiight.

    • @EHMM
      @EHMM Год назад

      @@muffinconsumer4431 Literally only abnormal people

  • @igxniisan6996
    @igxniisan6996 Год назад +21

    YOU DON'T KNOW HOW MUCH I WANTED THIS PARTICULAR VIDEO FOR DECADES BUT NO ONE MADE IT I WAS SO DISAPPOINTED... FINALLY I CAN NOW DIE IN PEACE ☮️❤️
    This is what we learnt in Electromagnetic Field Theory course in details, it's called "Tensor", Tensors let you do this! This guy just derived it in a simple way, if u add one more axis it will become the tensor rotation formula.

    • @kelly4187
      @kelly4187 Год назад +4

      ... This is also just a simple rotation matrix from pre-college linear algebra.

  • @sander_bouwhuis
    @sander_bouwhuis 6 месяцев назад +2

    You blew my mind with this video.
    The visual presentation makes it extremely clear that it indeed seems to work for all sorts of equations.

  • @pseudonym8762
    @pseudonym8762 Год назад +5

    never have i ever thought i would want to know how to rotate graphs like this. 10/10 gonna send it to my friends now

  • @RichConnerGMN
    @RichConnerGMN Год назад +40

    cool video. why the pitch shift

  • @stinknamazing
    @stinknamazing Год назад +7

    I really enjoyed this! Great job! Such fun to watch.

  • @jaafars.mahdawi6911
    @jaafars.mahdawi6911 10 месяцев назад +2

    Just how much energy can be felt in a simple, yet neat video like this one? Keep it up, man!

  • @ergenarkenk1458
    @ergenarkenk1458 22 дня назад

    I never realised this video was 16 minutes until the end! Fascinating presentation, really loved it!

  • @mrmaaf1443
    @mrmaaf1443 Год назад +42

    Really cool content but that voice changer is really annoying, like borderline unbearable

  • @BITniki
    @BITniki Год назад

    I love how well you explain how the rotation matrix works!

  • @spicca4601
    @spicca4601 Год назад

    20 years ago I was a high school student. And I ask exactly same question to my math teacher, but he even didn't understand the question. And after 20 years now finally I get an answer to this. Thanks a lot!

  • @guillermogil3391
    @guillermogil3391 Год назад +4

    This is amazing, beautiful and such a perfect explanation!!

  • @XXXT-RexXXX
    @XXXT-RexXXX Год назад +2

    I wrote this equation into a RUclips post ages ago! I was wondering when I would finally see a RUclips video for this... Thanks!

  • @autaj
    @autaj Год назад +1

    This is too good, your videos are not boring at all

  • @1234567zeek
    @1234567zeek Год назад +1

    I've been fighting with this for about 30 years ... thank you!

  • @eishwarpawar4171
    @eishwarpawar4171 Год назад +6

    This is a nice intuiative demo, great work

  • @jungtaemin1639
    @jungtaemin1639 Год назад +9

    You would have changed my life 10 years ago
    And you just made maths 10 times cooler for me, a mechanical engineering student

    • @kelly4187
      @kelly4187 Год назад

      Learn linear algebra and you can do all of this and more in a simple formulation.

    • @jungtaemin1639
      @jungtaemin1639 Год назад

      @@kelly4187 i already did, but this video tells me i could have figured it out during middle school using more basic maths. I really wanted an answer to this problem and never got to actually solve it nicely back then

  • @ibrahimElKhalil55
    @ibrahimElKhalil55 Год назад +11

    If we use a slide to move the "diagonal sine" diagonally, wouldn't that make it look like a moving escalator?

  • @jonas_the_lost
    @jonas_the_lost Год назад

    Thanks, I didn't know this was possible. I've tried before and failed miserably so thank you for giving me the answer that I thought did not exist.

  • @MrNess2911
    @MrNess2911 Год назад +1

    Great job Dexter! You've a new subscriber!

  • @Aditya_196
    @Aditya_196 7 месяцев назад +1

    🙌 you have my praise from all the math holic kids and myself for creating this video

  • @allegrobas
    @allegrobas Год назад +1

    Wow!! Thanks for a great video. Love your voice !!!

  • @ValkyRiver
    @ValkyRiver Год назад +1

    You’re voice sounds so cool!

  • @may21136
    @may21136 Год назад +20

    I know that derivation of sin theta cos theta for rotation is very confusing, and I avoid doing it that way because of this. I advocate for the usage of *complex numbers* for this purpose.
    Complex numbers make the concept of rotational transform much easier to grasp, but you need to learn complex numbers before doing a rotational transform with it.
    Math is fun. If you learn something as intricate as complex numbers, you will find other harder things getting easier for you (such as finding rotated coordinates in this case). Rotation is just a special case of complex number multiplication.

    • @Wishbone1977
      @Wishbone1977 Год назад +4

      Honestly, when he began the explanation of how to rotate a single point, I was expecting the explanation to wind up in complex number territory and was mildly surprised when it didn't.

    • @kelly4187
      @kelly4187 Год назад +3

      I think it's because of the level of the target audience.
      But to say "without using matrices!" In the description, and not at least even namedrop a rotation matrix, which is EXACTLY what he did here? Travesty.

  • @rusgon
    @rusgon Год назад +19

    What a profound and clear explanation! Thank you!

  • @supersaiyan2
    @supersaiyan2 Год назад

    I've always wondered how you could rotate a graph, this video answered that question!

  • @letronix6243
    @letronix6243 Год назад +1

    This video was what I was searching for weeks ago before I came up with my own way.

  • @shaunrichardson3333
    @shaunrichardson3333 Год назад +10

    Thank you! I have been asking myself how to do this since Year 8!! Thank you for a great explanation of it and with cool looking functions too (what is MOB??) Looking forward to amazing my students and your part 2 video! Looks very interesting and fun

    • @Thomfamily5
      @Thomfamily5 9 месяцев назад

      couldnt find anything about MOB

  • @hrishikeshaggrawal
    @hrishikeshaggrawal Год назад +2

    it's like i ask myself a question and somehow a couple weeks later someone delivers. this has happened four times in a row now

  • @florianvanbondoc3539
    @florianvanbondoc3539 Год назад

    Amazing video, i really wondered that but i abandoned the idea! Thanks man!

  • @trevorallen3212
    @trevorallen3212 Год назад +1

    Tip: If your using desmos if you wanted it based on degree angles set x degree = x*pi/180 when in radian mode on the trig functions.

  • @sxmple8493
    @sxmple8493 Год назад

    Wow thats really fun! Great video!

  • @razschiffman5432
    @razschiffman5432 Год назад

    This is definitely the best math video i have seen in a while

  • @tuxat_
    @tuxat_ Год назад +1

    this has the same vibe as being lost at walmart and not being able to find your parents.

  • @o.p-flyup2019
    @o.p-flyup2019 2 месяца назад

    This was freaking beautiful.

  • @jakubw.2779
    @jakubw.2779 Год назад +4

    Oh my god, this is amazing, i'm almost a decade after my education, but this made me want to study maths again and i'm not even joking.

    • @kelly4187
      @kelly4187 Год назад

      Did you not learn linear algebra? This is just a rotation matrix. I did that in high school.

  • @gamespotlive3673
    @gamespotlive3673 Год назад

    This is pretty cool and a great explanation

  • @eriklokensgard7487
    @eriklokensgard7487 10 месяцев назад

    Awesome! This helped me answer one of my student's questions. Thanks!

  • @whisper3856
    @whisper3856 Год назад

    it’s beautiful!

  • @momeet6965
    @momeet6965 Год назад

    I had this same thought experiment back in high school, I think I googled if it was possible or not and then forgot about it. Now I'm kicking myself for not trying to figure it out because it's so simple. Thank you for this video, my high school self is ecstatic right now (and current self too).

  • @SandeepYadav-san
    @SandeepYadav-san Год назад

    It blew my mind. Totally amazing

  • @rehandrone7146
    @rehandrone7146 Год назад +1

    So cool
    Love the video

  • @alobeat7665
    @alobeat7665 Год назад

    I recently learned stuff about rotation matrix in college, so really informative video for me ^^

  • @sincostan999
    @sincostan999 5 месяцев назад

    lol this reminds me of when i was in year 7 randomly asking my maths teacher if there was a formula for graphing an ellipse. i actually DID learn it a few years later which was pretty cool!

  • @d-_-b-Phil
    @d-_-b-Phil Год назад

    bruh.
    This is so cool, dude. Like, really freaking cool.

  • @simonvilsgaardsvenstrup2828
    @simonvilsgaardsvenstrup2828 Год назад

    I did not know I needed this. Thank u so much :D))))

  • @yellowonpurple2081
    @yellowonpurple2081 Год назад

    The little wrench in the top right is settings, you can swap between radians and degrees

  • @mcpecommander5327
    @mcpecommander5327 7 месяцев назад

    You can change desmos to use degrees btw
    Also, for graphs it’s much more efficient (and in my opinion simpler) to represent the graph as a parametric, not to mention it’s actually doable to graph it by hand

  • @omielgato
    @omielgato Год назад

    Simply Beautiful!

  • @feelingzhakkaas
    @feelingzhakkaas Год назад

    Absolutely wonderful

  • @scoutgaming737
    @scoutgaming737 Год назад +1

    It's beautiful
    I've looked at it for 5 hours now

  • @il_vero_saspacifico6141
    @il_vero_saspacifico6141 Год назад

    Thank you, I Always wondered about something like that, very intereseting yet simple

  • @ingiford175
    @ingiford175 Год назад

    Actually in my alg 2 in highschool, we rotated to remove the xy term in the ax^2 + bxy+cy^2+dx+ey+f=0 equation and showed all eq of that form was one of the conics. This was pre-trig. and of course this was 'fun' especially showing 1/xy=1 (written as 1=xy) is a hyperbola

  • @wilsonoliveira7447
    @wilsonoliveira7447 5 месяцев назад

    JC!! THAT'S VERY NICE!!. THANKS TO SHOW IT.

  • @r2k314
    @r2k314 Год назад

    all three videos are fantastic. thanks much

  • @Moogie237
    @Moogie237 Год назад

    Oh my god. Years ago I pondered with a classmate of mine in algebra 2 whether there was a way to rotate a graph like a parabola and they were like “probably not.” I finally have the method.

  • @danstark462
    @danstark462 Год назад

    Thanks for your insight.

  • @afkaralp
    @afkaralp Год назад

    remember it taking me like weeks to figure this out for some school work I had to do

  • @rhydderc127
    @rhydderc127 Год назад

    Melting your FPU for science 😂Thanks, that was cool stuff!

  • @Jacob-vl6ts
    @Jacob-vl6ts Год назад

    Yes! I finally have a vague concept for how this works

  • @725etw7w
    @725etw7w Год назад

    I was thinking about and in autumn I gave up, and finally... Thank you!!

  • @pauselab5569
    @pauselab5569 8 месяцев назад

    my calculus book gave a nice answer to this, you can write the function in polar coordinates which makes it easier to rotate then switch back.

  • @naeemhaq176
    @naeemhaq176 Год назад

    Great video. Thank you for making it.

  • @chomikhunter
    @chomikhunter Год назад

    You deserve so many more subscribers

  • @Twilight_Tasogare608
    @Twilight_Tasogare608 Год назад +2

    I’ve been doing a deseos project to draw a selfie for school and I’ve been wondering, why can’t you rotate the graph any number of degrees. My god, this is just beautiful

  • @lennystudios3.14
    @lennystudios3.14 Год назад +1

    I just realized I’ve always wanted to do this lmao

  • @CoacoBudder
    @CoacoBudder Год назад +25

    Loved the video, I went through the same process back in grade 9 when we were doing trigonometry.
    Here’s a calculus and trig question which I was asked in my last weeks (after the exam so we weren’t wholly wasting time) in Math C as a grade 12 student as a practical application of the calculus we’d been taught: ‘Given a continuous and differentiable function f(x), describe a general method to find all points whose distance to the nearest point(s) on f(x) is equal to a variable k’.
    I cant remember what the answer to this was but it was certainly a journey to get there, spent a week of my spare time on desmos :p

    • @phlaxyr
      @phlaxyr Год назад

      I was really interested by your question so I wanted to try it out. On desmos: calculator / bxxawx6ifg. If you take the max of the upper bound and the min of the lower bound, then it appears to be a solution. But the resulting function is not continually differentiable, and it looks like you need a lot of piecewise functions to describe it -- I can't imagine that there's an explicit formula. In addition, I used parameterizations - is there some way to write in terms of only x and y?

    • @kelly4187
      @kelly4187 Год назад

      That's an interesting problem. Now I'm going to lose hours of my life as well 😁

  • @PlayNowWorkLater
    @PlayNowWorkLater Год назад +8

    Interesting video. What I really liked was in the beginning, with then chalkboard background how you had the x and y coordinates in the lower part of then board changing as the parabolas etc on the actual graph changed. But when you moved on to the Trigonometric functions they just stayed the same on the bottom as the drawing rotated would be great if that could be made visual too

  • @polyhistorphilomath
    @polyhistorphilomath Год назад +1

    You can also just use some functional equations and inequalities.
    Suppose we want to define cosine in terms of sine, or vice versa. Set c^2 = 1-s^2
    Now if we have a good value of s, we don't need c to appear anywhere in our rotations.
    what are some valid values? well s should vary between -1 and 1.
    We can see that the coordinate transform is just giving us a linear combination of x and y. The scalar coefficients might as well be c and s.
    Let u = (1-s^2)x - (s^2)y . v= (s^2)x+(1-s^2)y.
    As it is, this will only cover one quadrant. But if you flip the sign of the first term in both u and v, you get the corresponding quadrant across the y-axis.
    Flipping the sign on the second term in each will put us below the x-axis. By the two combinations of two possible sign changes we get 4 possible quadrants. Great.
    Now just keep s between 1 and -1. Substitute u for x and v for y.
    if it's easier, just rewrite your original expression as a level curve.
    let y=f(x)=x^2.
    Now let g(x,y)=x^2-y.
    you can graph this by entering 0=g(x,y) in most software.
    If so then 0=g(u,v) will rotate the figure smoothly as s varies. again, just flip the signs to cover the other quadrants.
    [edit]
    I should add that the constraint on s isn't arbitrary.
    if |s| > 1 then the rotation is no longer rigid...that is, the shape is not preserved without deformation.
    As you can probably guess from the graph of y=sin(x), this is going to cover all possible rotations before you run out of s values.
    If you only let s vary from 0 to 1 then stitching together all the various sign permutations should cover the entire range of angles.
    [clarification]
    To get a mathematically positive rotation, let s vary from 1 to 0, 0 to 1, 1 to 0, then finally 0 to 1, bringing you back to y=f(x).
    Just switch to the next quadrant when s reaches either 0 or 1.

  • @KekusMagnus
    @KekusMagnus Год назад +4

    baby's first rotation matrix

  • @bavariandave5627
    @bavariandave5627 Год назад

    This channel must be Matt Parker doing forbidden maths stuff undercover.

  • @brendandelear1145
    @brendandelear1145 Год назад

    STOP its too beautiful

  • @hub3530
    @hub3530 2 месяца назад

    As an Algebra 2 student I am flabbergasted by the ludicrous graphs that were previewed.

  • @minercraftal
    @minercraftal Год назад

    I didn’t learn angles knowledge very well, got a bit confusing but felt it interesting at the same time 😂

  • @mraoz8706
    @mraoz8706 Год назад +2

    finally, I can spin x^2 + y^2 = 1 after I'm struggling for years

  • @Killerkraft975
    @Killerkraft975 2 месяца назад

    This reminded me, that in computer graphics, coordinates are represented using matrices and you can compute rotations very easily. If rotation is in angles however, this method is required.

  • @dschamp5
    @dschamp5 10 месяцев назад

    Crazy crazy crazy how I was JUST looking at my old writeup of this proof seconds before finding this video. Didn't say anything or look up anything even remotely related to this. Just looked at a physical paper in my notebook with this proof on it, then this video is reccomended to me. That's absolutely nuts.

  • @dewanthenmalai4232
    @dewanthenmalai4232 8 месяцев назад +2

    You can also derive the formula using the complex domain. Define a complex function of a Real variable as Z(x) = x + i*f(x), then since rotation in the complex plane is just multiplication you multiply Z(x) by e^(it), where t is your angle. When you do that, the Real and Imaginary parts of your new rotated function are identical to your transformation rules.

  • @Ilmari_Hirvonen
    @Ilmari_Hirvonen Год назад +2

    Based on the voice I thought that this video was from 12 years ago

    • @mxsteri0
      @mxsteri0 3 месяца назад

      you were 132 months off :]

  • @reubenmanzo2054
    @reubenmanzo2054 Год назад

    The rotating cubic looks hypnotic.

  • @atrus3823
    @atrus3823 9 дней назад

    Desmos has another feature which is very handy for working with parametric functions. You can define P(t) = (f(t), g(t)) and then do P(t) in another cell and Desmos will draw points meeting that definition over the supplied range of t.

  • @LheannMichelleFlorento-xc7ux
    @LheannMichelleFlorento-xc7ux 3 месяца назад

    The "ShuT uP AnD TeLl thE wOrD it IS" was funny 😂

  • @Catkid
    @Catkid Год назад +2

    What is the MOB function I googled it and didn't get anything

  • @fireflightphoenix8710
    @fireflightphoenix8710 Год назад +3

    What's the MOB that you mention near the start of the video? 2:37

  • @Georgln
    @Georgln Год назад +1

    I’ll try spinning, that’s a good trick