Comprehensive Calculus: Limits, Optimization, and Integration Techniques
Functions and Their Classifications
Definition of a Function:
A function is defined as a rule that takes an input number and produces a single well-defined output number.
A function must possess only a single output for every distinct input; otherwise, the relation is no longer defined as a function.
Domain and Range:
Domain: The set of all numbers that serve as inputs.
Range: The set of all corresponding outputs produced by input numbers.
Vertical Line Test:
If the graph of a relation is known, a vertical line test can be executed across the graph.
If a vertical line intersects two or more parts of the graph simultaneously, the graph does not represent a function.
Function Notation:
Functions are commonly represented using the standard notation:
Common Types of Functions:
Linear Functions:
Defined by a polynomial expression of degree 1.
Expressed in slope-intercept form as:
In this form, is defined as the slope of the line, and represents the -intercept.
Implicit Functions:
Equations where the dependent variable () and independent variable () are mixed together on both sides of the relation rather than explicitly solved for .
Example 1 (Equation of a Circle):
Example 2:
Inverse Functions:
A function that completely undoes or reverses the action of another function, designated as .
Conceptual formulation: Determines what specific input value was originally assigned to to yield a given output value .
Example 1: If , then the inverse operation yields:
Example 2: Temperature conversion from Fahrenheit to Celsius and its inverse: Reversing the formula to solve for Fahrenheit in terms of Celsius yields:
Non-linear Functions:
Any function whose graphical representation does not form a straight line.
Foundations and Properties of Limits
Definition of a Limit:
A limit is the prediction of a destination value based on an observed trend.
Rather than identifying the exact value of a function at an isolated point, a limit investigates the steady value that the function approaches as the input gets arbitrarily close to that point.
Undefined Function Values vs. Existence of Limits:
Certain inputs yield undefined values due to algebraic constraints, such as division by zero, yet the limit at that point can still exist.
Consider the rational function:
Evaluating directly at produces an undefined output (), because division by zero is mathematically disallowed.
Evaluating values increasingly close to reveals an underlying convergence:
Approaching from below ():
Target point:
Approaching from above ():
Conclusion on convergence: A limit cannot be concluded from a single sample point. Multiple points must be selected closer and closer from both sides to confirm that the trend converges toward .
Directional Limits:
Left-Hand Limits:
Denoted as:
Evaluated by choosing input values strictly less than ().
Right-Hand Limits:
Denoted as:
Evaluated by choosing input values strictly greater than ().
Two-Sided Limits:
A two-sided limit exists if and only if both the left-hand and right-hand limits coexist and are equal to the identical finite value:
Example of non-matching directional limits:
Properties of Limits:
Limit of a Constant:
Limit of a Sum: If and , then:
Limit of a Product: If and , then:
Limit of a Quotient: If and , then:
Limits at Infinity and Zero Denominators:
Worked Algebraic Limit Exercises:
Exercise 1 (Straight Substitution):
Direct substitution is permitted because the denominator does not evaluate to zero:
Exercise 2 (Straight Substitution):
Direct evaluation yields:
Exercise 3 (Factoring Quadrinomials):
Direct substitution yields .
Factoring the numerator:
Applying limit of products and canceling the common factor:
Exercise 4 (Difference of Squares):
Factoring numerator and denominator:
Canceling the indeterminate factor :
Exercise 5 (Infinite Discontinuity):
Simplifying the rational expression gives .
Evaluating at :
Exercise 6 (Radical Factorization):
The numerator can be expressed as a squared radical:
Factoring the difference of squares under the radical:
Simplifying the expression:
Evaluating the limit:
Exercise 7 (Difference of Cubes and Squares):
Factoring difference of cubes: .
Factoring difference of squares: .
Setting up under radicals:
Evaluating at :
Exercise 8:
Exercise 9:
Polynomial Root Factoring via Rational Root Theorem:
For higher-degree polynomials: Let .
The Rational Root Theorem establishes that possible rational roots are of the form:
Exercise 10:
When evaluating limits, testing the target value () checks for a root: if , then is a factor.
Numerator: . Synthetic division of by :
Coefficients:
Remaining factor:
Denominator: . Synthetic division of by :
Coefficients:
Remaining factor:
Limit evaluation:
Exercise 11:
Synthetic division of numerator by yields: .
Synthetic division of denominator by yields: .
Evaluating the reduced limit:
Limits Approaching Infinity:
Method: Divide all terms by the variable raised to the highest degree in the expression.
Exercise 1:
Dividing by :
Applying :
Exercise 2:
Dividing by :
Conceptual test with an extreme input ():
As the denominator approaches zero from the positive side faster than the numerator diminishes, the ratio grows without bound:
Maxima, Minima, and Points of Inflection
Critical Points and Slopes:
A critical point occurs on a function where the slope of the tangent line is zero (the first derivative is zero):
At a point where the function value is algebraically greater than any neighboring point, the function has a local maximum (maxima).
At a point where the function value is algebraically least compared to neighboring points, the function has a local minimum (minima).

