Solving a Differential Equation: r(y) = 8-7.7*e^(y-1)

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation of the form (dr/dy) + r = 8, with an initial condition r(1) = 0.3. Participants are examining the integration process and the resulting expressions for r(y).

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the integration of dr/(8-r) and the implications of absolute values in logarithmic expressions. There are attempts to derive the function r(y) and questions about the equivalence of different forms of the solution.

Discussion Status

Some participants express confusion regarding the integration steps and the handling of absolute values. There is an ongoing exploration of the implications of these steps on the final expression for r(y). Guidance has been offered regarding checking the integral and the correct application of logarithmic properties.

Contextual Notes

Participants are navigating through potential errors in their integration process and the assumptions made during the derivation of the solution. There is a noted difficulty in resolving negative values encountered during calculations.

nick.martinez
Messages
51
Reaction score
0

Homework Statement


differential equation
(dr/dy)+r=8 ; r(1)=0.3

The Attempt at a Solution


(dr/dy)=(8-r)

∫[dr/(8-r)]=∫dy

ln|8-r|+c1=y+c2 ; k=c2-c1

ln|8-r|=y+k ; r(1)=0.3
then take of e^ both sides which gives
8-r=e^(y+k)
8-e^(y+k)=r and we know r(1)=0.3 which means 0.3=8-e^(1+k); then solve for k
k=ln|7.7|-1 then when plug this into r(y)= 8-e^(y+k) for some reason webassign says
r(y)= 8-7.7*e^(1-y)

but i get r(y)=8-7.7*e^(y-1) are they equivalent
 
Last edited by a moderator:
Physics news on Phys.org
what am i doing wrong?
 
nick.martinez said:
1. Homework Statement
differential equation
(dr/dy)+r=8 ; r(1)=0.3
3. The Attempt at a Solution
(dr/dy)=(8-r)

∫[dr/(8-r)]=∫dy

ln|8-r|+c1=y+c2 ; k=c2-c1

ln|8-r|=y+k ; r(1)=0.3
then take of e^ both sides which gives
8-r=e^(y+k)
8-e^(y+k)=r and we know r(1)=0.3 which means 0.3=8-e^(1+k); then solve for k
k=ln|7.7|-1 then when plug this into r(y)= 8-e^(y+k) for some reason webassign says
r(y)= 8-7.7*e^(1-y)

but i get r(y)=8-7.7*e^(y-1) are they equivalent
nick.martinez said:
what am i doing wrong?

You have done almost right but check the integral of dr/(8-r).
 
Pranav-Arora said:
You have done almost right but check the integral of dr/(8-r).

i think when i was taking the intgral of dr/(8-r) i was forgetting the absolute value sign for the natural log which is -ln|8-r|+c1=y+c2 ;c2-c1=k

then giving me: -ln|8-r|=y+k then becomes ln|8-r|=-y-k ; then take e^ of both sides giving me

e^(ln|8-r|)=e^(-y-k)

r-8=e^(-y-k) this then becomes

r=e^(-y-k)+1 we know r(1)=0.3

0.3=e^(-1-k)+8
-7.7=e^(-1-k)
im stuck here because now i can't take the log of both sides because of the negative symbol on left hand side.
 
Last edited:
nick.martinez said:
i think when i was taking the intgral of dr/(8-r) i was forgetting the absolute value sign for the natural log which is ln|1-r|+c1=y+c2 ;c2-c1=k

then giving me: -ln|1-r|=y+k then becomes ln|1-r|=-y-k ; then take e^ of both sides giving me

e^(ln|1-r|)=e^(-y-k)

r-1=e^(-y-k) this then becomes

r=e^(-y-k)+1 we know r(1)=0.3

0.3=e^(-1-k)+1
-0.7=e^(-1-k)+1
im stuck here because now i can't take the log of both sides because of the negative symbol on left hand side.

What's the integral of dr/(8+ax) ?
 
Pranav-Arora said:
What's the integral of dr/(8+ax) ?

i did a quick edit check it out i made the -8 in the ln|8-R| into ones now its right but I am still stuck
 
nick.martinez said:
i did a quick edit check it out i made the -8 in the ln|8-R| into ones now its right but I am still stuck


im stuck at -7.7=e^(-1-k)
 
You solved the differential equation correctly.

nick said:
e^(ln|8-r|)=e^(-y-k)

r-8=e^(-y-k)

Why did you change |8-r| to r-8? :confused:
 
Pranav-Arora said:
You solved the differential equation correctly.



Why did you change |8-r| to r-8? :confused:

because when you take the the e of the absolute value of e^(ln|8-x|) i get |x-8|. don't the absolute values do this?
 
  • #10
nick.martinez said:
because when you take the the e of the absolute value of e^(ln|8-x|) i get |x-8|. don't the absolute values do this?

No, I don't think it changes to |x-8|. Instead of this, you can simply put y=1 and r=0.3 in the equation:
-ln|8-x|=y+k
Find out k from here.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
6
Views
2K