Minimising Without Calculus

Поділитися
Вставка
  • Опубліковано 12 чер 2024
  • We minimise 5x^2 + y^2 + 2z^2 - 2xy + 4xz + 6z without using calculus. Our approach relies on repeatedly completing the square.
    00:00 Intro
    00:50 Completing the square
    02:43 Terms with x
    04:11 Terms with z

КОМЕНТАРІ • 28

  • @txikitofandango
    @txikitofandango Місяць тому +11

    Once you said the magic words "complete the square" it was a big enough hint for me. Very cool! Will definitely remember this idea

  • @vladimir10
    @vladimir10 Місяць тому +12

    Simple, yet still possess the magic of math in all its glory!
    Thank you for the video!
    Waiting for them every Friday which makes weekend better!

    • @DrBarker
      @DrBarker  Місяць тому +3

      Thank you, glad you enjoyed it!

  • @robertsandy3794
    @robertsandy3794 Місяць тому +8

    Listening to the video, it finally struck me that you didn't say "zee" but zed! Thanks from Australia!

    • @Utesfan100
      @Utesfan100 Місяць тому

      I have become convinced it becomes a zed when you cross it.

    • @picrust314
      @picrust314 Місяць тому

      That is great, but I still wonder if he uses the long scale (milliard, not billion)

    • @kwiky5643
      @kwiky5643 Місяць тому

      Like in France

  • @user-wu8yq1rb9t
    @user-wu8yq1rb9t Місяць тому +3

    Hello dear Dr Barker (the beautiful mind)
    Just on time as always
    Thanks

    • @DrBarker
      @DrBarker  Місяць тому +2

      Thank you, good to see that you're still following the channel!

  • @Nibor999
    @Nibor999 Місяць тому +2

    Nice work!

  • @paradoxicallyexcellent5138
    @paradoxicallyexcellent5138 Місяць тому +1

    Is there any interesting insight to be gained from thinking in terms of the symmetric matrix of coefficients of the terms? This algorithm you presented certainly seems to work well enough.
    I am going to bet a beer the eigenvalues have something to do with whether the function has a min or max or saddle.

  • @louisrobitaille5810
    @louisrobitaille5810 4 дні тому

    1:06 I was so confused for a second because I thought "5x^2 + y ^2 + 2z^2" and "-2xy + 4xz + 6z" were two different expressions. Perhaps you could write such expressions in a single line in the future, or at least make it very clear that's a single expression? Thanks in advance 😅.

  • @ayushrudra8600
    @ayushrudra8600 Місяць тому +3

    How would you solve this with calculus ?

    • @DrBarker
      @DrBarker  Місяць тому +4

      The standard approach would be to take partial derivatives to look for maximum/minimum points. So differentiate everything with respect to x only, keeping y & z fixed, then set ∂f/∂x = 0. We would do the same to set ∂f/∂y = 0 and ∂f/∂z = 0, then solve these 3 simultaneous equations to find values of x, y, z which minimise the function.

  • @trumpgaming5998
    @trumpgaming5998 Місяць тому +1

    Does a similar approach work with lagrange multipliers

  • @KrishanKucheria-wl8ug
    @KrishanKucheria-wl8ug Місяць тому

    Innovative solution! How can we generalise this for any coefficients and if any yz, x, y, or constant terms are present?

  • @ParBas-in1op
    @ParBas-in1op Місяць тому +2

    Ok I'll minimize: You're a trivial problem. You're nothing.

  • @ultrio325
    @ultrio325 Місяць тому

    could this question be solved via the AM-GM inequality as well?

  • @user-wu8yq1rb9t
    @user-wu8yq1rb9t Місяць тому +1

  • @sr6424
    @sr6424 Місяць тому +2

    A question- this worked magically well with this set of values. Will it work as well with other sets of values?

    • @glebyakovlev1321
      @glebyakovlev1321 Місяць тому +3

      of course not in general, differentiate

    • @ConManAU
      @ConManAU Місяць тому +5

      If you just change the coefficients of the terms that appear in this expression, then the same kind of approach should still work. If you have extra terms, it takes a bit more work to figure out how to complete the squares. It can usually be done, though, if the whole thing is still quadratic.

    • @glebyakovlev1321
      @glebyakovlev1321 Місяць тому +2

      @@ConManAU зависит от реальной поверхности которая задаётся всякими членами второй степени и ниже с разными коэффициентами,
      ну может там гипербола на парабалу?

    • @glebyakovlev1321
      @glebyakovlev1321 Місяць тому +1

      @@ConManAU if the whole thing is still quadratic

    • @user-zy6gn8vz2x
      @user-zy6gn8vz2x Місяць тому

      it will, but it might have no minimal value depending on signs +- in front pf the coeficients

  • @brendanward2991
    @brendanward2991 Місяць тому

    I thought it was easier using calculus. Partially differentiate with respect to x, then y, then z, giving three equations in three unknowns. Took about five minutes.

  • @chimmychonga4795
    @chimmychonga4795 Місяць тому

    Linear algebra come save us 😭