First Derivative Test Rules:
Critical points occur where the derivative equals zero.
When the sign of the first derivative changes from positive (uphill) on the left to negative (downhill) on the right, the critical point is a maxima.
When the sign of the first derivative changes from negative (downhill) on the left to positive (uphill) on the right, the critical point is a minima.
When the sign of the first derivative does not change across a critical point (e.g., remaining positive on both sides), the point is neither a maxima nor a minima.
The Second Derivative Test and Concavity:
The second derivative is defined as the derivative of the initial derivative:
Concavity criteria:
If at a critical point, the rate of change of the first derivative is negative; the curve concaves downward, designating the critical point as a maxima.
If at a critical point, the curve concaves upward, designating the critical point as a minima.
Point of Inflection (POI):
A point of inflection is the transitional location on a curve where the concavity changes from concave upward to concave downward or vice-versa.
It is characterized analytically by:
Stationary Point of Inflection: A point where both and coexist (as illustrated by point on the tangent curve diagram).
Worked Example (Full Curve Analysis):
Given function:
Step 1: First Derivative:
Step 2: Equating Derivative to Zero:
Step 3: Solving for Critical Points:
Dividing by : .
Critical points occur at and .
Step 4: Finding Corresponding -Coordinates:
At :
At :
Step 5: Classification of Critical Points:
Method 1 (First Derivative Sign Testing):
For : Evaluate (positive) and (negative). Sign transition from positive to negative confirms a maximum.
For : Evaluate (negative) and (positive). Sign transition from negative to positive confirms a minimum.
Method 2 (Second Derivative Test):
At : Maximum (concave downward).
At : Minimum (concave upward).
Step 6: Finding the Point of Inflection:

Optimization and Applied Calculus Problems
Optimization Problem 1: Maximum Box Volume:
Problem: A box is to be constructed from a square piece of cardboard measuring by cutting identical squares of side length from each corner and turning up the sides. Find the volume of the largest box that can be made.


Formulation:
The length and width of the folded box base are each , and the height is .
Volume equation:
Differentiation: Factoring out the common term :
Finding Critical Values:
Second Derivative Test Verification:
At :
At :
Volume Calculation:
At :
At :

Optimization Problem 2: Minimum Perimeter for Fixed Rectangular Area:
Problem: Determine the geometric shape of a rectangular field of a given fixed area that is enclosed by the least amount of fencing.

Formulation:
Let the rectangular dimensions be and .
Area is held constant: .
Differentiating the constant area with respect to :
Perimeter to minimize:
Optimization:
Minimizing perimeter requires setting :
Substituting into the area differential equation:
Since , both dimensions are equal, proving that a square is the optimal shape.
Comparative Example ():
Long Rectangle (): Perimeter
Moderate Rectangle (): Perimeter
Square (Optimal, ): Perimeter
Optimization Problem 3: Maximum Area under Budget and Boundary Constraints:
Problem: A rectangular lot is bounded at the back by a river (requiring no fencing). A opening is left unfenced in front. The front fence costs and side fences cost . Find the dimensions of the largest lot that can be fenced for a total budget of .

