A function such that f(x)=f'(x)? (not e^x)

In summary: This is not a big deal, it's just a way to simplify the function.Yes, this is a way to simplify the function.Yes, this is a way to simplify the function.
  • #1
Saracen Rue
150
10
Hello all,

I was just experimenting around with some derivatives and ended up coming across a function whose derivative is the same as the original function. I know that the derivative of e^x is e^x, but I didn't know it was possible for other functions to also follow this. I'm just wondering if this is a rare occurrence or if it's not really big deal.
 
Physics news on Phys.org
  • #2
To find the family of functions equal to their own first derivative, we can solve the ODE:

##\dfrac{dy}{dx}=y##

For which the solution is:

##y(x)=Ce^x##
 
  • #3
I do think you likely made an error in your calculation. Since ## dy/dx=y ## this can be written as ## dy/y =dx ## so that ## ln|y|=x+C ##. Taking an expontial of both sides of the equation gives ## y=A e^x ##. I do think this solution is unique. If you have ## dy/dx=y ##, the function would be expressible in this form.
 
  • #4
Charles Link said:
I do think you likely made an error in your calculation. Since ## dy/dx=y ## this can be written as ## dy/y =dx ## so that ## ln|y|=x+C ##. Taking ## e^{} ## of both sides gives ## y=A e^x ##. I do think this solution is unique. If you have ## dy/dx=y ##, the function would be expressible in this form.
##y = Ae^x## represents an entire family of functions, including the one for which A = 0 (##y \equiv 0##).
 
  • #5
Charles Link said:
...I do think this solution is unique...

Yes, the uniqueness is guaranteed by Picard-Lindelöf.
 
  • #6
MarkFL said:
Yes, the uniqueness is guaranteed by Picard-Lindelöf.
I would like to see the OP's function. I do think he must have miscalculated.
 
  • #7
Charles Link said:
I would like to see the OP's function. I do think he must have miscalculated.

I agree, on both counts. :biggrin:
 
  • Like
Likes Charles Link
  • #8
The OP doesn't say he found two distinct families of functions that satisfy f'(x) = f(x). It only says he found two distinct functions with that property.
 
  • #9
Stephen Tashi said:
The OP doesn't say he found two distinct families of functions that satisfy f'(x) = f(x). It only says he found two distinct functions with that property.
Perhaps he found that ## y=\cosh(x)+\sinh(x) ## has ## dy/dx=y ##. It's just a guess, but a possibility. LOL :)
 
  • Like
Likes MarkFL
  • #10
The function I found is

##\frac{-\pi e^x\cos \left(\frac{\pi e^x}{2}\right)}{2\sqrt{1-\sin ^2\left(\frac{\pi e^x}{2}\right)}}##

If you tell WolframAlpha to solve for this function equaling it's derivative it outputs the result "True" (you need to leave the page to load for a few seconds though). Here's a link to it: https://www.wolframalpha.com/input/...os((e^x+π)/2))/(2+sqrt(1+-+sin^2((e^x+π)/2)))

At first I thought this may be a big deal until I simplified the function and found that it actually has a general form of ##f\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|}##. So basically I discovered that:

If: ##f\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|}##

Then: ##f'\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|}##

I'm not sure if this is of any significance or not.
 
  • #11
Saracen Rue said:
The function I found is

##\frac{-\pi e^x\cos \left(\frac{\pi e^x}{2}\right)}{2\sqrt{1-\sin ^2\left(\frac{\pi e^x}{2}\right)}}##

If you tell WolframAlpha to solve for this function equaling it's derivative it outputs the result "True" (you need to leave the page to load for a few seconds though). Here's a link to it: https://www.wolframalpha.com/input/?i=d/dx+-(e^x+π+cos((e^x+π)/2))/(2+sqrt(1+-+sin^2((e^x+π)/2)))+=+-(e^x+π+cos((e^x+π)/2))/(2+sqrt(1+-+sin^2((e^x+π)/2)))

At first I thought this may be a big deal until I simplified the function and found that it actually has a general form of ##f\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|}##. So basically I discovered that:

If: ##f\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|}##

Then: ##f'\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|}##

I'm not sure if this is of any significance or not.
##\frac{\cos(\pi/2 \cdot e^x)}{\sqrt{1 - \sin^2(\pi/2 \cdot e^x)}}## is just a complicated way of writing 1, so your function f(x) is essentially a constant (##-\frac \pi 2##) times ##e^x##.
 
Last edited:
  • Like
Likes TeethWhitener and DrClaude
  • #12
Mark44 said:
##\frac{\cos(\pi/2 \cdot e^x)}{\sqrt{1 - \sin^2(\pi/2 \cdot e^x)}}## is just a complicated way of writing 1, so your function f(x) is essentially a constant (##-\frac \pi 2##) times ##e^x##.

