Derivative of function = square of the function?

Click For Summary
The discussion centers on finding a function f:ℝ→ℝ such that its derivative equals its square, expressed as f'(x) = f(x)^2. It is noted that the equation can be solved using separation of variables, leading to the solution f(x) = -1/(x+c), where c is an integration constant. Additionally, f = 0 is identified as a valid solution, which can be seen as a special case of the general solution. The conversation also explores extending the problem to functions of two variables, suggesting a similar form for the solution. Overall, the participants clarify the methods for solving the differential equation and confirm the existence of multiple solutions.
mnb96
Messages
711
Reaction score
5
Hi,
I was wondering whether it is possible or not to find a function f:ℝ→ℝ, such that its first derivative is equal to its square: f'(x)=f(x)^2

It is known that if we replace the exponent 2 with 1, and require that f'(x)=f(x), then a solution would be f(x)=e^x, but when we require the derivative to be equal to the function squared, the solution (if it exists at all) is less obvious.
 
Physics news on Phys.org
mnb96 said:
Hi,
I was wondering whether it is possible or not to find a function f:ℝ→ℝ, such that its first derivative is equal to its square: f'(x)=f(x)^2

It is known that if we replace the exponent 2 with 1, and require that f'(x)=f(x), then a solution would be f(x)=e^x, but when we require the derivative to be equal to the function squared, the solution (if it exists at all) is less obvious.

Write the equation as dy/dx = y2.
This equation is separable and is actually pretty simple.
 
that's true! Thanks for the hint.
Using the separation of variables I got f(x)=-\frac{1}{x}, as one possible solution.
 
mnb96 said:
that's true! Thanks for the hint.
Using the separation of variables I got f(x)=-\frac{1}{x}, as one possible solution.

And with the integration constant c :
y = -1/(x+c)
 
What if we consider instead a function of two variables f(x,y) and we want to find the family of functions that satisfy the following:

\frac{\partial f}{\partial x}=f(x,y)^2

Relying on my intuition I would say the solution is: f(x,y)=-\frac{1}{x+C(y)} but I'd like to know how to arrive to that result.
Sorry if the question is very easy. I have not much experience with differential equations.
Thanks.
 
Last edited:
f = 0 is also a solution.
 
JG89 said:
f = 0 is also a solution.

OK. f=0 is a solution, included in the set of solutions f=-1/(x+c) in the particular case c= infinity.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K