Differential Equations Problem

Daweih
Messages
7
Reaction score
0

Homework Statement


This is actually a question we went over in class, but I kind of spaced out when my teacher was explaining it. I have since solved it myself while I was reviewing for my calculus test, but when I compared my answer with the answer key my teacher provided to our class, I found out my answer was wrong. Here's the question.

"Write and solve the differential equation that models the statement in the following problem.

The rate of change of P with respect to t is proportional to 10-t."

Homework Equations


I should add that this is part of our chapter involving exponential growth and decay.


The Attempt at a Solution


Now, I understand how to do this particular problem. You essentially start off with the following differential equation:

dP/dt = K/(10-t)

You then multiply the dt over to isolate all the t variable expressions on the right side.

dP = [K/(10-t)]dt

Then you would take an indefinite integral of both sides respectively. The problem is, my teacher says that the answer should be:

P = -K*ln|10-t| + C

When I solved this on my own, I produced the same result essentially, just without a negative sign in front of the K constant. Am I missing something here? Could someone please explain to me why there should be a negative sign or did my teacher make a mistake?
 
Physics news on Phys.org
Daweih said:

The Attempt at a Solution


Now, I understand how to do this particular problem. You essentially start off with the following differential equation:

dP/dt = K/(10-t)

You then multiply the dt over to isolate all the t variable expressions on the right side.

dP = [K/(10-t)]dt

Then you would take an indefinite integral of both sides respectively. The problem is, my teacher says that the answer should be:

P = -K*ln|10-t| + C

When I solved this on my own, I produced the same result essentially, just without a negative sign in front of the K constant. Am I missing something here? Could someone please explain to me why there should be a negative sign or did my teacher make a mistake?
Did you integrate the right side using u-substitution? After you use that method, the negative will appear in the answer.
 
Ah, no. I didn't. I tried integrating using substitution just now, and it worked. >.<
Thank you for pointing that out to me. It makes sense now.
 
Daweih said:

Homework Statement


This is actually a question we went over in class, but I kind of spaced out when my teacher was explaining it. I have since solved it myself while I was reviewing for my calculus test, but when I compared my answer with the answer key my teacher provided to our class, I found out my answer was wrong. Here's the question.

"Write and solve the differential equation that models the statement in the following problem.

The rate of change of P with respect to t is proportional to 10-t."

Homework Equations


I should add that this is part of our chapter involving exponential growth and decay.

The Attempt at a Solution


Now, I understand how to do this particular problem. You essentially start off with the following differential equation:

dP/dt = K/(10-t)

When you say ##y## is proportional to ##x## that means there is a constant ##k## such that ##y=kx##. So if the rate of change of ##P## is proportional to ##10-t##, then ##\frac{dP}{dt}= k(10-t)##. So you either are solving the problem wrong or stated the problem you are solving wrong.
 
Last edited:
That's my mistake. I stated the problem incorrectly. It should say "inversely proportional". But regardless, eumyang pointed out what I was missing. I didn't use the substitution method to integrate the differential equation, so I never produced that negative sign.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top