How Can You Solve the Differential Equation dy/dx = x(y-1)^2?

Click For Summary
SUMMARY

The differential equation dy/dx = x(y-1)^2 can be solved using the method of separation of variables. The general solution is y_g = 2/(2G - x^2) + 1, where G is a constant. However, applying the initial condition f(0) = 1 leads to a contradiction, as it requires G to approach infinity, resulting in the particular solution y_p = 1, which is an equilibrium solution. This indicates that the initial condition is problematic due to the division by zero when y = 1.

PREREQUISITES
  • Understanding of differential equations, specifically first-order separable equations.
  • Familiarity with integration techniques and manipulation of algebraic expressions.
  • Knowledge of equilibrium solutions in the context of differential equations.
  • Ability to analyze initial conditions and their implications on solutions.
NEXT STEPS
  • Study the method of separation of variables in greater detail.
  • Learn about equilibrium solutions and their significance in differential equations.
  • Explore the implications of initial conditions on the existence and uniqueness of solutions.
  • Investigate alternative methods for solving differential equations, such as integrating factors.
USEFUL FOR

Students studying differential equations, educators teaching calculus, and mathematicians interested in the behavior of solutions to first-order equations.

pakmingki
Messages
93
Reaction score
1

Homework Statement


a. find the general solution to this differential equation
dy/dx = x(y-1)^2
b. find the particular solution to the given initial condition f(0) = 1
c. use the solution found in b to find the range of f


Homework Equations


none really


The Attempt at a Solution


this question seemed simple, but i can't really get the right answer.
here is my attempt

*i use different letters after manipulating constants, because they are still constants after adding/subtracting/dividing/multiplying

dy/dx = x(y-1)^2

*separation of variables*

x dx = (y-1)^-2 dy

*integrate both sides*

x^2/2 + C1= -(y-1)^-1 + C2

x^2/2 = -(y-1)^-1 + K

solve for y

(x^2/2 = -1/(y-1) + K) * 2

x^2 = -2/(y-1) + L

x^2 = -2(y-1)^-1 + L

(x^2 + H = -2(y-1)^-1 ) * -1/2
x^2/2 + G = (y-1)^-1
raise everything to the negative 1

(x^2/2 +G)^-1 = y-1

x^2/2 +G = (x^2 + 2G)/2

((x^2 + 2G)/2)^-1 = 2/(x^2 + 2G)

2/(x^2 + 2G) + 1 = y

but i can tell already this is the wrong answer, and with a wrong general solution, i can't do the other parts of the problem.
 
Physics news on Phys.org
There's a sign error on the first term in your solution.
 
You solved the given differential equation \frac{dy}{dx}=x(y-1)^2 and obtained the correct general solution (except you dropped a - sign on the x^2 term after you multiplied by -1/2) y_g=\frac{2}{2G-x^2}+1 for which \frac{dy_g}{dx}=\frac{4x}{(2G-x^2)^2}=x(y_g-1)^2 and is then indeed a valid solution to the given equation, however the initial condition that f(0)=1 is something of a problem since when we solved the equation we had divided both sides by (y-1)^2 for which we need to assume that y\neq 1 since that would involve division by zero. But maybe we can ignore that and solve it anyways... If we set x=0 and y=1 in the general solution y_g=\frac{2}{2G-x^2}+1 we get 1=\frac{1}{G}+1\Rightarrow \frac{1}{G}=0 which only holds if we let G\to\pm\infty and this gives the particular solution y_p=\lim_{G\to\pm\infty}\left(\frac{2}{2G-x^2}+1\right)=0+1=1, which is the equilibrium solution.
 
Last edited:

Similar threads

Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K