##\frac{\cos \left(\frac{\pi }{2}e^x\right)}{\sqrt{1-\sin ^2\left(\frac{\pi }{2}e^x\right)}}## is only equal to 1 when ##\cos \left(\frac{\pi }{2}e^x\right)>0##. When ##\cos \left(\frac{\pi }{2}e^x\right)<0## it equals -1. Referring back to ##\frac{-\pi e^x\cos \left(\frac{\pi }{2}e^x\right)}{2\sqrt{1-\sin ^2\left(\frac{\pi }{2}e^x\right)}}##, the graph generated from this has values which alternate between being positive and negative depending on whether the solution is positive or negative. This is what it looks like graphically:

[tex]f\left(x\right)=\frac{-\pi e^x\cos \left(\frac{\pi }{2}e^x\right)}{2\sqrt{1-\sin ^2\left(\frac{\pi }{2}e^x\right)}}[/tex]
upload_2017-9-20_17-24-44.png
 
Last edited by a moderator:
  • #13
Differentiating
$$f(x) = e^x\frac{h(x)}{|h(x)|}$$
by the chain rule gives
$$f'(x) = e^x\frac{h(x)}{|h(x)|}+ e^x\frac{d}{dx}\left(\frac{h(x)}{|h(x)|}\right)$$
But the function
$$\frac{h(x)}{|h(x)|}$$
simply gives the sign of ##h(x)## at ##x##. This is a constant in the areas where ##h(x)\neq 0##, so its derivative ##dh/dx## is equal to zero in those areas. Where ##h=0##, the derivative is undefined.
 
  • #14
TeethWhitener said:
Differentiating
$$f(x) = e^x\frac{h(x)}{|h(x)|}$$
by the chain rule gives
$$f'(x) = e^x\frac{h(x)}{|h(x)|}+ e^x\frac{d}{dx}\left(\frac{h(x)}{|h(x)|}\right)$$
But the function
$$\frac{h(x)}{|h(x)|}$$
simply gives the sign of ##h(x)## at ##x##. This is a constant in the areas where ##h(x)\neq 0##, so its derivative ##dh/dx## is equal to zero in those areas. Where ##h=0##, the derivative is undefined.

Exactly, this means that ##e^x\cdot \frac{d}{dx}\left(\frac{h\left(x\right)}{\left|h\left(x\right)\right|}\right)=0## for all values of ##x## except for ##h(x)=0##.

Therefore ##f'\left(x\right)=e^x\cdot \frac{h\left(x\right)}{\left|h\left(x\right)\right|},\ h(x)\neq0## which is same as the original function ##f(x)##.
 
  • #15
Right. ##h(x)/|h(x)|## is piecewise constant, so if we multiply it by any function ##f(x)##:
$$g(x) = f(x)\frac{h(x)}{|h(x)|}$$
and differentiate, we get:
$$g'(x) = f'(x)\frac{h(x)}{|h(x)|}$$
where ##h(x) \neq 0##, and the derivative is undefined where ##h(x) = 0##.
 
  • #16
Saracen Rue said:
I was just experimenting around with some derivatives and ended up coming across a function whose derivative is the same as the original function. I know that the derivative of e^x is e^x, but I didn't know it was possible for other functions to also follow this. I'm just wondering if this is a rare occurrence or if it's not really big deal.

It's actually one of the (equivalent) definitions of the exponential function.
See Exponential function on wiki, which says:
The exponential function is often defined as the unique solution of the differential equation ##y'=y## such that y(0) = 1.
 
  • Like
Likes MarkFL

FAQ: A function such that f(x)=f'(x)? (not e^x)

1. What is the definition of a function such that f(x)=f'(x)?

A function such that f(x)=f'(x) is a type of differential equation in which the rate of change of the function is equal to the function itself. In other words, the derivative of the function is equal to the function itself.

2. Can you give an example of a function such that f(x)=f'(x)?

One example of a function such that f(x)=f'(x) is f(x)=e^x. The derivative of this function is also e^x, making it satisfy the condition f(x)=f'(x).

3. What is the significance of a function such that f(x)=f'(x)?

Functions such that f(x)=f'(x) have many applications in various fields such as physics, biology, and economics. They can be used to model exponential growth and decay, as well as to describe systems that maintain a constant rate of change.

4. How do you solve a function such that f(x)=f'(x)?

To solve a function such that f(x)=f'(x), you can use differential equations techniques such as separation of variables or the method of undetermined coefficients. You can also use numerical methods to approximate the solution.

5. Are there any real-life examples of a function such that f(x)=f'(x)?

Yes, there are many real-life examples of functions such that f(x)=f'(x). One example is the population growth model, where the rate of change of a population is proportional to the current population. Another example is the heating or cooling of an object, where the rate of change of the temperature is proportional to the temperature difference between the object and its surroundings.

Similar threads

Replies
15
Views
2K
Replies
3
Views
3K
Replies
2
Views
1K
Replies
6
Views
2K
Replies
2
Views
1K
Replies
32
Views
3K
Replies
4
Views
2K
Back
Top