AP CalculusDifferential Equations

Differentiation: Bases other than e, separation of variables, slope fields

Bases Other Than : Differentiation & IntegrationGeneral Exponential and Logarithmic Functions While and are the "natural" bases in calculus due to their simple derivatives, real-world data often uses other bases (e.g., base 2 for computing, base 10 for pH or decibels). Any exponential can be rewritten as , which dictates the unique scaling factors () seen in their calculus rules.Calculus Rules for Base Derivatives of Exponential Functions:Nuance: The is a constant multiplier. For , this multiplier is , which is why is unique.Integrals of Exponential Functions:Derivatives of Logarithmic Functions:Context: This is derived from the Change of Base Formula: .Common Pitfalls:Confusing Power Rule with Exponential Rule: Do not use the power rule on . .Forgetting the Constant: In differentiation, you multiply by ; in integration, you divide by .Worked Examples: Base Problem 1: Complex Base Differentiation Find the derivative of .Identify and Apply the general ruleFinal resultProblem 2: Integration of Base Evaluate .Identify Differential Equations: Growth and DecayThe Law of Exponential ChangeMany natural phenomena follow the rule that the rate of change of a quantity is directly proportional to the amount of the quantity present. This leads to the fundamental differential equation .Modeling Components & ApplicationsThe General Solution: : Initial amount (when ).: The relative growth rate.Half-Life (): The time required for a quantity to decay to half its initial size.Newton’s Law of Cooling: The rate of change of an object's temperature is proportional to the difference between and the ambient temperature .Scannable Tip: If the problem says "Rate is proportional to the amount," immediately jump to . If it says "Rate is proportional to the difference," use Newton's model.Worked Example: Newton's Law of CoolingProblem: A cup of coffee at is placed in a room. After 2 minutes, it is . Find the temperature after 10 minutes.Identify constants: , .Use to find :Solve for :Differential Equations: Separation of VariablesThe Separable ProcessSeparation of variables is a technique for solving first-order differential equations where the expression for can be factored into a function of and a function of .Methodology and ExecutionSeparate: Rewrite the equation so all terms (including ) are on one side and all terms (including ) are on the other. $$\frac{1}{g(y)} dy = f(x) dx$$Integrate: Integrate both sides independently.Solve for : Use the initial condition (e.g., ) to find the specific value of the constant of integration.Isolate : Solve the resulting algebraic equation to get as an explicit function of if possible.Subtle Nuance: The constant often becomes part of a coefficient after exponentiation. If , then , which simplifies to .Worked Example: Separable EquationProblem: Solve with initial condition .Separate the variables:Integrate both sides:Use initial condition :Substitute back and solve for :Slope FieldsVisualizing Differential EquationsA slope field (or direction field) is a graphical tool used to visualize the solutions of a first-order differential equation without solving the equation analytically.Interpretation and ConstructionComponents: At various points in the plane, a short line segment is drawn with a slope equal to .Solution Curves: To sketch a particular solution, start at a given point and "follow the flow" of the segments, keeping the curve tangent to the segments at every point.Analyzing Equilibrium:Horizontal Segments: Occur where . These often represent equilibrium solutions or local extrema.Vertical Segments: Occur where the derivative is undefined (asymptotes).Pattern Recognition for Matching:If segments are identical along vertical lines, the DE depends only on (e.g., ).If segments are identical along horizontal lines, the DE depends only on (e.g., ).If segments show symmetry across the origin, look for functions like (circles). (Visual representation of a slope field for , suggesting circular solution paths.)Logic for Matching ExamplesScenario: Matching to a field.Check the origin : Slope should be (horizontal segment).Check : Slope should be (horizontal segment along the line ).Check the first quadrant: As and increase, the slopes should become increasingly positive (steeper).Check the third quadrant: As and become more negative, the slopes should become increasingly negative.