A parabola is tangent to the line y = 3 x + 1 at ( 1 , 4 ) and to the line y = − x − 2 at ( 5 , − 7 ) .
Let A be the angle (in degrees) that the parabola's axis of symmetry makes with the positive x -axis.
Assuming that − 9 0 ∘ < A ∘ ≤ 9 0 ∘ , find A to three decimal places.
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.
You're absolutely right, this is the fastest way to calculate the angle. Thank you for posting this ingenious solution.
Nicely done!
We can get easily the parabola equation via the Bèzier curve equation
c ( t ) = k = 0 ∑ n ( k 2 ) t k ( 1 − t ) 2 − k p k , t ∈ R
where p 0 = ( 5 , − 7 ) , p 1 = ( − 4 3 , − 4 5 ) and p 2 = ( 1 , 4 ) and n = 2 . Point p 1 is the result of intersection between the two lines. By solving the equation we get c ( t )
c ( t ) = ( 2 1 5 t 2 − 2 2 3 t + 5 , − 2 1 t 2 + 2 2 3 t − 7 ) .
Now, c ( t ) can be written as
c ( t ) = [ 5 − 7 ] + [ − 2 2 3 2 2 3 2 1 5 − 2 1 ] [ t t 2 ]
namely as transformation of the ( t , t 2 ) parabola in the x y plane. Due to the fact that the axis of ( t , t 2 ) is ( 0 , t ) , the axis a ( t ) of c ( t ) is given by the application
a ( t ) = [ 5 − 7 ] + [ − 2 2 3 2 2 3 2 1 5 − 2 1 ] [ 0 t ] = ( 2 1 5 t + 5 , − 2 1 t − 7 )
or, explicitly
y = − 1 5 x − 1 5 1 0 0
Eventually
∣ ∣ ∣ ∣ arctan ( − 1 5 1 ) ∣ ∣ ∣ ∣ = 3 . 8 1 4 °
A conic has a general equation of A x 2 + B x y + C y 2 + D x + E y + F = 0 , and a parabola has the property B 2 − 4 A C = 0 . Since ( 1 , 4 ) and ( 5 , − 7 ) are solutions to the conic, we have A + 4 B + 1 6 C + D + 4 E + F = 0 and 2 5 A − 3 5 B + 4 9 C + 5 D − 7 E + F = 0 .
The derivative of the conic is 2 A x + B ( x d x d y + y ) + 2 C y d x d y + D + E d x d y = 0 , and since d x d y = 3 at ( 1 , 4 ) and since d x d y = − 1 at ( 5 , − 7 ) we have 2 A + 7 B + 2 4 C + D + 3 E = 0 and 1 0 A − 1 2 B + 1 4 C + D − E = 0 .
Solving these 5 equations gives ( A , B , C , D , E , F ) = ( A , 1 1 8 A , 1 2 1 1 6 A , − 1 1 5 4 A , − 1 2 1 2 1 6 A , 1 2 1 7 2 9 A ) and ( A , B , C , D , E , F ) = ( A , 3 0 A , 2 2 5 A , − 3 5 0 3 A , − 7 0 3 A , 2 5 9 4 A ) .
The first solution degenerates to a line in the form of y = − 4 1 1 x + 4 2 7 , but the second solution gives us a parabola in the form of x 2 + 3 0 x y + 2 2 5 y 2 − 3 5 0 3 x − 7 0 3 y + 2 5 9 4 = 0 , and its angle of rotation is θ = 2 1 arctan ( A − C B ) = 2 1 arctan ( 1 − 2 2 5 3 0 ) ≈ − 3 . 8 1 4 .
Great effort. This is how I've done it too. Thanks for posting it.
Parabola parametrization:
P = P 0 + α v 1 + β α 2 v 2 x = x 0 + α v 1 x + β α 2 v 2 x y = y 0 + α v 1 y + β α 2 v 2 y
In the above equation, P 0 is the vertex, α is a variable spatial parameter, β is a scaling parameter, and vectors v 1 and v 2 are orthogonal unit vectors.
v 1 = ( c o s θ , s i n θ ) v 2 = ( − s i n θ , c o s θ )
There are two points, and thus two α values to find. The six unknowns are thus:
x 0 y 0 θ β α 1 α 2
There are six equations (four for position and two for slope). First, some definitions:
( x 1 , y 1 ) = ( 1 , 4 ) ( x 2 , y 2 ) = ( 5 , − 7 ) s 1 = 3 s 2 = − 1
Some elaboration on the slope equation derivations:
d x d y = d x / d α d y / d α = v 1 x + 2 β α v 2 x v 1 y + 2 β α v 2 y
Form a system of six non-linear equations to solve for the six unknowns:
x 0 + α 1 c o s θ − β α 1 2 s i n θ − x 1 = 0 y 0 + α 1 s i n θ + β α 1 2 c o s θ − y 1 = 0 x 0 + α 2 c o s θ − β α 2 2 s i n θ − x 2 = 0 y 0 + α 2 s i n θ + β α 2 2 c o s θ − y 2 = 0 s 1 ( c o s θ − 2 β α 1 s i n θ ) − ( s i n θ + 2 β α 1 c o s θ ) = 0 s 2 ( c o s θ − 2 β α 2 s i n θ ) − ( s i n θ + 2 β α 2 c o s θ ) = 0
Solving with multivariate Newton Raphson yields (note that the axis angle leads θ by 90 degrees):
x0
0.60858328765
y0
2.031404182
theta (degrees)
-93.8140748343
beta
0.0655361479401
alpha1
-1.99027234142
alpha2
8.7192883529
Axis angle (degrees)
-3.81407483429
Thanks for an elegant solution.
Problem Loading...
Note Loading...
Set Loading...
A line connecting midpoint of tangency points M ( 3 , − 1 . 5 ) and the intersection point of tangency lines I ( − 0 . 7 5 , − 1 . 2 5 ) is parallel to the axis of symmetry. The slope of this line is 1 5 − 1 . The angle A = a r c t a n ( − 1 / 1 5 ) ≈ − 3 . 8 1 4 .