All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math > Calculus
Super-smooth hump (Posted on 2006-10-24) Difficulty: 5 of 5

You want to modify the functions fn(x)=xn (n = 1, 2, 3, ...) in the following way: Outside the interval [-1,1] the functions should remain completely unchanged. At zero, the new functions should be 1 (instead of 0). And the most important requirement: The functions should remain continuously differentiable infinitely many times, everywhere.

You can achieve this by adding a "hump" function to fn. But not any function will do: For instance, you cannot add a Gaussian exp(-x2), because that would change fn outside the interval [-1,1]. You also cannot add a sine hump, (0.5 + 0.5*sin(π x)) for x in [-1,1] and 0 otherwise, because the second derivative would become discontinuous at -1 and 1. Find a hump function which will do the trick.

No Solution Yet Submitted by vswitchs    
Rating: 4.3333 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 1 of 9
Let h(x) equal the equation for this hump
Let f(x) = h(x) when -1 <= x <= 1

h(x) = { if x <= -1, 0
             if x >= 1, 0
             if -1 <= x <= 1, f(x) }

In order for h(x) to be infinitely differentiable, f(n)(-1) = f(n)(1) = 0 for all whole numbers n.

I think it will be useful to think of f(x) in terms of its taylor series.

f(n)(x) = Σ(i = 0 to ∞) ( f(i+n)(a)*(x-a)^i/i! )
where a is any constant (did I get this equation right?)

Let's set a to 1 and n to zero

f(x) = Σ(i = 0 to ∞) ( f(i)(1)*(x-1)^i/i! )
= Σ(i = 0 to ∞) (0*(x-1)^i/i! )
= 0

But this contradicts our assumption that f(0) = 1

Therefore, no such "hump" function exists.

Edited on October 24, 2006, 5:39 pm
  Posted by Tristan on 2006-10-24 17:38:50

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information