\(\frac{dy}{dx} = \frac{x}{y}\)
with the initial condition \(y(0) = 2\)
Separable differential equation: A first-order differential equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\), where the right side can be expressed as a product of a function of x alone and a function of y alone.
- Rewrite the equation in the form \(\frac{dy}{dx} = g(x)h(y)\)
- Divide both sides by \(h(y)\) to get \(\frac{1}{h(y)}\frac{dy}{dx} = g(x)\)
- Multiply both sides by \(dx\) to separate variables: \(\frac{1}{h(y)}dy = g(x)dx\)
- Integrate both sides: \(\int \frac{1}{h(y)}dy = \int g(x)dx\)
- Solve for y in terms of x, using initial conditions if provided
Multiply both sides by \(y\) and by \(dx\):
\(y\,dy = x\,dx\)
\(\int y\,dy = \int x\,dx\)
\(\frac{y^2}{2} = \frac{x^2}{2} + C_1\)
Multiply both sides by 2:
\(y^2 = x^2 + C\)
where \(C = 2C_1\)
Therefore: \(y = \pm\sqrt{x^2 + C}\)
Using \(y(0) = 2\):
\(2 = \pm\sqrt{0^2 + C} = \pm\sqrt{C}\)
Since \(y(0) = 2 > 0\), we take the positive root:
\(2 = \sqrt{C}\), so \(C = 4\)
The particular solution is \(y = \sqrt{x^2 + 4}\). Note that we chose the positive root because the initial condition requires a positive value.
• Separation of variables: Rearrange to get all y terms on one side and all x terms on the other
• Integration: Integrate both sides after separation
• Initial conditions: Use to determine the constant of integration
\(\frac{dy}{dx} = \cos(x)\sin(y)\)
with the initial condition \(y(0) = \frac{\pi}{2}\)
Trigonometric separable equation: A separable equation involving trigonometric functions. These often require special integration techniques and may involve inverse trigonometric functions in the solution.
Divide both sides by \(\sin(y)\) and multiply by \(dx\):
\(\frac{dy}{\sin(y)} = \cos(x)\,dx\)
Left side: \(\int \frac{dy}{\sin(y)} = \int \csc(y)\,dy = -\ln|\csc(y) + \cot(y)| + C_1\)
Right side: \(\int \cos(x)\,dx = \sin(x) + C_2\)
\(-\ln|\csc(y) + \cot(y)| = \sin(x) + C\)
where \(C = C_2 - C_1\)
Using \(y(0) = \frac{\pi}{2}\):
\(-\ln|\csc(\frac{\pi}{2}) + \cot(\frac{\pi}{2})| = \sin(0) + C\)
\(-\ln|1 + 0| = 0 + C\)
\(-\ln(1) = C\), so \(C = 0\)
\(-\ln|\csc(y) + \cot(y)| = \sin(x)\)
\(\ln|\csc(y) + \cot(y)| = -\sin(x)\)
\(|\csc(y) + \cot(y)| = e^{-\sin(x)}\)
\(\csc(y) + \cot(y) = \pm e^{-\sin(x)}\)
The solution is implicitly defined by \(\csc(y) + \cot(y) = e^{-\sin(x)}\) (choosing the positive sign to satisfy the initial condition). This is an implicit solution since we cannot easily solve for y explicitly.
• Integration of \(\csc(y)\): \(\int \csc(y)\,dy = -\ln|\csc(y) + \cot(y)| + C\)
• Implicit solutions: Sometimes we cannot solve explicitly for y, so we leave the solution in implicit form
• Initial conditions: Used to determine the constant and select the appropriate sign
\(\frac{dP}{dt} = kP\)
with the initial condition \(P(0) = P_0\), where k is a positive constant.
Exponential growth/decay equation: A fundamental separable equation of the form \(\frac{dy}{dx} = ky\), where k is a constant. When k > 0, it represents exponential growth; when k < 0, it represents exponential decay.
Divide both sides by \(P\) and multiply by \(dt\):
\(\frac{dP}{P} = k\,dt\)
Left side: \(\int \frac{dP}{P} = \ln|P| + C_1\)
Right side: \(\int k\,dt = kt + C_2\)
\(\ln|P| = kt + C\)
where \(C = C_2 - C_1\)
\(|P| = e^{kt + C} = e^C \cdot e^{kt}\)
Let \(A = e^C\), so \(|P| = A e^{kt}\)
Since \(A > 0\), we can write: \(P = \pm A e^{kt}\)
Let \(B = \pm A\), so \(P = B e^{kt}\)
Using \(P(0) = P_0\):
\(P_0 = B e^{k \cdot 0} = B e^0 = B\)
Therefore, \(B = P_0\)
\(P(t) = P_0 e^{kt}\)
The solution is \(P(t) = P_0 e^{kt}\), which represents exponential growth if \(k > 0\) or exponential decay if \(k < 0\). This is the famous exponential growth/decay law.
• Integration of \(\frac{1}{P}\): \(\int \frac{dP}{P} = \ln|P| + C\)
• Exponentiating: To eliminate logarithms, raise both sides as exponents of e
• Initial value problems: Use initial conditions to find the particular solution
Separable equation: A differential equation that can be written as \(\frac{dy}{dx} = g(x)h(y)\) where the variables can be separated.
General solution: The family of all solutions containing an arbitrary constant.
Particular solution: A specific solution obtained by assigning a value to the arbitrary constant using initial conditions.
Implicit solution: A solution where y is not explicitly solved in terms of x.
- Identify separability: Check if the equation can be written as \(\frac{dy}{dx} = g(x)h(y)\)
- Separate variables: Rearrange to get all y terms on one side and x terms on the other
- Integrate both sides: Perform integration after separation
- Solve for y: If possible, express y explicitly in terms of x
- Apply initial conditions: Use to find the particular solution
• Standard forms: \(\int \frac{dy}{y} = \ln|y| + C\), \(\int \csc(y)dy = -\ln|\csc(y) + \cot(y)| + C\)
• Exponential growth: \(\frac{dy}{dx} = ky \Rightarrow y = Ce^{kx}\)
• Logistic growth: \(\frac{dy}{dx} = ky(1-\frac{y}{L}) \Rightarrow y = \frac{L}{1 + Ae^{-kt}}\)
• Integration techniques: U-substitution, partial fractions, trigonometric integrals
Separable differential equation: A first-order differential equation that can be written in the form \(\frac{dy}{dx} = g(x)h(y)\), where the variables can be separated into functions of x alone and functions of y alone.
Separation of variables: The technique of rearranging a separable equation so that all terms involving y are on one side and all terms involving x are on the other side.
General solution: The family of all solutions to a differential equation, containing one arbitrary constant.
Particular solution: A specific solution obtained by using initial conditions to determine the value of the arbitrary constant.
- Recognition: Identify that the equation is of the form \(\frac{dy}{dx} = g(x)h(y)\). If not immediately obvious, try algebraic manipulation to achieve this form.
- Division: Divide both sides by \(h(y)\) (assuming \(h(y) \neq 0\)) to get \(\frac{1}{h(y)}\frac{dy}{dx} = g(x)\).
- Multiplication: Multiply both sides by \(dx\) to obtain \(\frac{1}{h(y)}dy = g(x)dx\).
- Integration: Integrate both sides: \(\int \frac{1}{h(y)}dy = \int g(x)dx\).
- Simplification: Simplify the resulting equation and solve for y in terms of x if possible.
- Application of initial conditions: Use given initial conditions to find the particular solution.
• Existence and Uniqueness: Under suitable conditions, there exists exactly one solution satisfying given initial conditions.
• Domain Restrictions: Solutions may be restricted by domain considerations (division by zero, square roots of negatives, etc.).
• Constant Solutions: Check if \(h(y) = 0\) yields constant solutions that might be missed during separation.
• Verification: Always verify solutions by differentiation and substitution into the original equation.
Questions & Answers
Question: How do I know if a differential equation is separable? What should I look for?
Answer: To determine if a differential equation is separable, look for these characteristics:
- The equation should be in the form \(\frac{dy}{dx} = f(x,y)\) where the right side can be factored into a function of x alone multiplied by a function of y alone: \(\frac{dy}{dx} = g(x)h(y)\)
- Look for products of functions where one depends only on x and another only on y
- Examples of separable: \(\frac{dy}{dx} = x^2y\), \(\frac{dy}{dx} = \frac{\sin x}{y^2}\), \(\frac{dy}{dx} = e^x \cos y\)
- Examples of non-separable: \(\frac{dy}{dx} = x + y\), \(\frac{dy}{dx} = \sin(xy)\), \(\frac{dy}{dx} = x^2 + y^2\)
Sometimes you need to algebraically manipulate the equation to reveal the separable form. If you can write it as \(\frac{dy}{dx} = \frac{f(x)}{g(y)}\) or \(\frac{dy}{dx} = f(x) \cdot g(y)\), then it's separable.
Question: What happens if I encounter \(\frac{dy}{dx} = 0\) during separation? Should I worry about this case?
Answer: Yes, you should definitely consider the case where the right side equals zero! This is important:
- When solving \(\frac{dy}{dx} = g(x)h(y)\), you typically divide by \(h(y)\), which assumes \(h(y) \neq 0\)
- You must separately consider the case where \(h(y) = 0\)
- If \(h(y_0) = 0\) for some constant \(y_0\), then \(y = y_0\) is a constant solution
- These constant solutions are sometimes called equilibrium solutions or steady-state solutions
For example, in \(\frac{dy}{dx} = y(1-y)\), we have \(h(y) = y(1-y)\). Setting \(h(y) = 0\) gives \(y = 0\) or \(y = 1\), which are constant solutions that you might miss if you only consider the separated form.
Question: When should I expect an implicit solution versus an explicit solution?
Answer: Whether you get an implicit or explicit solution depends on the complexity of the integration and the resulting equation:
- Explicit solutions: When the integration results in an equation that can be easily solved for y in terms of x (e.g., \(\ln|y| = x^2 + C\) leads to \(y = Ce^{x^2}\))
- Implicit solutions: When the resulting equation cannot be solved explicitly for y (e.g., \(\sin(y) = x^2 + C\) or more complex transcendental equations)
- Trigonometric and logarithmic functions often lead to implicit solutions
An implicit solution is still a valid and complete solution. Don't feel you need to force an explicit form if it's mathematically impossible or unnecessarily complex. Both forms are valuable, and implicit solutions can still be analyzed and graphed.