How to find f(x) if \frac{df(x)}{dx}=f(x)? I know ce^{x} is

Anne Wacker

Anne Wacker

Answered question

2022-01-17

How to find f(x) if df(x)dx=f(x)? I know cex is a solution, but how does one find it and how to prove it is the complete solution?

Answer & Explanation

scomparve5j

scomparve5j

Beginner2022-01-18Added 38 answers

To find it, you can use separation of variables. If you're accustomed to recognizing that ff=log(|f|), you can integrate directly as Chandru1 noted. Otherwise, you can use the substitution u=f.
Even without knowing what the solutions are, note that if f and g are solutions and g is nonzero, then (fg)=fggfg2=, so fg is constant, which means f=cg for some constant c. This shows that the multiples of one nonzero solution form the complete solution. In general, a first order homogeneous linear ODE has a one dimensional solution space.
limacarp4

limacarp4

Beginner2022-01-19Added 39 answers

Assume f:RR and the equation if valid for all xR.
Trying to divide by f or trying to talk in terms of logf would need more justification (what if f is zero in some interval?) and has the potential to lose some solutions (though I am pretty sure there will be some theory there which will justify the correctness of the method).
A simpler way, which avoids taking cases:
f(x)=f(x)exf(x)exf(x)=0(exf(x))=0
exf(x)=c
alenahelenash

alenahelenash

Expert2022-01-24Added 556 answers

Just integrate. You havef(x)f(x)dx=dxtherefore you have logf(x)=x+C, So f(x)=ex+C=ex.eC=kex.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?