Question) find the minimum distance between g(x)=Ax^2+BX+C and f(x)= ax^2+bx+c (the 2 parabolas are not intersecting)
This is as far as i got ........
d= sqrt (x_1 - x_2)^2 + [(Ax^2 + Bx + C) - ( ax^2 + bx + c)]
d^2 = h(x) = (x_1 - x_2)^2 + x^2(A-a) + x(B-b) + (C-c)
h'(x) = 2x(A-a) + (B-b) = 0
x= (B-b)/2(A-a)
(x,g(x)) and (x,f(x)) are the 2 closest points on the 2 parabolas.
I showed this to my teacher and he told me it was wrong but im not sure where..
This is as far as i got ........
d= sqrt (x_1 - x_2)^2 + [(Ax^2 + Bx + C) - ( ax^2 + bx + c)]
d^2 = h(x) = (x_1 - x_2)^2 + x^2(A-a) + x(B-b) + (C-c)
h'(x) = 2x(A-a) + (B-b) = 0
x= (B-b)/2(A-a)
(x,g(x)) and (x,f(x)) are the 2 closest points on the 2 parabolas.
I showed this to my teacher and he told me it was wrong but im not sure where..