General Solution Differential Equation (integrating factors)

Click For Summary
SUMMARY

The general solution for the differential equation xy' - 2y = 3x is derived using integrating factors. The integrating factor is calculated as μ(x) = -3x, leading to the exact equation. The solution is expressed as ψ(x,y) = -3x²y - 3x³ + c, where c is a constant. The process involves differentiating and integrating to find the functions M and N, confirming the correctness of the solution through algebraic manipulation.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with integrating factors
  • Knowledge of exact equations and their properties
  • Basic calculus, including differentiation and integration
NEXT STEPS
  • Study the method of integrating factors in depth
  • Explore the concept of exact differential equations
  • Practice solving first-order differential equations using various techniques
  • Learn about the existence and uniqueness theorem for differential equations
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone looking to deepen their understanding of integrating factors and exact equations in calculus.

jaredogden
Messages
77
Reaction score
0

Homework Statement



find the general solution using integrating factors.
xy' - 2y = 3x

Homework Equations


The Attempt at a Solution



x(dy/dx) = 3x + 2y
x*dy = (3x + 2y)dx
(-3x + 2y)dx + xdy = 0

My = -3x + 2
Nx = 1
Not Exact (hence the use of integrating factors)

μ(x)(-3x + 2y)dx + μ(x)xdy = 0

Differentiating with respect to y for M and x for N
μ(x)(-3x + 2) = μ'(x)x + μ(x)

trying to simplify
-3xμ(x) + 2μ(x) - μ(x) = μ'(x)
-3xμ(x) - μ(x) = μ'(x)

-μ(x)(3x - 1) = μ'(x)

I know I need to solve for μ(x) to multiply M and N by, I am not sure if I have done everything correct up until now. I assume that I possibly just need a little help with the algebra to be able to set up an integral to solve for μ(x) but I am not sure.

Any help would be greatly appreciated, I'm not sure if I missed something from the beginning or am almost there. Thanks ahead of time!
 
Last edited:
Physics news on Phys.org
Just realized I did My wrong, re-trying now.
 
Second attempt:

Equations:
F = e∫P(x)dx
P(x) = 1/N*(My - Nx)
ψx = M ψy = N

Attempt:
xy' - 2y = 3x
-2y - 3x + xy' = 0
My = -2 Nx = 1
1/N(My - Nx)
1/x(-2 - 1)
3x-1
∫3x-1dx → -3ln|x|
e-3ln|x| = -3x

integrating factor = -3x

(-3x)(-2y - 3x) + (-3x)xy' = 0
(-6xy - 9x2) - (3x2)y' = 0
My = -6x Ny = -6x EXACT

Integrating M to get ψ(x,y)
∫ψxdx = ∫-6xy - 9x2dx
ψ(x,y) = -3x2y - 3x3 + f(y)

Differentiate with respect to y to get N
ψy = -3x2 + f'(y)
where N = ψy
-3x2 = -3x2 + f'(y)
0 = f'(y) → ∫f'(y)dy = ∫dx
f(y) = c

ψ = -3x2y - 3x3 + c

I think I did everything right. I'm not sure if this is the correct answer or not any help or checking of my work would be appreciated thanks.
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
Replies
11
Views
2K
Replies
15
Views
2K
Replies
3
Views
2K
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K