Serving the Quantitative Finance Community

 
User avatar
alexandreC
Topic Author
Posts: 0
Joined: June 9th, 2004, 11:35 pm

function puzzle

May 14th, 2007, 4:34 pm

I found this one fun.f(x): R->R is continuous and diferenciable in one point - and one point only.f(x) = ?Alex.
 
User avatar
wannabequantie
Posts: 0
Joined: October 30th, 2004, 12:13 pm

function puzzle

May 15th, 2007, 4:10 pm

If you think about this - you'll realise that theres no way that the function can be unique!
 
User avatar
bhutes
Posts: 4
Joined: May 26th, 2005, 12:08 pm

function puzzle

May 16th, 2007, 5:41 am

QuoteOriginally posted by: wannabequantieIf you think about this - you'll realise that theres no way that the function can be unique!Does there exist one? -- I don't know how to define a real-valued function that is continuous at a finite number of points. Nearly all I know of are either continuous at infinite number of points or continous at no point.
 
User avatar
alexandreC
Topic Author
Posts: 0
Joined: June 9th, 2004, 11:35 pm

function puzzle

May 16th, 2007, 6:56 am

bhutes,it does exist.wannabequantie,it is not unique.A
Last edited by alexandreC on May 15th, 2007, 10:00 pm, edited 1 time in total.
 
User avatar
SPMars
Posts: 0
Joined: April 19th, 2005, 9:51 am

function puzzle

May 16th, 2007, 7:02 am

Define f(x)=0 if x is rational and f(x)=x^2 if x is irrational.Then it is differentiable at x=0 only.
 
User avatar
INFIDEL
Posts: 0
Joined: November 29th, 2005, 4:17 pm

function puzzle

May 16th, 2007, 7:03 am

Right!
Last edited by INFIDEL on May 15th, 2007, 10:00 pm, edited 1 time in total.
 
User avatar
ZmeiGorynych
Posts: 6
Joined: July 10th, 2005, 11:46 am

function puzzle

May 16th, 2007, 10:11 am

Take any function that is nowhere continuous, and multiply it by x^2, or indeed by x^a with any a>1.
Last edited by ZmeiGorynych on May 15th, 2007, 10:00 pm, edited 1 time in total.
 
User avatar
vit2007
Posts: 0
Joined: February 3rd, 2007, 7:44 am

function puzzle

May 16th, 2007, 5:40 pm

QuoteOriginally posted by: alexandreCI found this one fun.f(x): R->R is continuous and diferenciable in one point - and one point only.f(x) = ?Alex.That one is easy (see many answers below). I actually misread at the beginning thatthe function is "continuos everywhere", but differentiable only in one point.That sounds a bit more difficult. Or may be not?
 
User avatar
SPMars
Posts: 0
Joined: April 19th, 2005, 9:51 am

function puzzle

May 16th, 2007, 6:42 pm

QuoteOriginally posted by: ZmeiGorynychTake any function that is nowhere continuous, and multiply it by x^2, or indeed by x^a with any a>1.That is not quite right. You need to bound it in some way. Consider, for instance:f(x) = exp(1/x) for x irrationalf(x) = 0 for x rational.Then both f(x) and x^2*f(x) are nowhere continuous, and hence nowhere differentiable.
 
User avatar
SPMars
Posts: 0
Joined: April 19th, 2005, 9:51 am

function puzzle

May 16th, 2007, 6:51 pm

QuoteOriginally posted by: vit2007QuoteOriginally posted by: alexandreCI found this one fun.f(x): R->R is continuous and diferenciable in one point - and one point only.f(x) = ?Alex.That one is easy (see many answers below). I actually misread at the beginning thatthe function is "continuos everywhere", but differentiable only in one point.That sounds a bit more difficult. Or may be not? For this can you take a function f which is bounded, continuous on R, yet differentiable nowhere, then multiply it by x^2 ?Certainly such functions f exist. (for f, take a brownian sample path B_x on the full real line and multiply it by 1/(1+x^2) for instance.)
Last edited by SPMars on May 15th, 2007, 10:00 pm, edited 1 time in total.
 
User avatar
alexandreC
Topic Author
Posts: 0
Joined: June 9th, 2004, 11:35 pm

function puzzle

May 17th, 2007, 1:44 pm

SPMars, correct.vit2007, f(x)= W(x) * x^2 does the trick. (W being a motion of Brown.)A
 
User avatar
LegoLasVegas
Posts: 0
Joined: October 1st, 2007, 12:46 pm

function puzzle

October 5th, 2007, 10:19 am

Don't forget that a Brownian path CAN be smooth (with p=0)! So you have to choose a "generic" path, not just an arbitrary one!
Last edited by LegoLasVegas on October 4th, 2007, 10:00 pm, edited 1 time in total.