Separable Differential Equations and Applications Flashcards

First-Order Separable Differential Equations

  • Definition of Separable Differential Equations: A first-order differential equation is categorized as separable if it consists of a single derivative (the first derivative) and can be expressed in the mathematical form:     y=f(x)×g(y)y' = f(x) \times g(y)

  • Notation and Legal Mathematics:

    • In the standard notation y=dydxy' = \frac{dy}{dx}, the term is viewed as an operation indicating that the derivative of function yy has been performed with respect to xx.

    • In the context of separable equations, we treat dydy and dxdx as differentials. These represent infinitesimal changes in the variables yy and xx, respectively.

    • Technically, one cannot simply "break up" the fraction dydx\frac{dy}{dx}; however, for the purposes of solving these specific types of equations, the operation allows for the separation of these differentials through a process that yields valid results.

  • General Solving Strategy:

    1. Replace yy' with dydx\frac{dy}{dx}.

    2. Separate the variables so that all terms involving yy (including dydy) are on one side of the equation and all terms involving xx (including dxdx) are on the other.

    3. Integrate both sides of the equation.

    4. Solve for the variable yy to find the general solution.

Equilibrium Solutions

  • Definition: Equilibrium solutions are functions where yy is equal to a constant (i.e., y=ky = k), implying that the derivative yy' is zero. For these solutions, the value of xx can be anything, and the function appears as a horizontal line on a direction field.

  • Method of Identification: To find equilibrium solutions for an equation of the form y=f(x)×g(y)y' = f(x) \times g(y), set the function of yy equal to zero (g(y)=0g(y) = 0) and solve for yy.

  • Example Case: In the equation y=(x4)(y24)y' = (x - 4)(y^2 - 4), the equilibrium solutions are found by solving y24=0y^2 - 4 = 0, which yields:

    • y=2y = 2

    • y=2y = -2

    • Testing these in the original equation results in 0=(x4)(0)0 = (x - 4)(0), confirming they are valid (though often "uninteresting") solutions.

Detailed Calculus Process: Rational Separable Equations

  • Problem: Solve y=(x4)(y24)y' = (x - 4)(y^2 - 4).

  • Step 1: Separation of Variables:     dydx=(x4)(y24)\frac{dy}{dx} = (x - 4)(y^2 - 4)     1y24dy=(x4)dx\frac{1}{y^2 - 4} \, dy = (x - 4) \, dx

  • Step 2: Integration:

    • The right side is a simple polynomial: (x4)dx=12x24x+C1\int (x - 4) \, dx = \frac{1}{2}x^2 - 4x + C_1.

    • The left side, 1y24dy\int \frac{1}{y^2 - 4} \, dy, requires Partial Fraction Decomposition because it is a rational function where the degree of the numerator (0) is less than the degree of the denominator (2).

  • Step 3: Partial Fraction Decomposition:

    • Factor the denominator: (y2)(y+2)(y - 2)(y + 2).

    • Set up the equation: 1y24=Ay2+By+2\frac{1}{y^2 - 4} = \frac{A}{y - 2} + \frac{B}{y + 2}.

    • Multiply through by the denominator: 1=A(y+2)+B(y2)1 = A(y + 2) + B(y - 2).

    • Solve for AA and BB by plugging in values for yy:

      • If y=2y = 2: 1=A(4)    A=141 = A(4) \implies A = \frac{1}{4}.

      • If y=2y = -2: 1=B(4)    B=141 = B(-4) \implies B = -\frac{1}{4}.

    • The integral becomes: (14(y2)14(y+2))dy=14lny214lny+2+C\int (\frac{1}{4(y - 2)} - \frac{1}{4(y + 2)}) \, dy = \frac{1}{4} \ln|y - 2| - \frac{1}{4} \ln|y + 2| + C.

  • Step 4: Combining and Solving for y:

    • Combine the logarithms: 14lny2y+2=12x24x+C1\frac{1}{4} \ln|\frac{y - 2}{y + 2}| = \frac{1}{2}x^2 - 4x + C_1.

    • Multiply by 4 to clear the fraction: lny2y+2=2x216x+4C1\ln|\frac{y - 2}{y + 2}| = 2x^2 - 16x + 4C_1. (Note: 4C14C_1 is still just a constant, labeled C2C_2).

    • Exponentiate both sides with base ee: y2y+2=e2x216x+C2|\frac{y - 2}{y + 2}| = e^{2x^2 - 16x + C_2}.

    • Using laws of exponents, rewrite as: y2y+2=eC2×e2x216x|\frac{y - 2}{y + 2}| = e^{C_2} \times e^{2x^2 - 16x}. Since eC2e^{C_2} is a constant, it is replaced by a coefficient CC.

    • The absolute value is absorbed into the constant coefficient CC, as CC can be positive or negative.

    • Solution setup for simplified handling: Let f(x)=C×e2x216xf(x) = C \times e^{2x^2 - 16x}. Then y2y+2=f(x)\frac{y - 2}{y + 2} = f(x).

    • Clear the denominator: y2=y×f(x)+2×f(x)y - 2 = y \times f(x) + 2 \times f(x).

    • Isolate yy terms: yy×f(x)=2×f(x)+2y - y \times f(x) = 2 \times f(x) + 2.

    • Factor yy: y(1f(x))=2(f(x)+1)y(1 - f(x)) = 2(f(x) + 1).

    • Final general form: y=2(f(x)+1)1f(x)y = \frac{2(f(x) + 1)}{1 - f(x)}, where f(x)=C×e2x216xf(x) = C \times e^{2x^2 - 16x}.

