In the Cartesian x y -plane, you are given the following four points, A ( 5 , 0 ) , B ( 1 , − 1 ) , C ( − 3 , 5 ) , D ( 6 , 4 ) . You want to fit a parabola that will pass through the four points. As it turns out, there are two such parabolas shown in the figure below in blue and green colors. Each of them can be represented by the parametric equation:
r = r v + R ( θ ) r ′
where r = ( x ( t ) , y ( t ) ) , r v = ( r v x , r v y ) is the vertex of the parabola, r ′ = ( t , a t 2 ) , with a > 0 , and
R = [ cos θ sin θ − sin θ cos θ ]
where θ ∈ [ 0 , 2 π ) is in radians. Find the two fitting parabolas to the four given points, and find S where,
S = i = 1 ∑ 2 r v x i + r v y i + a i + θ i
where index i indicates the i -th parabola. Enter the value of ⌊ 1 0 4 S ⌋ as your answer. The figure is drawn to scale.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Problem Loading...
Note Loading...
Set Loading...
The unknowns are ( r v x , r v y , θ , a , t A , t B , t C , t D ) . We can solve the following eight non-linear equations for the eight unknowns:
A x = r v x + c o s θ t A − s i n θ a t A 2 A y = r v y + s i n θ t A + c o s θ a t A 2 B x = r v x + c o s θ t B − s i n θ a t B 2 B y = r v y + s i n θ t B + c o s θ a t B 2 C x = r v x + c o s θ t C − s i n θ a t C 2 C y = r v y + s i n θ t C + c o s θ a t C 2 D x = r v x + c o s θ t D − s i n θ a t D 2 D y = r v y + s i n θ t D + c o s θ a t D 2
Solving using multivariate Newton-Raphson yields the one parabola:
r v x = 3 . 2 1 6 8 4 0 r v y = − 1 . 9 9 4 0 9 2 θ = 0 . 1 9 2 8 1 1 a = 0 . 3 5 5 3 2 8
And the other:
r v x = 9 . 7 3 1 1 3 4 r v y = 2 . 4 1 2 8 4 9 θ = 1 . 6 3 3 8 7 7 a = 1 . 0 9 4 9 2 9