Gönderen Konu: Min distance $f(x) = x^2+1$ and $g(x) = -x^2+12x-35$  (Okunma sayısı 4380 defa)

Çevrimdışı stuart clark

  • G.O Bağımlı Üye
  • *****
  • İleti: 124
  • Karma: +4/-0
Min distance $f(x) = x^2+1$ and $g(x) = -x^2+12x-35$
« : Aralık 29, 2011, 10:13:45 öö »
find minimum distance between two parabolas f(x) = x2+1 and g(x) = -x2+12x-35
« Son Düzenleme: Mayıs 05, 2025, 03:30:38 ös Gönderen: alpercay »

Çevrimdışı senior

  • G.O Efsane Üye
  • *******
  • İleti: 372
  • Karma: +10/-0
Ynt: minimum distance between parabolas
« Yanıtla #1 : Şubat 05, 2012, 02:42:33 öö »
Consider a point on x-y plane. How to find the smallest distance to a parabola?(Just draw)
Answer: When you find the closest point, it's obvious that the tangent line is perpendicular to the distance line you drew.

Similarly, while finding the closest point between two non-intersecting parabolas, we consider points of equal slope, more formally derivative. Let these points be (x1,y1) and (x2,y2). Then, the derivatives
f'(x1) = g'(x2) results in x1 = 6 - x2
The distance square is D = (y2-y1)2 + (x2-x1)2. We need this minimum, so take derivative and equate it to zero. We can substituting x1 = 6-x2 and find an equation only in terms of x1 or x2. I chose x1. So, D' turns out to be
D' = 2x13 + x1 - 3 = 0, if you are careful enough you can see that x1 = 1 is a root of this equation.
So, x1 = 1, y1 = 2 and x2 = 5 and y2 = 0. The distance between these points is 2sqrt(5) (sqrt means square root)

Çevrimdışı stuart clark

  • G.O Bağımlı Üye
  • *****
  • İleti: 124
  • Karma: +4/-0
Ynt: minimum distance between parabolas
« Yanıtla #2 : Mart 04, 2012, 04:41:04 öö »
Thanks Senior

 


Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
SimplePortal 2.3.3 © 2008-2010, SimplePortal