- Learn
- Mathematics
- University Math
- Differential Equations
- First-Order Differential Equations
First-Order Differential Equations
IntermediateLesson 1 of 8 in Differential Equations Course
What you will learn
- Classify a differential equation by type, order and linearity, check whether a function solves it, and use an initial condition to pick out one solution.
- Classify differential equations by type, order and linearityTell ordinary from partial differential equations, find the order, and decide whether an equation is linear, so you know which methods can apply.
- Check solutions and solve initial value problemsVerify a proposed solution by substitution, tell general from particular solutions, use an initial condition to find the constant, and state the interval on which a solution is valid.
- Classify differential equations by type, order and linearity
- Read the behavior of solutions from a direction field and compute approximate values with Euler's method, including how the step size affects the error.
- Sketch and read direction fieldsDraw slope segments for an equation of the form y′ = f(t, y), use isoclines and constant solutions, and sketch and describe solution curves through given points.
- Approximate solutions with Euler's methodStep along tangent lines to approximate the solution of an initial value problem, organize the work in a table, and judge the error and the effect of the step size.
- Sketch and read direction fields
- Solve separable, linear and exact equations step by step, and decide which method fits a given equation.
- Solve separable equationsSeparate the variables, integrate both sides, handle the constant and absolute values correctly, and recover any constant solutions lost when dividing.
- Solve linear equations with an integrating factorPut a first-order linear equation in standard form, build the integrating factor, integrate, and read the structure of the general solution.
- Solve exact equationsTest an equation written as M dx + N dy = 0 for exactness, find the potential function, and use an integrating factor when the equation is not exact.
- Choose a solution methodRecognize which form a first-order equation has, use a method that fits it, and fall back on direction fields or Euler's method when no formula method applies.
- Solve separable equations
- Apply the existence and uniqueness theorems to initial value problems, find the interval a linear problem guarantees, and explain how nonlinear equations can behave differently.
- Apply the existence and uniqueness theoremCheck the conditions of the theorem for y′ = f(t, y), interpret what it guarantees, and recognize examples where solutions blow up or are not unique.
- Find the guaranteed interval for a linear equationUse the theorem for linear equations to find, before solving, the interval on which the solution exists and is unique, and compare linear and nonlinear behavior.
- Apply the existence and uniqueness theorem
- Build first-order models from a rate principle, solve them, find parameters from data, and interpret the results in real units.
- Model exponential growth and decaySet up and solve dy/dt = ky, work with half-life and doubling time, find the rate constant from data, and know the limits of the model.
- Model heating and cooling with Newton's lawWrite and solve Newton's law of cooling, find the rate constant from a measurement, and predict when an object reaches a given temperature.
- Model mixing problems with a rate balanceWrite the balance rate in minus rate out for a well-mixed tank, solve for the amount of substance with constant and changing volume, and interpret the long-term behavior.
- Model exponential growth and decay
First-Order Differential Equations study guide
1Describe differential equations and what it means to solve them
A differential equation describes a function through its rate of change. Before choosing a method, you need to know what kind of equation you have and what counts as an answer. You will identify order and linearity, check proposed solutions by differentiation, and use a starting value to select a solution curve. Explicit formulas, implicit relations, and intervals each carry part of the answer.
1.1 Identify the kind of differential equation
A differential equation relates an unknown function to its derivatives. In , the unknown is the whole function . The equation says that its instantaneous rate is 0.3 times its current value.
Identify the variables and order
An ordinary differential equation (ODE) has an unknown function of one independent variable. Both and denote its ordinary derivative. A partial differential equation (PDE) involves a function of several variables and partial derivatives, as in for temperature depending on position and time.
The order is the highest derivative present. Thus is second order, while is first order. Cubing a first derivative does not turn it into a third derivative. Check the derivative symbols before looking at their powers.
For many first-order equations, isolate the derivative:
This is normal form. At a point , the function gives the slope of a solution curve. For , division by gives , provided . Keep that restriction when using the rewritten equation.
Decide whether the equation is linear
A first-order linear equation has the form
The function and its derivative occur to the first power, are not multiplied together, and do not sit inside nonlinear functions. Where , divide the entire equation to obtain standard form:
Linearity concerns the dependent variable. The equation is linear: its coefficients depend on , which is allowed. In contrast, , , and are nonlinear because of the square, product, and sine involving the unknown function.
The same idea applies at higher orders. An equation is linear when it is a sum of derivatives of , each multiplied by a coefficient depending only on the independent variable, equal to a function of that variable.
| Equation | Order | Linearity and reason |
|---|---|---|
| First | Linear: | |
| Second | Nonlinear because of | |
| First | Nonlinear because of |
Read the forcing term
A linear equation is homogeneous when its right side in standard form is zero; otherwise it is nonhomogeneous. Compare with . Moving all terms to one side does not make a nonhomogeneous equation homogeneous: inspect the term independent of .
Some texts also call equations homogeneous. That is a different use of the word. When classifying a linear equation here, homogeneous means a zero forcing term. After classification, look for additional structure: a linear equation may also be separable.
Key Takeaways
- Order comes from the highest derivative, not its power.
- Linearity concerns how the unknown function and its derivatives appear.
- Normal form is ; standard linear form is .
- A linear equation is homogeneous when its forcing term is zero.
1.2 Check a solution and use its starting value
A solution is a differentiable function that satisfies the equation at every point of an interval. A value at one point is not enough: it specifies where a solution must pass, not how it moves elsewhere.
Verify the differential equation
For , test
Differentiate first: . Substitute both expressions:
The identity holds for every real , and the proposed function is differentiable everywhere. It is therefore a solution on . Checking only one time would not establish this identity.
Select one member of a family
A first-order equation typically gives a one-parameter family. Here the family is
A general solution includes every solution under consideration; a particular solution fixes the constant. An initial value problem (IVP) adds a condition . Geometrically, its curve must pass through .
For , substitute into the family:
Hence . Its differential-equation check follows from the family calculation; the separate check confirms the starting value. A wrong constant can still satisfy the differential equation, so both checks matter.
You can also build the condition into definite integrals beginning at . This fixes the constant through the lower limit. Either route is valid; replacing by throughout the differential equation is not, since changes with time.
Work with an implicit relation
An explicit answer isolates . An implicit answer leaves and in a relation. For example,
gives by implicit differentiation, so wherever . With , the appropriate branch is . The negative branch does not pass through the initial point.
Include an interval
For this positive square-root branch, the largest open interval containing 3 on which the function solves the equation is . At either endpoint, makes undefined and the derivative fails to be finite. Although the square root has a value at those endpoints, that does not make them valid points of the ODE solution.
A formula with a pole may be defined on several disconnected intervals. An IVP selects the connected interval containing its initial time. State that interval together with the function, and check the original equation if you divided by an expression while solving.
Key Takeaways
- Verify a solution by differentiating and substituting on its interval.
- An IVP combines an equation with a condition .
- Use the condition to fix the constant or the branch of an implicit relation.
- Check both the differential equation and the initial condition.
- The interval must preserve differentiability and every denominator in the original equation.
2Picture and approximate solutions without a formula
A rate equation contains geometric information even before you solve it. A direction field turns its rates into short tangent segments, helping you see how solution curves move. Euler's method uses those same slopes to calculate approximate values from a starting point. You will connect the picture to the arithmetic and learn how step size, curvature, and accumulated error affect the result.
2.1 Read slopes and sketch solution curves
For , each point carries a slope. A direction field, also called a slope field, displays those slopes as short line segments centered on a grid. It lets you study many possible solution curves without finding formulas.
Build a field from the equation
Take . At the slope is zero; at it is 1; at it is −1. Draw horizontal, rising, and falling segments respectively. At and , the slope is also 1. Steeper segments represent larger slope magnitudes, not larger values of the solution itself.
To sketch a solution through an initial point, draw a smooth curve tangent to the local segments as it moves across the grid. Recompute or inspect the slope at each new location. A solution does not follow one initial tangent line forever, and the segments are not points to connect in grid order.
Use equal-slope curves
An isocline satisfies for a chosen constant slope . For this field,
Along , all field segments are horizontal. Above that line, and solutions decrease; below it, solutions increase. Where a solution crosses the zero-slope line, it has a horizontal tangent. A horizontal tangent alone does not guarantee a maximum or minimum; inspect the signs along the curve on both sides.
An isocline usually is not a solution. The line has derivative 1, but the equation assigns slope zero there. In contrast, has derivative 1 and assigned slope , so it is a solution. Compare a proposed curve's own derivative with the field slope.
Recognize constant solutions and field patterns
A constant function solves the equation when at every time in the interval. In , the entire line has zero slope and is a solution. Zero slope at a single point would not establish a constant solution. For , no fixed makes for all times.
Two patterns simplify a sketch:
- If the right side depends only on , as in , slopes repeat along horizontal lines. Time shifts of a solution are again solutions.
- If it depends only on , as in , slopes repeat along vertical lines. The solutions are vertical shifts.
Describe behavior without claiming exact coordinates
For , the family confirms that the vertical difference from tends to zero as time grows. A field suggests this behavior; a coarse sketch does not give precise numerical values.
Where and are continuous, uniqueness prevents different solution curves from meeting. If two sketched curves cross in such a region, at least one sketch is wrong. This restriction helps keep a drawing consistent, but you must still read slope signs and allow for features between grid points.
Key Takeaways
- A direction field gives the tangent slope at each point.
- An isocline joins points with equal slopes; check separately whether it is a solution.
- A constant solution requires for every time in its interval.
- Positive field slopes mean increasing solutions; negative slopes mean decreasing solutions.
- Slopes repeat horizontally when depends only on and vertically when it depends only on .
- Unique solution curves cannot cross in a region where uniqueness holds.
2.2 Calculate Euler steps and judge their error
Euler's method replaces a short piece of a solution by its tangent line. Starting from , choose a step size and repeat
The slope is evaluated at the current point. After the first step, that point is generally approximate, so each new slope is affected by earlier errors.
Work through a table
For , , take and estimate . The number of steps is .
| Current slope | Next value | |||
|---|---|---|---|---|
| 0 | 0 | 1 | 1 | |
| 1 | 0.1 | 1.1 | 1.2 | |
| 2 | 0.2 | 1.22 | 1.42 |
The last entry estimates the value at . Using in the third slope would look ahead and would no longer be the stated Euler method. Keep extra digits during the steps and round only the reported result.
Separate local and accumulated error
The exact solution is , giving . The Euler error is about . With , six steps give about , with error about .
Under the usual smoothness conditions, the error of one step starting on the exact solution is of order . The accumulated error at a fixed final time is of order . This makes Euler a first-order method: for sufficiently small steps, halving roughly halves the total error, while doubling the number of steps.
For , , Euler gives at time 1 with and with . The exact value is . The improvement follows the expected trend; it is not an exact factor of two at these finite step sizes.
Use concavity carefully
A rightward tangent step from a point on a concave-up solution falls below the curve. For a concave-down solution, it falls above. To extend that conclusion across several steps, check the region through which the approximate points move: curves there must retain the same concavity and obey uniqueness. For the table above, throughout the relevant region, consistent with the underestimate.
A large step can jump into a region with different behavior. For , , using gives and , while . The recurrence stays positive and decreases when . A small-looking time step is meaningful only relative to the equation's rate.
Compare calculations at and when no exact answer is available. They help judge convergence, though agreement alone is not an error proof. Software often uses higher-order methods such as Runge–Kutta, which combine several slope evaluations in each step.
Key Takeaways
- Each Euler update uses the current slope and multiplies it by the step size.
- The step count is when that ratio is an integer.
- Local one-step error is of order ; accumulated fixed-time error is of order under suitable smoothness conditions.
- Concavity predicts a single tangent-step error; a multi-step claim needs control of the region traversed.
- Large steps can create oscillation or growth absent from the exact solution.
- Keep extra digits during iteration and compare two step sizes.
- Euler can approximate solutions even when elementary formulas are unavailable.
3Solve first-order equations exactly
The form of a first-order equation points toward a solution method. Separation collects each variable on its own side; an integrating factor turns a linear equation into a product derivative; exactness identifies a hidden two-variable potential. You will work through each method, handle constants and lost solutions, and choose a route by inspecting the equation before starting the integration.
3.1 Separate variables without losing solutions
A separable equation has the form . Its right side is a product of a function of time and a function of the unknown. The factorization may need rewriting: separates, but the sum does not.
Separate and integrate
Where , write
Integrate both sides and use one constant. This notation is justified by the chain rule: if , then .
For with :
- Divide by : .
- Integrate: .
- Apply the condition: .
- Solve: .
The initial time is zero, so choose the interval between the nearest poles: . Differentiation gives , exactly equal to , and checks the condition.
Recover what division removed
Before dividing, find the zeros of . Here vanishes at zero. The function satisfies the original equation, but it never appears in . For the different initial condition , it is the solution.
Dividing an equation is valid only where the divisor is nonzero. Checking the removed values in the original equation prevents a missing constant solution. It also keeps you from inserting a function into a formula that was derived only for nonzero values.
Keep logarithms and constants straight
For , the nonzero solutions give
Exponentiating yields . Incorporate the sign into a real constant to write . Allowing restores the constant solution, so the family now covers all real initial values.
An integration constant inside an exponential becomes a multiplicative factor: . It does not become . Constants introduced on both sides of an integrated equation can be combined into one.
Accept implicit answers and choose branches
For , separation gives , so
This implicit relation is a useful exact answer even though isolating is inconvenient. With , the constant is 1. The original denominator must remain nonzero on the selected solution branch.
A square root needs a sign. For , integration gives . The condition gives and selects . This function stays negative and is valid for all real time. Choosing the positive root would solve the equation but fail the initial condition.
Key Takeaways
- Separation requires a product , possibly after rewriting.
- Check before dividing and test those constant functions in the original equation.
- Use when integrating .
- Exponentiating an additive constant produces a constant multiplier.
- An implicit relation can be a complete exact answer.
- Use the initial condition to choose a branch and a connected interval.
3.2 Turn a linear equation into a product derivative
A first-order linear equation becomes directly integrable after multiplication by a suitable function. The key is to make its left side a product-rule derivative.
Normalize the whole equation
Begin with . Divide every term by the coefficient of . For on , standard form is . For , moving the unknown term left gives , so .
The integrating factor is
Choose any convenient antiderivative; its additive constant only scales the factor by a nonzero constant. Because , multiplication gives
You must multiply the right side too. Integrate and divide:
Solve with a constant coefficient
For , take . Then . Integrate by parts with and :
Divide every term by :
Writing an added constant instead of would fail substitution: it would leave an unwanted in . The integration constant is part of the numerator before division.
Solve with a variable coefficient
Return to , , . Since ,
Multiplication gives . The left side is , so
The condition gives , hence . The solution is on . The coefficients of standard form are continuous there; both the method and the formula identify zero as a boundary.
Read the family structure
Every linear solution has the form . Here solves the associated homogeneous equation, and is one particular solution of the full equation. In the constant-coefficient example, decays to zero, so the curves approach .
A homogeneous linear equation is also separable. An equation with constant coefficients and constant forcing, such as , is separable too: either route gives . Overlapping methods should agree after their arbitrary constants are renamed.
Key Takeaways
- Divide the entire equation into standard form before reading .
- The factor satisfies .
- Multiply every term by , then integrate .
- Divide the integration constant by along with the other terms.
- The general solution is a particular solution plus a constant multiple of a homogeneous solution.
3.3 Find the potential behind an exact equation
An equation is exact when a potential function satisfies and . Along a solution,
so . Where , the differential equation also reads ; that restriction matters when selecting a graph branch.
Test before integrating
On a rectangle, or more generally a simply connected region, with continuous , exactness is equivalent to . Compute the cross partials, not and . The equality follows from the matching mixed partial derivatives of the potential.
For
we have . Integrate with respect to , treating as constant:
The integration term is an unknown function of , since its derivative with respect to is zero. Differentiate in and compare with :
Thus and . The implicit family is
If , then . Check both partial derivatives of the potential. They recover and .
Avoid double-counting shared terms
Do not add the two separate antiderivatives . In this example both contain , so adding them would count it twice. Instead, integrate one component and use the other to find only what is missing.
If your computed still contains , recheck the test and integration. For a correctly handled exact equation, those terms cancel. Also write the final relation ; naming the potential alone does not specify a solution curve.
Make a non-exact equation exact
Sometimes an integrating factor depending on only one variable works. On a region where the ratios are defined:
- If , use .
- If , use .
For , the first ratio simplifies to . On choose . The multiplied coefficients are and . Their cross partials both equal . Integration gives and the family . Multiplication must use a nonzero factor on the chosen region to preserve equivalence.
Connect the methods
Separation writes as , an exact form with both cross partials zero. A linear equation becomes exact after multiplication by its integrating factor. Exactness therefore depends on the written form: fails the test, but multiplying by gives the potential on a region with .
Key Takeaways
- Exactness means and for one potential.
- Test on an appropriate region.
- Integrate one coefficient and retain an unknown function of the other variable.
- Use the second coefficient to find the missing function without double-counting.
- Check both partials and write the final answer as .
- The one-variable integrating-factor ratios have opposite numerator signs.
- Keep the multiplying factor nonzero on the chosen region.
- Separable and linear methods connect to exactness after suitable rewriting.
3.4 Choose a method by inspecting the equation
The first useful step is often algebra, not integration. Isolate the derivative where possible, simplify the right side, and record any values excluded by division. Then look for a structure you know how to solve.
Match the equation to a method
| Check | Recognizable structure | Useful route |
|---|---|---|
| Does the right side factor? | Separate variables | |
| Is the unknown present linearly? | Integrating factor | |
| Do the cross partials match? | Potential function | |
| No convenient formula structure? | General | Direction field or Euler steps |
The checks are a practical sequence, not mutually exclusive categories. For , separation gives , while the linear method uses . Both give , including zero.
Simplify before rejecting a method
The equation separates as . It is nonlinear in . By contrast, is linear, but its isolated right side is a sum that does not separate.
For , divide by :
The functions of time in the coefficient do not prevent linearity. Similarly, is separable because . A plus sign in an exponent behaves differently from a sum of two separate terms such as .
For , the cross partials both equal . Exactness gives . This potential also shows why the equation is linear wherever .
Consider which variable is the unknown
The equation is nonlinear in . Locally, where the reciprocal description is valid, viewing as a function of gives
That is linear in with independent variable and integrating factor . Reversing roles changes the form; it also requires attention to whether the resulting curve can be read as a graph in the desired variable.
Distinguish an exact answer from an elementary formula
For , , the Fundamental Theorem of Calculus gives
The integral has no elementary antiderivative, but this is still an exact solution. For an equation such as , a direction field and numerical values may be more useful than searching for an elementary expression.
Whatever route you choose, check the initial condition, the connected interval of validity, and values removed by division. Substituting the result into the original equation tests the algebra as well as the chosen method.
Key Takeaways
- Simplification can reveal separation or standard linear form.
- Methods overlap; choose the one with the simplest integrals.
- Exactness is a test of the differential form as written.
- Changing the dependent variable can reveal a linear equation locally.
- A definite integral can express an exact solution without an elementary antiderivative.
- Finish with the initial condition, interval, lost-solution check, and substitution.
4Know when a solution exists and is unique
An initial condition need not select exactly one solution, and even a unique solution may stop at a finite time. Existence and uniqueness theorems tell you what can be guaranteed before you solve. You will check their continuity conditions, distinguish a local guarantee from a whole interval, and compare nonlinear blow-up with the stronger interval guarantee for linear equations.
4.1 Check what existence and uniqueness guarantee
A formula method may produce a candidate answer, but a theorem can tell you whether a solution must exist and whether another one could pass through the same starting point. For a nonlinear equation, that guarantee is usually local.
Check two functions near the initial point
For , , suppose and are continuous on an open rectangle containing . Then there is some interval on which the IVP has exactly one solution.
Compute the partial derivative with respect to the dependent variable. For ,
Both functions are continuous wherever . An initial point with fits inside a small rectangle avoiding that line, so there is a unique nearby solution. At the equation itself is undefined; it cannot supply a classical solution passing through that point.
The theorem gives sufficient conditions. If a continuity check fails, investigate the IVP itself; the failed check alone does not decide the number of solutions.
Understand a local guarantee
For , both and are continuous everywhere. Nevertheless, gives
The solution grows without bound as . Smooth coefficients do not prevent nonlinear finite-time blow-up. With the solution is and the blow-up time is . The initial value can change the endpoint even though the equation is unchanged.
Separate existence from uniqueness
Continuity of alone on an open rectangle gives at least one local solution. It does not ensure just one. For at , is continuous but is undefined on .
The zero solution is one possibility. Another stays zero for and follows for . More generally, it can remain zero until any time and then follow . At the joining time the derivative is zero from both sides, so these are differentiable solutions on an open interval around the initial time.
A failed derivative test need not mean multiple solutions
For , fails to exist at zero, yet the IVP has only the zero solution. A stronger uniqueness theorem uses a local Lipschitz condition in :
The absolute-value function satisfies this with .
Uniqueness also controls geometry. Two different solution curves cannot meet in a region where uniqueness holds: a meeting point would give two solutions to the same IVP. Thus a nonzero solution of cannot cross the constant solution while it remains in its interval of existence.
Key Takeaways
- Continuity of and near the initial point guarantees one local solution.
- Continuity of alone gives local existence, not necessarily uniqueness.
- A failed sufficient condition leaves the theorem inconclusive.
- Nonlinear solutions can blow up even when is smooth everywhere.
- Uniqueness prevents distinct solution curves from meeting in its region.
4.2 Find the interval promised by a linear equation
For a linear IVP, the coefficient functions give more than a local result. If and are continuous on an open interval containing , then
has exactly one solution on all of . The starting height does not change this guarantee.
Divide first, then locate boundaries
Consider with . Standard form gives
The logarithm requires , and both coefficients exclude . The largest connected open interval containing the initial time 1 is therefore . The theorem guarantees exactly one solution throughout that interval without requiring you to find a formula.
If the initial time were 5, the interval would be . Changing the initial height from 2 to any other real number would leave either guarantee unchanged. Do not join the two intervals across a coefficient singularity, and do not inspect only the original visible coefficients: dividing by the leading coefficient can reveal additional trouble points.
Compare with nonlinear behavior
For linear equations, continuity of and on prevents a solution from blowing up at an interior point of . The integrating-factor formula gives every solution there. For nonlinear equations, a solution can stop before the coefficients become singular, and its endpoint can depend on its initial height. A family obtained by dividing may also omit a constant solution.
This distinction explains why you can often state a linear guarantee before integration but must solve or further analyze a nonlinear IVP to find its maximal interval.
A guarantee need not be the largest possible domain
Take with . Standard form has , so the theorem guarantees the interval . Its solution there is . Direct substitution into the original equation shows that this particular function also works at zero and for negative times.
However, its extension across zero is not unique. For any real , join for to for . The joined function has value and derivative zero at the join and satisfies the original equation throughout. The standard-form theorem made no uniqueness claim across zero.
Add a model's physical time range
A tank with liters has an outflow coefficient involving . The singularity at corresponds to an empty tank. For a process starting at time zero, the physical range is , even though an open coefficient interval can also contain negative times mathematically. State the theorem's interval and the model's usable range with their different purposes clear.
Key Takeaways
- Continuous and guarantee a unique linear solution on their entire interval.
- Normalize first and choose the connected open interval containing .
- The guaranteed interval depends on the coefficients and initial time, not the initial height.
- A particular solution can extend beyond the guaranteed interval; check the original equation.
- A physical process can impose a smaller usable time range.
5Model growth, decay, cooling and mixing
Growth, temperature change, and mixing each begin with a statement about rates. Turning that statement into an equation requires clear variables, consistent units, and a model of the process. You will solve the resulting initial value problems, estimate unknown constants from measurements, and interpret limits and stopping times in the physical situation. The meaning of each term matters as much as the integration.
5.1 Build and interpret exponential models
When the rate of change is proportional to the amount present, write . Define and its unit, define the time unit, and give the initial value. The solution is . A positive gives growth; a negative gives decay. Its unit is reciprocal time, so is dimensionless.
Use a half-life or doubling time
A decay half-life satisfies , hence . After two half-lives one quarter remains. For growth, the doubling time is . These durations do not depend on the starting amount in the exponential model.
A 50 mg sample with half-life 8 days follows
The rate constant is per day. At 20 days, the remaining amount is mg. To find when 5 mg remains, set and take logarithms:
Keep the logarithmic expression until the final calculation. A rounded rate constant can noticeably change a time estimate.
Estimate the rate from measurements
A culture increases from 1,000 to 3,000 cells in 2 hours. The ratio gives , so per hour. Its doubling time is about 1.26 hours. At 5 hours, the model predicts cells.
Use the ratio of final to initial amount, then divide its logarithm by the elapsed time. A threefold increase over two hours is not a rate constant of 3 per hour. Exponential growth assumes the same proportional rate continues; limited food or space can make that unsuitable for long-term population prediction.
Radiocarbon dating applies the same decay relation. Using the approximate carbon-14 half-life of 5,730 years, a sample retaining 30% of its initial amount gives years in the ideal decay calculation.
Interpret continuous rates and added input
For continuous compounding at 3% per year, use in . The doubling time is years. The percentage must be converted to a decimal before it enters the exponent.
Adding a constant input changes the equation to . For its solution is
The constant term shifts the level around which the exponential change occurs. For an infusion model in mg per hour, the amount approaches 20 mg. At that level, input and removal balance. If , the equation instead reduces to and gives .
Check the sign of the predicted change against the rate law and attach units to the result. A negative decay constant gives a positive half-life because the formula uses its magnitude.
Key Takeaways
- Proportional rate gives with reciprocal-time constant .
- Half-life is for decay; doubling time is for growth.
- Two measurements determine for positive amounts.
- Continuous percentage rates enter the formula as decimals.
- A constant input shifts the exponential solution when .
- Interpret predictions within the conditions that keep the proportional rate constant.
5.2 Model temperature change relative to the surroundings
Newton's law states that an object's temperature changes at a rate proportional to its difference from the surroundings:
With constant surrounding temperature , the solution is
The temperature difference decays exponentially. A hot object cools because its difference is positive and its derivative is negative. A cold object warms because its difference is negative and its derivative is positive.
Find the rate constant from a measurement
Coffee starts at 90 °C in a 20 °C room and reaches 70 °C after 10 minutes. Its initial difference is 70 degrees; after 10 minutes the difference is 50 degrees. Substitute:
Thus per minute. To reach 40 °C, the difference must become 20 degrees:
The clock still starts at the original 90 °C measurement. After 20 minutes,
The coffee loses 20 degrees in the first 10 minutes but only about 14 degrees in the next 10. Equal time intervals remove equal fractions of the remaining temperature difference, not equal numbers of degrees.
Use the same law for warming
A drink starts at 5 °C in a 25 °C room and reaches 10 °C after 15 minutes. Its difference from the room changes from −20 to −15 degrees, so and per minute. To reach 20 °C, only a 5-degree gap can remain. Then and minutes.
Ratios of two negative differences are positive. Taking the logarithm of a negative temperature difference directly would be an error; first form the positive ratio implied by the exponential equation.
Interpret the limit and the units
For , the difference never becomes exactly zero at a finite time in this model, since . The temperature approaches from its initial side. If the object starts at , it stays there from the start.
Celsius and kelvin temperature differences have the same numerical size. Use one time unit throughout, because changing minutes to hours changes the numerical value of . The formula would wrongly predict an approach to zero on the chosen temperature scale unless the surrounding temperature actually were zero.
Check the model conditions
The model treats the object as having a uniform internal temperature, with constant surroundings and constant . A lid or air movement can change the rate constant. If the surroundings are a known function of time, the equation becomes . It is still linear with integrating factor , but the constant-surroundings formula no longer applies unchanged.
Key Takeaways
- The rate depends on the temperature difference .
- With constant surroundings, .
- Fit using a ratio of differences from the surroundings.
- Equal time intervals reduce the remaining gap by equal factors.
- The same positive handles both warming and cooling.
- Time-varying surroundings give a linear equation with time-varying forcing.
5.3 Write a mixing balance and track the volume
Let be the amount of dissolved substance in a well-mixed tank. The rate balance is
Multiply inflow concentration by inflow volume rate to find the input. The outflow concentration equals the current tank concentration , so the removal rate is . Concentration in g/L times flow in L/min gives g/min, the unit required for .
Solve a constant-volume problem
A tank contains 100 L of pure water. Brine at 30 g/L enters at 4 L/min, and mixture leaves at the same rate. Equal flows keep the volume at 100 L:
The input is g/min. The output is g/min, not 120 g/min: the tank initially contains no salt.
Solving the linear equation gives . The initial value fixes , so
At 30 minutes, g and the concentration is g/L. As time grows, the amount approaches 3,000 g and the concentration approaches the 30 g/L inflow. Half the limiting amount is reached at minutes.
Change the volume when the flows differ
In general,
A 200 L tank initially holds 100 L containing 400 g of salt. Brine at 20 g/L enters at 3 L/min; mixture leaves at 2 L/min. Thus and
The input is 60 g/min. The integrating factor is on the physical time range. Multiplying and integrating gives
At zero, , so . Divide to obtain
The tank reaches capacity at , or 100 minutes. At that instant the amount is 3,600 g and the concentration is 18 g/L. The same flow model cannot be continued past filling without specifying what happens to overflow.
Interpret the balance before calculating
Pure water contributes zero substance to the inflow, though it still changes volume. A changing volume belongs in every outflow concentration; using after the volume changes gives the wrong removal rate. Keep amount and concentration distinct: divide the solved amount by the current volume when concentration is requested.
A shrinking tank has a stopping time when its volume reaches zero. A filling tank has a stopping time at capacity. Similar balance equations describe a ventilated room or a constant infusion with proportional removal, provided the contents are well mixed and the input and output rates are known.
Key Takeaways
- The amount balance is input rate minus output rate.
- Outflow concentration is the tank concentration .
- Concentration times flow has units of amount per time.
- Use when the flows differ.
- Solve for amount first, then divide by current volume for concentration.
- Pure-water input brings no dissolved substance.
- Stop or revise the model when the tank fills or empties.
First-Order Differential Equations examples
1From a rate equation to a checked solution
10 steps
- 1IntroductionWhat does a solution need?
A rate equation describes a whole function. Your answer must follow that rate at every point in an interval and pass through any required starting point.
We will classify a first-order equation, check a family by differentiation, and use a starting value to choose one member. Then an implicit example will show why a formula also needs a branch and an interval.
- 2ExplanationRead the highest derivative
In , the highest derivative is the second derivative, so the equation is second order. In , the highest derivative is only the first derivative.
A power changes how a derivative enters the equation; it does not change the derivative's order. Both are ODEs because the unknown is a function of one independent variable. Partial derivatives belong to functions of several variables.
- 3ExampleClassify the working equation
Consider . It is a first-order linear ODE: the unknown and its derivative appear to the first power and are not multiplied together. Its forcing term is nonzero, so it is nonhomogeneous.
Normal form is . This tells you the slope at any point. Standard form already displays the coefficient used by the linear solution method.
- 4ChallengeDoes a sine coefficient prevent linearity?
Classify by order, linearity, and homogeneity on .
---reveal---
It is first order, linear, and homogeneous. The sine is a coefficient depending only on time; it does not act on the unknown function. Dividing by gives standard form with zero forcing. The restriction also makes that division valid.
- 5ExampleDifferentiate a proposed family
For our working equation , consider . To test the family, first differentiate:
Keep the same arbitrary constant in both expressions. Verification asks whether every family member satisfies the equation, so do not select an initial value before completing this identity.
- 6ExampleSubstitute the function and derivative
Substitute into the left side:
The constant and exponential terms cancel. This is an identity for every real time, so every member of the proposed family satisfies the equation on the whole real line. We have checked the rate law; an initial condition still has to choose the required member.
- 7ExampleApply the initial condition
Add the condition . In the family, this becomes
The selected solution is . Substituting zero gives as required. A different constant would still solve the differential equation but would pass through a different starting point.
- 8Key InsightA relation can hide two branches
The relation gives , so it solves wherever .
The condition selects . The positive square root follows the same rate law but misses the starting point. For this IVP, the valid open interval is , where the branch is differentiable and its denominator stays nonzero.
- 9ChallengeDiagnose an incomplete check
A proposed answer to , is . Classify the equation and decide whether this function solves its IVP.
---reveal---
The equation is first-order linear and nonhomogeneous. Differentiation confirms that the function satisfies the equation, but its value at zero is , not . It therefore fails the IVP. A family member must satisfy both the rate law and the required starting value.
- 10RecapKeep the three checks distinct
Read order from the highest derivative and linearity from the way the unknown appears. A nonzero forcing term makes a linear equation nonhomogeneous.
To verify an IVP answer, differentiate and substitute over its interval, then check the initial value. When a relation has several branches, choose the one through the starting point and exclude places where the original rate law or derivative fails.
2Follow slopes by eye and by Euler steps
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionA slope is enough to begin
- 2ExplanationTurn a point into a tangent segment
- 3Key InsightEqual slopes need not make a solution
- 4ChallengeWhere is the curve increasing?
- 5ExplanationSet up the stepping rule
- 6ExampleTake the first tangent step
- 7ExampleUpdate the slope before stepping again
- 8ChallengeContinue one more step
- 9ConnectionCompare against a known curve
- 10TipHalve the step and compare
- 11ChallengeSpot numerical behavior that contradicts the field
- 12RecapConnect the picture to the calculation
3Solve by separation, a product derivative, or a potential
19 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionLook for the structure before integrating
- 2ExplanationFind a product of two single-variable functions
- 3ExampleIntegrate and fit the multiplier
- 4ChallengeRecover the omitted solution
- 5ExplanationExpose the linear coefficient
- 6ExampleCreate a product derivative
- 7ExampleFix the constant and check
- 8ChallengeWhere does the constant go?
- 9ExplanationTest for a potential
- 10ExampleIntegrate only one coefficient
- 11ExampleRecover what the first integration missed
- 12TipCheck both partial derivatives
- 13ExampleTry a factor depending on one variable
- 14ChallengeFind the missing part of a potential
- 15ConnectionOne equation can fit two methods
- 16Key InsightAn integral can be the exact answer
- 17TipTry reversing the variables locally
- 18ChallengeChoose and complete a route
- 19RecapFinish every method with the same checks
4Decide what a theorem promises
10 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionThree different questions
- 2ExplanationBuild a neighborhood of the initial point
- 3ExampleSmooth rates can still give a finite endpoint
- 4Key InsightExistence alone leaves room for a delay
- 5ChallengeWhat follows from a failed derivative check?
- 6ExplanationThe linear theorem covers an entire interval
- 7ExampleNormalize before choosing the interval
- 8Key InsightA particular formula may cross a boundary
- 9ChallengeCompare linear and nonlinear endpoints
- 10RecapState the strength of the guarantee
5Build rate models and interpret their answers
16 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionStart with what changes
- 2ExplanationUse a proportional rate
- 3ExampleFit a decay constant from the ratio
- 4ExampleFind a threshold time
- 5ChallengeInfer growth from a doubling observation
- 6ExplanationTrack the gap from the room
- 7ExampleUse one later temperature to fit the rate
- 8ExampleSolve for a target temperature
- 9ChallengeApply the same law to warming
- 10ExplanationTranslate amount in minus amount out
- 11ExampleWrite the IVP and the stopping time
- 12ExampleBuild the factor for changing volume
- 13ExampleIntegrate and use the initial amount
- 14ConnectionConvert the amount to the requested concentration
- 15ChallengeCombine the balance with its interval
- 16RecapRead the physical meaning of each term
First-Order Differential Equations practice questions
Set 1: Read equations and follow solutions10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Select and carry out exact methods10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Connect intervals with rate models10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Solve and judge unfamiliar first-order problems10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Amount
B
Branch
C
Changing-volume model
Coefficient singularity
Concavity
Concentration
Constant solution
Constant surroundings
Continuous compounding
Cooling constant
D
Definite-integral solution
Differential equation
Differential form
Direction field
Doubling time
E
Euler’s method
Exact equation
Exactness test
Explicit solution
F
Finite-time blow-up
Flow rate
G
General solution
Global error
Guaranteed coefficient interval
H
Half-life
Homogeneous contribution
Homogeneous linear equation
I
Implicit solution
Initial value problem
Integrating factor
Integration constant
Interval of validity
Isocline
L
Level curve
Linear equation
Lipschitz condition
Local existence
Local truncation error
Lost solution
M
Method selection
N
Newton’s law of cooling
Nonlinear equation
Normal form
O
Order
Ordinary differential equation
P
Partial differential equation
Particular solution
Potential function
Product-rule derivative
Proportional-rate model
R
Rate balance
Rate constant
Reversing variables
S
Separable equation
Separation of variables
Solution
Solution curve
Solution extension
Standard linear form
Step size
Sufficient condition
Surrounding temperature
T
Temperature difference
Transient
U
Uniqueness
W
Well-mixed tank
Z
Zero-slope isocline
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.