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

  • Context: High School 
  • Thread starter Thread starter Saracen Rue
  • Start date Start date
  • Tags Tags
    E^x Function
Click For Summary

Discussion Overview

The discussion revolves around the exploration of functions that satisfy the condition f(x) = f'(x), beyond the well-known exponential function e^x. Participants are investigating whether such functions are rare, and they delve into the implications of a specific function proposed by the original poster (OP).

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • The OP expresses curiosity about the existence of functions whose derivative equals the function itself, noting that e^x is a known example.
  • Some participants propose that the general solution to the differential equation dy/dx = y is of the form y(x) = Ce^x, suggesting uniqueness in this solution.
  • Others challenge the OP's initial claim, indicating that the function he found must be a miscalculation, and they request to see the specific function.
  • The OP presents a complex function and claims it satisfies the condition f(x) = f'(x), but later simplifies it to suggest it has a general form related to e^x.
  • Some participants analyze the OP's function and suggest that it can be expressed in terms of e^x, indicating that it may not be as unique as initially thought.
  • There is a discussion about the implications of differentiating the proposed function and the behavior of the function h(x) involved in the OP's expression.
  • Participants note that the function h(x)/|h(x)| is piecewise constant, leading to further exploration of its implications on the derivative of the overall function.

Areas of Agreement / Disagreement

Participants generally disagree on the uniqueness and significance of the OP's function. While some assert that the solutions to the differential equation are unique and primarily consist of exponential functions, others entertain the possibility of the OP's function being valid but question its implications.

Contextual Notes

There are unresolved assumptions regarding the nature of the function h(x) and its behavior, particularly at points where h(x) may equal zero. The discussion also reflects varying interpretations of the significance of the OP's findings.

Who May Find This Useful

This discussion may be of interest to those studying differential equations, mathematical functions, and the properties of exponential growth, as well as individuals curious about the exploration of unique mathematical properties.

Saracen Rue
Messages
150
Reaction score
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
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##
 
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.
 
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##).
 
Charles Link said:
...I do think this solution is unique...

Yes, the uniqueness is guaranteed by Picard-Lindelöf.
 
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.
 
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   Reactions: Charles Link
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.
 
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   Reactions: 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   Reactions: 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   Reactions: MarkFL

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
5
Views
3K