\(\frac{dy}{dx} = 3y\)
First-order linear differential equation: An equation of the form \(\frac{dy}{dx} = f(x,y)\) where the highest derivative is first order.
- Recognize this as a separable differential equation
- Separate variables: move all y terms to one side, all x terms to the other
- Integrate both sides
- Solve for y in terms of x
\(\frac{dy}{dx} = 3y\)
\(\frac{dy}{y} = 3 dx\)
\(\int \frac{1}{y} dy = \int 3 dx\)
\(\ln|y| = 3x + C_1\)
\(|y| = e^{3x + C_1}\)
\(|y| = e^{C_1} \cdot e^{3x}\)
Let \(C = e^{C_1}\) (where \(C > 0\))
\(y = \pm Ce^{3x}\)
Since \(C\) can be any real number, we can write: \(y = Ce^{3x}\)
\(y = Ce^{3x}\) where \(C\) is an arbitrary constant
• Separation of variables: Move dependent and independent variables to opposite sides
• Integration: \(\int \frac{1}{y} dy = \ln|y| + C\)
• Exponential property: \(e^{a+b} = e^a \cdot e^b\)
\(\frac{dy}{dx} = 2xy\), with \(y(0) = 3\)
Initial value problem (IVP): A differential equation with specified initial conditions that allow determining the particular solution.
\(\frac{dy}{dx} = 2xy\)
\(\frac{dy}{y} = 2x dx\)
\(\int \frac{1}{y} dy = \int 2x dx\)
\(\ln|y| = x^2 + C_1\)
\(|y| = e^{x^2 + C_1} = e^{C_1} \cdot e^{x^2}\)
\(y = Ce^{x^2}\) (where \(C = \pm e^{C_1}\))
Using \(y(0) = 3\):
\(3 = Ce^{0^2} = Ce^0 = C \cdot 1 = C\)
So \(C = 3\)
\(y = 3e^{x^2}\)
\(y = 3e^{x^2}\) is the particular solution satisfying the initial condition
• Separation of variables: \(\frac{dy}{y} = 2x dx\)
• Integration: \(\int 2x dx = x^2 + C\)
• Initial condition: Use given condition to find the specific value of the constant
a) \(\frac{d^2y}{dx^2} + 3\frac{dy}{dx} + 2y = 0\)
b) \(\left(\frac{dy}{dx}\right)^2 + y^3 = \sin(x)\)
c) \(\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = 0\)
Order: The highest derivative appearing in the equation.
Degree: The power of the highest derivative when the equation is in polynomial form.
ODE vs PDE: ODE has one independent variable, PDE has multiple.
\(\frac{d^2y}{dx^2} + 3\frac{dy}{dx} + 2y = 0\)
Highest derivative: \(\frac{d^2y}{dx^2}\) (second derivative)
Order: 2
Degree: 1 (the second derivative is raised to the first power)
Type: ODE (only one independent variable x)
\(\left(\frac{dy}{dx}\right)^2 + y^3 = \sin(x)\)
Highest derivative: \(\frac{dy}{dx}\) (first derivative)
Order: 1
Degree: 2 (the first derivative is squared)
Type: ODE (only one independent variable x)
\(\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = 0\)
Highest derivatives: \(\frac{\partial^2 u}{\partial x^2}\) and \(\frac{\partial^2 u}{\partial y^2}\) (second partial derivatives)
Order: 2
Degree: 1 (the second derivatives are raised to the first power)
Type: PDE (two independent variables x and y)
a) Second-order linear homogeneous ODE
b) First-order nonlinear ODE (due to the squared derivative)
c) Second-order linear homogeneous PDE (Laplace's equation)
b) Order: 1, Degree: 2, Type: ODE
c) Order: 2, Degree: 1, Type: PDE
a) Second-order linear homogeneous ODE
b) First-order nonlinear ODE
c) Second-order linear homogeneous PDE (Laplace's equation)
• Order determination: Identify the highest derivative
• Degree determination: Look at the power of the highest derivative
• ODE/PDE classification: Count the number of independent variables
Differential equation: An equation involving derivatives of an unknown function.
Ordinary differential equation (ODE): Contains only ordinary derivatives with respect to a single variable.
Partial differential equation (PDE): Contains partial derivatives with respect to multiple variables.
Order: The highest derivative in the equation.
Degree: The power of the highest derivative when the equation is polynomial.
- Separation of variables: For equations of the form \(\frac{dy}{dx} = g(x)h(y)\)
- Integrating factor: For linear equations of the form \(\frac{dy}{dx} + P(x)y = Q(x)\)
- Exact equations: When \(\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}\) in \(M(x,y)dx + N(x,y)dy = 0\)
- Homogeneous substitution: For equations of the form \(\frac{dy}{dx} = F(y/x)\)
- Initial/boundary conditions: To find particular solutions
• Separation: \(\frac{dy}{dx} = g(x)h(y) \Rightarrow \int \frac{dy}{h(y)} = \int g(x) dx\)
• Linear ODE: \(\frac{dy}{dx} + P(x)y = Q(x) \Rightarrow y = e^{-\int P(x)dx}\int Q(x)e^{\int P(x)dx}dx\)
• Exact equation: \(M(x,y)dx + N(x,y)dy = 0\) is exact if \(\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}\)
• Homogeneous: Substitution \(v = y/x\) transforms to separable equation
Exponential growth model: The rate of change of a quantity is proportional to the quantity itself, described by \(\frac{dP}{dt} = kP\).
"Rate of growth is proportional to population size" means:
\(\frac{dP}{dt} = kP\)
where \(P\) is the population, \(t\) is time, and \(k\) is the proportionality constant.
This is a separable equation:
\(\frac{dP}{P} = k dt\)
\(\int \frac{dP}{P} = \int k dt\)
\(\ln|P| = kt + C\)
\(|P| = e^{kt+C} = e^C e^{kt}\)
\(P(t) = P_0 e^{kt}\)
where \(P_0 = \pm e^C\) is determined by initial conditions.
Given: \(P(0) = 1000\)
\(1000 = P_0 e^{k \cdot 0} = P_0 \cdot 1\)
So \(P_0 = 1000\)
Given: Population doubles in 5 years, so \(P(5) = 2000\)
\(2000 = 1000e^{5k}\)
\(2 = e^{5k}\)
\(\ln(2) = 5k\)
\(k = \frac{\ln(2)}{5}\)
\(P(t) = 1000e^{\frac{\ln(2)}{5}t}\)
This can also be written as: \(P(t) = 1000 \cdot 2^{t/5}\)
The population at any time t is \(P(t) = 1000e^{\frac{\ln(2)}{5}t}\) or equivalently \(P(t) = 1000 \cdot 2^{t/5}\)
• Exponential growth model: \(\frac{dP}{dt} = kP \Rightarrow P(t) = P_0e^{kt}\)
• Initial value problem: Use given conditions to determine constants
• Logarithmic properties: \(\ln(e^x) = x\) and \(e^{\ln(x)} = x\)
Newton's law of cooling: The rate of temperature change of an object is proportional to the difference between its temperature and the ambient temperature.
Newton's law of cooling states:
\(\frac{dT}{dt} = -k(T-T_a)\)
where \(T\) is the object's temperature, \(T_a\) is ambient temperature (20°C), and \(k\) is a positive constant.
Initial conditions: \(T(0) = 90°C\), \(T(10) = 70°C\)
This is a separable equation:
\(\frac{dT}{T-T_a} = -k dt\)
\(\int \frac{dT}{T-T_a} = \int -k dt\)
\(\ln|T-T_a| = -kt + C\)
\(|T-T_a| = e^{-kt+C} = e^C e^{-kt}\)
\(T-T_a = Ae^{-kt}\) where \(A = \pm e^C\)
\(T(t) = T_a + Ae^{-kt}\)
At \(t = 0\), \(T(0) = 90°C\):
\(90 = 20 + Ae^{-k \cdot 0}\)
\(90 = 20 + A\)
\(A = 70\)
So \(T(t) = 20 + 70e^{-kt}\)
At \(t = 10\), \(T(10) = 70°C\):
\(70 = 20 + 70e^{-10k}\)
\(50 = 70e^{-10k}\)
\(\frac{5}{7} = e^{-10k}\)
\(\ln\left(\frac{5}{7}\right) = -10k\)
\(k = -\frac{1}{10}\ln\left(\frac{5}{7}\right) = \frac{1}{10}\ln\left(\frac{7}{5}\right)\)
Set \(T(t) = 40\):
\(40 = 20 + 70e^{-\frac{\ln(7/5)}{10}t}\)
\(20 = 70e^{-\frac{\ln(7/5)}{10}t}\)
\(\frac{2}{7} = e^{-\frac{\ln(7/5)}{10}t}\)
\(\ln\left(\frac{2}{7}\right) = -\frac{\ln(7/5)}{10}t\)
\(t = \frac{10\ln(2/7)}{-\ln(7/5)} = \frac{10\ln(7/2)}{\ln(7/5)}\)
\(t \approx 27.7\) minutes
The temperature at any time t is \(T(t) = 20 + 70e^{-\frac{\ln(7/5)}{10}t}\), and it reaches 40°C after approximately 27.7 minutes.
• Newton's law of cooling: \(\frac{dT}{dt} = -k(T-T_a)\)
• Exponential decay: Solution is exponential approach to equilibrium
• Logarithmic manipulation: Used to solve for time and constants
Differential equation: An equation containing derivatives of an unknown function. It describes relationships between changing quantities.
Ordinary differential equation (ODE): Contains derivatives with respect to only one independent variable.
Partial differential equation (PDE): Contains partial derivatives with respect to multiple independent variables.
Order: The highest derivative appearing in the equation.
Degree: The power of the highest derivative when the equation is expressed as a polynomial in derivatives.
Linear ODE: An equation that is linear in the unknown function and its derivatives.
Nonlinear ODE: An equation that is not linear in the unknown function or its derivatives.
- Separation of variables: For equations of the form \(\frac{dy}{dx} = g(x)h(y)\), rewrite as \(\frac{dy}{h(y)} = g(x)dx\) and integrate both sides.
- Integrating factor: For linear equations \(\frac{dy}{dx} + P(x)y = Q(x)\), multiply by \(\mu(x) = e^{\int P(x)dx}\) to make the left side a perfect derivative.
- Exact equations: For equations \(M(x,y)dx + N(x,y)dy = 0\), check if \(\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}\); if so, find potential function \(\psi(x,y)\) such that \(d\psi = Mdx + Ndy\).
- Homogeneous equations: For equations of the form \(\frac{dy}{dx} = F(y/x)\), substitute \(v = y/x\) to reduce to separable form.
- Substitution methods: Various substitutions can transform complex equations into simpler forms.
• Separation: \(\frac{dy}{dx} = g(x)h(y) \Rightarrow \int \frac{dy}{h(y)} = \int g(x) dx\)
• Linear ODE: \(\frac{dy}{dx} + P(x)y = Q(x) \Rightarrow y = e^{-\int P(x)dx}\int Q(x)e^{\int P(x)dx}dx\)
• Exact equation: \(M(x,y)dx + N(x,y)dy = 0\) is exact if \(\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}\)
• Exponential growth/decay: \(\frac{dP}{dt} = kP \Rightarrow P(t) = P_0e^{kt}\)
• Newton's law of cooling: \(\frac{dT}{dt} = -k(T-T_a) \Rightarrow T(t) = T_a + (T_0-T_a)e^{-kt}\)
\(\frac{dx}{dt} = ax - bxy\) (Prey population x)
\(\frac{dy}{dt} = -cy + dxy\) (Predator population y)
Where a, b, c, d are positive constants.
Analysis: This system of coupled differential equations demonstrates oscillatory population dynamics:
- Prey population grows when predators are scarce
- Predator population increases when prey is abundant
- As predators increase, prey decreases
- As prey decreases, predators decrease due to lack of food
- The cycle repeats, creating periodic oscillations