PDA

View Full Version : Constructing a function


roger
Jul10-07, 10:04 AM
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

DeadWolfe
Jul10-07, 11:17 AM
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.

roger
Jul10-07, 02:50 PM
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?

Parthalan
Jul10-07, 02:53 PM
Or did you mean a piecewise function, with:

f(x) = \left\{ \begin{matrix}
x^2, & \mbox{if } x \leq a\\
x^3, & \mbox{if } x > a
\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.

Gib Z
Jul11-07, 05:48 AM
If you desperately don't want a piecewise function, you could try a Fourier Series, though I highly doubt that counts as elementary.

matt grime
Jul11-07, 06:07 AM
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).

roger
Jul11-07, 07:07 AM
but does anybody understand my question? someone mentioned fourier series so is this the way forward to express it?

roger
Jul11-07, 07:12 AM
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.

Gib Z
Jul11-07, 07:12 AM
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.

ObsessiveMathsFreak
Jul11-07, 08:20 AM
Everybody resists piecewise at first, but eventually they all give in.

DeadWolfe
Jul11-07, 08:47 AM
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.

matt grime
Jul11-07, 09:47 AM
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?

HallsofIvy
Jul11-07, 11:10 AM
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!

disregardthat
Jul19-07, 05:59 PM
It's certainly the value I like best.