Differential Equations Test #2 Review
Differential Equations Test #2 Review
Second Order Linear Equations with Constant Coefficients
- General case: a·y″ + b·y′ + c·y = g(t)
- Homogeneous if g(t)=0; nonhomogeneous otherwise; g(t) is the nonhomogeneity.
- General solution will involve two unknown constants c1 & c2.
- For specific solution, need initial values for y(t0) & y′(t0); plug in and solve for c1 & c2.
- Individual solutions are linearly independent if their Wronskian is nonzero.
- Wronskian Determinant: W(y1, y2) = y1y2′ − y2y1′
- Solving Homogeneous Equations: a·y″ + b·y′ + c·y = 0
- Any linear combination of solutions is also a solution.
- General solution can be written y = c1y1 + c2y2, where y1 & y2 are individual solutions.
- Set up the characteristic quadratic a·r2 + b·r + c = 0 and solve for r.
- §4.2: If two real roots r1 & r2 exist, y1 = er1t and y2 = er2t.
- §4.2: If one repeated root r exists, y1 = ert and y2 = t·ert.
- §4.3: If two complex roots α±βi exist, y1 = eαtcos(βt) and y2 = eαtsin(βt).
- The reason for this is Euler's Formula: eA+Bi = eA·eBi = eA·(cosB + i·sinB).
- Solving Nonhomogeneous Equations: a·y″ + b·y′ + c·y = g(t) ≠ 0
- §4.5: The nonhomogeneous general solution can be written as y = c1y1 + c2y2 + YP,
- where c1y1 + c2y2 is the solution of the corresponding homogeneous equation
- and YP is any single "particular solution" of the nonhomogeneous equation.
- The difficulty of course lies in finding YP, since we already can find y1 and y2.
- §§4.4-5: The Method of Undetermined Coefficients
- This method is useful if g(t) is a sine, cosine, polynomial, or exponential function.
- (or a sum or product of these types of functions)
- Assume that YP has a similar form to g(t), with an unknown coefficient A.
- For example, if g(t) = e3t, use YP = Ae3t.
- If g(t) is a sine or cosine, use YP = Asin + Bcos to cover all possibilities.
- If g(t) is a solution of the corresponding homogeneous equation, try t·g(t).
- Substitute YP and its derivatives into original equation and solve for A, B, C, etc.
- Add YP to solution of corresponding homogeneous equation for general solution.
- Principle of Superposition: if g(t) is a sum, find YP for each term and add them.
- §4.6: The Method of Variation of Parameters
- This method is more general, but less practical (often involves messy integrals).
- Find homogeneous solution c1y1 + c2y2; assume YP = v1y1 + v2y2.
- v1 and v2 represent unknown functions instead of constants.
- Find YP′; assume for simplicity that y1v1′ + y2v2′ = 0; find YP″.
- Substitute YP, YP′, YP″ into original equation and simplify.
- This and y1v1′ + y2v2′ = 0 form a system of equations; solve for v1′ & v2′.
- Integrate to find v1 & v2, then substitute into YP and find solution.
Higher Order Equations
- Higher order homogeneous linear equations can be solved in the same way!
- §6.2: Set up and solve a characteristic polynomial: anrn + an−1rn−1 + ... + a1r + a0 = 0.
- The Rational Roots Theorem and synthetic division can be very useful here.
- Individual solutions will, as before, be of the form ert.
- For repeated roots of higher multiplicity, solutions are ert, tert, t2ert, etc.
- Complex roots still lead to eαtcos(βt) and eαtsin(βt).
- (possibly times t, t2, etc. for repeated complex roots)
- §6.1: Some interesting theoretical mumbo-jumbo for the general case...
- For an nth order equation, there should be a fundamental set of n solutions.
- This also means n unknown coefficients c1,...,cn, so n initial conditions are needed!
- The Wronskian W(y1,...,yn) can still be used to determine if the solutions
- are linearly independent, but it will be an nxn determinant.
Real-World Applications
- §3.5: Circuits with resistors, capacitors, and inductors
- Kirchoff's Voltage Law: total voltage provided = total voltage used (for a closed loop).
- Voltage provided: E(t), which might be constant (DC), variable (AC), or zero (nothing).
- Voltage used: total sum of voltage drop across each circuit element, including:
- Resistors: ER = I·R, where R is resistance (constant)
- Capacitors: EC = q/C, where C is capacitance (constant)
- Inductors: EL = L·dI/dt, where L is inductance (constant)
- Substituting these into Kirchoff's Law yields a differential equation!
- Important note: I (current) is the flow rate of charge (q), so I = q′ and dI/dt = q″.
- Initial conditions may include charge, current, or rate of change in current.
- §4.1, §4.9: Mechanical Vibration (mass on a spring)
- Important constants: m = mass, b = damping coefficient, k = spring constant.
- Generally: m·y″ + b·y′ + k·y = Fext(t)
- This is homogeneous if there is no external force!
- Three possibilities, depending on the discriminant (b2−4mk):
- b2−4mk > 0: overdamped (two real roots; decaying solution)
- b2−4mk = 0: critically damped (repeated root; partial oscillation then decay)
- b2−4mk < 0: underdamped (complex roots; oscillations with gradual decay)
- Initial conditions will be the object's position and velocity at time t=0.
Back