Basic Separable Equation Example

  • Problem: Solve y=6x24xy' = 6x^2 - 4x.

  • Process:

    1. Assume g(y)=1g(y) = 1. No equilibrium solutions exist because 11 is never 00.

    2. dydx=6x24x    dy=(6x24x)dx\frac{dy}{dx} = 6x^2 - 4x \implies dy = (6x^2 - 4x) \, dx.

    3. Integrate: dy=(6x24x)dx\int dy = \int (6x^2 - 4x) \, dx.

    4. y=6x334x22+Cy = \frac{6x^3}{3} - \frac{4x^2}{2} + C.

    5. Simplified: y=2x32x2+Cy = 2x^3 - 2x^2 + C.

Trigonometric Separable Equations and Extraneous Solutions

  • Problem: Solve y=sec(y)+tan(y)cos(y)y' = \frac{\sec(y) + \tan(y)}{\cos(y)}.

  • Equilibrium Solution Check:

    • Setting the numerator equal to zero: sec(y)+tan(y)=0    1cos(y)+sin(y)cos(y)=0\sec(y) + \tan(y) = 0 \implies \frac{1}{\cos(y)} + \frac{\sin(y)}{\cos(y)} = 0.

    • This implies 1+sin(y)=0    sin(y)=11 + \sin(y) = 0 \implies \sin(y) = -1. This occurs at y=3π2+2πny = \frac{3\pi}{2} + 2\pi n.

    • However, at these values, cos(y)=0\cos(y) = 0. Since the denominator cannot be zero, these are extraneous solutions and are not valid equilibrium solutions.

  • Integration via U-Substitution:

    1. Separate: dysec(y)+tan(y)=dxcos(y)\frac{dy}{\sec(y) + \tan(y)} = \frac{dx}{\cos(y)} is difficult; instead, use cos(y)dy=(sec(y)+tan(y))dx\cos(y) \, dy = (\sec(y) + \tan(y)) \, dx.

    2. Wait, rewrite the original derivative for easier integration: dydx=1+sin(y)cos2(y)\frac{dy}{dx} = \frac{1 + \sin(y)}{\cos^2(y)}.

    3. Separate: cos2(y)1+sin(y)dy=dx\frac{\cos^2(y)}{1 + \sin(y)} \, dy = dx.

    4. Integrating LHS using cos2(y)=1sin2(y)=(1sin(y))(1+sin(y))\cos^2(y) = 1 - \sin^2(y) = (1 - \sin(y))(1 + \sin(y)):

      • The expression simplifies to (1sin(y))dy=dx\int (1 - \sin(y)) \, dy = \int dx.

    5. Alternatively, the speaker proposes u-substitution: Let u=1+sin(y)u = 1 + \sin(y), then du=cos(y)dydu = \cos(y) \, dy.

    6. The specific problem demonstrated led to ln1+sin(y)=x+C\ln|1 + \sin(y)| = x + C.

    7. Solving for yy: 1+sin(y)=C×ex    sin(y)=C×ex1    y=arcsin(C×ex1)1 + \sin(y) = C \times e^x \implies \sin(y) = C \times e^x - 1 \implies y = \arcsin(C \times e^x - 1).

