Solving Differential Equations: Steps & Solutions

  • Thread starter Thread starter madahmad1
  • Start date Start date
Click For Summary
SUMMARY

This discussion focuses on solving various differential equations, specifically linear and separable types. Key equations include dy/dx = x^3 - 2y/x, which has the solution y = c/x^2 + x^3/5, and dy/dx + y = 1/(1 + e^x), yielding y = ce^-x + e^-x ln(1 + e^x). Participants emphasize the importance of identifying integrating factors, such as e^(2ln(x)) for linear equations, and the necessity of proper rearrangement to facilitate integration. The conversation highlights common pitfalls in algebraic manipulation and integration techniques.

PREREQUISITES
  • Understanding of linear differential equations and their solutions
  • Familiarity with integrating factors, specifically e^(∫p(x)dx)
  • Knowledge of separable differential equations and integration techniques
  • Basic algebraic manipulation skills for rearranging equations
NEXT STEPS
  • Study the method of integrating factors for linear differential equations
  • Learn how to solve separable differential equations effectively
  • Practice integration techniques, particularly for exponential functions
  • Explore boundary value problems and their solutions in differential equations
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone seeking to improve their problem-solving skills in this area.

  • #31
madahmad1 said:
Ok, for problem 6, I got dy/dx + 2y/x = 1/x by re-arranging and dividing by x. Since 2y/x is the coefficient then the integrating factor is the same as before x^2.

multiply all sides by x^2 I get, dy/dx(x^2)+ 2xy = x, next we integrate so

x^3/3+c = x^2/2 but how do I get the answer I provided in the beginning with this result?

If you integrate y'x2 + 2xy, you don't get x3, either with or without a constant.

Let's look at a different example, and work it through. Hopefully you will follow what's going on and be able to apply it to your problems.


Problem: Solve y' -4y = 12

This DE is linear, so we can solve it by using an integrating factor. In this case, the integrating factor is
e^{\int -4 dx} = e^{-4x}
Multiply both sides of the equation by the integrating factor, getting
y'e-4x -4ye-4x = 12e-4x

The two terms on the left side are the derivative of ye-4x, which you can check by using the product rule. In other words, d/dx(ye-4x) = y'e-4x -4ye-4x.
The whole purpose of the business of an integrating factor is to multiply y' +p(x)y by whatever it takes so that it becomes the derivative of something.

We're now ready to integrate both sides.

\int (y'e^{-4x} -4ye^{-4x})dx = \int 12e^{-4x} dx

The left side can be simplified, by replacing the integrand with something equal to it, and integrating the right side.
\int d/dx(ye^{-4x})dx = -3e^{-4x} + C

Then, since the integral of the derivative of something is just the something, we have
ye-4x = -3e-4x + C

If we solve for y by multiplying both sides by e4x, we get
y = -3 + Ce4x, the solution to our DE. It's easy to check that this is the solution.
 
Physics news on Phys.org
  • #32
thx a lot mark but one last favor, can u please show me how u checked using the product rule?
 
  • #33
Sure.
d/dx(ye-4x) = y'e-4x + y*(-4 e-4x) = y'e-4x - 4xye-4x.

So y'e-4x - 4xye-4x is the derivative, with respect to x, of ye-4x
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
2K
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K