Separable differential equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
Loopas
Messages
55
Reaction score
0

Homework Statement



[itex]\frac{du}{dt}[/itex] = [itex]e^{5u + 7t}[/itex]

Solve the separable differential equation for u:

Use the following initial condition: u(0) = 6.

The Attempt at a Solution



I tried to take the natural log of each side but now I'm stuck. How can I separate the equation when both the u and t terms are an exponent? And how can I use u(0) = 6? Sorry if I'm clueless, I missed a bunch of lectures on separable differential equations.
 
Physics news on Phys.org
Loopas said:

Homework Statement



[itex]\frac{du}{dt}[/itex] = [itex]e^{5u + 7t}[/itex]

Solve the separable differential equation for u:

Use the following initial condition: u(0) = 6.

The Attempt at a Solution



I tried to take the natural log of each side but now I'm stuck. How can I separate the equation when both the u and t terms are an exponent? And how can I use u(0) = 6? Sorry if I'm clueless, I missed a bunch of lectures on separable differential equations.

##a^{x+y}=a^x\cdot a^y ##
 
What do you remember about working with powers? Can you write an expression like ##e^{a+b}## a different way?

Edit: Sammy told you the answer while I was typng :smile:

The general solution to the differential equation will contain an arbitrary constant. You can eliminate that using the initial condition u(0) = 6.
 
  • Like
Likes   Reactions: 1 person
Ok so I can rewrite as:

[itex]\frac{du}{dt}[/itex] = [itex]e^{5u}[/itex] * [itex]e^{7t}[/itex]

[itex]e^{-5u}[/itex] du = [itex]e^{7t}[/itex] dt

After finding the antiderivatives I cross-multiplied:

5[itex]e^{7t}[/itex] = -7[itex]e^{-5u}[/itex]

[itex]\frac{-7}{5}[/itex] = [itex]\frac{e^{7t}}{e^{-5u}}[/itex]

[itex]\frac{-7}{5}[/itex] = [itex]e^{7t + 5u}[/itex]

This is now where I'm running into a problem. When I try to natural log both sides to get rid of the e and bring down the 7t + 5u exponent, this means I have ln([itex]\frac{-7}{5}[/itex]) on the other side of the equation, which is unreal. Did I do something wrong or is there some sort of way to work around this?
 
Loopas said:
Ok so I can rewrite as:

[itex]\frac{du}{dt}[/itex] = [itex]e^{5u}[/itex] * [itex]e^{7t}[/itex]

[itex]e^{-5u}[/itex] du = [itex]e^{7t}[/itex] dt

After finding the antiderivatives I cross-multiplied:

5[itex]e^{7t}[/itex] = -7[itex]e^{-5u}[/itex]

[itex]\frac{-7}{5}[/itex] = [itex]\frac{e^{7t}}{e^{-5u}}[/itex]

[itex]\frac{-7}{5}[/itex] = [itex]e^{7t + 5u}[/itex]

This is now where I'm running into a problem. When I try to natural log both sides to get rid of the e and bring down the 7t + 5u exponent, this means I have ln([itex]\frac{-7}{5}[/itex]) on the other side of the equation, which is unreal. Did I do something wrong or is there some sort of way to work around this?

You forgot the +C part when you integrated.
 
Do I add a constant to both sides of the equation?

[itex]e^{-5u}[/itex] + [itex]C_{u}[/itex] = [itex]\frac{-5e^{7t}}{7}[/itex] + [itex]C_{t}[/itex]
 
Loopas said:
Do I add a constant to both sides of the equation?

[itex]e^{-5u}[/itex] + [itex]C_{u}[/itex] = [itex]\frac{-5e^{7t}}{7}[/itex] + [itex]C_{t}[/itex]
That would be silly.

You could then replace [itex]C_{t}-C_{u}[/itex] with [itex]C[/itex]
 
  • Like
Likes   Reactions: 1 person
Got it, thanks guys!