Need help finding solutions to Diff eq

  • Thread starter primus
  • Start date
  • #1
1
0
Hi, I need help to solve two differential equation:

1. Find all solutions to the differential equation 3y' - 2y = 1 - x

2. Find the solution to 2y' + 3y = 4 when y(2) = 0

I would be happy if anyone could explain the general rule to solve these two equations, because the book I use only show poor examples.
 

Answers and Replies

  • #2
saltydog
Science Advisor
Homework Helper
1,582
3
primus said:
Hi, I need help to solve two differential equation:

1. Find all solutions to the differential equation 3y' - 2y = 1 - x

2. Find the solution to 2y' + 3y = 4 when y(2) = 0

I would be happy if anyone could explain the general rule to solve these two equations, because the book I use only show poor examples.
Hello Primus,

These are first-order ODEs: The technique is to find an integrating factor, multiply both sides by it, then integrate. The first case, integrate over a general interval ([itex]x_o[/itex],x), in the second case, integrate over a definite interval (2,x). However, you may not be familiar with these operations. I'll give you some time to look into them on your own. If you still have questions, ask, and me or someone else will work through them with you.
 
  • #3
HallsofIvy
Science Advisor
Homework Helper
41,833
961
Integrating factor:
In problem 1, find a function u(x) so that 3(u(x)y(x))'= 3u(x)y'- 2u(x)y
Multiply the entire equation by u(x) and the left side is easy to integrate.

In problem 2, find a function u(x) so that 2(u(x)y(x))'= 2u(x)y'+ 3u(x)y.
 
  • #4
dextercioby
Science Advisor
Homework Helper
Insights Author
13,017
566
Linear nonhomogenous constant coeff.I-st order ODE-s.

1.Solve the homogenous equation bby separating variables.
2.Find the particular solution to the nonhomogenous equation (through Lagrange's method).
3.Write the general solution & impose the initial condition (for the second which is a Cauchy problem).


Daniel.
 
  • #5
saltydog
Science Advisor
Homework Helper
1,582
3
Well, here's the first step:

Whenever you have a first order ODE in that form, place it in standard form:

y'+A(x)y=B(x)

Thus, you have:

[tex]y^{'}-\frac{2}{3}y=\frac{1}{3}(1-x)[/tex]

Once you have it in standard form, the integration factor is e raised to the integral of A(x):

[tex]\mu(x)=e^{\int -\frac{2}{3}dx}=e^{-\frac{2}{3}x[/tex]

Now, just multiply both sides of the standard form equation by the intgration factor:

[tex]e^{-\frac{2}{3}x}(y'-\frac{2}{3}y)=\frac{1}{3}e^{-\frac{2}{3}x}(1-x)[/tex]

The left side is the differential of [itex]e^{-2/3 x}y[/itex] so when you integrate that, you're left with just [itex]e^{-2/3 x}y[/itex] right?

Just integrate indefinitely both sides now and remember to add a constant of integation. It's easier than figuring it by integrating from [itex]x_0[/itex] to x.
 

Related Threads on Need help finding solutions to Diff eq

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
9
Views
5K
Replies
7
Views
4K
Replies
4
Views
4K
  • Last Post
Replies
4
Views
4K
Replies
9
Views
1K
Replies
3
Views
2K
  • Last Post
Replies
3
Views
649
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
1
Views
2K
Top