Learn How to Integrate dy/dx=4x-2y with Expert Tips - Solve D.E.

  • Context: Undergrad 
  • Thread starter Thread starter coffeebean51
  • Start date Start date
  • Tags Tags
    Integrating
Click For Summary
SUMMARY

The discussion focuses on integrating the differential equation dy/dx = 4x - 2y. The initial steps involve transforming the equation into a standard form and solving the homogeneous part, yielding the complementary solution y = c₁e^(-2x). The participants suggest using the method of undetermined coefficients or the integrating factor e^(2x) to find the particular solution. The final solution is expressed as y = 2x - 1 + c*e^(-2x), combining both the particular and complementary solutions.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of integrating factors in differential equations
  • Basic concepts of homogeneous and particular solutions
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Learn about integrating factors for solving linear differential equations
  • Explore the concept of complementary and particular solutions in depth
  • Practice solving first-order linear differential equations using various methods
USEFUL FOR

Students, educators, and professionals in mathematics or engineering fields who are looking to deepen their understanding of differential equations and their solutions.

coffeebean51
Messages
6
Reaction score
0
how do you integrate [tex]\frac{dy}{dx}=4x-2y[/tex].

I don't know if this is right, but this is where I'm going with this:

[tex]y'=4x-2y[/tex]

[tex]y'+2y=4x[/tex]

Solving homogeneous for complementary solution:
[tex]y'+2y=0[/tex]

Solving auxiliary equation:
[tex]m+2=0[/tex]
[tex]m=-2[/tex]

Which gives
[tex]y=c_{1}e^{-2x}[/tex]
[tex]y'=-2c_{1}e^{-2x}[/tex]Now solving original D.E.: [tex]y'+2y=4x[/tex]

[tex]-2c_{1}e^{-2x}+2(c_{1}e^{-2x})=4x[/tex]

I'm lost at this step.
 
Last edited:
Physics news on Phys.org
coffeebean51 said:
how do you integrate [tex]\frac{dy}{dx}=4x-2y[/tex].

I don't know if this is right, but this is where I'm going with this:

[tex]y'=4x-2y[/tex]

[tex]y'+2y=4x[/tex]

Solving homogeneous for complementary solution:
[tex]y'+2y=0[/tex]

Solving auxiliary equation:
[tex]m+2=0[/tex]
[tex]m=-2[/tex]

Which gives
[tex]y=c_{1}e^{-2x}[/tex]
[tex]y'=-2c_{1}e^{-2x}[/tex]


Now solving original D.E.: [tex]y'+2y=4x[/tex]

[tex]-2c_{1}e^{-2x}+2(c_{1}e^{-2x})=4x[/tex]

I'm lost at this step.
You should be! You found y= e-2x as a solution to the equation y'+ 2y= 0. It can't possibly give 4x!

I suspect you are thinking of a looking for a solution of the form y(x)= u(x)e-2x where u is an unknown function of x. Then y'= -2ue-2x+ u' e-2x so y'+ 2y= -2ue-2x+ 2u' e-2x+ 2ue2x= 2u' e-2x= 4x. The part not involving u' cancels precisely because e-2x satisfies the equation= 0. Now u'= 4xe2x. You can use integration by parts to find u and put it back into y= u e2x to find y.

Another method, simpler here, is the "method of undetermined coefficients": Since the derivative of 4x will give a constant that will have to be cancelled, try y= Ax+ B. Then y'= A so y'+ 2y= A+ (Ax+ B)= Ax+ (A+ B)= 4x+ 0. For that to be true for all x, you must have "corresponding coefficients" equal: A= 4 and A+ B= 0.
 
It is a linear inseparable diff. equation, so find the integrating factor, e^(2x), multiply by the integrating factor, and solve, and you get y=2x-1 +c*e^(-2x)
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K