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

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation (dr/dy) + r = 8 with the initial condition r(1) = 0.3. The user initially derives the solution as r(y) = 8 - 7.7 * e^(y - 1) but encounters confusion when comparing it to the form r(y) = 8 - 7.7 * e^(1 - y) provided by WebAssign. The key issue identified is the handling of the natural logarithm during integration, specifically the absolute value sign, which affects the final expression for r(y).

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Proficiency in integration techniques, particularly with natural logarithms.
  • Familiarity with initial value problems and their solutions.
  • Knowledge of exponential functions and their properties.
NEXT STEPS
  • Review the integration of dr/(8 - r) and the implications of absolute values in logarithmic functions.
  • Study the properties of exponential functions and their transformations in differential equations.
  • Practice solving initial value problems involving first-order linear differential equations.
  • Explore the relationship between different forms of solutions to differential equations and their equivalence.
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone seeking to deepen their understanding of first-order linear differential equations and their solutions.

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