Factoring to Achieve Separability

  • Concept: Some differential equations do not appear separable until they are factored, often via grouping.

  • Problem: Solve y=xy2y+3x6y' = xy - 2y + 3x - 6.

  • Factoring Step:

    • Group terms: (xy2y)+(3x6)(xy - 2y) + (3x - 6).

    • Factor out common terms: y(x2)+3(x2)y(x - 2) + 3(x - 2).

    • Factor out the shared binomial: (y+3)(x2)(y + 3)(x - 2).

  • Equilibrium Solution: y+3=0    y=3y + 3 = 0 \implies y = -3.

  • Solving:

    1. 1y+3dy=(x2)dx\frac{1}{y + 3} \, dy = (x - 2) \, dx.

    2. Integrate: lny+3=12x22x+C\ln|y + 3| = \frac{1}{2}x^2 - 2x + C.

    3. Exponentiate: y+3=C×e0.5x22xy + 3 = C \times e^{0.5x^2 - 2x}.

    4. Final equation: y=C×e0.5x22x3y = C \times e^{0.5x^2 - 2x} - 3.

Initial Value Problems (IVP) and Particular Solutions

  • Initial Conditions: A particular solution determines the exact value of the constant CC based on a given point (x0,y0)(x_0, y_0).

  • Example: Solve y=(x4)(y24)y' = (x - 4)(y^2 - 4) with y(0)=3y(0) = 3.

  • Process:

    1. Start with the general solution derived earlier: y=2(f(x)+1)1f(x)y = \frac{2(f(x) + 1)}{1 - f(x)} where f(x)=C×e2x216xf(x) = C \times e^{2x^2 - 16x}.

    2. Plug in x=0x = 0 and y=3y = 3:

      • f(0)=C×e0=Cf(0) = C \times e^{0} = C.

      • 3=2(C+1)1C3 = \frac{2(C + 1)}{1 - C}.

    3. Solve for CC:

      • 3(1C)=2(C+1)3(1 - C) = 2(C + 1).

      • 33C=2C+23 - 3C = 2C + 2.

      • 1=5C    C=151 = 5C \implies C = \frac{1}{5}.

    4. Replace CC in the function: f(x)=15×e2x216xf(x) = \frac{1}{5} \times e^{2x^2 - 16x}.

    5. Final Particular Solution: y=2(15e2x216x+1)115e2x216xy = \frac{2(\frac{1}{5}e^{2x^2 - 16x} + 1)}{1 - \frac{1}{5}e^{2x^2 - 16x}}. Multiplying by 5 to clean up the complex fraction gives: y=2e2x216x+105e2x216xy = \frac{2e^{2x^2 - 16x} + 10}{5 - e^{2x^2 - 16x}}.

