如何求解含两个一阶项的微分方程通解?并求$y'=2(xy'+y)y^3$的通解
General Approach for Equations with Two First-Derivative Terms
Hey there! When you're dealing with a differential equation that has y' popping up in multiple spots, here's a straightforward workflow to find its general solution:
- Step 1: Consolidate all
y'terms
Shift every term containingy'to one side of the equation, factor outy', and rearrange things into the formy' * A(x,y) = B(x,y). This lets you isolatey'as a function of x and y, turning the problem into a more familiar type of ordinary differential equation. - Step 2: Classify the simplified equation
Once you havey' = f(x,y), figure out which category it falls into:- Separable: Split variables and integrate both sides directly.
- First-order linear: Use the integrating factor method to solve it.
- Homogeneous: Substitute
u = y/xto convert it into a separable equation.
- Step 3: Integrate and add the constant of integration
After solving the simplified equation, don't forget to include the arbitrary constantC—this gives you the general solution. You can rearrange it into explicit form if possible, but implicit solutions are totally acceptable too.
Solving the Specific Equation: y' = 2(xy' + y)y³
Let's work through this equation step by step using the method above:
Consolidate
y'terms
First expand the right-hand side:y' = 2xy'y³ + 2y⁴Move all
y'terms to the left and factor outy':y' - 2xy'y³ = 2y⁴ y'(1 - 2xy³) = 2y⁴Isolate
y'to get:y' = 2y⁴ / (1 - 2xy³)Switch variables (treat x as a function of y)
The expression fory'looks a bit messy, so let's flip the perspective: letx = x(y)(meaning we treat x as a function of y instead of the other way around). This makesy' = 1/x'(wherex'denotesdx/dy). Substitute this into the equation:1/x' = 2y⁴ / (1 - 2xy³)Take the reciprocal of both sides and rearrange to get a linear ODE in terms of x:
x' = (1 - 2xy³)/(2y⁴) x' + (1/y)x = 1/(2y⁴)Solve the linear ODE with integrating factor
The integrating factor for a linear equationx' + P(y)x = Q(y)isμ(y) = e^(∫P(y)dy). Here,P(y) = 1/y, so:μ(y) = e^(∫(1/y)dy) = e^(ln|y|) = |y|We can use
μ(y) = y(assumingy > 0; the final solution will cover all sign cases anyway). Multiply both sides of the linear equation byy:yx' + x = 1/(2y³)Notice the left-hand side is just the derivative of
xywith respect to y:d(xy)/dy = 1/(2y³)Integrate both sides
Integrate each side with respect to y:∫d(xy) = ∫1/(2y³) dy xy = (1/2)(-1/(2y²)) + C xy = -1/(4y²) + CFinal general solution
Multiply through by4y²to eliminate denominators (and absorb the constant into a new arbitrary constantCfor simplicity):4xy³ + 1 = Cy²This is the implicit general solution to the original differential equation.
内容的提问来源于stack exchange,提问作者user490308




