Differential equation- (haven't had any courses on diff. equations yet

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation related to reaction kinetics, specifically the equation \(\frac{dC}{dt} = -k C^n\) with an initial condition \(C(0) = C_0\). The original poster expresses a lack of prior knowledge in differential equations, as they have not yet taken a course on the subject.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the method of separation of variables and integration techniques. There are attempts to derive expressions for \(C\) as a function of \(t\) and questions about the correctness of integration results. Some participants express confusion about applying initial conditions and how to plot the function to obtain a straight line.

Discussion Status

Several participants have provided guidance on integration and the implications of the initial condition. There is an ongoing exploration of how to express \(C(t)\) and plot it correctly. While some participants have made progress, there is still uncertainty regarding the final form of the function.

Contextual Notes

The original poster is under time pressure to complete the problem before a deadline, which adds to the urgency of the discussion. There are references to specific values of \(n\) affecting the integration process, and the conversation includes informal remarks about planning and timing related to personal events.

Lisa...
Messages
189
Reaction score
0
Differential equation- please help (haven't had any courses on diff. equations yet :(

Hi!

I need to solve this differential equation:

[tex]\frac{dC}{dt} = -k C ^n[/tex]
with C(0)= C0
for n= 0, 1, 2, ...,

Then I need to plot C(t) as a function of t in a way in order to obtain a straight line.

(This is used for reaction kinetics)

The only problem is that I haven't had a course on differential equations yet (it is planned for next month), yet I have to solve this problem before tomorrow...

Could anyone of you be able to help me? I'd be very very grateful!
 
Physics news on Phys.org
Use the method of separation by parts, its usually the first topic taught in a Diff. Eqn. course. Try grouping C^n with dC and k with dT. Then integrate, not forgetting to add the constant of integration, this is where the intial conditions will come to play.
 
Thanks, I find:

[tex]\frac{dC}{dt} = -k C ^n[/tex]

[tex]= \frac{dC}{C^n} = - k dt[/tex]

integrating gives:

[tex]\frac{1}{ln C} C^n = -kt + A[/tex]

with [tex]A = \frac{1}{ln C} C^n[/tex] so

[tex]\frac{1}{ln C} C^n = -kt + \frac{1}{ln C} C^n[/tex] ??

But how do I find C as a function of t ?!
 
Last edited:
[tex]\frac{1}{ln C} C^n[/tex]
is not correct.

What's
[tex]\int \frac{dC}{C^n}[/tex] when [itex]n \neq 1[/itex].
 
Oh I see... I've considered C n to be of the form g x (an exponential function).

Though it should be - 1/(n-1) Cn-1 if n is NOT 1 and if n=1 (cause n most certainly can be 1) it should be of the form: ln C
 
Last edited:
is that correct?
 
-n/Cn+1 is not right

An easy way to check is to differentiate your answer. For example, if you differentiate -n/Cn+1, you get n(n+1)/Cn+2 which isn't what you need.
 
Last edited:
How about now?
 
Last edited:
I guess I'm mixing integration & differentiation up again ... just blame it on being tired :P
 
  • #10
Yes, it's right now. That's why I don't do my homework late in the night when I'm tired :smile:
 
  • #11
But now that I have

- 1/(n-1) Cn-1 = -kt + A if n is NOT 1
ln C = -kt +A if n =1

how on Earth would I get a function for C(t)?! + I don't get how I can put the initial condition C(0)= C0 into the equation... if I choose t=0, it gives me respectively:

- 1/(n-1) Cn-1 = A

ln C= A
 
Last edited:
  • #12
You need to plot C(t) as a function of t in a way in order to obtain a straight line, right?

So your answer is right there! When you plot a graph of [tex]\frac{-1}{(n-1)C^{n-1}}[/tex] (on the y-axis) vs [itex]t[/itex] (on the x-axis) or ln C vs t when n=1, you have a straight line

To use the initial condition, put C(0) = C0, not C.
So, you relation will be - 1/(n-1)C0n-1 = A and ln C0 = A
 
Last edited:
  • #13
OMG that's too easy :D Thanks a lot for helping me out!

Sorry for my poor planning btw, but yesterday was Queens Day, so I could not resist going to town ;)
 
  • #14
You're welcome. But, I thought the Dutch celebrate it on the 30th (ie, today)?
 
  • #15
Very good of you, that's true!
But the 30th (today) is on a Sunday and because the queen is Christian and there's a Christian holiday on this Sunday (it has something to do with thanking the Lord for having our crops or something like that) she decided to make an exception and celebrate it a day earlier.
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
17
Views
3K
Replies
2
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
41
Views
5K