Bridge Optimization Question

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 98

  • @Enesprays
    @Enesprays 8 місяців тому +51

    Such a gem of a channel, fr fr

  • @andrewhughes8687
    @andrewhughes8687 8 місяців тому +57

    Another great Andy Math video.
    In the real world, one would also like to know whether it is more cost efficient over time to build the "cheapest" route, or to build the shortest route, based on how many trucks per day run between the buildings and how many days it takes to recoup the ~33K by building the shortest route. That might make for an even more exciting result.

    • @vadman84
      @vadman84 8 місяців тому +13

      Another factor would be the maintenance cost of a mile of the bridge vs. a mile of the highway over the years.

    • @NowImUnderControl
      @NowImUnderControl 8 місяців тому +4

      I think in real life it's quite a bit more than double for the same length of bridge vs road Is assume so that another reason why they usually take the shortest way

    • @nompaa3471
      @nompaa3471 7 місяців тому +1

      This is a math question, so we don't think every possible variable

  • @user_08410
    @user_08410 8 місяців тому +192

    HOW EXCITING!!!

    • @HandyMan125
      @HandyMan125 8 місяців тому +4

      Indeed, HOW EXCITING!

    • @the1anomoly
      @the1anomoly 8 місяців тому +1

      Quite exciting!

    • @mzoxololinda8408
      @mzoxololinda8408 8 місяців тому

      I love it when he says that 😊

    • @notbotatall3032
      @notbotatall3032 7 місяців тому +1

      In every one of his videos atleast one guy just comments: How Exciting

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

      Your comment are important so put a box on it.

  • @Reylan75
    @Reylan75 8 місяців тому +30

    The Engineering application is awesome! Love this one

  • @kuboskube
    @kuboskube 7 місяців тому +3

    I saw this before! More or less...
    Speedrunners wanted to find out what the optimal angle was to hit a wall at in Paper Mario TTYD, because certain vectors of movement caused Mario to move faster if pressed against a wall. So substituting time for cost, they used calculus to find more or less what you came up with here.
    It was very cool.

  • @GiannisKypriotakis
    @GiannisKypriotakis 8 місяців тому +7

    The amazing part is that this is essentially a physics problem. It’s the equivalent of the critical angle in total internal reflection. You just correspond the cost to indices of refraction (or light speed) and you apply Fermat‘s principle for the brachistochrone. (Not even kidding, look it up).

  • @johnbrewer7299
    @johnbrewer7299 8 місяців тому +45

    I love your videos but I do wish you had gone over the calculus version instead of using the tool to tell you where the minimum was. I clicked on the video hoping to be reminded of how to do optimization problems but alas. Regardless I watched the whole thing and gave a like because I still love the channel!

    • @polysillycon
      @polysillycon 8 місяців тому +5

      Solve for x where the first derivative of the cost function equals zero to find a min/max. If the value of 2nd derivative at x is greater than zero, that tells you it is a local min. Solving cost values for all x at mins tells you the global minimum.

    • @Abion47
      @Abion47 8 місяців тому +4

      Once you have the function F(x), find the derivative F'(x), set F'(x) = 0, then solve for x.

    • @simonharris4873
      @simonharris4873 8 місяців тому +4

      @@Abion47 Yes, but finding the derivative F'(x) is the only bit I didn't fully understand. I can't see where the 2x came from.

    • @Umbra451
      @Umbra451 7 місяців тому +2

      @@simonharris4873that’s the derivative of the inner function, x^2 + 36. We multiply by it according to the chain rule.

  • @liolio1230
    @liolio1230 8 місяців тому +15

    First time I've seen a practical use for a function of x. How exciting

    • @Cherrishish
      @Cherrishish 8 місяців тому +2

      Economics are littered with practical uses like this for production, cost minimalisation, profit maximalisation etc.

  • @DandoPorsaco-ho1zs
    @DandoPorsaco-ho1zs 8 місяців тому +9

    I did it differentiate with angles,and it was fairly easy: the angle the bridge makes to the vertical is exactly 30º.

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

    Loved this one! I solved it using derivation and imposing the result equal to 0 to find a local minimum.
    This kind of things have real application in design, which make them even more exciting.

  • @davidglanfield7985
    @davidglanfield7985 8 місяців тому +7

    Very appealing calculation😊

  • @gerardacronin334
    @gerardacronin334 5 місяців тому +2

    That’s a long bridge. If it’s not a cable-stay bridge, there will be piers. If the piers are not properly protected, ships may collide with them and the bridge may collapse, as recently happened in Baltimore. Cost = giant mess. Therefore I vote for the shortest possible bridge. You have to plan for the life cycle of the project.

  • @JMcMillen
    @JMcMillen 8 місяців тому +6

    That's great for right now, but maintanence costs for the bridge (per mile) are certainly going to be higher than for the road. So over time, spending a bit more up front for the shortest bridge would eventually be cheaper in the long run.

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

      True, but it doesn't always go like that. Sometimes to get the project funded you need to have a lowest capital cost and eat the higher operating cost against your profits.

    • @theelk801
      @theelk801 6 місяців тому +2

      maintenance costs may change the final answer but the method of solution is still the same, you’re just working with different values for the costs

  • @larrychatfield
    @larrychatfield 8 місяців тому +2

    would have preferred the derivative function being showcased more than the graphical for this channel but i do appreciate that nod to "other solutions". just can't really graph stuff in our head but we can do derivatives w pen/paper

  • @OK-69420
    @OK-69420 8 місяців тому +10

    Lets say I'm in a hurry, will it always be somewhat effective to just cut the base length in half and then proceed with pythagoras theorem?

    • @azrafrahman5986
      @azrafrahman5986 8 місяців тому +4

      Not always, depends on the costs of both variables. This is called linear programming and taking both extremes (all bridge or most possible road) as well as somewhere in between to make an accurate guess. Summary, it's not always best to cut the base, you have to try everything

    • @omargoodman2999
      @omargoodman2999 8 місяців тому +2

      If you're in a hurry, have the formula prepared ahead of time in such a way that all you have to do is plug in the width of the river and distance downriver from one factory to the other, and it automatically spits out an optimized value generalized to *any* situation.
      Don't wait until your computer is on fire to look up the "fastest method to back up your hard drive."

  • @Reevin
    @Reevin 8 місяців тому +1

    So, how much would two docks cost? Only diff then would be boats instead of trucks.

  • @mikefochtman7164
    @mikefochtman7164 8 місяців тому

    A similar problem is the lifeguard with the drowning swimmer. He can run fast along the shore but is slower once swimming in the water. How far along the shore should they run before diving into the water to reach the swimmer in the shortest time.
    Surprising, these problems can also be studied with Snell's Law regarding refraction of light passing through different media.

  • @nabil4389
    @nabil4389 8 місяців тому +18

    Re-upload?

  • @bradl7439
    @bradl7439 8 місяців тому +3

    The title says "Find Least Expensive BRIDGE". The least expensive bridge is the shortest which would be 6 miles @ $240,000.

    • @rbbl_
      @rbbl_ 8 місяців тому

      No it doesn’t.

    • @bradl7439
      @bradl7439 8 місяців тому

      @@rbbl_ Does on my PC. The thumb nail clearly says "Find least expensive Bridge". Click on 'Andy Math", then 'Videos' and scroll down to it. So 😛.

    • @rbbl_
      @rbbl_ 8 місяців тому

      @@bradl7439 no 😜

    • @neurathal0n534
      @neurathal0n534 5 місяців тому +1

      He's talking about the thumbnail, not the title. The thumbnail says find the least expensive bridge, which ignoring the road, and going straight across the river, would be $240,000

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

      @@neurathal0n534 thumbnail isn't a title 🤦‍♂

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

    You could also derive the trigonometric expression, finding out that the angle of the bridge with the edge of the river is exactly 60°! Brilliantly

  • @larrychatfield
    @larrychatfield 8 місяців тому +6

    Basically, it's just a couple tens of thousands $ cheaper for a bridge + road so practical answer is just build the bridge for shortest distance since: time = $ and making shorter trips will help society more

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

      Same thing I was thinking! Who needs a diagonal bridge LOL

  • @RosidinAli
    @RosidinAli 8 місяців тому +5

    Honestly, unlike other youtube matematician, you really make math simpler and more understandable. Thank you for your videos!

  • @Mrskateboardboy
    @Mrskateboardboy 8 місяців тому +3

    Cost Engineering at its finest.

  • @TJonLongIsland
    @TJonLongIsland 8 місяців тому +2

    It's actually cheapest to move one of the factories to right next to the other.

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

    Would you mind making a video on the calculus version?

  • @nikshaygalange3173
    @nikshaygalange3173 8 місяців тому +2

    This question is a fun one

  • @juaneldesconocido2186
    @juaneldesconocido2186 8 місяців тому +2

    How did you made the derivation? I got lost there?

    • @king_halcyon
      @king_halcyon 8 місяців тому +1

      Stationary points? He made the derivative = 0 and then found the point

  • @danpliska924
    @danpliska924 8 місяців тому

    what would cost be if only built a road around with no bridge?

  • @ahmed.bhewary775
    @ahmed.bhewary775 8 місяців тому

    Could you make videos about applied calculus and differential equations

  • @vaibhawc
    @vaibhawc 8 місяців тому

    Can you do it in :
    Mojolang
    Julia
    Clojure
    ?
    I intend to try

  • @ShotgunRocket
    @ShotgunRocket 8 місяців тому +1

    Would have liked to see the calculus worked out

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

    Exiting !

  • @aaryasuparey03
    @aaryasuparey03 8 місяців тому

    can we use snell's law here??

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

    Snell's law!

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

    this is SO cool

  • @pedroamaral7407
    @pedroamaral7407 8 місяців тому

    Why not say that is 2*sqrt(3)? instead 3.464?

  • @xislomega242
    @xislomega242 8 місяців тому +3

    I feel motivated to go build a bridge for $367 k

    • @simonharris4873
      @simonharris4873 8 місяців тому

      Would you like a road with that bridge?

  • @meks039
    @meks039 8 місяців тому

    video on the tech free method?

  • @godowskygodowsky1155
    @godowskygodowsky1155 8 місяців тому

    Snell's law?

  • @mattiasvonharten1314
    @mattiasvonharten1314 8 місяців тому +10

    "find least expensive bridge" on thumbnail is misleading, as the least expensive bridge will always be the route straight across the body of water @ 6 mi x 40 k$/mi = 240 k$

    • @martinxvidxb
      @martinxvidxb 8 місяців тому +2

      Or a route around the water. No bridge is the cheapest bridge.

  • @Sadc-gb3cy
    @Sadc-gb3cy 8 місяців тому

    Could you use snell's law to solve it?

  • @Krishna.G123
    @Krishna.G123 8 місяців тому

    Solve this question
    Square ABCD has area 100
    E is mid point of AB and F is midpoint of BC. AF and DE meet at G . Find the area of triangle DFG .

  • @Djegur
    @Djegur 8 місяців тому

    Как называется программа где ты строишь графики?

  • @toxictnt2558
    @toxictnt2558 8 місяців тому +1

    Thats insane

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

    This is why I went tech school.

  • @RainMoneyProductions
    @RainMoneyProductions 8 місяців тому

    How exciting

  • @reidflemingworldstoughestm1394
    @reidflemingworldstoughestm1394 8 місяців тому

    !! A 3-4-5 triangle. Did you see it?

  • @RasamRohit
    @RasamRohit 8 місяців тому

    maxima minima!!

  • @artiadil3572
    @artiadil3572 8 місяців тому

    Man plz solve any one JEE Advance Question

  • @FlyGuy2000
    @FlyGuy2000 8 місяців тому

    The lesson here is that if you are good at math you can afford to own two factories!

  • @picknikbasket
    @picknikbasket 8 місяців тому

    How rigorous!

  • @Dexaan
    @Dexaan 8 місяців тому

    It costs $400 000 to build this bridge for twelve seconds

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

    C=10 (Pythagoras!)

  • @RubyPiec
    @RubyPiec 8 місяців тому

    i thought graphing was cheating an used this opportunity to lear more about calculus :D i had to google a lot but i got there in the end

  • @ZS-bg7jo
    @ZS-bg7jo 7 місяців тому

    Have a golden retriever swim across to get a ball while recording. Then build to that path.
    Pst... this is real btw

  • @konradyearwood5845
    @konradyearwood5845 8 місяців тому

    and that, my friends, is applied mathematics.

  • @Sg190th
    @Sg190th 8 місяців тому

    Basically, it's just a couple tens of thousands cheaper...

  • @dumpsterDeity
    @dumpsterDeity 8 місяців тому

    I love how you look like a jock

  • @galtogalaxy
    @galtogalaxy 8 місяців тому

    Cost of doing this much Maths will be 50000$

  • @jawadmacarandas8887
    @jawadmacarandas8887 8 місяців тому

    😮😮😮😮😮😮

  • @wallaceywill
    @wallaceywill 8 місяців тому

    Show the calculation next time! Ty!

  • @rbbl_
    @rbbl_ 8 місяців тому

    That’s a cuberatic or whatever that shi called. We still at quadratics they easy asl when the hard stuff coming 😂

  • @vexd8929
    @vexd8929 8 місяців тому

    anyone else think of the brachistochrone curve

  • @Rei.sama-
    @Rei.sama- 8 місяців тому +2

    How confusing

  • @BigG-jk3sl
    @BigG-jk3sl 8 місяців тому +1

    Where is he 💀💀💀

  • @yusufateeb
    @yusufateeb 8 місяців тому +1

    didn't see the vid yet but its gonna b the same if u take the hypotenuse or if u use the sides

  • @lucass925
    @lucass925 8 місяців тому

    im the 1000th like

  • @JohnDoe-pq7oc
    @JohnDoe-pq7oc 8 місяців тому

    Why not take the derivative?

  • @WhiteWolfsp93
    @WhiteWolfsp93 8 місяців тому

    just use logistics bots duh

  • @sebastianm6600
    @sebastianm6600 8 місяців тому +1

    You're so cute

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

    You have 2 factories
    You have a lot of money
    Pay 32153.90 more and make it straight
    lol

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

    "Find least expensive bridge"? (as per your video tile) Zero calculations needed. It is a bridge built across the river in any spot as long as it is perpendicular to the banks. No matter where you build it. That will be your "least expensive bridge".
    Sometimes people overanalyze a question and get into unnecessarily complicated solutions.