How to Solve a Tricky Differential Equation: A Textbook Example

In summary, the conversation revolved around a problem involving a differential equation dy/dt +1/2y = 1/2e^(t/3). The problem was initially thought to be weird because it was difficult to separate the variables and integrate them. The group discussed different ways to solve the equation and suggested using a function of the form y(t)=Aexp(t/3) to find a particular solution. They also discussed the possibility of a typo and clarified the form of the equation for ODEs. They also mentioned the use of integrating factors and provided a solution to the problem. Finally, they corrected a mistake in the solution and provided the correct answer.
  • #1
asdf1
734
0
there's an example in my textbook,
solve the differential equation
dy/dx + 1/2y =1/2e^(t/3)

this problem is weird
because i can't separate the variables on both sides and integrate them...
 
Physics news on Phys.org
  • #2
Did you have any careful check again your book or possibly think of something that might be incorrect on the right hand side of your equation anyway ?
If :x: is in place of :t:, it is easily sovable and otherwise, it is going to be different since you have to explain how things are to logically work out in the presence of t.
 
  • #3
There are other ways to get the solution. The nice thing about exponentials is that its derivative is also an exponential. Try a function of the form: y(t)=Aexp(t/3) to find a particular solution.
 
  • #4
Galileo, are you really well today ?
 
  • #5
dy/dx + 1/2y =1/2e^(t/3)

Are you sure this is the problem??

Usually for ODE the equation takes this form:
http://www.ucl.ac.uk/Mathematics/geomath/level2/deqn/int2.gif

So you right hand side should be a function of x, not t. Make sure you re-read your problem because otherwise this is not an ODE
 
  • #6
Emieno said:
Galileo, are you really well today ?
I'm fine thanks.

I assumed the dy/dx is a typo. The equation might have been y'+1/2y=exp(t/3) and by force of habit asdf1 typed dy/dx instead of dy/dt.

Anyway, assuming a solution of the form Aexp(t/3) will get you a particular solution. Add to that a solution of y'+1/2y=0 for the general one.
 
  • #7
:P
sorry my mistake~
dy/dt +1/2y=1/2e^(t/3)
 
  • #8
Okay, assuming you mean dy/dt+ (1/2)y= (1/2)e(t/3), that's a linear equation. Not every equation is "separable". If you are doing first order linear equations you should already have learned about exact equations and "integrating factors".

In this case, the equation is not exact- that is, there is no function f(y) so that d(f(y))/dt= dy/dt+ (1/2)y, but we can find a function u(t) so that, after we multiply the entire equation by u, it is exact. We want to find u(t) so that
d(u(t)y)/dt= u(t)(dy/dt)+ (1/2)u(t)y. Applying the product rule to the left hand side of that, d(u(t)y)/dt= u(t)(dy/dt)+ (du/dt)y= u(t)(dy/dt)+ (1/2)u(t)y.
That means we must have du/dt= (1/2)u which is separable: In fact it is easy to see that u(t)= e(1/2)t.

That tells us that if we multiply the whole equation by e(1/2)t, we get
e(1/2)t(dy/dt)+ (1/2)e(1/2)ty= e(1/2+ (1/3))t
The left hand side is just d(e(1/2)ty)/dt and the right hand side is e(5/6)t. In other words, d(e(1/2)ty)/dt= e(5/6)t.

Integrating both sides, e(1/2)ty= (6/5)e(5/6)t+ C so

y(t)= (6/5)e(1/3)t+ Ce(-1/2)t.

Notice the e(1/3)t in there, exactly as asdf1 suggested.
 
  • #9
you forgot [tex]\frac{1}{2}[/tex] in front of [tex]e^\frac{t}{3}[/tex]. The answer should be [tex]y=\frac{3}{5}e^\frac{t}{3}+Ce^-\frac{t}{2}[/tex]
 
  • #10
Your're right, I did. Thanks.
 

1. What is a differential equation?

A differential equation is a mathematical equation that relates an unknown function to its derivatives. It is used to describe how a quantity changes over time or in relation to other variables.

2. Why are differential equations important?

Differential equations are important because they are used to model a wide range of real-world phenomena in fields such as physics, engineering, economics, and biology. They provide a powerful tool for understanding and predicting the behavior of complex systems.

3. What are the different types of differential equations?

There are several types of differential equations, including ordinary differential equations, which involve a single independent variable, and partial differential equations, which involve multiple independent variables. Other types include linear and nonlinear, first-order and higher-order, and homogeneous and non-homogeneous differential equations.

4. How do you solve a differential equation?

The process of solving a differential equation involves finding the unknown function that satisfies the equation. This can be done analytically using mathematical techniques such as separation of variables, substitution, and integration. It can also be done numerically using computer algorithms.

5. What are some real-world applications of differential equations?

Differential equations have a wide range of applications in various fields. For example, they are used to model population growth, heat transfer, electrical circuits, fluid dynamics, and chemical reactions. They are also essential in the development of technologies such as airplanes, satellites, and medical devices.

Similar threads

  • Introductory Physics Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
16
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
984
  • Introductory Physics Homework Help
Replies
5
Views
840
  • Introductory Physics Homework Help
Replies
4
Views
830
  • Introductory Physics Homework Help
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
854
  • Introductory Physics Homework Help
2
Replies
40
Views
866
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Science and Math Textbooks
Replies
5
Views
2K
Back
Top