(Exponential growth/decay) If f'(x) = -f(x) and f(1) = 1 then

  • Thread starter Thread starter Alcubierre
  • Start date Start date
Click For Summary
SUMMARY

The discussion revolves around solving the differential equation f'(x) = -f(x) with the initial condition f(1) = 1. The correct solution is identified as f(x) = e^(-x), corresponding to option (D). Participants clarify the importance of including the constant of integration when solving differential equations and emphasize the process of separating variables. The conversation highlights the utility of multiple-choice questions in guiding problem-solving approaches.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with the method of separation of variables.
  • Knowledge of exponential functions and their properties.
  • Ability to apply initial conditions to determine constants in solutions.
NEXT STEPS
  • Study the method of separation of variables in differential equations.
  • Learn about integrating factors for solving linear differential equations.
  • Explore the implications of initial conditions in differential equation solutions.
  • Review exponential growth and decay models in real-world applications.
USEFUL FOR

Students studying calculus, particularly those focusing on differential equations, educators teaching mathematical concepts, and anyone interested in understanding exponential functions and their applications in modeling growth and decay.

Alcubierre
Messages
80
Reaction score
0

Homework Statement



If f'(x) = -f(x) and f(1) = 1, then f(x) = ?

(A) \frac{1}{2}e-2x+2.
(B) e-x-1.
(C) e1-x.
(D) e-x.
(E) -ex.

Homework Equations



P(t) = P0ekt.
\frac{dP}{dt} = kP.

The Attempt at a Solution



I was thinking f(1) = t and 1 = P0, therefore:

P(1) = ek.

Then, I exponetiated both sides and got:

ln(P(1)) = k.

I'm probably going off in a completely different direction, but this is what I did so far.
 
Physics news on Phys.org
You don't even have to solve the differential equation. You just have to figure out which one of them work. That's the beauty of multiple choice.
 
I did try that, and the only one I got remotely close to that is letter C, which I got -1 but I set it up as:

-(e1-x)|x = 1 = -1.

The negative is there because -f(x), is that correct or do I leave it out?

EDIT: Oh my, never mind that. I am finding f(1), which if I evaluate letter C at x = 1, I will get 1. Thank you for leading me on the right direction, Dick!
 
Last edited:
You are absolutely right, I misread it. Thank you. But say I didn't have the multiple choice, how would I come about doing this problem, or is there no way?
 
Alcubierre said:
You are absolutely right, I misread it. Thank you. But say I didn't have the multiple choice, how would I come about doing this problem, or is there no way?

Sure. Solve the differential equation. df/dt=(-f). Separate the variables, then use the initial condition.
 
Okay, this is what I did:

\frac{df}{dt} = -f

\int\frac{df}{-f} = \int dt

-ln|f| = t

-f = et and obtain:

f = -et.

Where did I go wrong?
 
Alcubierre said:
Okay, this is what I did:

\frac{df}{dt} = -f

\int\frac{df}{-f} = \int dt

-ln|f| = t

-f = et and obtain:

f = -et.

Where did I go wrong?

You started out going wrong by forgetting the constant of integration -ln(f)=t+C. Then it got worse when you decided e^(-ln(f))=(-f). That's not right. I'd suggest moving the minus sign over to the t side before you exponentiate.
 
Last edited:
Wow, of course. Careless mistake.

Alas! I got it!
Thank you so very much, you were of much help.

Have a good night, my friend.
 

Similar threads

Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
Replies
7
Views
1K
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
2K