Solving a first order linear IVP

In summary, the conversation is about solving a first order linear ordinary differential equation by finding the integrating factor and using it to rewrite the equation. The integrating factor is found by taking the exponential of the integral of a given function, and then using this factor to rewrite the left side of the equation as the derivative of a product. The solution is found by integrating and solving for the parameter, and can also be solved using the Cauchy-Euler method.
  • #1
Logan Land
84
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
  • #2
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:
  • #3
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
 
  • #4
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:

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

\(\displaystyle e^{7\int\frac{dt}{t}}\)

Can you evaluate this and simplify?
 
  • #5
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:

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

\(\displaystyle 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
 
  • #6
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?
 
  • #7
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 ?
 
  • #8
Re: Logan's question at Yahoo! Answers involving an IVP with a linear 1st order ODE

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

\(\displaystyle a^b\cdot a^c=a^{b+c}\)

so that the right side becomes \(\displaystyle t^{2+7}=t^9\)

and so you now have:

\(\displaystyle t^7\frac{dy}{dt}+7t^6y=t^9\)

Now, how can we rewrite the left side?
 
  • #9
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 \(\displaystyle \frac{t^7}{t}=t^6\) and on the right, recall the rule:

\(\displaystyle a^b\cdot a^c=a^{b+c}\)

so that the right side becomes \(\displaystyle t^{2+7}=t^9\)

and so you now have:

\(\displaystyle 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$:

\(\displaystyle \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$:

\(\displaystyle \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 \(\displaystyle C=\frac{128}{5}\) and so the solution satisfying the IVP is:

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

\(\displaystyle 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:

\(\displaystyle t\frac{dy}{dt}+7y=t^3\)

If we make the substitution:

\(\displaystyle t=e^x\) it then follows from the chain rule that:

\(\displaystyle \frac{dy}{dx}=\frac{dy}{dt}\frac{dt}{dx}=\frac{dy}{dt}e^x=t\frac{dy}{dt}\)

and our ODE becomes:

\(\displaystyle \frac{dy}{dx}+7y=e^{3x}\)

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

\(\displaystyle e^{7x}\frac{dy}{dx}+7e^{7x}y=e^{10x}\)

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

\(\displaystyle e^{7x}y=\frac{1}{10}e^{10x}+C\)

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

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

\(\displaystyle 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.
 

FAQ: Solving a first order linear IVP

What is a first order linear IVP?

A first order linear initial value problem (IVP) is a mathematical problem that involves finding a function that satisfies a certain differential equation, as well as an initial condition. The differential equation is first order because it involves only the first derivative of the unknown function, and it is linear because the unknown function and its derivative appear only in a linear form.

How do you solve a first order linear IVP?

The general method for solving a first order linear IVP involves separating the equation into two parts: the homogeneous part and the particular solution. The homogeneous part is solved by finding the general solution to the associated homogeneous equation, while the particular solution is found using a method such as variation of parameters or the method of undetermined coefficients. The final solution is then obtained by combining the homogeneous and particular solutions and applying the initial condition.

What are the steps for solving a first order linear IVP?

The steps for solving a first order linear IVP are as follows:

  1. Separate the equation into the homogeneous and particular parts
  2. Solve the homogeneous part by finding the general solution to the associated homogeneous equation
  3. Find the particular solution using a suitable method
  4. Combine the homogeneous and particular solutions to obtain the final solution
  5. Apply the initial condition to determine any unknown constants in the solution

What are some common methods for solving a first order linear IVP?

Some common methods for solving a first order linear IVP include:

  • Variation of parameters
  • Method of undetermined coefficients
  • Integrating factor method
  • Solving the associated homogeneous equation and using the method of undetermined coefficients to find the particular solution

What are some common applications of first order linear IVPs?

First order linear IVPs have applications in various fields such as physics, engineering, economics, and biology. Some specific applications include modeling population growth, analyzing the flow of fluids through pipes, and predicting the behavior of electrical circuits.

Similar threads

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