Word Problem: Mixed Tank Brine Solution (The "Brine" Problem)

  • Scenario Description:

    • "Brine is a mixture of salt and water."

    • Tank Volume: 100L100\,L (remains constant because inflow rate equals outflow rate).

    • Initial Salt Content: 4kg4\,kg at t=0t = 0.

    • Inflow: 2L/min2\,L/min brine containing a concentration of 0.5kg/L0.5\,kg/L of salt.

    • Outflow: 2L/min2\,L/min of the mixed solution is drained from the bottom.

  • Variable Definition: Let S(t)S(t) be the amount of salt in kilograms in the tank as a function of time tt.

  • Setting up the Differential Equation:

    • dSdt=Inflow Rate of SaltOutflow Rate of Salt\frac{dS}{dt} = \text{Inflow Rate of Salt} - \text{Outflow Rate of Salt}.

    • Inflow Rate of Salt: 2L/min×0.5kg/L=1kg/min2\,L/min \times 0.5\,kg/L = 1\,kg/min.

    • Outflow Rate of Salt: 2L/min×S(t)100L=S(t)50kg/min2\,L/min \times \frac{S(t)}{100\,L} = \frac{S(t)}{50}\,kg/min.

    • Equation: dSdt=1S50\frac{dS}{dt} = 1 - \frac{S}{50}.

  • Solving the Equation:

    1. Combine common denominator: dSdt=50S50\frac{dS}{dt} = \frac{50 - S}{50}.

    2. Separate: dS50S=150dt\frac{dS}{50 - S} = \frac{1}{50} \, dt.

    3. Integrate: 150SdS=150dt    ln50S=t50+C\int \frac{1}{50 - S} \, dS = \int \frac{1}{50} \, dt \implies -\ln|50 - S| = \frac{t}{50} + C.

    4. Multiply by 1-1: ln50S=t50+C\ln|50 - S| = -\frac{t}{50} + C.

    5. Exponentiate: 50S=C×et/5050 - S = C \times e^{-t/50}.

    6. Solve for SS: S(t)=50C×et/50S(t) = 50 - C \times e^{-t/50}.

  • Applying Initial Condition S(0)=4S(0) = 4:

    • 4=50C×e0    4=50C    C=464 = 50 - C \times e^0 \implies 4 = 50 - C \implies C = 46.

  • Final Salt Function: S(t)=5046et/50S(t) = 50 - 46e^{-t/50}.

  • Limiting Amount of Salt: As time goes to infinity (tt \rightarrow \infty), the term et/50e^{-t/50} goes to 00. Thus, the limiting amount of salt is 50kg50\,kg. This means the tank eventually reaches the concentration of the incoming brine solution (0.5kg/L×100L=50kg0.5\,kg/L \times 100\,L = 50\,kg).

Questions & Discussion

  • Question: Does the absolute value change anything when integrating for natural logs?

    • Answer: In these problems, it is typically absorbed into the constant coefficient CC. When we exponentiate both sides, the constant eCe^{C} becomes a coefficient that can account for both positive and negative results.

  • Question: How does raising everything to the power of ee work? Is ee the base for everything?

    • Answer: Yes, ee is the base of the natural log. Applying it to both sides cancels the natural log, turning one side into the argument of the log and the other side into an exponent of ee.

  • Question: Looking at Line 2 of the factoring problem (Example 4), how did you pull that out?

    • Answer: It is factoring by grouping. By pulling a yy out of the first two terms and a 33 out of the second two, we see that the binomial (x2)(x - 2) is being multiplied by both, allowing us to factor it out entirely.

  • Question: Why do we only have one constant CC?

    • Answer: If we have constants on both sides (e.g., C1C_1 and C2C_2), we can simply subtract one from the other to create a single resulting constant. Therefore, we generally only write it on the side with the independent variable xx.

  • Question on Tank Problem: Could you explain the outflow concentration again?

    • Answer: The outflow rate is the volume of water leaving (2L/min2\,L/min) multiplied by the concentration of salt. Since the salt is mixed, its concentration is the total current amount of salt (S(t)S(t)) divided by the total volume (100L100\,L). This yields the rate at which mass is leaving the system.

Class Information and Attendance

  • Planned Topics: Newton's Law of Cooling (Word Problems) and more IVP particular solutions.

  • Upcoming Quiz: Will cover finding the order of a differential equation and a non-word problem separable IVP.

  • Attendance proper nouns identified: Amber, Jordan, Matthew, Ethan, Kevin Davis, Bowen, Steen, Alan, Celeste, Kevin, Antonio, Jaden, Carson, Kate, Lindsay, Corbin, Olivia, Brian, Sam, Susie, Dylan, Jamar.