Post Reply 
Brain Teaser 2 - Unusual challenge
01-18-2016, 02:17 PM (This post was last modified: 01-19-2016 06:44 PM by Pekis.)
Post: #1
Brain Teaser 2 - Unusual challenge
Hello,

Thanks to CR Haeger for initial inspiration for this challenge:

What are the coordinates of the point (xp,yp) on the image, equidistant (shortest) from the 3 figures ? Which distance ?

How did you get this ? Please provide maximum precision. Good luck !

[Image: mini_236104fun.png]
Find all posts by this user
Quote this message in a reply
01-18-2016, 10:06 PM
Post: #2
RE: Brain Teaser 2 - Unusual challenge
Well, it might involve a modicum of unnatural affection for an inanimate object, but if necessary, osculari circulos .

BEST!
SlideRule
Find all posts by this user
Quote this message in a reply
01-19-2016, 10:41 AM
Post: #3
RE: Brain Teaser 2 - Unusual challenge
... Last call for this challenging challenge Smile ... very far from being a simple translation ... Anyone to answer ?
Find all posts by this user
Quote this message in a reply
01-19-2016, 02:58 PM
Post: #4
RE: Brain Teaser 2 - Unusual challenge
(01-18-2016 02:17 PM)Pekis Wrote:  Hello,

Thanks to CR Haeger for initial inspiration for this challenge:

What are the coordinates of the point (xp,yp) on the image, equidistant from the 3 figures ? Which distance ?

How did you get this ? Please provide maximum precision. Good luck !

[Image: mini_236104fun.png]

Good brain teaser!

Do you want a solution or say the minimum distances solution? In either case, I am sure some of us will plunge into this shortly...

Osculum anuli ?

Best, Carl
Find all posts by this user
Quote this message in a reply
01-19-2016, 03:26 PM (This post was last modified: 01-19-2016 06:08 PM by Pekis.)
Post: #5
RE: Brain Teaser 2 - Unusual challenge
Hello,

I just want the solution around x = 2 as in the picture (and not the solution around x=-12).

I don't think there are other solutions satisfying equidistance (shortest) from the 3 figures simultaneously.

Can you solve it, Carl ?

Thanks
Find all posts by this user
Quote this message in a reply
01-19-2016, 06:24 PM (This post was last modified: 01-19-2016 06:24 PM by CR Haeger.)
Post: #6
RE: Brain Teaser 2 - Unusual challenge
(01-19-2016 03:26 PM)Pekis Wrote:  Hello,

I just want the solution around x = 2 as in the picture (and not the solution around x=-12).

I don't think there are other solutions satisfying equidistance (shortest) from the 3 figures simultaneously.

Can you solve it, Carl ?

Thanks

Ill try but it will take (me) a while. Others will probably knock this out in no time.
Find all posts by this user
Quote this message in a reply
01-19-2016, 08:34 PM (This post was last modified: 01-19-2016 08:35 PM by fhub.)
Post: #7
RE: Brain Teaser 2 - Unusual challenge
(01-18-2016 02:17 PM)Pekis Wrote:  What are the coordinates of the point (xp,yp) on the image, equidistant (shortest) from the 3 figures ? Which distance ?

How did you get this ? Please provide maximum precision. Good luck !
Here are my results:
Code:

;distance to line:     dl=abs(x0-y0-2)/sqrt(2)
;distance to circle:   dc=sqrt(x0^2+y0^2)-sqrt(2)
;distance to parabola: dp=sqrt((x0-xs)^2+(y0-xs^2-1)^2)
;condition for xs (x-coord of intersection point with parabola):
;2*xs^3-(2*y0-3)*xs-x0=0

;equation system: dl=dc && dl=dp && equation for xs
abs(x0-y0-2)/sqrt(2)=sqrt(x0^2+y0^2)-sqrt(2)
abs(x0-y0-2)/sqrt(2)=sqrt((x0-xs)^2+(y0-xs^2-1)^2)
2*xs^3-(2*y0-3)*xs-x0=0
;distance
dl=abs(x0-y0-2)/sqrt(2)

Solution:
---------
Variables:
  x0       = +1.9852721593222333   
  y0       = +1.529294579719819   
  xs       = +1.007327946198892   
  dl       = +1.0917887237671993

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2016, 08:50 AM (This post was last modified: 01-21-2016 07:09 AM by Pekis.)
Post: #8
RE: Brain Teaser 2 - Unusual challenge
Hello Franz,

Well done !

Your solution is a fast & straight one ... and mine was rather unusual:

I used the graphic intersection of the so-called parallel curves.
Except in the case of a line or a circle, a parallel curve is a rather heavy polynomial => the parallel curve of a parabola is not a parabola !
But if the curves are expressed in parametric form, the world becomes simple:
For a curve defined as (f(t),g(t)), the parallel curve at a given distance d (-d for the other side) is (f(t)+d*g'(t)/sqrt(f'(t)^2+g'(t)^2),g(t)-d*f'(t)/sqrt(f'(t)^2+g'(t)^2))

I had then to find the parametric form of the parallel curves of y=x^2+1, y=x-2, x^2+y^2=2 and find the value of d (with same sign for all curves) which makes them intersect simultaneously.

y=x^2+1:
Original curve: (t/2,t^2/4+1)
Parallel curve: (t/2+d*t/sqrt(1+t^2),t^2/4+1-d/sqrt(1+t^2))
(d>0 towards the intersection)

