Solve general differential equation: please check my work?

In summary, the conversation is about solving a differential equation using the integrating factor method. The steps involved include finding the integrating factor, multiplying both sides of the equation by it, integrating both sides, adding a constant of integration, and solving for the final solution. The final solution is called the general solution and if initial conditions are given, the constant of integration can be solved for.
  • #1
darryw
127
0

Homework Statement


I forgot how to do these and just need a little refreshing on how to solve these


Homework Equations



y' - 2y = (t^2)(e^2t)


The Attempt at a Solution



y' - 2y = (t^2)(e^2t)

ok so my integrating factor is the value in front of y, right?
so mu(x) = e^int-2
= e^-2t

so then after i multiply whole equation by e^-2t i get:
(e^-2t)y = t^2 (because the e^-2t canceled the e^2t that was in the right hand term).


SO this is where I totally forgot how to proceed! Do i integrate both sides, then I am done? or am i missing a step?

and if i do integrate then do i use u-sub for the term on LHS?
thanks for any help


 
Physics news on Phys.org
  • #2
Remember your LHS always becoms

d/dt( y*integratingn factor)


so now you just integrate both sides.
 
  • #3
integ (ye^-2t)' = integ t^2

= ye^-2t = (1/3)t^3

y = (t^3) / (3e^-2t) + c (this is my final solution)

Is this correct? Also, even though I don't have initial cond can i say anything more about what c is?

thanks
 
  • #4
darryw said:
integ (ye^-2t)' = integ t^2

= ye^-2t = (1/3)t^3

y = (t^3) / (3e^-2t) + c (this is my final solution)

Is this correct? Also, even though I don't have initial cond can i say anything more about what c is?

thanks

The line in red should be

ye-2t+(1/3)t3+C

then
you can divide by e-2t
 
  • #5
thanks for the reply..but i don't understand what and why you did that? what does that equal? If zero, then how did (1/3)t^3 become negative?
 
  • #6
darryw said:
thanks for the reply..but i don't understand what and why you did that? what does that equal? If zero, then how did (1/3)t^3 become negative?

Terribly sorry, I made a typo, it should be this.

ye-2t=(1/3)t3+C
 
  • #7
ok thanks. so only diff was that i need to reference c right after integration before doing anything else to equation, --right?
 
  • #8
darryw said:
integ (ye^-2t)' = integ t^2

= ye^-2t = (1/3)t^3
In the line above, the first = shouldn't be there, and you should add the constant of integration in this step.

Each line should be an equation that implies, but is not equal to, the next line. After all, an equation can't be equal to another equation.

To recap,
[tex]d/dt(ye^{-2t} = t^2[/tex]
[tex]\Rightarrow ye^{-2t} = \int t^2 dt = \frac{t^3}{3} + C[/tex]
[tex]\Rightarrow y = e^{2t}(\frac{t^3}{3} + C)}[/tex]

Notice also that the constant is multiplied by e2t.

darryw said:
y = (t^3) / (3e^-2t) + c (this is my final solution)

Is this correct? Also, even though I don't have initial cond can i say anything more about what c is?

thanks
 
  • #9
thanks for the replies..
so my final solution is:

y = (1/3) (t^3)((e^t)^2) + ce^t^2

is this correct? also, since there were no init cond, is this what's called the general solution to the DE? If i did have IC i would be able to know what c is right?
thanks
 
  • #10
darryw said:
thanks for the replies..
so my final solution is:

y = (1/3) (t^3)((e^t)^2) + ce^t^2

is this correct? also, since there were no init cond, is this what's called the general solution to the DE? If i did have IC i would be able to know what c is right?
thanks
No, not correct. See post #8. Where are you getting et2? And why are you writing e2t as (et)2?

Yes, if you had an initial condition you could solve for C.
 
  • #11
should be:

y = (1/3)(e^2t)(t^3) + c(e^2t) (i integrated integrating factor incorrectly)

is this correct? (also since there were no init cond, is this what's called the general solution to the DE? If i did have IC i would be able to know what c is right?
thanks)
 
  • #12
darryw said:
should be:

y = (1/3)(e^2t)(t^3) + c(e^2t) (i integrated integrating factor incorrectly)

is this correct?
Why are you asking this? Look at post #8.
darryw said:
(also since there were no init cond, is this what's called the general solution to the DE? If i did have IC i would be able to know what c is right?
Yes, this is the general solution. The other question has already been answered.
 

FAQ: Solve general differential equation: please check my work?

What is a general differential equation?

A general differential equation is an equation that relates a function to its derivatives. It can include one or more independent variables, as well as the function and its derivatives.

How do you solve a general differential equation?

To solve a general differential equation, you must first identify the type of equation it is (e.g. linear, separable, exact, etc.). Then, you can use various techniques such as separation of variables, integrating factors, or substitution to solve for the function.

What is the purpose of solving a general differential equation?

The purpose of solving a general differential equation is to find the function that satisfies the equation and describes the relationship between the variables. This can be useful in many fields of science, such as physics, engineering, and economics.

How do you know if you have solved a general differential equation correctly?

You can check your work by plugging in the solution into the original equation and verifying that it satisfies the equation. Additionally, you can also compare your solution to known solutions or use a computer program to graph the solution and compare it to the original equation.

Are there any common mistakes when solving a general differential equation?

Yes, some common mistakes include forgetting to add the constant of integration, making errors in algebraic manipulations, and missing solutions that arise from multiple roots. It is important to carefully check your work and be aware of these potential mistakes.

Back
Top