A parabola puzzle

Other scientific, philosophical, mathematical etc. topics go here.

A parabola puzzle

Postby Keiji » Sat Jan 16, 2016 12:17 pm

This problem came up during some game development, surprisingly enough.

FreshPaint-7-2016.01.16-11.39.02.png
(182.09 KiB) Not downloaded yet

Image

Let there be some parabola, where (0,0), (p,r) and (q,s) are on the curve. (In the image, p=xO, q=xB, r=yO and s=yB, but it was simpler to use single letters.)

That parabola, like any parabola, is described as y = ax2 + bx + c, so we can derive

0 = c
r = ap2 + bp + c
s = aq2 + bq + c

We know q, r and s, and we want to find p.

Putting this into Wolfram Alpha gives us six answers: http://bit.ly/1STUAmi

We can eliminate three of them by stating that q ≠ 0 (because q = 0 means that the "parabola" is actually a vertical line) and another one by stating that a ≠ 0 (because a = 0 means that the "parabola" is actually a straight line).

This leaves us with these two answers:
answers.png
answers.png (10.03 KiB) Viewed 1690 times


However, we do not know what b is.

Intuitively, by looking at the image above, I cannot see how there can be more than one solution if p, q, r, s are all real numbers. I can only imagine Wolfram Alpha is (quite correctly) not making the assumption of them being real but I can't find a way of telling it they are real. So I'm a bit stuck - can anyone find b for me, and thus also p?
User avatar
Keiji
Administrator
 
Posts: 1985
Joined: Mon Nov 10, 2003 6:33 pm
Location: Torquay, England

Re: A parabola puzzle

Postby Keiji » Sat Jan 16, 2016 12:48 pm

I just realised my mistake - (p,r) is at the top of the curve, but I never wrote that down formally. Whoops :oops: :D
User avatar
Keiji
Administrator
 
Posts: 1985
Joined: Mon Nov 10, 2003 6:33 pm
Location: Torquay, England


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron