Unit 7
Differential Equations: the one-page sheet
7.1 Writing Differential Equations
A differential equation states how fast a quantity changes. Translate words carefully: "the rate of change of y " is dy/dt , "proportional to" is " k times", and the sign of the right side tells you where y rises or falls. One known rate fixes k .
- A differential equation relates a derivative to the variables: .
- "The rate of change of is proportional to " is . The derivative is on the left; the quantity is on the right.
- "Proportional to the difference between and 20" is .
- The sign of says where increases or decreases; you can read it before knowing any formula for .
- has units: for with in hours, is "per hour".
write the rate as a derivative and the dependence as a formula: dP/dt = kP dy/dt = k⋅(that quantity) ; "inversely proportional" puts the quantity in the denominator the sign of dy/dt is known, so you know where the quantity grows and where it shrinks solve for k , then predict the rate at any other value
- differential equation
- An equation that contains the derivative of an unknown function, such as . It says how fast a quantity changes, often in terms of the quantity itself.
- proportional to
- " is proportional to " means for a constant , the constant of proportionality. "Inversely proportional to " means .
7.2 Verifying Solutions to Differential Equations
To verify a solution to a differential equation, differentiate the function, substitute into both sides and show they agree for every x in an interval. One equation can have infinitely many solutions, and a solution may hold only on an interval where everything is defined.
- A solution to a differential equation is a function, not a number. It makes the equation true for every in an interval.
- To verify a solution: differentiate, substitute into both sides, simplify each side, compare.
- Checking a single point is not enough: two different expressions can agree at one .
- One equation can have a whole family of solutions, such as for .
- A solution may live on an interval only: solves on and on , not across .
compute every derivative the equation uses simplify each side separately, never moving terms across the = sign the function is a solution on that interval the function is not a solution there one differential equation usually has infinitely many solutions
- solution to a differential equation
- A function that makes a differential equation true for every in an interval: substitute it and its derivatives, and the two sides are equal. To verify a solution, differentiate, substitute and compare.
7.3 Sketching Slope Fields
A slope field draws dy/dx as a short segment at each point. Substitute the point's coordinates, get the slope, draw the segment. Look for where the slope is 0 or undefined, and for rows or columns of parallel segments.
- At each point, compute and draw a short segment with that slope, centered on the point.
- Slope 0 gives a horizontal segment; a slope that is undefined (division by 0) gives a vertical one.
- If depends only on , segments in each vertical column are parallel. If it depends only on , segments in each horizontal row are parallel.
- Find where the slope is 0 first: those lines organize the whole field.
- Make steep slopes look steep and gentle ones gentle; the sign matters most.
each point of the plane gets a slope you get the number the segment through that point must have as its slope positive slopes rise to the right, negative ones fall, zero is flat the field shows how every solution curve bends
- slope field
- A picture of a differential equation : at each chosen point , a short segment with slope . A solution curve through a point follows the segments near it.
7.4 Reasoning with Slope Fields
Trace a solution through a point by following the segments across the field. Rows of flat segments are equilibrium solutions, which other solutions approach or leave but never cross. The sign of dy/dx gives direction; d²y/dx² , found with the chain rule, gives concavity.
- Sketch a solution through a point by following the segments both ways, all the way across the field; never cut across the segments.
- An equilibrium solution makes for every . Solve "right side " for .
- The sign of says where a solution rises or falls; long-run behavior shows whether curves approach an equilibrium or move away.
- Concavity: . Every is a function of , so ; then substitute the equation.
it runs along the segment there and keeps following the segments in both directions y = c is an equilibrium solution, a row of flat segments a curve that starts below an equilibrium line stays below it its sign at a point tells the concavity of the solution there
- equilibrium solution
- A constant function that solves a differential equation: at every point of the horizontal line . In a slope field it is a row of horizontal segments.
7.5 Euler's Method
Euler's method approximates a solution of dy/dx = F(x, y) by short tangent steps: from a known point, y_new = y + F(x, y) Δx , then repeat from the new point. Smaller steps follow the curve more closely. The sign of d²y/dx² tells whether the steps fall below the solution (concave up, an underestimate) or above it (concave down, an overestimate).
- One step:
, using the slope at the point you are at. - Lay the work out in a table with columns , , , , ; take exactly the steps asked for.
- Smaller steps give better estimates. A negative steps to the left.
- Over or under: find by differentiating the equation. Concave up curves lie above their tangent steps (underestimate); concave down, below (overestimate).
at a known point you know the direction of the solution curve the rise is Δy = dy/dx Δx , and the new point is (x + Δx, y + Δy) take the next step; repeat until you reach the x you want each step falls below (or above) them, so the estimate is too small (or too large)
- Euler's method
- A step-by-step approximation of a solution of : from a known point , move to , then repeat from the new point with its own slope. Each step follows a tangent line; smaller steps give closer estimates.
7.6 General Solutions by Separation of Variables
For a separable equation, put y with dy and x with dx , integrate both sides, and add one constant immediately. Keep ln |y| ; when you exponentiate, the constant absorbs the sign. The general solution is a family of curves, one for each constant.
- Separable means the right side is a product (or quotient) of a function of and a function of . is not separable.
- Separate completely: only and on one side, only and on the other. and stay in the numerators.
- Integrate both sides and write once, right away. Adding it after solving for gives a different, wrong family.
- . Then , and becomes a constant that may be any sign.
the equation is separable: 1/(h(y)) dy = g(x) dx each side becomes an antiderivative; the two constants combine into one C keep the absolute value; exponentiating gives |y| = e^Ce^(G(x)) , so y = Ae^(G(x)) with A any constant the general solution: a family of curves, one for each constant
- separation of variables
- A way to solve : move every to the side with and every to the side with , , then integrate both sides and add one constant . The result, a family with in it, is the general solution.
7.7 Particular Solutions from Initial Conditions
A particular solution satisfies the differential equation and an initial condition. Separate, integrate, add C , substitute the initial point immediately, then solve for y with the sign that fits. Give its domain: the open interval around the initial x where it is defined and differentiable.
- An initial condition says the solution passes through . Put in for and in for .
- Use it as soon as appears. Solving for first invites algebra slips and wrong constants.
- After a square root, keep the sign that matches : needs the negative root.
- State the domain: an open interval containing on which the formula is defined and its derivative exists.
an equation with one constant C a number for C , before any rearranging one function, the particular solution the domain is the largest open interval around the initial x where the solution is defined and differentiable
- particular solution
- The one member of a general solution that satisfies an initial condition such as (a point the curve must pass through), together with its domain: the largest open interval containing the initial on which the solution is defined and differentiable.
7.8 Exponential Models
When the rate of change is proportional to the amount, dy/dt = ky and y = y_0e^kt . k > 0 is growth, k < 0 decay; k is the rate as a fraction of the amount per unit time. Find k by dividing two values and taking ln ; doubling time and half-life are (ln 2)/(|k|) .
- and give . You may quote this result.
- : the rate of change as a fraction of the current amount, in "per unit time" (per hour, per year).
- Doubling time () and half-life () are both ; they do not depend on the starting amount.
- To find from two values, divide first: , then take .
- Cooling toward room temperature is exponential in , not in .
dy/dt = ky y = y_0e^kt , the exponential model growth or decay; |k| is the rate as a fraction of the amount, per unit time e^(kt_1) = (y_1)/(y_0) , so k = 1/(t_1) ln (y_1)/(y_0)
- exponential model
- A quantity whose rate of change is proportional to its size, , so that with . The constant is the growth constant () or decay constant (): the rate of change as a fraction of the current amount, per unit of time.
7.9 Logistic Models
A logistic model, dP/dt = kP(K − P) , has a rate jointly proportional to the quantity and to the room left. Any positive starting value approaches the carrying capacity K (from below it rises, from above it falls), and growth is fastest at P = K/2 , the point of inflection of P(t) . All of this is read from the equation, without solving it.
- Logistic: or . The carrying capacity is the positive value of that makes the rate 0.
- For , increases toward ; for , decreases toward . Either way .
- Growth is fastest at : below it the graph of is concave up, above it concave down.
- Read these from the equation; no formula for is needed.
dP/dt = kP(K − P) , a logistic differential equation dP/dt ≈ kKP : growth is nearly exponential growth slows and P levels off: lim as t → ∞, P(t) = K , the carrying capacity it is largest at P = K/2 , where the graph of P(t) has a point of inflection
- logistic model
- A differential equation in which the rate of change is jointly proportional to the quantity and to the room left below a limit : , or . Positive solutions approach , and growth is fastest at .
- carrying capacity
- In a logistic model, the positive value at which the rate of change is 0; for any positive starting value, . Read it from by setting the rate to 0.