The excitement of learning separates youth from old age. As long as you’re learning, you’re not old, Rosalyn S.Yalow
People are not who they say but rather who their actions reveal them to be… Be smart about it. Don’t fall for the bullshit, Ziad K. Abdelnour
Definition. A differential equation is an equation that involves one or more dependent variables, their derivatives with respect to one or more independent variables, and the independent variables themselves, e.g., $\frac{dy}{dx} = 3x +5y, y’ + y = 4xcos(2x), \frac{dy}{dx} = x^2y+y, etc.$
It involves (e.g., $\frac{dy}{dx} = 3x +5y$):
Definition. A first-order linear ordinary differential equation is an ordinary differential equation (ODE) involving an unknown function y(x), its first derivative y′, and functions of the independent variable x, which can be written in the general form:: a(x)y' + b(x)y = c(x) where:
These equations are termed “linear” because the unknown function y and its derivative y’ appear to the first power and are not multiplied together or composed in any nonlinear way.
If the function c(x)=0 for all x in the interval of interest, the equation simplifies to: a(x)y’ + b(x)y = 0. Such an equation is called a homogeneous linear differential equation.
The Existence and Uniqueness Theorem provides crucial insight into the behavior of solutions to first-order differential equations ODEs. It states that if:
Then, the differential equation y' = f(x, y) has a unique solution to the initial value problem through the point (x0, y0), meaning that it satisfies the initial condition y(x0) = y0.
This theorem ensures that under these conditions, the solution exists and is unique near x = x0.
In mathematics, a linear ordinary differential equation (ODE) is an equation involving an unknown function and its derivatives, where both the function and its derivatives appear linearly. This means that the unknown function and its derivatives are raised only to the first power and are not multiplied together or composed within nonlinear functions.
This property of linearity makes linear ODEs fundamental in modeling various physical systems due to their simplicity and the powerful mathematical tools available for solving them. They often arise in fields such as:
The linearity of these equations allows for more tractable analytical solutions, often serving as approximations to more complex nonlinear systems. This makes them essential tools in both theoretical and applied mathematics.
In this article, we will explore different forms of linear ODEs, their applications, and their solutions, with a focus on understanding their behavior in real-world contexts.
An ODE is linear if it can be expressed in the form: $a_n(t)\frac{d^ny}{dt^n} +a_{n-1}(t)\frac{d^{n-1}y}{dt^{n-1}} + ··· + a_1(t)\frac{dy}{dt} + a_0(t)y = q(t)$ where
The function y and its derivatives appear to the first power and are not multiplied together.
First-order linear ODEs involve only the first derivative of the unknown function. They are foundational in understanding more complex differential equations. They can be expressed in several forms:
Each of these forms arises in different real-world scenarios, which we will break down further.
Understanding how substances mix and change their concentrations over time in a tank is a classic problem in differential equations. This scenario is commonly used to model real-world systems in chemistry, engineering, and environmental science.
Consider a tank that contains a well-mixed solution of salt and water. Saltwater flows into and out of the tank at a constant rate. Our goal is to model how the concentration of salt in the tank changes over time. Let’s define the variables involved:
The tank is well-mixed, so the concentration of salt throughout the tank is uniform at all times, meaning the concentration of salt is uniform throughout the tank.
The fundamental principle governing the change in the amount of salt in the tank is that the rate of change of the amount of salt in the tank is determined by the difference between the rate of salt inflow and the rate of salt outflow. This gives us the following differential equation:
$\frac{dx}{dt} = \text{Rate of Salt Inflow − Rate of Salt Outflow} = r·C_e(t) - r·\frac{x}{V}$
This equation states that the rate of change of salt in the tank $\frac{dx}{dt}$ is equal to the rate of salt inflow (the product of the inflow rate r and the concentration of the incoming solution Ce(t)) r·Ce(t) minus the rate of salt outflow (the product of the outflow rate r and the concentration of the solution in the tank C(t):) $r·\frac{x}{V}$, where C(t) = x⁄V is the concentration of salt in the tank at time t (since the tank is well-mixed).
$\frac{dx}{dt} = r·C_e(t) - r·\frac{x}{V}⇒[\text{Rearranging terms gives:}] \frac{dx}{dt} + \frac{r·x}{V} = r·C_e(t)$.
It’s often more convenient and useful to work with concentration C(t) instead of the total amount x(t). Recall that C(t) = x⁄V, leading to: $\frac{dx}{dt} + rC = r·C_e(t)$. Besides, x = V·C(t) and differentiating both sides with respect to time gives: $V\frac{dC}{dt} + rC = r·C_e(t)$
This equation can be rewritten in standard form: $\frac{dC}{dt} + \frac{r}{V}C = \frac{r}{V}C_e(t)$. Let k = r⁄V where k represents the fractional flow rate (flow rate relative to the volume), indicating how quickly the tank’s contents are replaced.
The differential equation becomes: $\frac{dC}{dt} + kC = kC_e(t)$. This is a first-order linear ordinary differential equationODE in terms of C(t), the concentration of salt in the tank.
$\frac{dC}{dt} + kC = kC_e(t)$
Assume Ce(t) = C0, a constant concentration.
Scenario:
A vat contains 500 gallons of beer with an alcohol concentration of 4% (by volume). Beer with an alcohol concentration of 7% is pumped into the vat at a rate of 5 gallons per minute. The mixture is simultaneously pumped out at the same rate. Questions: (a) What is the amount of alcohol in the vat after an hour? (b) What is the percentage of alcohol after an hour?
Step 1: Define Variables and Initial Conditions: The vat contains V = 500 gallons of beer with Cinitial = 4% = 0.04 alcohol, so initially, the amount of alcohol is: A(0) = V·Cinitial = 500 × 0.04 = 20 gallons of alcohol. Inflow and Outflow Rate: r = 5 gal/min. Incoming Alcohol Concentration: Ce(t) = 7% = 0.07.
Step 2: Set Up the Differential Equation
Let A(t) be the amount of alcohol in the vat at time t (measured in gallons). The concentration of alcohol in the vat at time t is: $C(t) = \frac{A(t)}{V} = \frac{A(t)}{500}$ because concentration = amount of alcohol⁄volume.
The rate of alcohol inflow and outflow can be written as: $\frac{dA}{dt} = \text{Rate of Alcohol Inflow - Rate of Alcohol Outflow} = rC_e(t) -r\frac{A(t)}{V} = 5\text{gal/min}·0.07 -5\text{gal/min}·\frac{A}{500}$
Thus, the differential equation becomes: $\frac{dA}{dt}=0.35 -0.01A, A(0) = 20, A(60)?$
Step 3: Solve the Differential Equation. This is a separable differential equation. Let’s separate the variables: $\frac{1}{0.35 -0.01A}dA = dt$.
Integrate both sides: $\int \frac{1}{0.35 -0.01A}dA = \int dt ⇒ \frac{1}{-0.01}ln|0.35 -0.01A| = t + C_1 ⇒[\text{Simplifying:}] ln|0.35 -0.01A| = -0.01(t + C_1) ↭ ln|0.35 -0.01A| = -0.01t + C_2$ where C2 = -0.01·C1 is a new constant of integration.
On the left-hand side, the integral requires a substitution u = 0.35 - 0.01A, so du = -0.01dA.
$ln|0.35 -0.01A| = -0.01t + C_2 ↭[\text{Take exponentials of both sides to solve for A:}] |0.35 -0.01A| = e^{-0.01t + C_2}↭ |0.35 -0.01A| = C_3e^{-0.01t}$ where C3 = eC2
$0.35 -0.01A = ± C_3e^{-0.01t} ↭ -0.01A = -0.35 + C_4e^{-0.01t}$ where C4 = ± C3.
Solving for A, $A = \frac{-0.35}{-0.01}+\frac{C_4}{-0.01}e^{-0.01t} ↭ A = 35 + C_5e^{-0.01t}$ where $C_5 = \frac{C_4}{-0.01}⇒[\text{Let C = C₅. Applying the initial conditions}] A(0) = 20 = 35 + Ce^{-0.01·0} ↭ C = 20 -35 = -15 ⇒[\text{Thus, the general solution is:}] A = 35 + Ce^{-0.01t} = 35 -15e^{-0.01t}$
Step 4: Calculate Amount of Alcohol After One Hour (60 minutes). $A(60) = 35 -15e^{-0.01·60} = 35 -15e^{-0.6}≈ 26.77$ gallons of alcohol. So, after an hour (60 minutes), the vat contains approximately 26.7 gallons of alcohol.
Step 5: Calculate the Percentage of Alcohol After One Hour. Alcohol Concentration = $\frac{A(60)}{500} x 100$% $= \frac{26.77}{500} x 100 = 0.0535 x 100 = 5.35$% is the percentage of alcohol after an hour.