Comprehensive Notes on Single-Variable and Multivariable Calculus
Limits and Continuity of Single-Variable Functions
Limit of a Function (Formal Concept):
- If a function becomes arbitrarily close to a unique value for all sufficiently close to , then approaches the limit as , denoted mathematically as:
- Limits of Basic Elementary Functions:
- Identity Function: For , .
- Constant Function: For , .
- Unit-Step Function: The Heaviside unit-step function does not possess a limit as because a jump discontinuity occurs at . For negative values (), the function remains arbitrarily close to , whereas for positive values (), it remains arbitrarily close to . Because the left-hand and right-hand behaviors approach different values, no single limit exists.
Fundamental Limit Laws / Rules:
- Let , , and be real numbers such that and :
- Sum Rule:
- Difference Rule:
- Constant Multiple Rule:
- Product Rule:
- Quotient Rule: , provided
- Power Rule:
- Root Rule:
Limits of Polynomial and Rational Functions:
- For any polynomial , evaluation occurs via direct substitution: .
- For any rational function , evaluation proceeds as , provided the denominator .
Evaluated Limit Problems:
- :
- Multiplying by the conjugate of the numerator:
- (The limit does not exist as the denominator vanishes while the numerator tends to
- :
- Multiplying by the conjugate of the denominator:
- :
- Multiplying by conjugate of the numerator:
Limits at Infinity:
- When evaluating limits of rational functions as , divide both the numerator and denominator by the highest power of present in the denominator, utilizing the standard result for :
The Sandwich Theorem (Squeeze Theorem):
- Definition: Suppose holds for all in an open interval containing , except possibly at itself. If , then .
- Problem 1: Given that for , evaluate .
- Evaluation: and . By the Sandwich Theorem, .
- Problem 2: Discuss the behavior of near .
- Evaluation: Because , multiplying by yields . Since and , the Sandwich Theorem guarantees that .
Continuity of Single-Variable Functions:
- Continuity at a Point: A function is continuous at if and only if three conditions are satisfied:
- is defined.
- exists.
- .
- Examples: is continuous at because and . Conversely, is continuous at because and , but it is discontinuous at because is undefined.
- One-Sided Continuity:
- Right-Hand Continuity: Satisfied if .
- Left-Hand Continuity: Satisfied if .
- Piecewise Left-Continuity Test: Consider .
- Evaluating the left-hand limit: .
- The function value is .
- Because , is not continuous from the left at .
Points of Discontinuity Determination:
- : Discontinuous at because the denominator vanishes.
- : Setting the denominator shows discontinuities at and .
- : Continuous for all real numbers because , so the denominator never vanishes.
- : Discontinuous at (due to division by ) and wherever , which corresponds to odd integer values of .
Single-Variable Differentiation, Higher-Order Derivatives, and Rates of Change
The First Principle of Differentiation:
- The derivative of at is defined as:
- Physical and Geometric Interpretations:
- The slope of the curve at .
- The slope of the tangent line to the curve at the point .
- The instantaneous rate of change of with respect to at .
- First Principle Calculations:
- For at :
- For at :
Rules of Differentiation:
- Sum and Difference Rule:
- Product Rule:
- Quotient Rule:
- Power Rule:
- Chain Rule: If and , then
Evaluated Derivative Problems:
- For :
- For :
- For :
- For :
- For :
- For :
- For :
- For :
Higher-Order Derivatives:
- The second derivative represents the derivative of the first derivative: .
- Problem 1: Find the 4th derivative of .
- Problem 2: Find the 4th derivative of .
Instantaneous Rate of Change Applications:
- Kinematics: A car's position in meters is given by . Find instantaneous velocity at .
- At , .
- Material Science: The stress in a material is given by . Find the rate of change of stress at .
- At , .
Implicit Differentiation (Single-Variable):
- Used when a relation between and is not explicitly solved for . Differentiate both sides with respect to , applying the chain rule to terms containing by multiplying by .
- Circle:
- Ellipse:
- General Algebraic Curve:
- Trigonometric Implicit Relation:
Applications of Single-Variable Derivatives: Tangents, Normals, Linearization, and Concavity
Tangent and Normal Lines:
- Equation of Tangent Line: At the point , the tangent line is given by:
- Equation of Normal Line: The normal line is perpendicular to the tangent line and is given by:
- Problem: Find equations of the tangent and normal lines to at .
- At , , giving point .
- Slope . At , .
- Tangent line: .
- Normal line: .
Linearization (Linear Approximation):
- The linear approximation of a differentiable function near corresponds to its tangent line at that point:
- Problem 1: Linearize at .
- Function value: .
- Derivative: .
- Approximation: .
- Problem 2: The electrical resistance of a resistor varies with temperature according to . Linearize at .
- Function value: .
- Derivative: .
- Approximation: .
Concavity and the Second Derivative Test:
- Let be twice differentiable on an interval :
- If on , the graph is concave up.
- If on , the graph is concave down.
- Inflection Points: Points where concavity changes sign, occurring where or is undefined.
- Problem 1: Determine the concavity of .
- Setting yields .
- For , Concave up on .
- For , Concave down on .
- Problem 2: Determine the concavity of .
- Setting yields .
- Concave up on .
- Concave down on .
Limits, Continuity, and Geometric Properties of Multivariable Functions
Limits of Functions of Two Variables:
- Definition: A function approaches the limit as approaches , denoted:
- Direct Evaluation Examples:
- , multiplied by the conjugate :
- Non-Existence via Path Dependence (Two-Path Test):
- To prove a limit does not exist, show that approaching the target point along different continuous paths results in different limiting values.
- Show that does not exist:
- Let along the linear paths :
- Because the result depends explicitly on the slope parameter , the limit is non-unique and does not exist.
- Show that does not exist:
- Approach along the linear paths :
- Since the value varies with , the limit does not exist.
Continuity of Functions of Two Variables:
- Definition: A function is continuous at if:
- is defined.
- exists.
- .
- Discontinuity Proof 1: Show that is discontinuous at the origin.
- The function value is defined as .
- Evaluating the limit along :
- Because the limit depends on , it fails to exist. Hence, condition 2 fails, and is not continuous at the origin.
Discontinuity Proof 2: Determine if is continuous at .
- Approaching along for :
- The limit depends on , so the limit does not exist. The function is discontinuous at .
Domain, Range, and Level Curves:
- Domain and Range of :
- Domain: The entire coordinate plane .
- Range: All real numbers .
- Domain and Range of :
- Domain: The set of all ordered pairs except where the denominator vanishes: .
- Range: All real numbers .
- Level Curves of :
- Setting yields .
- For : , a circle of radius .
- For : , a circle of radius .
- For : , a circle of radius .
- For : , representing the single origin point .
- Geometrically, these form a family of concentric circles centered at the origin.
- Level Curves of :
- Setting yields .
- For , these represent a family of downward-opening parabolas with vertices shifted along the -axis at , , and .
- Level Curve Passing Through a Given Point: Find the level curve of passing through .
- Evaluation: Constant .
- Equation: , which is a circle of radius centered at the origin.
Partial Derivatives and Mixed Partials for Functions of Several Variables
First-Order Partial Derivatives:
- The partial derivative with respect to treats all other variables (, ) as constants, and vice versa.
- Calculations:
- ,
- :
- :
- ,
- ,
- ,
- ,
- ,
- ,
- ,
Slope and Rate of Change along Coordinate Directions:
- Problem 1: Find the slope of at in the and directions.
- Slope in -direction: . At , .
- Slope in -direction: . At , .
- Problem 2: Find the rate of change of at .
- . At , .
- . At , .
Second-Order and Mixed Partial Derivatives:
- Problem 1: Find all second-order partial derivatives for .
- First-order: ,
- Second-order:
- Problem 2: If , calculate and .
- Problem 3 (Clairaut's Theorem Verification): For , show that .
- Thus, .
- Problem 4 (Laplace's Equation): If , prove that .
- Express .
- First partial:
- Second partial:
- By symmetry:
- Summing the three second partials:
Advanced Partial Differentiation Problems:
- Third-Order Mixed Derivative: For , evaluate .
- Differentiating with respect to :
- Differentiating with respect to :
- Differentiating with respect to :
- Inverse Tangent Identity: If , show that .
- Differentiating with respect to :
- Differentiating with respect to :
Multivariable Chain Rules and Implicit Differentiation
Chain Rule Formulas:
- Function of Two Variables with One Independent Parameter: If , where and , then:
- Function of Three Variables with One Independent Parameter: If , where , , and , then:
- Function of Three Variables with Three Independent Parameters: If , and are functions of , then:
Evaluated Chain Rule Problems:
- Problem 1: Let , where and . Calculate .
- Problem 2: Let , where and . Calculate .
- Problem 3: Let , where and . Determine and .
- Problem 4: Let , where and . Determine and .
- Problem 5: Find the derivative of along , .
- Problem 6: Express and if , , .
- Problem 7: Let , with , , and . Compute .
- Problem 8: For , with , , , evaluate at .
- Derivative relation:
- At : , , .
- Problem 9: For , with , , , evaluate at .
- Substitute identity: .
- Differentiating:
- At :
- Problem 10: For , with , , , compute .
- Problem 11: For , with , , , compute .
- Partial derivatives: , ,
- Substituting parameter values:
- Applying the chain rule:
- Problem 12 (Chain Rule vs. Direct Substitution): Let , where , , and . Show that .
- Chain Rule Approach:
- Direct Substitution Verification:
- Problem 13 (Spherical Coordinate Transformation): Let , with , , and . Compute , , and .
- Inner partials: , , .
- Derivative with respect to :
- Derivative with respect to :
- Derivative with respect to :
- Problem 14 (Functional Relation Proof): If , prove that .
- Define intermediate variables , , .
- Partial derivatives with respect to each independent coordinate:
- Summing these equations yields:
- Problem 15 (Homogeneous Ratio Proof): If , show that .
- Define intermediate variables , , .
- Compute partials and scale by coordinates:
- Adding these equations together:
Implicit Differentiation via Partial Derivatives:
- If an implicit equation defines as a differentiable function of , differentiation yields:
- Folium of Descartes: Find for .
- Partial Derivative Method: Let .
- Standard Implicit Method Verification:
- Algebraic Implicit Relation: For :
Applied Related Rates via Chain Rule:
- Rectangle Area: The length and width of a rectangle increase at and , respectively. Find the rate of increase of area when and .
- Right Circular Cone: The altitude of a cone increases at while its radius decreases at . Find the time rate of change of volume when and .
- Volume:
- Time derivative:
- Constraint Rate Relation: Let , where and remains constant (). Find when and .
- At :
- Rational Higher Derivative: Find the second derivative of .
- Expand numerator:
- First derivative:
- Second derivative:
Gradient Vectors, Directional Derivatives, and Extreme Rates of Change
The Gradient Vector:
- Definition: The gradient of a scalar function is a vector pointing in the direction of maximum increase:
Evaluated Gradient Examples:
- at
at
at
at :
at :
at :
The Directional Derivative:
- Definition: The rate of change of in the direction of a unit vector is given by the scalar dot product:
Properties of Directional Derivatives:
- Maximum Rate of Increase: Occurs in the direction of the gradient , with value .
Maximum Rate of Decrease: Occurs in the direction opposite the gradient , with value .
Zero Rate of Change: Occurs in any direction orthogonal to .
Evaluated Directional Derivative Problems:
- For at in direction .
- Gradient: .
- Dot product: .
For at in direction .
- Gradient: .
- Unit vector: .
- Dot product: .
For at in direction .
- Gradient: .
- Unit vector: .
- Dot product: .
For at in direction .
- Gradient: .
- Unit vector: .
- Dot product: .
Topographical Application (Hill Steepness): Hill elevation is defined by . A hiker at walks toward . Find the steepness of the path.
- Gradient: .
- Displacement vector: .
- Unit direction: .
- Directional derivative:
Maximum Rate of Increase and Direction: For at , find maximum rate of increase, its direction, and the directional derivative along .
- Gradient: .
Maximum rate of increase: .
- Direction of maximum increase: .
- Along , the unit vector is identical (), giving:
For at in direction .
- Gradient: .
Unit vector: .
Dot product: .
Relative Extrema and Saddle Points of Functions of Two Variables
Critical Points:
- A point in the interior of the domain is a critical point of if both first-order partial derivatives are simultaneously zero:
Second Derivative Test for Local Extrema:
- Evaluate the discriminant (Hessian determinant) at the critical point :
- Classification Criteria:
- If and , then is a local minimum.
- If and , then is a local maximum.
- If , then is a saddle point.
- If , the test is inconclusive.
Evaluated Classification Problems:
- Problem 1:
- First partials: ; . Critical point: .
- Second partials: , , .
- Discriminant: .
- Since and , is a local minimum.
- Value: .
- Problem 2:
- First partials:
- Solving simultaneously: . Critical point: .
- Second partials: , , .
- Discriminant: .
- Since and , is a local maximum.
- Value: .
- Problem 3:
- First partials:
- Substituting : .
- Roots: ; .
- Critical points: and .
- Second partials: , , .
- At : Saddle point.
- At : , , . Discriminant . Since , it is a local maximum.
- Value: .
- Problem 4:
- First partials:
- Substituting : . Critical point: .
- Second partials: , , .
- Discriminant: .
- Since and , is a local minimum.
- Value: .
- Problem 5:
- First partials:
- From , either or .
- Case 1 (): . Yields critical points and .
- Case 2 (): . Yields critical points and .
- Second partials: , , .
- Evaluating discriminant :
- At : Saddle Point.
- At : Saddle Point.
- At : . Since , it is a Local Minimum with value .
- At : . Since , it is a Local Maximum with value .
- Problem 6:
- First partials: ; .
- Substituting: .
- Critical points: , , .
- Second partials: , , .
- Discriminant :
- At : Saddle Point.
- At : . Since Local Maximum with value .
- At : . Since Local Maximum with value .
- Problem 7:
- First partials:
- Solving gives critical points: , , , and .
- Second partials: , , .
- Evaluating :
- At , , : Saddle Points.
- At : , , .
- If , Local Maximum.
- Problem 8:
- First partials: ; .
- Substituting: .
- Critical points: and .
- Second partials: , , .
- At : Saddle Point.
- At : , , . Discriminant .
- If : Local Minimum with value .
- If : Local Maximum.
- Problem 9 (Applied Box Optimization): An open-top rectangular box must have a volume of . Find dimensions minimizing total surface area.
- Volume constraint: .
- Total surface area for an open box: .
- First partials:
- Solving: .
- Corresponding dimensions: , .
- Second partials: , , .
- At : , , . Since , this represents a minimum.
- Optimal dimensions are .
- Problem 10 (Manufacturer Cost Function): A manufacturer produces two products with cost function . Determine minimum cost.
- First partials:
- Solving simultaneously yields , . Critical point: .
- Second partials: , , .
- Discriminant: .
- Because , the critical point is a saddle point, and no local or global minimum cost exists.
Optimization and Absolute Extrema on Closed Bounded Regions
Procedure for Finding Absolute Extrema:
- Find all critical points in the interior of the region and evaluate at these points.
- Identify the extreme values of along each boundary segment using single-variable calculus parameterizations.
- Compare all interior critical values and boundary extreme values. The largest value is the absolute maximum, and the smallest is the absolute minimum.
Evaluated Absolute Extrema Problems:
- Problem 1: Find absolute extrema of on the triangular region with vertices , , .
- Interior critical points: ; . The point is on the boundary.
- Boundary (): . Minimum at , Maximum at .
- Boundary (): everywhere.
- Hypotenuse boundary ():
- Endpoints: ; .
- Comparison:
- Absolute Maximum: at and along the segment from to .
- Absolute Minimum: at .
- Problem 2: Find absolute extrema of on the rectangular region , .
- Interior critical points: ; . Interior point gives .
- Boundary (): . Endpoints: , .
- Boundary (): . Endpoints: , .
- Boundary (): . Critical point at gives . Endpoints: , .
- Boundary (): . Endpoints: , .
- Comparison:
- Absolute Maximum: at .
- Absolute Minimum: at and .
- Problem 3: Find absolute extrema of over the square region with vertices , , , .
- Interior critical points: ; . Interior point gives .
- Boundary (): . Critical point at . Endpoints: , .
- Boundary (): . Critical point at . Endpoints: , .
- Boundary (): . Critical point at . Endpoints: , .
- Boundary (): . Critical point at . Endpoints: , .
- Comparison:
- Absolute Maximum: at and .
- Absolute Minimum: at and .
- Problem 4: Find absolute extrema of on the triangular region bounded by , , and .
- Interior critical point: , , giving .
- Boundary (): . Endpoints: , .
- Boundary (): . Endpoints: , .
- Boundary ():
- Differentiating: .
- Value: .
- Comparison:
- Absolute Maximum: at .
- Absolute Minimum: at .
- Problem 5: Find absolute extrema of on the triangular closed plate bounded by , , and .
- Interior critical points: ; . Solving gives , lying on the boundary.
- Boundary (): . Range: to .
- Boundary (): .
- Critical point: .
- Values: , , .
- Boundary (): .
- Critical point: .
- Values: , .
- Comparison:
- Absolute Maximum: at and .
- Absolute Minimum: at .
- Problem 6: Find absolute extrema of on the closed plate bounded by , , and .
- Interior critical points: ; . Point lies on the boundary.
- Boundary (): .
- Critical point at .
- Endpoints: , .
- Boundary (): .
- Critical point: .
- Endpoints: , .
- Boundary (): .
- Critical point: .
- Endpoints: , .
- Comparison:
- Absolute Maximum: at .
- Absolute Minimum: at .