What am I doing wrong? Solving first order DE's

  • Thread starter Thread starter DWill
  • Start date Start date
  • Tags Tags
    First order
DWill
Messages
68
Reaction score
0
What am I doing wrong?? Solving first order DE's

Homework Statement


Solve the following first order differential equation:
ty' + (t+1)y = t; y(ln 2) = 1, t > 0


Homework Equations





The Attempt at a Solution


I try to solve this using the method of integrating factors. First I divide the equation by t to get:

y' + [(t+1)/t]y = 1

So following from this I find the integrating factor u(t) = t*e^t

So to solve this I just take an integral of both sides of equations to get:

y*t*e^t = e^t(t-1) + C

Is this right? I now just have to solve for y, and then plug in for the initial values to get C. But the answer I get does not match my book's answer! Can anyone show me what I did wrong here? Thanks
 
Physics news on Phys.org


DWill said:
So to solve this I just take an integral of both sides of equations to get:

y*t*e^t = e^t(t-1) + C

Is this right? I now just have to solve for y, and then plug in for the initial values to get C. But the answer I get does not match my book's answer! Can anyone show me what I did wrong here? Thanks

I get the same. What is the book's answer?
 


The book says the answer is:

y = (t - 1 + 2e^(-t)) / t, where t cannot equal 0.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top