MHB Solving a first order linear IVP

Logan Land
Messages
83
Reaction score
0
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

How would I solve a DE like
t(dy/dt) + 7y = t^3

dy/dt +7y/t = t^2
Then do I need to find the integrating factor?
 
Last edited by a moderator:
Physics news on Phys.org
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

Yes, your next step is to compute the integrating factor. Can you state what it needs to be, in integral form?
 
Last edited:
MarkFL said:
Hey no worries, I was just showing you a better way to write the integrating factor, just for clarity. :D

Yes, your next step is to compute the integrating factor. Can you state what it needs to be, in integral form?

Note: For any additional questions, I would encourage you to begin a new topic in the Differential Equations forum. It is preferable to begin a new topic for a new question so that topics do not become potentially cluttered and hard to follow.

I am happy you have registered and are participating here! (Yes)

I'm not sure what the integrating factor is but I feel like it has to do with ln since its 7y/t
Maybe e^7ln(y/t) ? (Just guessing)Thanks
 
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

You are close, but in this case we have:

$$P(t)=\frac{7}{t}$$ and so our integrating factor is:

$$e^{7\int\frac{dt}{t}}$$

Can you evaluate this and simplify?
 
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

MarkFL said:
You are close, but in this case we have:

$$P(t)=\frac{7}{t}$$ and so our integrating factor is:

$$e^{7\int\frac{dt}{t}}$$

Can you evaluate this and simplify?

Would that be |t^7|
So the integrating factor is t^7?
Or did I do that completely wrong
 
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

You are absolutely correct! (Yes)

So, now your next step is to multiply the ODE by this integrating factor, and observe the left side is the product of the derivative of the integrating factor and the dependent variable $y$. Can you show this?
 
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

MarkFL said:
You are absolutely correct! (Yes)

So, now your next step is to multiply the ODE by this integrating factor, and observe the left side is the product of the derivative of the integrating factor and the dependent variable $y$. Can you show this?
t^7(dy/dt) + (7y/t)t^7 = t^2 t^7

(d/dx) t^7 = t^14 ?
 
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

On the left you may simplify using $$\frac{t^7}{t}=t^6$$ and on the right, recall the rule:

$$a^b\cdot a^c=a^{b+c}$$

so that the right side becomes $$t^{2+7}=t^9$$

and so you now have:

$$t^7\frac{dy}{dt}+7t^6y=t^9$$

Now, how can we rewrite the left side?
 
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

MarkFL said:
On the left you may simplify using $$\frac{t^7}{t}=t^6$$ and on the right, recall the rule:

$$a^b\cdot a^c=a^{b+c}$$

so that the right side becomes $$t^{2+7}=t^9$$

and so you now have:

$$t^7\frac{dy}{dt}+7t^6y=t^9$$

Now, how can we rewrite the left side?
Do we write it as a differentiation of a product like my first problem?

(d/dt) t^7y = t^9
Then integrate with respect to t?
 
  • #10
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

Yes, although, if I may suggest, this notation would be preferable:

d/dt(t^7·y) = t^9.

And yes, now you want to integrate with respect to $t$:

$$\int\,d\left(t^7y \right)=\int t^9\,dt$$
 
  • #11
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

MarkFL said:
Yes, although, if I may suggest, this notation would be preferable:

d/dt(t^7·y) = t^9.

And yes, now you want to integrate with respect to $t$:

$$\int\,d\left(t^7y \right)=\int t^9\,dt$$

integral d(t^7·y) = integral t^9 dt
t^7·y = t^10/10
y= t^3/10 + Ct^-7
y(2)=1
When I plug in the values I get a crazy number is my y not correct?
 
  • #12
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

Your general solution is correct. What value do you obtain for the parameter $C$?
 
  • #13
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

LLand314 said:
How would I solve a DE like
t(dy/dt) + 7y = t^3

dy/dt +7y/t = t^2
Then do I need to find the integrating factor?

Another option is to recognize that this equation is Cauchy-Euler.
 
  • #14
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

MarkFL said:
Your general solution is correct. What value do you obtain for the parameter $C$?
I think I figured C out correctly.
y= t^3/10 - (128/5)t^-7

- - - Updated - - -

Thanks for sticking with me and helping me through to the end.

Thanks again.
 
Last edited:
  • #15
I get $$C=\frac{128}{5}$$ and so the solution satisfying the IVP is:

$$y(t)=\frac{t^3}{10}+\frac{128}{5t^7}$$
 
  • #16
MarkFL said:
I get $$C=\frac{128}{5}$$ and so the solution satisfying the IVP is:

$$y(t)=\frac{t^3}{10}+\frac{128}{5t^7}$$
Ah yes my mistake I meant + but yes I got c=128/5
 
  • #17
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

Ackbach said:
Another option is to recognize that this equation is Cauchy-Euler.

That's a nice observation! Since when I was a student we were not shown this method until studying higher order equations, I will demonstrate it for the OP.

We are originally given:

$$t\frac{dy}{dt}+7y=t^3$$

If we make the substitution:

$$t=e^x$$ it then follows from the chain rule that:

$$\frac{dy}{dx}=\frac{dy}{dt}\frac{dt}{dx}=\frac{dy}{dt}e^x=t\frac{dy}{dt}$$

and our ODE becomes:

$$\frac{dy}{dx}+7y=e^{3x}$$

We find our integrating factor is $$\mu(x)=e^{7x}$$:

$$e^{7x}\frac{dy}{dx}+7e^{7x}y=e^{10x}$$

$$\frac{d}{dx}\left(e^{7x}y \right)=e^{10x}$$

$$e^{7x}y=\frac{1}{10}e^{10x}+C$$

$$y(x)=\frac{e^{3x}}{10}+\frac{C}{e^{7x}}$$

Now, back-substituting for $x$ we obtain:

$$y(t)=\frac{t^3}{10}+\frac{C}{t^7}$$
 
  • #18
Another method is simply to assume a solution of the form $y=t^{n}$. Then plug in $\dot{y}=n t^{n-1}$, so the associated homogeneous DE becomes
$$t(n t^{n-1})+7t^{n}=0,$$
or
$$t^{n}(n+7)=0.$$
For $t\not=0$, you must have $n=-7$, and then $y_{h}=A t^{-7}$. For a particular solution, assume $y_{p}=B t^{3}$, and you'll get by plugging in that $y_{p}=t^{3}/10$, and you get the solution you got by the change of variables.
 

Similar threads

Replies
5
Views
2K
Replies
3
Views
1K
Replies
2
Views
1K
Replies
8
Views
4K
Replies
10
Views
4K
Replies
3
Views
2K
Replies
4
Views
3K
Replies
4
Views
2K
Back
Top