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:     y=f(x)y = f(x)

  • Common Types of Functions:

    • Linear Functions:

    • Defined by a polynomial expression of degree 1.

    • Expressed in slope-intercept form as:       f(x)=mx+bf(x) = mx + b

    • In this form, mm is defined as the slope of the line, and bb represents the yy-intercept.

    • Implicit Functions:

    • Equations where the dependent variable (yy) and independent variable (xx) are mixed together on both sides of the relation rather than explicitly solved for yy.

    • Example 1 (Equation of a Circle):       x2+y2=r2x^2 + y^2 = r^2

    • Example 2:       x3+y3−3xy=0x^3 + y^3 - 3xy = 0

    • Inverse Functions:

    • A function that completely undoes or reverses the action of another function, designated as f−1(x)f^{-1}(x).

    • Conceptual formulation: Determines what specific input value xx was originally assigned to f(x)f(x) to yield a given output value yy.

    • Example 1: If f(2)=4f(2) = 4, then the inverse operation yields:       f−1(4)=2f^{-1}(4) = 2

    • Example 2: Temperature conversion from Fahrenheit to Celsius and its inverse:       C=59(F−32)C = \frac{5}{9}(F - 32)       Reversing the formula to solve for Fahrenheit in terms of Celsius yields:       F=95(C)+32F = \frac{9}{5}(C) + 32

    • 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:     f(x)=x2−25x−5f(x) = \frac{x^2 - 25}{x - 5}

    • Evaluating directly at x=5x = 5 produces an undefined output (00\frac{0}{0}), because division by zero is mathematically disallowed.

    • Evaluating values increasingly close to 55 reveals an underlying convergence:

    • Approaching from below (x<5x < 5):       f(4.9)=9.9f(4.9) = 9.9       f(4.99)=9.99f(4.99) = 9.99       f(4.999)=9.999f(4.999) = 9.999       f(4.9999)=10f(4.9999) = 10

    • Target point:       f(5.0000)=undefinedf(5.0000) = \text{undefined}

    • Approaching from above (x>5x > 5):       f(5.0001)=10f(5.0001) = 10       f(5.001)=10.001f(5.001) = 10.001       f(5.01)=10.01f(5.01) = 10.01       f(5.1)=10.1f(5.1) = 10.1

    • 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 1010.

  • Directional Limits:

    • Left-Hand Limits:

    • Denoted as:       lim⁡x→a−f(x)\lim_{x \to a^-} f(x)

    • Evaluated by choosing input values strictly less than aa (x<ax < a).

    • Right-Hand Limits:

    • Denoted as:       lim⁡x→a+f(x)\lim_{x \to a^+} f(x)

    • Evaluated by choosing input values strictly greater than aa (x>ax > a).

    • 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:       lim⁡x→a−f(x)=lim⁡x→a+f(x)=L\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = L

    • Example of non-matching directional limits:       lim⁡x→4−x−4=Does not exist (values under radical are negative)\lim_{x \to 4^-} \sqrt{x - 4} = \text{Does not exist (values under radical are negative)}       lim⁡x→4+x−4=0\lim_{x \to 4^+} \sqrt{x - 4} = 0

  • Properties of Limits:

    • Limit of a Constant:     lim⁡x→ac=c\lim_{x \to a} c = c

    • Limit of a Sum:     If lim⁡x→af(x)=L1\lim_{x \to a} f(x) = L_1 and lim⁡x→ag(x)=L2\lim_{x \to a} g(x) = L_2, then:     lim⁡x→a(f(x)+g(x))=L1+L2\lim_{x \to a} (f(x) + g(x)) = L_1 + L_2

    • Limit of a Product:     If lim⁡x→af(x)=L1\lim_{x \to a} f(x) = L_1 and lim⁡x→ag(x)=L2\lim_{x \to a} g(x) = L_2, then:     lim⁡x→a(f(x)⋅g(x))=L1⋅L2\lim_{x \to a} (f(x) \cdot g(x)) = L_1 \cdot L_2

    • Limit of a Quotient:     If lim⁡x→af(x)=L1\lim_{x \to a} f(x) = L_1 and lim⁡x→ag(x)=L2\lim_{x \to a} g(x) = L_2, then:     lim⁡x→af(x)g(x)=L1L2for L2≠0\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L_1}{L_2} \quad \text{for } L_2 \neq 0

    • Limits at Infinity and Zero Denominators:     lim⁡x→∞1x=0\lim_{x \to \infty} \frac{1}{x} = 0     lim⁡x→01x=undefined\lim_{x \to 0} \frac{1}{x} = \text{undefined}

  • Worked Algebraic Limit Exercises:

    • Exercise 1 (Straight Substitution):     lim⁡x→−1x3−3x2−5x−51−4\lim_{x \to -1} \frac{x^3 - 3x^2 - 5x - 5}{1 - 4}

    • Direct substitution is permitted because the denominator does not evaluate to zero:       (−1)3−3(−1)2−5(−1)−5−3=−1−3+5−5−3=−4−3=43\frac{(-1)^3 - 3(-1)^2 - 5(-1) - 5}{-3} = \frac{-1 - 3 + 5 - 5}{-3} = \frac{-4}{-3} = \frac{4}{3}

    • Exercise 2 (Straight Substitution):     lim⁡x→2x2−x−1x+3\lim_{x \to 2} \frac{x^2 - x - 1}{x + 3}

    • Direct evaluation yields:       (2)2−(2)−12+3=4−2−15=15\frac{(2)^2 - (2) - 1}{2 + 3} = \frac{4 - 2 - 1}{5} = \frac{1}{5}

    • Exercise 3 (Factoring Quadrinomials):     lim⁡x→1x2−3x+2x−1\lim_{x \to 1} \frac{x^2 - 3x + 2}{x - 1}

    • Direct substitution yields 00\frac{0}{0}.

    • Factoring the numerator:       x2−3x+2=(x−2)(x−1)x^2 - 3x + 2 = (x - 2)(x - 1)

    • Applying limit of products and canceling the common factor:       lim⁡x→1(x−2)(x−1)x−1=lim⁡x→1(x−2)=1−2=−1\lim_{x \to 1} \frac{(x - 2)(x - 1)}{x - 1} = \lim_{x \to 1} (x - 2) = 1 - 2 = -1

    • Exercise 4 (Difference of Squares):     lim⁡x→9x2−9xx2−81\lim_{x \to 9} \frac{x^2 - 9x}{x^2 - 81}

    • Factoring numerator and denominator:       lim⁡x→9x(x−9)(x+9)(x−9)\lim_{x \to 9} \frac{x(x - 9)}{(x + 9)(x - 9)}

    • Canceling the indeterminate factor (x−9)(x - 9):       lim⁡x→9xx+9=99+9=918=12\lim_{x \to 9} \frac{x}{x + 9} = \frac{9}{9 + 9} = \frac{9}{18} = \frac{1}{2}

    • Exercise 5 (Infinite Discontinuity):     lim⁡x→−9x2−9xx2−81\lim_{x \to -9} \frac{x^2 - 9x}{x^2 - 81}

    • Simplifying the rational expression gives xx+9\frac{x}{x + 9}.

    • Evaluating at x=−9x = -9:       −9−9+9=−90=undefined\frac{-9}{-9 + 9} = \frac{-9}{0} = \text{undefined}

    • Exercise 6 (Radical Factorization):     lim⁡x→11−x1−x2\lim_{x \to 1} \frac{1 - x}{\sqrt{1 - x^2}}

    • The numerator can be expressed as a squared radical:       1−x=(1−x)2=1−x⋅1−x1 - x = (\sqrt{1 - x})^2 = \sqrt{1 - x} \cdot \sqrt{1 - x}

    • Factoring the difference of squares under the radical:       1−x2=(1−x)(1+x)=1−x⋅1+x\sqrt{1 - x^2} = \sqrt{(1 - x)(1 + x)} = \sqrt{1 - x} \cdot \sqrt{1 + x}

    • Simplifying the expression:       1−x⋅1−x1−x⋅1+x=1−x1+x\frac{\sqrt{1 - x} \cdot \sqrt{1 - x}}{\sqrt{1 - x} \cdot \sqrt{1 + x}} = \frac{\sqrt{1 - x}}{\sqrt{1 + x}}

    • Evaluating the limit:       lim⁡x→11−x1+x=1−11+1=02=0\lim_{x \to 1} \frac{\sqrt{1 - x}}{\sqrt{1 + x}} = \frac{\sqrt{1 - 1}}{\sqrt{1 + 1}} = \frac{0}{\sqrt{2}} = 0

    • Exercise 7 (Difference of Cubes and Squares):     lim⁡x→11−x31−x2\lim_{x \to 1} \frac{\sqrt{1 - x^3}}{\sqrt{1 - x^2}}

    • Factoring difference of cubes: 1−x3=(1−x)(1+x+x2)1 - x^3 = (1 - x)(1 + x + x^2).

    • Factoring difference of squares: 1−x2=(1−x)(1+x)1 - x^2 = (1 - x)(1 + x).

    • Setting up under radicals:       lim⁡x→11−x⋅1+x+x21−x⋅1+x=lim⁡x→11+x+x21+x\lim_{x \to 1} \frac{\sqrt{1 - x} \cdot \sqrt{1 + x + x^2}}{\sqrt{1 - x} \cdot \sqrt{1 + x}} = \lim_{x \to 1} \frac{\sqrt{1 + x + x^2}}{\sqrt{1 + x}}

    • Evaluating at x=1x = 1:       1+1+121+1=32=3⋅22=62\frac{\sqrt{1 + 1 + 1^2}}{\sqrt{1 + 1}} = \frac{\sqrt{3}}{\sqrt{2}} = \frac{\sqrt{3} \cdot \sqrt{2}}{2} = \frac{\sqrt{6}}{2}

    • Exercise 8:     lim⁡t→02t2+1t3+3t−4=2(0)2+103+3(0)−4=−14\lim_{t \to 0} \frac{2t^2 + 1}{t^3 + 3t - 4} = \frac{2(0)^2 + 1}{0^3 + 3(0) - 4} = -\frac{1}{4}

    • Exercise 9:     lim⁡x→1x2−1x2+3x−4=lim⁡x→1(x+1)(x−1)(x+4)(x−1)=lim⁡x→1x+1x+4=1+11+4=25\lim_{x \to 1} \frac{x^2 - 1}{x^2 + 3x - 4} = \lim_{x \to 1} \frac{(x + 1)(x - 1)}{(x + 4)(x - 1)} = \lim_{x \to 1} \frac{x + 1}{x + 4} = \frac{1 + 1}{1 + 4} = \frac{2}{5}

  • Polynomial Root Factoring via Rational Root Theorem:

    • For higher-degree polynomials: Let p(x)=anxn+an−1xn−1+⋯+a1x+a0p(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0.

    • The Rational Root Theorem establishes that possible rational roots are of the form:     ±factors of a0factors of an\pm \frac{\text{factors of } a_0}{\text{factors of } a_n}

    • Exercise 10:     lim⁡x→2x3−x2−x−22x3−5x2+5x−6\lim_{x \to 2} \frac{x^3 - x^2 - x - 2}{2x^3 - 5x^2 + 5x - 6}

    • When evaluating limits, testing the target value (x=2x = 2) checks for a root: if p(2)=0p(2) = 0, then (x−2)(x - 2) is a factor.

    • Numerator: 23−22−2−2=8−4−2−2=02^3 - 2^2 - 2 - 2 = 8 - 4 - 2 - 2 = 0.       Synthetic division of [1,−1,−1,−2][1, -1, -1, -2] by x=2x = 2:

      • Coefficients: 1,(−1+2)=1,(−1+2)=1,(−2+2)=01, (-1 + 2) = 1, (-1 + 2) = 1, (-2 + 2) = 0

      • Remaining factor: x2+x+1x^2 + x + 1

    • Denominator: 2(2)3−5(2)2+5(2)−6=16−20+10−6=02(2)^3 - 5(2)^2 + 5(2) - 6 = 16 - 20 + 10 - 6 = 0.       Synthetic division of [2,−5,5,−6][2, -5, 5, -6] by x=2x = 2:

      • Coefficients: 2,(−5+4)=−1,(5−2)=3,(−6+6)=02, (-5 + 4) = -1, (5 - 2) = 3, (-6 + 6) = 0

      • Remaining factor: 2x2−x+32x^2 - x + 3

    • Limit evaluation:       lim⁡x→2(x−2)(x2+x+1)(x−2)(2x2−x+3)=lim⁡x→2x2+x+12x2−x+3=22+2+12(2)2−2+3=79\lim_{x \to 2} \frac{(x - 2)(x^2 + x + 1)}{(x - 2)(2x^2 - x + 3)} = \lim_{x \to 2} \frac{x^2 + x + 1}{2x^2 - x + 3} = \frac{2^2 + 2 + 1}{2(2)^2 - 2 + 3} = \frac{7}{9}

    • Exercise 11:     lim⁡x→3x3−13x+12x3−14x+15\lim_{x \to 3} \frac{x^3 - 13x + 12}{x^3 - 14x + 15}

    • Synthetic division of numerator [1,0,−13,12][1, 0, -13, 12] by x=3x = 3 yields: x2+3x−4x^2 + 3x - 4.

    • Synthetic division of denominator [1,0,−14,15][1, 0, -14, 15] by x=3x = 3 yields: x2+3x−5x^2 + 3x - 5.

    • Evaluating the reduced limit:       lim⁡x→3(x−3)(x2+3x−4)(x−3)(x2+3x−5)=32+3(3)−432+3(3)−5=1413\lim_{x \to 3} \frac{(x - 3)(x^2 + 3x - 4)}{(x - 3)(x^2 + 3x - 5)} = \frac{3^2 + 3(3) - 4}{3^2 + 3(3) - 5} = \frac{14}{13}

  • Limits Approaching Infinity:

    • Method: Divide all terms by the variable raised to the highest degree in the expression.

    • Exercise 1:     lim⁡x→∞3x2+5xx2−3x−1\lim_{x \to \infty} \frac{3x^2 + 5x}{x^2 - 3x - 1}

    • Dividing by x2x^2:       lim⁡x→∞3x2x2+5xx2x2x2−3xx2−1x2=lim⁡x→∞3+5x1−3x−1x2\lim_{x \to \infty} \frac{\frac{3x^2}{x^2} + \frac{5x}{x^2}}{\frac{x^2}{x^2} - \frac{3x}{x^2} - \frac{1}{x^2}} = \lim_{x \to \infty} \frac{3 + \frac{5}{x}}{1 - \frac{3}{x} - \frac{1}{x^2}}

    • Applying lim⁡x→∞1x=0\lim_{x \to \infty} \frac{1}{x} = 0:       3+01−0−0=3\frac{3 + 0}{1 - 0 - 0} = 3

    • Exercise 2:     lim⁡x→∞x2−3x+1x−1\lim_{x \to \infty} \frac{x^2 - 3x + 1}{x - 1}

    • Dividing by x2x^2:       lim⁡x→∞1−3x+1x21x−1x2=1−0+00−0\lim_{x \to \infty} \frac{1 - \frac{3}{x} + \frac{1}{x^2}}{\frac{1}{x} - \frac{1}{x^2}} = \frac{1 - 0 + 0}{0 - 0}

    • Conceptual test with an extreme input (x=999999999x = 999999999):       1−3999999999+01999999999−0≈999999996\frac{1 - \frac{3}{999999999} + 0}{\frac{1}{999999999} - 0} \approx 999999996

    • As the denominator approaches zero from the positive side faster than the numerator diminishes, the ratio grows without bound:       lim⁡x→∞x2−3x+1x−1=∞\lim_{x \to \infty} \frac{x^2 - 3x + 1}{x - 1} = \infty

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):     dydx=0\frac{dy}{dx} = 0

    • 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).