Cost Equation:
Let the front width be and side length be .
Front fence length is at ; two sides have length at .
Expressing as a function of :
Area Equation and Optimization: Setting derivative to zero:
Computing Side Length and Area:
Verifying total cost:
Maximum enclosed area:
Indefinite Integrals
The Nature of Integration:
Integration is the reverse mathematical process of differentiation (finding the anti-derivative).
Differentiation analyzes the rate of change and the slope of the tangent line; integration calculates the area under the curve of a function.
General integral notation: where is the integrand and is the differential element designating the variable of integration.
The Constant of Integration ():
Reversing a derivative reveals that multiple functions can have the exact same derivative because constants differentiate to zero:
Consequently, the antiderivative must include an arbitrary constant :
Standard Rules of Integration:
Power Rule:
Derived by inverting :
Method: Add to the exponent and divide by the new exponent.
Power Rule with Constant Multiplier:
Rule of Sums:
Sums are integrated term by term:
Basic Trigonometric Integrals:
Introductory Integral Practice Problems:
Problem 1:
Problem 2:
Problem 3 (Adjusting Constants):
Differentiating produces .
Inverting this factor of :
Problem 4:
Hypothesizing an antiderivative based on the power rule: .
Testing via differentiation:
Balancing the extraneous factor of :
Techniques of Integration: Substitution Technique
Theoretical Basis:
Integration by substitution operates as the reverse of the chain rule.
Given , its derivative is:
Integrating both sides:
By introducing a proxy function , where , the integral transforms into standard formulaic form:
Step-by-Step Procedure:
Step 1: Select a proxy function . Ideal candidates are inner functions located inside parentheses, radicals, powers, or trigonometric arguments.
Step 2: Compute the derivative in terms of the original variable and isolate the differential element (such as ).
Step 3: Rewrite the entire integrand in terms of and , verifying that no instances of the original variable remain.
Step 4: Integrate the simplified expression using direct rules.
Step 5: Re-substitute the original function back into .
Worked Substitution Examples:
Example 1:
Step 1: Let .
Step 2: .
Step 3: Rewrite:
Step 4: Integrate:
Step 5: Re-substitute:
Example 2:
Let .
Differentiating: .
Rewrite integrand:
Integrate:
Re-substitute:
Example 3:
Let .
Solving for in terms of to eliminate leftover variables: .
Rewrite integrand:
Distribute :
Integrate term by term:
Re-substitute :
Example 4:
Let .
Rewrite:
Integrate:
Re-substitute:
Techniques of Integration: Integration by Parts
Theoretical Derivation:
Integration by parts is derived from the product rule of differentiation in reverse.
Product rule:
Expressed in differential form:
Integrating both sides:
Rearranging yields the integration by parts formula:
Functional purpose: When an initial integrand cannot be evaluated directly, it is partitioned such that one part is evaluated as the algebraic product , leaving a second integral that is substantially simpler to compute.
Execution Steps:
Step 1: Partition the integrand into and . Select such that its derivative simplifies, and select such that it is readily integrable.
Step 2: Differentiate to obtain .
Step 3: Integrate to find .
Step 4: Substitute components into .
Step 5: Evaluate the remaining integral and append the integration constant .
Worked Examples:
Practice Problem 1:
Substitution fails here because differentiating does not cancel the outer variable factor.
Step 1 & 2: Let .
Step 3: Let .
Step 4: Substitute into formula:
Step 5: Evaluate the remaining integral:
Practice Problem 2:
Step 1 & 2: Let .
Step 3: Let .
Finding requires substitution: let proxy .
.
Step 4: Substitute into parts formula:
Step 5: Integrate the final term using substitution ():
Practice Problem 3 (Repeated Integration by Parts):
First Integration by Parts:
Let .
Let .
Applying formula:
Second Integration by Parts (evaluating ):
Let .
Let .
Applying formula:
Combining Results: Expanding into simplest form:
Conclusion: Integration by parts can be executed repeatedly in succession until the remaining integrand simplifies to an elementary, standard integral form.