## Bump Function

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

measure
Posts: 125
Joined: Sat Apr 04, 2015 4:31 pm UTC
Location: Time-traveling kayak

### Bump Function

Consider the function from R to R defined piecewise as follows:

Code: Select all

`a = x/(1-x)b = 1/af(x) = 0         | x ≤ 0f(x) = a^b * b^a | 0 < x < 1f(x) = 0         | x ≥ 1`

I believe that this function is infinitely differentiable at x=0 and x=1. How would I go about proving this?
Last edited by measure on Thu Dec 14, 2017 6:11 pm UTC, edited 1 time in total.

Qaanol
The Cheshirest Catamount
Posts: 3058
Joined: Sat May 09, 2009 11:55 pm UTC

### Re: Analytic Bump Function

At x=0, can you prove that your function…
• is continuous?
• is differentiable?
• is twice-differentiable?

What do you imagine a proof that it is infinitely-differentiable would look like?
wee free kings

measure
Posts: 125
Joined: Sat Apr 04, 2015 4:31 pm UTC
Location: Time-traveling kayak

### Re: Analytic Bump Function

Qaanol wrote:At x=0, can you prove that your function…
• is continuous?
• is differentiable?
• is twice-differentiable?

What do you imagine a proof that it is infinitely-differentiable would look like?

Iff it is continuous, the limits from the left and right sides of the transition points will exist and be identical (zero in this case). As x→0+ the function looks like ε^(1/ε) * (1/ε)^ε. As epsilon decreases, the left term vanishes and the right term approaches unity, so the product is zero. Likewise as x→1-.
WolframAlpha gives me first, second, and third derivatives at least, which are all equal to zero in the limit as x approaches the boundaries from the inside. I could calculate the derivatives myself, but the repeated power, product, and quotient rule applications cause the expressions to become very large.

A potential proof might show by induction that if some derivative is continuous, that the next is also continuous, or it could show that all the derivatives have some common structure that implies the relevant limits are zero, but I don't know how to generalize over the large expressions. I am also not very familiar with this sort of proof in general, and it's not especially important to me that I am able to construct the proof myself. I just want to know if my guess is correct.

Demki
Posts: 199
Joined: Fri Nov 30, 2012 9:29 pm UTC

### Re: Analytic Bump Function

This may or may not be useful:
by simply taking the derivative, we get that
f'(x) = f(x) * g1(x) (for some g1)
therefore
f''(x) = f'(x) * g1(x) + f(x) * g1'(x) = f(x) * (g1(x))^(2) + f(x) * g1'(x) = f(x) * g2(x) (for some g2)
This can be extended to f(n)(x) = f(x) * gn(x) for some gn, for all natural n by simple induction.
If you can prove that all gi(x) are differentiable then you can show that f is infinitely differentiable.
Last edited by Demki on Thu Dec 14, 2017 4:16 pm UTC, edited 1 time in total.

MostlyHarmless
Posts: 154
Joined: Sun Oct 22, 2006 4:29 am UTC

### Re: Analytic Bump Function

It’s also worth noting that your title doesn’t match your question, which is good because the title is impossible. A bump function can be infinitely differentiate, but it cannot be analytic.

measure
Posts: 125
Joined: Sat Apr 04, 2015 4:31 pm UTC
Location: Time-traveling kayak

### Re: Bump Function

MostlyHarmless wrote:It’s also worth noting that your title doesn’t match your question, which is good because the title is impossible. A bump function can be infinitely differentiate, but it cannot be analytic.

When I wrote the title, I thought "analytic" just meant that it consisted of compositions of "ordinary" functions. I didn't realize that the piecewise definition excluded it. Thanks! (Fixed)

Qaanol
The Cheshirest Catamount
Posts: 3058
Joined: Sat May 09, 2009 11:55 pm UTC

### Re: Bump Function

Okay, try this on for size:

Can you prove that, for every positive integer n there exists a positive real number an such that, if x is within distance an of 0 then your function’s magnitude is less than the magnitude of xn?

In other words, by choosing x “close enough” to zero, can you show that your function is bounded by ±xn?

measure wrote:
MostlyHarmless wrote:It’s also worth noting that your title doesn’t match your question, which is good because the title is impossible. A bump function can be infinitely differentiate, but it cannot be analytic.

When I wrote the title, I thought "analytic" just meant that it consisted of compositions of "ordinary" functions. I didn't realize that the piecewise definition excluded it. Thanks! (Fixed)

Just to state what you’ve probably already learned, for a function to be analytic means that it can be locally represented by a power series at every point in its domain.

At the boundary of the support of a bump function, the only power series that converges to it on the outside is the zero function, which cannot possibly converge to it on the inside. So at a point on the boundary there is no power series which locally converges that function.
wee free kings

measure
Posts: 125
Joined: Sat Apr 04, 2015 4:31 pm UTC
Location: Time-traveling kayak

### Re: Bump Function

Update:

I am just looking at the function y = x1/x for now. This function should have the same limit behavior near zero since for small x, a ≃ x and ba ≃ 1.
The first derivative of this function y' = y*(1 - ln(x))/x^2. Let s = 1 - ln(x), and rearrange y' = y*[1/x2 * s].
As Demki helpfully pointed out, further derivatives will always be in the form yk = y*gk(x,s).
Specifically, the function yk = y*[a0 + a1*s + a2*s2 + a3*s3 + ...] can be rearranged as yk = y*a0 + y*a1*s + y*a2*s2 + y*a3*s3 + ....
Differentiate each term using the product rule as (y*a1*sn)' = y'*a1*s + y*a1'*s + y*a1*(sn)'.
Since y' = y*[1/x2 * s] and (sn)' = -n/x*sn-1, substitute to get (y*a1*sn)' = y*[1/x2 * s]*a1*s + y*a1'*s + y*a1*(-n/x)*sn-1.
Factor out y and get (y*a1*sn)' = y*[(a1/x2)*sn+1 + a1'*sn - (a1n/x)*sn-1].
Combine and collect like terms to get yk+1 = y*[b0 + b1*s + b2*s2 + b3*s3 + ...].

I need to check whether for arbitrarily large k, the x1/x factor in front with overwhelm each inner term in the limit as x→0+.
The largest term in yk will be y*(1/x2k)sk. Substitute for y to get x1/x - 2k * sk.
Rearrange as x1/x-3k * (x*s)k, and substitute for s to get x1/x-3k * (x - x*ln(x))k.
As x goes to zero, the left factor goes to zero because the 1/x part of the exponent will overwhelm the large-but-finite 3k, leaving ε1/ε→0.
On the right side, x*ln(x) goes to zero, so the right factor goes to (±ε)k, which also goes to zero.
The whole expression becomes 0*0, so the limit is zero.
Each other term in the expression also goes to zero by a similar argument.

Thus, for any finite k, the limit as x→0+ of yk will be zero. QED

Please let me know if I missed anything.