Building a Piecewise Function with Elementary Functions

  • Thread starter Thread starter roger
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
The discussion revolves around constructing a piecewise function defined as F(x) = x^2 for x ≤ a and F(x) = x^3 for x > a. Participants clarify that while each piece is an elementary function, the overall function is not smooth at the point a, as it lacks infinite differentiability. Some suggest that expressing the function as a Fourier series might be an alternative, although it may not qualify as elementary. The conversation highlights the confusion surrounding the definitions of elementary functions and the nature of piecewise functions. Ultimately, the consensus leans towards accepting the piecewise nature of the function despite initial resistance.
roger
Messages
318
Reaction score
0
How would one construct a function involving elementary functions, F:R->R such that F(x)=x^2 iff x<=a and F(x)=x^3 iff x>a?


cheers,
roger
 
Mathematics news on Phys.org
i'm not sure what you are trying to say. What you have given is a function expressed in terms of elementary functions.

Do you mean to ask if it can be expressed as a composition of elementary functions? I would think not, as such a composition would be inifnitely differentiable, where as this function is not.
 
yes I guess I mean as a composition of elementary functions, however I'm not sure I understand the relevance of your last comment about differentiability.

can anyone help me?
 
Or did you mean a piecewise function, with:

f(x) = \left\{ \begin{matrix}<br /> x^2, &amp; \mbox{if } x \leq a\\<br /> x^3, &amp; \mbox{if } x &gt; a<br /> \end{matrix}

I don't know if functions defined like this are considered elementary, but in this case, f:\mathbb{R} \rightarrow \mathbb{R}. I'm not sure from your original post if you are talking about the two functions, x^2 and x^3 being elementary, or the new function.
 
If you desperately don't want a piecewise function, you could try a Fourier Series, though I highly doubt that counts as elementary.
 
roger said:
I'm not sure I understand the relevance of your last comment about differentiability.

The elementary functions, and therefore any composition of them, are smooth, was his point. Your function is not smooth at a. Trying to work out the third derivatives at a from the left and right gives 0 and 6. These are not equal, the function is _at most_ twice differentiable, even assuming that you correct it so that it is continuous (a must be 0 or 1).
 
but does anybody understand my question? someone mentioned Fourier series so is this the way forward to express it?
 
Matt I read somewhere something along the lines that a function like x^3 can be differentiated as many times as one wishes is this correct? even once you get to 6.
 
That is not elementary...and quite unnecessary I would think..What is wrong with piecewise?

EDIT: In response to your last post, yes your pieces individually are infinitely differentiable, but put together they are not.
 
  • #10
Everybody resists piecewise at first, but eventually they all give in.
 
  • #11
roger said:
Matt I read somewhere something along the lines that a function like x^3 can be differentiated as many times as one wishes is this correct? even once you get to 6.

If you are not 100 percent certain of your answer to this question, you are probably to early on to worry about elementary vs. transcendental functions.
 
  • #12
1. x^3 from R to R certainly is smooth.

2. Your function isn't x^3.

I echo Deadwolfe here - if you can't see these points, then why are you attempting to get someone to teach you Fourier analysis?
 
  • #13
roger said:
Matt I read somewhere something along the lines that a function like x^3 can be differentiated as many times as one wishes is this correct? even once you get to 6.
"even once you get to 6" what?

f(x)= x3

f '(x)= 3x2

f '''(x)= 6x

f ''''(x)= 6

f '''''(x)= 0

f ''''''(x)= 0

f ''''''(x)= 0

.
.
.


"0" is a perfectly good value!
 
  • #14
It's certainly the value I like best.
 
Back
Top