Same number of roots for derivative as function

Persimmon
Messages
22
Reaction score
0

Homework Statement



Provide an example of a function such that f(x) has two and only two real roots and f'(x) has two and only two real roots, where f is defined for all real numbers and differentiable everywhere on its domain.

Homework Equations


The Attempt at a Solution



I know that if a function has n roots, it's derivative has to have at least n-1 roots. But I can't for the life of me visualize a function that would have two zeroes and have it's derivative also have exactly two zeroes. If anyone could give me a hint I'd be super thankful.

I don't know if this is enough of an attempt within the community guidelines but I'm really stuck.
 
Physics news on Phys.org
Persimmon said:

Homework Statement



Provide an example of a function such that f(x) has two and only two real roots and f'(x) has two and only two real roots, where f is defined for all real numbers and differentiable everywhere on its domain.

Homework Equations





The Attempt at a Solution



I know that if a function has n roots, it's derivative has to have at least n-1 roots. But I can't for the life of me visualize a function that would have two zeroes and have it's derivative also have exactly two zeroes. If anyone could give me a hint I'd be super thankful.

I don't know if this is enough of an attempt within the community guidelines but I'm really stuck.

Did you try to sketch a graph that works? I don't think that's so hard. Once you've got that, if you are having a hard time writing an explicit function that looks like that you could always resort to defining it piecewise, as long as the function and the derivative are continuous where the pieces join up.
 
  • Like
Likes 1 person
Thanks, it seems really obvious to me now. D'oh!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top