Tangent lines at Maxima, Minima, and Point of Inflection on a curve
  • 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:     y′′=ddx(y′)=d2ydx2y'' = \frac{d}{dx}(y') = \frac{d^2y}{dx^2}

    • Concavity criteria:

    • If y′′<0y'' < 0 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 y′′>0y'' > 0 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:     y′′=0y'' = 0

    • Stationary Point of Inflection: A point where both y′=0y' = 0 and y′′=0y'' = 0 coexist (as illustrated by point FF on the tangent curve diagram).

  • Worked Example (Full Curve Analysis):

    • Given function:     y=x3−6x2+9x+3y = x^3 - 6x^2 + 9x + 3

    • Step 1: First Derivative:     dydx=3x2−12x+9\frac{dy}{dx} = 3x^2 - 12x + 9

    • Step 2: Equating Derivative to Zero:     3x2−12x+9=03x^2 - 12x + 9 = 0

    • Step 3: Solving for Critical Points:

    • Dividing by 33: x2−4x+3=0  ⟹  (x−1)(x−3)=0x^2 - 4x + 3 = 0 \implies (x - 1)(x - 3) = 0.

    • Critical points occur at x=1x = 1 and x=3x = 3.

    • Step 4: Finding Corresponding yy-Coordinates:

    • At x=1x = 1:       y=(1)3−6(1)2+9(1)+3=7  ⟹  P1(1,7)y = (1)^3 - 6(1)^2 + 9(1) + 3 = 7 \implies P_1(1, 7)

    • At x=3x = 3:       y=(3)3−6(3)2+9(3)+3=27−54+27+3=3  ⟹  P2(3,3)y = (3)^3 - 6(3)^2 + 9(3) + 3 = 27 - 54 + 27 + 3 = 3 \implies P_2(3, 3)

    • Step 5: Classification of Critical Points:

    • Method 1 (First Derivative Sign Testing):

      • For P1(1,7)P_1(1, 7): Evaluate y′(0.9)=3(0.9)2−12(0.9)+9=0.63y'(0.9) = 3(0.9)^2 - 12(0.9) + 9 = 0.63 (positive) and y′(1.1)=3(1.1)2−12(1.1)+9=−0.57y'(1.1) = 3(1.1)^2 - 12(1.1) + 9 = -0.57 (negative). Sign transition from positive to negative confirms a maximum.

      • For P2(3,3)P_2(3, 3): Evaluate y′(2.9)=3(2.9)2−12(2.9)+9=−0.57y'(2.9) = 3(2.9)^2 - 12(2.9) + 9 = -0.57 (negative) and y′(3.1)=3(3.1)2−12(3.1)+9=0.63y'(3.1) = 3(3.1)^2 - 12(3.1) + 9 = 0.63 (positive). Sign transition from negative to positive confirms a minimum.

    • Method 2 (Second Derivative Test):       y′′=6x−12y'' = 6x - 12

      • At x=1x = 1: y′′(1)=6(1)−12=−6<0  ⟹  y''(1) = 6(1) - 12 = -6 < 0 \implies Maximum (concave downward).

      • At x=3x = 3: y′′(3)=6(3)−12=6>0  ⟹  y''(3) = 6(3) - 12 = 6 > 0 \implies Minimum (concave upward).

    • Step 6: Finding the Point of Inflection:     6x−12=0  ⟹  x=26x - 12 = 0 \implies x = 2     y(2)=(2)3−6(2)2+9(2)+3=8−24+18+3=5  ⟹  POI(2,5)y(2) = (2)^3 - 6(2)^2 + 9(2) + 3 = 8 - 24 + 18 + 3 = 5 \implies \text{POI}(2, 5)

Graph of cubic curve showing relative maximum at P1(1,7), relative minimum at P2(3,3), and inflection point at POI(2,5)

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 4 in×4 in4\text{ in} \times 4\text{ in} by cutting identical squares of side length xx from each corner and turning up the sides. Find the volume of the largest box that can be made.

Flat 4 in by 4 in cardboard with corner cuts of size xFolded open-top box with dimensions (4-2x) by (4-2x) and height x
  • Formulation:

    • The length and width of the folded box base are each (4−2x)(4 - 2x), and the height is xx.

    • Volume equation:     V=(4−2x)(4−2x)x=x(4−2x)2V = (4 - 2x)(4 - 2x)x = x(4 - 2x)^2

  • Differentiation:   dVdx=x⋅[2(4−2x)(−2)]+(4−2x)2=−4x(4−2x)+(4−2x)2\frac{dV}{dx} = x \cdot [2(4 - 2x)(-2)] + (4 - 2x)^2 = -4x(4 - 2x) + (4 - 2x)^2   Factoring out the common term (4−2x)(4 - 2x):   dVdx=(4−2x)(−4x+4−2x)=(4−2x)(4−6x)\frac{dV}{dx} = (4 - 2x)(-4x + 4 - 2x) = (4 - 2x)(4 - 6x)

  • Finding Critical Values:   dVdx=0  ⟹  (4−2x)(4−6x)=0\frac{dV}{dx} = 0 \implies (4 - 2x)(4 - 6x) = 0   4−2x=0  ⟹  x=2 in4 - 2x = 0 \implies x = 2\text{ in}   4−6x=0  ⟹  x=23 in4 - 6x = 0 \implies x = \frac{2}{3}\text{ in}

  • Second Derivative Test Verification:   d2Vdx2=(4−2x)(−6)+(4−6x)(−2)\frac{d^2V}{dx^2} = (4 - 2x)(-6) + (4 - 6x)(-2)

    • At x=2 inx = 2\text{ in}:     (4−4)(−6)+(4−12)(−2)=16>0  ⟹  Minimum(4 - 4)(-6) + (4 - 12)(-2) = 16 > 0 \implies \text{Minimum}

    • At x=23 inx = \frac{2}{3}\text{ in}:     (4−43)(−6)+(4−4)(−2)=(83)(−6)=−16<0  ⟹  Maximum\left(4 - \frac{4}{3}\right)(-6) + (4 - 4)(-2) = \left(\frac{8}{3}\right)(-6) = -16 < 0 \implies \text{Maximum}

  • Volume Calculation:

    • At x=2 inx = 2\text{ in}: V=2(4−4)2=0 in3V = 2(4 - 4)^2 = 0\text{ in}^3

    • At x=23 inx = \frac{2}{3}\text{ in}:     V=(23)(4−43)2=(23)(83)2=12827≈4.741 in3V = \left(\frac{2}{3}\right)\left(4 - \frac{4}{3}\right)^2 = \left(\frac{2}{3}\right)\left(\frac{8}{3}\right)^2 = \frac{128}{27} \approx 4.741\text{ in}^3

Graph of the volume function showing maximum at (0.66667, 4.74074)
  • 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.

Comparison of fencing perimeters for a 100 square meter field
  • Formulation:

    • Let the rectangular dimensions be xx and yy.

    • Area is held constant: A=x⋅yA = x \cdot y.

    • Differentiating the constant area with respect to xx:       0=xdydx+y0 = x \frac{dy}{dx} + y

    • Perimeter to minimize:       P=2x+2yP = 2x + 2y       dPdx=2+2dydx\frac{dP}{dx} = 2 + 2\frac{dy}{dx}

  • Optimization:

    • Minimizing perimeter requires setting dPdx=0\frac{dP}{dx} = 0:       0=2+2dydx  ⟹  dydx=−10 = 2 + 2\frac{dy}{dx} \implies \frac{dy}{dx} = -1

    • Substituting dydx=−1\frac{dy}{dx} = -1 into the area differential equation:       0=x(−1)+y  ⟹  x=y0 = x(-1) + y \implies x = y

    • Since x=yx = y, both dimensions are equal, proving that a square is the optimal shape.

  • Comparative Example (A=100 m2A = 100\,\text{m}^2):

    • Long Rectangle (25 m×4 m25\,\text{m} \times 4\,\text{m}): Perimeter =2(25)+2(4)=58 m= 2(25) + 2(4) = 58\,\text{m}

    • Moderate Rectangle (20 m×5 m20\,\text{m} \times 5\,\text{m}): Perimeter =2(20)+2(5)=50 m= 2(20) + 2(5) = 50\,\text{m}

    • Square (Optimal, 10 m×10 m10\,\text{m} \times 10\,\text{m}): Perimeter =2(10)+2(10)=40 m= 2(10) + 2(10) = 40\,\text{m}

    • 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 24-ft24\text{-ft} opening is left unfenced in front. The front fence costs $1.50/ft\$1.50/\text{ft} and side fences cost $1.00/ft\$1.00/\text{ft}. Find the dimensions of the largest lot that can be fenced for a total budget of $300\$300.

Diagram of lot bounded by river with front opening and side fences
  • Cost Equation:

    • Let the front width be xx and side length be yy.

    • Front fence length is (x−24)(x - 24) at $1.50/ft\$1.50/\text{ft}; two sides have length 2y2y at $1.00/ft\$1.00/\text{ft}.     300=1.5(x−24)+2y(1.0)300 = 1.5(x - 24) + 2y(1.0)

    • Expressing yy as a function of xx:     2y=300−1.5(x−24)2y = 300 - 1.5(x - 24)     y=150−0.75(x−24)=168−0.75xy = 150 - 0.75(x - 24) = 168 - 0.75x

  • Area Equation and Optimization:   A=x⋅y=x(168−0.75x)=168x−0.75x2A = x \cdot y = x(168 - 0.75x) = 168x - 0.75x^2   dAdx=168−1.5x\frac{dA}{dx} = 168 - 1.5x   Setting derivative to zero:   0=168−1.5x  ⟹  1.5x=168  ⟹  x=112 ft0 = 168 - 1.5x \implies 1.5x = 168 \implies x = 112\text{ ft}

  • Computing Side Length and Area:   y=168−0.75(112)=168−84=84 fty = 168 - 0.75(112) = 168 - 84 = 84\text{ ft}

    • Verifying total cost:     1.5(112−24)+2(84)=1.5(88)+168=132+168=300 usd1.5(112 - 24) + 2(84) = 1.5(88) + 168 = 132 + 168 = 300\text{ usd}

    • Maximum enclosed area:     A=112 ft×84 ft=9408 ft2A = 112\text{ ft} \times 84\text{ ft} = 9408\text{ ft}^2

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:     ∫y dx\int y\,dx     where yy is the integrand and dxdx is the differential element designating the variable of integration.

  • The Constant of Integration (+c+c):

    • Reversing a derivative reveals that multiple functions can have the exact same derivative because constants differentiate to zero:     ddx(x2)=2x\frac{d}{dx}(x^2) = 2x     ddx(x2+3)=2x\frac{d}{dx}(x^2 + 3) = 2x     ddx(x2+a)=2x\frac{d}{dx}(x^2 + a) = 2x

    • Consequently, the antiderivative must include an arbitrary constant +c+c:     ∫2x dx=x2+c\int 2x\,dx = x^2 + c

  • Standard Rules of Integration:

    • Power Rule:

    • Derived by inverting ddx(xn)=nxn−1\frac{d}{dx}(x^n) = n x^{n-1}:       ∫xn dx=xn+1n+1+c\int x^n\,dx = \frac{x^{n+1}}{n+1} + c

    • Method: Add 11 to the exponent and divide by the new exponent.

    • Power Rule with Constant Multiplier:     ∫axn dx=a∫xn dx=axn+1n+1+c\int a x^n\,dx = a \int x^n\,dx = \frac{a x^{n+1}}{n+1} + c

    • Rule of Sums:

    • Sums are integrated term by term:       ∫(w+v) dx=∫w dx+∫v dx\int (w + v)\,dx = \int w\,dx + \int v\,dx

    • Basic Trigonometric Integrals:

    • ∫cos⁡(x) dx=sin⁡(x)+c\int \cos(x)\,dx = \sin(x) + c

    • ∫sin⁡(x) dx=−cos⁡(x)+c\int \sin(x)\,dx = -\cos(x) + c

    • ∫sec⁡2(x) dx=tan⁡(x)+c\int \sec^2(x)\,dx = \tan(x) + c

    • ∫csc⁡2(x) dx=−cot⁡(x)+c\int \csc^2(x)\,dx = -\cot(x) + c

  • Introductory Integral Practice Problems:

    • Problem 1:     ∫(2x−x2) dx=2∫x dx−∫x2 dx=2(x22)−x33+c=x2−x33+c\int (2x - x^2)\,dx = 2\int x\,dx - \int x^2\,dx = 2\left(\frac{x^2}{2}\right) - \frac{x^3}{3} + c = x^2 - \frac{x^3}{3} + c

    • Problem 2:     ∫(1−4t3) dt=t−4(t44)+c=t−t4+c\int (1 - 4t^3)\,dt = t - 4\left(\frac{t^4}{4}\right) + c = t - t^4 + c

    • Problem 3 (Adjusting Constants):     ∫sin⁡(2θ) dθ\int \sin(2\theta)\,d\theta

    • Differentiating −cos⁡(2θ)-\cos(2\theta) produces sin⁡(2θ)⋅2\sin(2\theta) \cdot 2.

    • Inverting this factor of 22:       ∫sin⁡(2θ)⋅2 dθ=−cos⁡(2θ)+c\int \sin(2\theta) \cdot 2\,d\theta = -\cos(2\theta) + c       2∫sin⁡(2θ) dθ=−cos⁡(2θ)+c2\int \sin(2\theta)\,d\theta = -\cos(2\theta) + c       ∫sin⁡(2θ) dθ=−cos⁡(2θ)2+c\int \sin(2\theta)\,d\theta = -\frac{\cos(2\theta)}{2} + c

    • Problem 4:     ∫(1+2x)2 dx\int (1 + 2x)^2\,dx

    • Hypothesizing an antiderivative based on the power rule: (1+2x)33\frac{(1 + 2x)^3}{3}.

    • Testing via differentiation:       ddx((1+2x)33)=13⋅3(1+2x)2⋅2=2(1+2x)2\frac{d}{dx}\left(\frac{(1 + 2x)^3}{3}\right) = \frac{1}{3} \cdot 3(1 + 2x)^2 \cdot 2 = 2(1 + 2x)^2

    • Balancing the extraneous factor of 22:       ∫(1+2x)2 dx=(1+2x)36+c\int (1 + 2x)^2\,dx = \frac{(1 + 2x)^3}{6} + c

Techniques of Integration: Substitution Technique

  • Theoretical Basis:

    • Integration by substitution operates as the reverse of the chain rule.

    • Given y=f(g(x))y = f(g(x)), its derivative is:     y′=f′(g(x))⋅g′(x)y' = f'(g(x)) \cdot g'(x)

    • Integrating both sides:     ∫f′(g(x))⋅g′(x) dx=f(g(x))+c\int f'(g(x)) \cdot g'(x)\,dx = f(g(x)) + c

    • By introducing a proxy function u=g(x)u = g(x), where dudx=g′(x)  ⟹  du=g′(x) dx\frac{du}{dx} = g'(x) \implies du = g'(x)\,dx, the integral transforms into standard formulaic form:     ∫f′(u) du=f(u)+c\int f'(u)\,du = f(u) + c

  • Step-by-Step Procedure:

    • Step 1: Select a proxy function uu. Ideal candidates are inner functions located inside parentheses, radicals, powers, or trigonometric arguments.

    • Step 2: Compute the derivative dudu in terms of the original variable and isolate the differential element (such as dxdx).

    • Step 3: Rewrite the entire integrand in terms of uu and dudu, 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 uu.

  • Worked Substitution Examples:

    • Example 1:     ∫sin⁡(2θ) dθ\int \sin(2\theta)\,d\theta

    • Step 1: Let u=2θu = 2\theta.

    • Step 2: du=2 dθ  ⟹  dθ=du2du = 2\,d\theta \implies d\theta = \frac{du}{2}.

    • Step 3: Rewrite:       ∫sin⁡(u)⋅du2=12∫sin⁡(u) du\int \sin(u) \cdot \frac{du}{2} = \frac{1}{2}\int \sin(u)\,du

    • Step 4: Integrate:       12(−cos⁡(u))+c=−cos⁡(u)2+c\frac{1}{2}(-\cos(u)) + c = -\frac{\cos(u)}{2} + c

    • Step 5: Re-substitute:       −cos⁡(2θ)2+c-\frac{\cos(2\theta)}{2} + c

    • Example 2:     ∫x(1+x2)2 dx\int x(1 + x^2)^2\,dx

    • Let u=1+x2u = 1 + x^2.

    • Differentiating: du=2x dx  ⟹  dx=du2xdu = 2x\,dx \implies dx = \frac{du}{2x}.

    • Rewrite integrand:       ∫x(u)2⋅du2x=12∫u2 du\int x(u)^2 \cdot \frac{du}{2x} = \frac{1}{2}\int u^2\,du

    • Integrate:       12(u33)+c=u36+c\frac{1}{2}\left(\frac{u^3}{3}\right) + c = \frac{u^3}{6} + c

    • Re-substitute:       (1+x2)36+c\frac{(1 + x^2)^3}{6} + c

    • Example 3:     ∫x1−x dx\int x\sqrt{1 - x}\,dx

    • Let u=1−x  ⟹  du=−dx  ⟹  dx=−duu = 1 - x \implies du = -dx \implies dx = -du.

    • Solving for xx in terms of uu to eliminate leftover variables: x=1−ux = 1 - u.

    • Rewrite integrand:       −∫(1−u)u du=−∫(1−u)u1/2 du-\int (1 - u)\sqrt{u}\,du = -\int (1 - u)u^{1/2}\,du

    • Distribute u1/2u^{1/2}:       −∫(u1/2−u3/2) du-\int (u^{1/2} - u^{3/2})\,du

    • Integrate term by term:       −[u3/232−u5/252]+c=−23u3/2+25u5/2+c-\left[\frac{u^{3/2}}{\frac{3}{2}} - \frac{u^{5/2}}{\frac{5}{2}}\right] + c = -\frac{2}{3}u^{3/2} + \frac{2}{5}u^{5/2} + c

    • Re-substitute u=1−xu = 1 - x:       −23(1−x)3/2+25(1−x)5/2+c-\frac{2}{3}(1 - x)^{3/2} + \frac{2}{5}(1 - x)^{5/2} + c

    • Example 4:     ∫x2cos⁡(x3) dx\int x^2 \cos(x^3)\,dx

    • Let u=x3  ⟹  du=3x2 dx  ⟹  x2 dx=du3u = x^3 \implies du = 3x^2\,dx \implies x^2\,dx = \frac{du}{3}.

    • Rewrite:       13∫cos⁡(u) du\frac{1}{3}\int \cos(u)\,du

    • Integrate:       13sin⁡(u)+c\frac{1}{3}\sin(u) + c

    • Re-substitute:       13sin⁡(x3)+c\frac{1}{3}\sin(x^3) + c

Techniques of Integration: Integration by Parts

  • Theoretical Derivation:

    • Integration by parts is derived from the product rule of differentiation in reverse.

    • Product rule:     ddx(uv)=udvdx+vdudx\frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx}

    • Expressed in differential form:     d(uv)=u dv+v dud(uv) = u\,dv + v\,du

    • Integrating both sides:     uv=∫u dv+∫v duuv = \int u\,dv + \int v\,du

    • Rearranging yields the integration by parts formula:     ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du

    • Functional purpose: When an initial integrand ∫u dv\int u\,dv cannot be evaluated directly, it is partitioned such that one part is evaluated as the algebraic product uvuv, leaving a second integral ∫v du\int v\,du that is substantially simpler to compute.

  • Execution Steps:

    • Step 1: Partition the integrand into uu and dvdv. Select uu such that its derivative simplifies, and select dvdv such that it is readily integrable.

    • Step 2: Differentiate uu to obtain dudu.

    • Step 3: Integrate dvdv to find v=∫dvv = \int dv.

    • Step 4: Substitute components into uv−∫v duuv - \int v\,du.

    • Step 5: Evaluate the remaining integral ∫v du\int v\,du and append the integration constant +c+c.

  • Worked Examples:

    • Practice Problem 1:     ∫xsin⁡(x) dx\int x\sin(x)\,dx

    • Substitution fails here because differentiating xx does not cancel the outer variable factor.

    • Step 1 & 2: Let u=x  ⟹  du=dxu = x \implies du = dx.

    • Step 3: Let dv=sin⁡(x) dx  ⟹  v=∫sin⁡(x) dx=−cos⁡(x)dv = \sin(x)\,dx \implies v = \int \sin(x)\,dx = -\cos(x).

    • Step 4: Substitute into formula:       ∫xsin⁡(x) dx=x(−cos⁡(x))−∫−cos⁡(x) dx\int x\sin(x)\,dx = x(-\cos(x)) - \int -\cos(x)\,dx       ∫xsin⁡(x) dx=−xcos⁡(x)+∫cos⁡(x) dx\int x\sin(x)\,dx = -x\cos(x) + \int \cos(x)\,dx

    • Step 5: Evaluate the remaining integral:       ∫xsin⁡(x) dx=−xcos⁡(x)+sin⁡(x)+c\int x\sin(x)\,dx = -x\cos(x) + \sin(x) + c

    • Practice Problem 2:     ∫xsin⁡(2x) dx\int x\sin(2x)\,dx

    • Step 1 & 2: Let u=x  ⟹  du=dxu = x \implies du = dx.

    • Step 3: Let dv=sin⁡(2x) dxdv = \sin(2x)\,dx.

      • Finding vv requires substitution: let proxy r=2x  ⟹  dr=2 dx  ⟹  dx=dr2r = 2x \implies dr = 2\,dx \implies dx = \frac{dr}{2}.

      • v=12∫sin⁡(r) dr=−12cos⁡(r)=−12cos⁡(2x)v = \frac{1}{2}\int \sin(r)\,dr = -\frac{1}{2}\cos(r) = -\frac{1}{2}\cos(2x).

    • Step 4: Substitute into parts formula:       ∫xsin⁡(2x) dx=x(−12cos⁡(2x))−∫(−12cos⁡(2x)) dx\int x\sin(2x)\,dx = x\left(-\frac{1}{2}\cos(2x)\right) - \int \left(-\frac{1}{2}\cos(2x)\right)\,dx       ∫xsin⁡(2x) dx=−xcos⁡(2x)2+12∫cos⁡(2x) dx\int x\sin(2x)\,dx = -\frac{x\cos(2x)}{2} + \frac{1}{2}\int \cos(2x)\,dx

    • Step 5: Integrate the final term using substitution (∫cos⁡(2x) dx=12sin⁡(2x)\int \cos(2x)\,dx = \frac{1}{2}\sin(2x)):       ∫xsin⁡(2x) dx=−xcos⁡(2x)2+12(12sin⁡(2x))+c\int x\sin(2x)\,dx = -\frac{x\cos(2x)}{2} + \frac{1}{2}\left(\frac{1}{2}\sin(2x)\right) + c       ∫xsin⁡(2x) dx=−xcos⁡(2x)2+sin⁡(2x)4+c\int x\sin(2x)\,dx = -\frac{x\cos(2x)}{2} + \frac{\sin(2x)}{4} + c

    • Practice Problem 3 (Repeated Integration by Parts):     ∫x2sin⁡(x) dx\int x^2 \sin(x)\,dx

    • First Integration by Parts:

      • Let u1=x2  ⟹  du1=2x dxu_1 = x^2 \implies du_1 = 2x\,dx.

      • Let dv1=sin⁡(x) dx  ⟹  v1=−cos⁡(x)dv_1 = \sin(x)\,dx \implies v_1 = -\cos(x).

      • Applying formula:         ∫x2sin⁡(x) dx=x2(−cos⁡(x))−∫(−cos⁡(x))(2x) dx\int x^2 \sin(x)\,dx = x^2(-\cos(x)) - \int (-\cos(x))(2x)\,dx         ∫x2sin⁡(x) dx=−x2cos⁡(x)+2∫xcos⁡(x) dx\int x^2 \sin(x)\,dx = -x^2\cos(x) + 2\int x\cos(x)\,dx

    • Second Integration by Parts (evaluating ∫xcos⁡(x) dx\int x\cos(x)\,dx):

      • Let u2=x  ⟹  du2=dxu_2 = x \implies du_2 = dx.

      • Let dv2=cos⁡(x) dx  ⟹  v2=sin⁡(x)dv_2 = \cos(x)\,dx \implies v_2 = \sin(x).

      • Applying formula:         ∫xcos⁡(x) dx=xsin⁡(x)−∫sin⁡(x) dx\int x\cos(x)\,dx = x\sin(x) - \int \sin(x)\,dx         ∫xcos⁡(x) dx=xsin⁡(x)−(−cos⁡(x))=xsin⁡(x)+cos⁡(x)\int x\cos(x)\,dx = x\sin(x) - (-\cos(x)) = x\sin(x) + \cos(x)

    • Combining Results:       ∫x2sin⁡(x) dx=−x2cos⁡(x)+2(xsin⁡(x)+cos⁡(x))+c\int x^2 \sin(x)\,dx = -x^2\cos(x) + 2(x\sin(x) + \cos(x)) + c       Expanding into simplest form:       ∫x2sin⁡(x) dx=−x2cos⁡(x)+2xsin⁡(x)+2cos⁡(x)+c\int x^2 \sin(x)\,dx = -x^2\cos(x) + 2x\sin(x) + 2\cos(x) + c

    • Conclusion: Integration by parts can be executed repeatedly in succession until the remaining integrand simplifies to an elementary, standard integral form.