y=x-2:
Original curve: (2*t,2*t-2)
Parallel curve: (2*t-d/sqrt(2),2*t-2+d/sqrt(2))
(d>0 towards the intersection, but had to change the sign of d)

x^2+y^2=2:
Original curve: (sqrt(2)*cos(t),sqrt(2)*sin(t))
Parallel curve: ((sqrt(2)+d)*cos(t),(sqrt(2)+d)*sin(t))
(d>0 towards the intersection)

And here is the result on the impressive free online grapher desmos, with my graph

I used the slider to change d and refined it with the appropriate zoom level, and voilà !

[Image: mini_782698fun2.png]

Still using the slider, one can easily find another solution around x=-12 (distance around 10.6). Franz, how would you transform your system to also find it ?

I had much fun on my way to the solution, like Steve McQueen on the way to San Mateo Smile . You too ?

Thanks to Carl & Franz
Find all posts by this user
Quote this message in a reply
01-20-2016, 11:59 AM (This post was last modified: 01-20-2016 12:00 PM by fhub.)
Post: #9
RE: Brain Teaser 2 - Unusual challenge
(01-20-2016 08:50 AM)Pekis Wrote:  Franz, how would you transform your system to also find it ?

Well, I just need to add the condition xs<0 to my equations, and the numeric solver that I use now gives the following solutions:
Code:

  x0       = -12.281421214881970   
  y0       = +1.16511414476357   
  xs       = -1.77028039267528   
  dl       = +10.922349898643146
BTW, I've used the ancient (more than 15 years old!) numeric solver 'Eureka 2.11', which is still a very good (DOS!) program for such tasks. Wink

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2016, 04:30 PM
Post: #10
RE: Brain Teaser 2 - Unusual challenge
(01-20-2016 11:59 AM)fhub Wrote:  BTW, I've used the ancient (more than 15 years old!) numeric solver 'Eureka 2.11', which is still a very good (DOS!) program for such tasks. Wink

Franz

I remember Eureka (and Mercury, too), from the 80's, very well.

Anyone interested in it can still get a free copy from here

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2016, 12:17 PM
Post: #11
RE: Brain Teaser 2 - Unusual challenge
Very interesting challenge. I only miss what it has to do with HP calculators.
Find all posts by this user
Quote this message in a reply
01-21-2016, 02:09 PM
Post: #12
RE: Brain Teaser 2 - Unusual challenge
My Cotidiana oscula circulorum approach doesn't seem to intersect the three functions with the solution coordinates (see attached Png fie). Has anyone calculated the three intersection points as well as the tri(tangents)-intersect point?

[attachment=3062]

ps: isn't the minimum intersect point inscribed in the circle equation?

BEST!
SlideRule
Find all posts by this user
Quote this message in a reply
01-21-2016, 02:43 PM
Post: #13
RE: Brain Teaser 2 - Unusual challenge
(01-21-2016 02:09 PM)SlideRule Wrote:  My Cotidiana oscula circulorum approach doesn't seem to intersect the three functions with the solution coordinates (see attached Png fie). Has anyone calculated the three intersection points as well as the tri(tangents)-intersect point?



ps: isn't the minimum intersect point inscribed in the circle equation?

BEST!
SlideRule

You forgot to square the radius ... Smile


BTW, inverting d sign in the parallel curve of the circle, it seems there is also another solution at
x0=0,168042723
y0=-0,168093174
d=1,17652959
Find all posts by this user
Quote this message in a reply
01-21-2016, 03:02 PM
Post: #14
RE: Brain Teaser 2 - Unusual challenge
Quote:You forgot to square the radius ... Smile

ARGGH!!!

thanks!

SlideRule
Find all posts by this user
Quote this message in a reply
01-21-2016, 04:15 PM (This post was last modified: 01-22-2016 07:08 AM by Pekis.)
Post: #15
RE: Brain Teaser 2 - Unusual challenge
OK, that was fun ...

I've found these solutions, alternating sign of d in the parallel curves:
approx.
1: (x0=-50.23 , y0=25.33) (d=54.84)
2: (-12.28 , 1.17) (10.92)
3: (1.69 , 4.54) (3.43)
4: (1.99 , 1.53) (1.09)
5: (0.17 , -0.17) (1.18)

[Image: mini_771748fun3.png]

I don't think there are more ... Thanks
Find all posts by this user
Quote this message in a reply
01-21-2016, 05:01 PM
Post: #16
RE: Brain Teaser 2 - Unusual challenge
Quote:BTW, inverting d sign in the parallel curve of the circle, it seems there is also another solution at
x0=0,168042723
y0=-0,168093174
d=1,17652959
[/size]

if interested see attached

SlideRule

[attachment=3063]
Find all posts by this user
Quote this message in a reply
01-21-2016, 10:26 PM
Post: #17
RE: Brain Teaser 2 - Unusual challenge
(01-21-2016 12:17 PM)RMollov Wrote:  Very interesting challenge. I only miss what it has to do with HP calculators.

It helps perhaps to read the description of the forum.

Quote:General Forum
Including all HP calculators except the HP Prime. Also HP news, general math and science etc. (Essentially this is the original HP forum.)

Günter
Find all posts by this user
Quote this message in a reply
01-25-2016, 09:28 AM
Post: #18
RE: Brain Teaser 2 - Unusual challenge
(01-21-2016 10:26 PM)Guenter Schink Wrote:  It helps perhaps to read the description of the forum.

Günter

Thanks for the enlightenment.
I was expecting solution involving HP calculator.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)