How to rotate any graph by any angle

Поділитися
Вставка

КОМЕНТАРІ • 739

  • @uncleben7306
    @uncleben7306 Рік тому +1222

    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 Рік тому +13

      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 Рік тому +2843

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

    • @omargoodman2999
      @omargoodman2999 Рік тому +107

      Heisenberg Uncertainty Principle: Yeah, about that...

    • @someoneonyoutube8622
      @someoneonyoutube8622 Рік тому +92

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

    • @FireyDeath4
      @FireyDeath4 Рік тому +17

      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 Рік тому +10

      @@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 Рік тому +3996

    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 Рік тому +96

      Lol

    • @user-pr6ed3ri2k
      @user-pr6ed3ri2k Рік тому +97

      tan(a)x be like

    • @capsey_
      @capsey_ Рік тому +134

      @@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 Рік тому +38

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

    • @reeb3687
      @reeb3687 Рік тому +6

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

  • @stealthgamer4620
    @stealthgamer4620 Рік тому +111

    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 6 місяців тому +6

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

  • @IlTechnoDashlI
    @IlTechnoDashlI Рік тому +1297

    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 Рік тому +218

      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 Рік тому +5

      Thanks so much

    • @kelly4187
      @kelly4187 Рік тому +39

      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 Рік тому +20

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

    • @manioqqqq
      @manioqqqq Рік тому +1

      Add the parametrics

  • @jacobbaer785
    @jacobbaer785 Рік тому +469

    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 Рік тому +38

      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 Рік тому +11

      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

  • @justinelliott4127
    @justinelliott4127 Рік тому +108

    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 Рік тому +6

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

  • @withjoe1880
    @withjoe1880 Рік тому +223

    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 Рік тому +8

      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

    • @jwjustjw8946
      @jwjustjw8946 Рік тому +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

  • @WhyneedanAlias
    @WhyneedanAlias Рік тому +255

    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 Рік тому +176

    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

  • @RichConnerGMN
    @RichConnerGMN Рік тому +30

    cool video. why the pitch shift

  • @redbeaniemaths
    @redbeaniemaths  Рік тому +37

    Part 2: ua-cam.com/video/_DYYjci2Qpw/v-deo.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 6 місяців тому

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

  • @magnusalferes1143
    @magnusalferes1143 9 місяців тому +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!!!!

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

  • @igxniisan6996
    @igxniisan6996 Рік тому +20

    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.

  • @trippstreehouse
    @trippstreehouse Рік тому +36

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

  • @DoctressCalibrator
    @DoctressCalibrator Рік тому +8

    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!

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

  • @stinknamazing
    @stinknamazing Рік тому +7

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

  • @jaafars.mahdawi6911
    @jaafars.mahdawi6911 7 місяців тому +2

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

  • @BITniki
    @BITniki Рік тому

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

  • @sander_bouwhuis
    @sander_bouwhuis 3 місяці тому +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.

  • @mrmaaf1443
    @mrmaaf1443 Рік тому +34

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

  • @akhildivi243
    @akhildivi243 Рік тому

    Keep this amazing content up and you'll gain the subs you deserve

  • @guillermogil3391
    @guillermogil3391 Рік тому +4

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

  • @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!

  • @MrNess2911
    @MrNess2911 Рік тому +1

    Great job Dexter! You've a new subscriber!

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

  • @razschiffman5432
    @razschiffman5432 Рік тому

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

  • @eishwarpawar4171
    @eishwarpawar4171 Рік тому +6

    This is a nice intuiative demo, great work

  • @XXXT-RexXXX
    @XXXT-RexXXX Рік тому +2

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

  • @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!

  • @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!

  • @whisper3856
    @whisper3856 Рік тому

    it’s beautiful!

  • @ValkyRiver
    @ValkyRiver Рік тому +1

    You’re voice sounds so cool!

  • @chomikhunter
    @chomikhunter Рік тому

    You deserve so many more subscribers

  • @ibrahimElKhalil55
    @ibrahimElKhalil55 Рік тому +11

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

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

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

  • @gamespotlive3673
    @gamespotlive3673 Рік тому

    This is pretty cool and a great explanation

  • @SandeepYadav-sam
    @SandeepYadav-sam Рік тому

    It blew my mind. Totally amazing

  • @letronix6243
    @letronix6243 Рік тому +1

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

  • @allegrobas
    @allegrobas 11 місяців тому +1

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

  • @brendandelear1145
    @brendandelear1145 Рік тому

    STOP its too beautiful

  • @florianvanbondoc3539
    @florianvanbondoc3539 Рік тому

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

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

  • @d-_-b-Phil
    @d-_-b-Phil Рік тому

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

  • @scoutgaming737
    @scoutgaming737 Рік тому +1

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

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

  • @alobeat7665
    @alobeat7665 11 місяців тому

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

  • @eriklokensgard7487
    @eriklokensgard7487 7 місяців тому

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

  • @may21136
    @may21136 Рік тому +19

    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.

  • @yellowonpurple2081
    @yellowonpurple2081 Рік тому

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

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

  • @Aditya_196
    @Aditya_196 4 місяці тому +1

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

  • @sxmple8493
    @sxmple8493 Рік тому

    Wow thats really fun! Great video!

  • @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 6 місяців тому

      couldnt find anything about MOB

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

  • @simonvilsgaardsvenstrup2828

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

  • @rehandrone7146
    @rehandrone7146 Рік тому +1

    So cool
    Love the video

  • @mraoz8706
    @mraoz8706 Рік тому +2

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

  • @muffinconsumer4431
    @muffinconsumer4431 Рік тому +113

    No pitch shift = 7x better video

    • @sportsloverbaseball
      @sportsloverbaseball Рік тому +9

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

    • @muffinconsumer4431
      @muffinconsumer4431 Рік тому +21

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

    • @EHMM
      @EHMM Рік тому +1

      @@muffinconsumer4431 Literally only you.

    • @muffinconsumer4431
      @muffinconsumer4431 Рік тому +12

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

    • @EHMM
      @EHMM Рік тому

      @@muffinconsumer4431 Literally only abnormal people

  • @naeemhaq176
    @naeemhaq176 Рік тому

    Great video. Thank you for making it.

  • @reubenmanzo2054
    @reubenmanzo2054 10 місяців тому

    The rotating cubic looks hypnotic.

  • @omielgato
    @omielgato Рік тому

    Simply Beautiful!

  • @daverothery9713
    @daverothery9713 Рік тому

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

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

  • @tuxat_
    @tuxat_ Рік тому +1

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

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

  • @bavariandave5627
    @bavariandave5627 Рік тому

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

  • @Jacob-vl6ts
    @Jacob-vl6ts Рік тому

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

  • @fireflightphoenix8710
    @fireflightphoenix8710 Рік тому +3

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

  • @DarnokPL
    @DarnokPL Рік тому

    I would never expect me to be that excited to a spinning parabola. :D

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

  • @il_vero_saspacifico6141
    @il_vero_saspacifico6141 Рік тому

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

  • @feelingzhakkaas
    @feelingzhakkaas Рік тому

    Absolutely wonderful

  • @danstark462
    @danstark462 Рік тому

    Thanks for your insight.

  • @r2k314
    @r2k314 Рік тому

    all three videos are fantastic. thanks much

  • @725etw7w
    @725etw7w Рік тому

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

  • @tracyking4521
    @tracyking4521 Рік тому

    God I Wish I saw this vid when I tried to rotate points on a grid great video

  • @GuruCodeWriter
    @GuruCodeWriter Рік тому

    Funnily enough many precalculus courses teach this and will put this on a final. And if not teach the topic it may be somewhere in the back of a text on precalc or in the analytic section with conics. It can go even more in depth such that you need to find a graph that isn’t rotated FROM a rotated graph. The process involves not rotating the graph back but rather rotating axis. Same idea and everything but a more technical term. That’s actually how you derive the equations used in the video. There are even ways to do this without knowing the angle using a fancy equation involving the double angle of cot. An example question I had on mine a while back was something like giving you the equation x^2-y^2=1 and find the right graph rotated 45 deg. I remember that because the test makers didn’t have a right answer choice for it.

  • @lennystudios3.14
    @lennystudios3.14 Рік тому +1

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

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

  • @letter_o_hyphen_letter_o
    @letter_o_hyphen_letter_o 10 місяців тому +1

    instructions unclear: my parametric equation is now spinning on 3 axes like a 90's commercial logo

  • @mbmillermo
    @mbmillermo Рік тому

    What graphing software are you using?

  • @mcpecommander5327
    @mcpecommander5327 4 місяці тому

    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

  • @wilsonoliveira7447
    @wilsonoliveira7447 2 місяці тому

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

  • @apple_juice_person5595
    @apple_juice_person5595 Рік тому

    IT'S SO BEAUTIFUL

  • @Georgln
    @Georgln Рік тому +1

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

  • @tszhanglau5747
    @tszhanglau5747 Рік тому

    Finally i can have slanted functions
    I had the "you spin me round" playing in my brain while watching this

  • @Sebbethy
    @Sebbethy Рік тому +13

    I love this video, I really do! So it hurts me to say there's probably a mistake as from 8:50: In the lower left corner shouldn't it say "y ---> X sin(θ) + ycos(θ)"?

  • @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 😁

  • @danmuzzik
    @danmuzzik Рік тому +1

    hey can you explain a graph that’s distance is A from y=x^2?

  • @PunmasterSTP
    @PunmasterSTP Рік тому +1

    As @uncleben7306 noted, it was a bit confusing how the original derivation showed the original point being rotated counterclockwise while the subsequent graphs were rotated clockwise. But in any case, I think this was an outstanding video, and thank you so much for making and sharing it!

    • @whisperingocean.
      @whisperingocean. Рік тому +1

      Hello there. Would you mind to explain why that is the case? Why it rotates clockwise instead of anticlockwise? I have reread uncleben's comment 7 times, but I struggle understanding their last paragraph?
      Thanks

    • @PunmasterSTP
      @PunmasterSTP Рік тому

      @@whisperingocean. Yeah it's pretty confusing, and I'm not sure if I could explain it any more clearly. Though this might not be a perfect analogy, I'd think of someone parachuting while the wind is blowing to the west. In order to end up at their target location, they'd need to jump to the *east*, so that the wind would eventually take them to the right spot.
      I'm sure there's much better explanations than that, and perhaps it'd be worthwhile to google or search UA-cam. In any case, I hope what I said could help at least a little.

  • @Aerobrake
    @Aerobrake Рік тому

    AMAZING!

  • @yusiefoodo555
    @yusiefoodo555 Рік тому

    This has scratched an itch i have had for 8 years now. I wanted to learn how to find the area under a curve when rotated around some arbitrary line. Not just the x or y axis. This was back in my pre-calc class and i just couldn't figure it out.

  • @pauselab5569
    @pauselab5569 5 місяців тому

    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.

  • @afkaralp
    @afkaralp Рік тому

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