July 08, 2026 - Calculus 2 - Taylor Series and Polar Coordinates

Taylor and Maclaurin Series Definitions

  • Derivative Order and Existence: When discussing differential equations, the "order" refers to the highest derivative involved. For example, a first-order differential equation involves a first derivative, and a second-order involves a second derivative. In the context of series, a function ff is considered for expansion if it has derivatives for all orders (i.e., the 1,000th1,000^{\text{th}} or even 4,000,000th4,000,000^{\text{th}} derivative exists).

  • Taylor Series Notation: The series is defined using the notation f(n)(a)f^{(n)}(a), where nn indicates the specific derivative being evaluated at the center aa.

    • n=0n = 0 represents the zero derivative, which is the original function ff.

    • n=1,2,…n = 1, 2, \dots represents the first, second, and subsequent derivatives.

  • Maclaurin Series: A specific case of the Taylor series where the center a=0a = 0. While this is the formal name, many practitioners refer to them as Taylor series even when centered at zero.

Taylor Polynomials (PkP_k)

  • Definition of the kthk^{\text{th}} Taylor Polynomial: This is defined as the kthk^{\text{th}} partial sum of the Taylor series. It is denoted as PkP_k.

  • Notation Examples:

    • P0P_0: The first term (the zero derivative evaluated at aa).

    • P1P_1: The sum of the first two terms (P0P_0 plus the first derivative term).

    • P2P_2: The sum extending up to the second derivative term.

    • General form: PkP_k stops at exactly the term dictated by the index kk.

  • Formatting Distinctions: There is a notation difference between exponents and derivatives. While an exponent appears above the argument (e.g., f(x)2f(x)^2), a derivative order is typically placed within parentheses or as apostrophes between the function name and the argument (e.g., f(n)(x)f^{(n)}(x)).

Taylor Polynomial Example: f(x)=ln⁡(x)f(x) = \ln(x) at a=1a = 1

  • Rationale for Center: The natural log function is undefined at x=0x = 0 (lim⁡x→0+ln⁡(x)=−∞\lim_{x \to 0^+} \ln(x) = -\infty), so the series must be centered elsewhere, such as a=1a = 1.

  • Step-by-Step Polynomial Construction:

    • Zero Order (P0P_0): f(1)=ln⁡(1)=0f(1) = \ln(1) = 0.

    • First Order (P1P_1): The derivative of ln⁡(x)\ln(x) is 1x\frac{1}{x}. At x=1x = 1, this equals 11. Therefore, P1=0+1×(x−1)=x−1P_1 = 0 + 1 \times (x - 1) = x - 1.

    • Second Order (P2P_2): The second derivative is the derivative of x−1x^{-1}, which is −x−2-x^{-2} or −1x2-\frac{1}{x^2}. Evaluated at x=1x = 1, this is −1-1. P2=P1+−12!(x−1)2=(x−1)−12(x−1)2P_2 = P_1 + \frac{-1}{2!} (x - 1)^2 = (x - 1) - \frac{1}{2}(x - 1)^2.

    • Third Order (P3P_3): The third derivative is 2x−32x^{-3}. Evaluated at x=1x = 1, this is 22. P3=P2+23!(x−1)3=(x−1)−12(x−1)2+13(x−1)3P_3 = P_2 + \frac{2}{3!} (x - 1)^3 = (x - 1) - \frac{1}{2}(x - 1)^2 + \frac{1}{3}(x - 1)^3.

  • Convergence Observations: The series converges slowly to the logarithmic curve because ln⁡(x)\ln(x) does not curve as sharply as higher-order polynomials. More terms are required for a precise fit.

  • General Pattern/Series for ln⁡(x)\ln(x):

    • ∑n=1∞(−1)n+1(x−1)nn\sum_{n=1}^{\infty} (-1)^{n+1} \frac{(x - 1)^n}{n}

  • Radius of Convergence (RR) via Ratio Test:

    • Applying the limit L=lim⁡n→∞∣an+1an∣L = \lim_{n \to \infty} \left| \frac{a_{n+1}}{a_n} \right|:

    • lim⁡n→∞∣(x−1)n+1n+1×n(x−1)n∣=lim⁡n→∞∣(x−1)nn+1∣=∣x−1∣\lim_{n \to \infty} \left| \frac{(x-1)^{n+1}}{n+1} \times \frac{n}{(x-1)^n} \right| = \lim_{n \to \infty} \left| (x-1) \frac{n}{n+1} \right| = |x-1|

    • Set ∣x−1∣<1|x-1| < 1, which implies −1<x−1<1-1 < x-1 < 1, or 0<x<20 < x < 2.

    • Radius: R=1R = 1.

    • Interval of Convergence: Checking endpoints shows divergence at x=0x = 0 (log undefined/harmonic-like) and convergence at x=2x = 2 (alternating harmonic series). Thus, the interval is (0,2](0, 2].

Taylor Polynomial Example: f(x)=1x2f(x) = \frac{1}{x^2} at a=1a = 1

  • Derivative Calculations:

    • f(x)=x−2f(x) = x^{-2}

    • f′(x)=−2x−3f'(x) = -2x^{-3}

    • f′′(x)=6x−4f''(x) = 6x^{-4}

    • f′′′(x)=−24x−5f'''(x) = -24x^{-5}

  • Polynomial Construction at a=1a = 1:

    • P0=f(1)=1P_0 = f(1) = 1

    • P1=1+−21!(x−1)=1−2(x−1)P_1 = 1 + \frac{-2}{1!}(x-1) = 1 - 2(x-1)

    • P2=P1+62!(x−1)2=1−2(x−1)+3(x−1)2P_2 = P_1 + \frac{6}{2!}(x-1)^2 = 1 - 2(x-1) + 3(x-1)^2

    • P3=P2+−243!(x−1)3=1−2(x−1)+3(x−1)2−4(x−1)3P_3 = P_2 + \frac{-24}{3!}(x-1)^3 = 1 - 2(x-1) + 3(x-1)^2 - 4(x-1)^3

  • General Taylor Series:

    • ∑n=0∞(−1)n(n+1)(x−1)n\sum_{n=0}^{\infty} (-1)^n (n+1)(x-1)^n

  • Convergence Analysis: Using the ratio test, the limit involves lim⁡n→∞∣x−1∣n+2n+1=∣x−1∣\lim_{n \to \infty} |x-1| \frac{n+2}{n+1} = |x-1|. The radius is R=1R = 1. The series does not converge at the endpoints x=0x=0 or x=2x=2 because the terms do not approach zero (Divergence Test).

Taylor Polynomial Example: f(x)=exsin⁡(x)f(x) = e^x \sin(x) at a=0a = 0

  • Derivative Calculations:

    • f(0)=e0sin⁡(0)=0f(0) = e^0 \sin(0) = 0

    • f′(x)=exsin⁡(x)+excos⁡(x)→f′(0)=0+1=1f'(x) = e^x \sin(x) + e^x \cos(x) \rightarrow f'(0) = 0 + 1 = 1

    • f′′(x)=(exsin⁡(x)+excos⁡(x))+(excos⁡(x)−exsin⁡(x))=2excos⁡(x)→f′′(0)=2f''(x) = (e^x \sin(x) + e^x \cos(x)) + (e^x \cos(x) - e^x \sin(x)) = 2e^x \cos(x) \rightarrow f''(0) = 2

    • f′′′(x)=2excos⁡(x)−2exsin⁡(x)→f′′′(0)=2f'''(x) = 2e^x \cos(x) - 2e^x \sin(x) \rightarrow f'''(0) = 2

  • Polynomial Construction:

    • P1=0+1x=xP_1 = 0 + 1x = x

    • P2=x+22!x2=x+x2P_2 = x + \frac{2}{2!}x^2 = x + x^2

    • P3=x+x2+23!x3=x+x2+13x3P_3 = x + x^2 + \frac{2}{3!}x^3 = x + x^2 + \frac{1}{3}x^3

Fundamentals of Polar Coordinates

  • Conceptual Shift: Unlike the Cartesian (Rectangular) system (x,yx, y), which measures horizontal and vertical displacement, Polar coordinates (r,θr, \theta) measure the distance from the origin (rr) and the angle (θ\theta) swept from the positive x-axis.

  • Geometric Relationships:

    • x2+y2=r2x^2 + y^2 = r^2

    • r=x2+y2r = \sqrt{x^2 + y^2}

    • x=rcos⁡(θ)x = r \cos(\theta)

    • y=rsin⁡(θ)y = r \sin(\theta)

    • tan⁡(θ)=yx\tan(\theta) = \frac{y}{x}

  • Coordinate Visuals: A grid in Cartesian coordinates consists of squares (checkerboard). In Polar coordinates, the grid consists of concentric circles representing fixed radii and lines through the origin representing fixed angles.

Examples of Conversion

  • Cartesian to Polar:

    • Point (1,1)(1, 1): r=12+12=2r = \sqrt{1^2 + 1^2} = \sqrt{2}. tan⁡(θ)=11=1→θ=π4\tan(\theta) = \frac{1}{1} = 1 \rightarrow \theta = \frac{\pi}{4}. Result: (2,π4)(\sqrt{2}, \frac{\pi}{4}).

    • Point (3,−4)(3, -4): r=32+(−4)2=25=5r = \sqrt{3^2 + (-4)^2} = \sqrt{25} = 5. tan⁡(θ)=−43→θ=arctan⁡(−43)\tan(\theta) = -\frac{4}{3} \rightarrow \theta = \arctan(-\frac{4}{3}). This is a fourth-quadrant angle.

    • Point (53,5)(5\sqrt{3}, 5): r=(25×3)+25=100=10r = \sqrt{(25 \times 3) + 25} = \sqrt{100} = 10. tan⁡(θ)=553=13→θ=π6\tan(\theta) = \frac{5}{5\sqrt{3}} = \frac{1}{\sqrt{3}} \rightarrow \theta = \frac{\pi}{6}. Result: (10,π6)(10, \frac{\pi}{6}).

  • Polar to Cartesian:

    • Point (3,π3)(3, \frac{\pi}{3}): x=3cos⁡(π3)=3(12)=32x = 3 \cos(\frac{\pi}{3}) = 3(\frac{1}{2}) = \frac{3}{2}. y=3sin⁡(π3)=3(32)y = 3 \sin(\frac{\pi}{3}) = 3(\frac{\sqrt{3}}{2}). Result: (32,332)(\frac{3}{2}, \frac{3\sqrt{3}}{2}).

    • Point (6,−5π6)(6, -\frac{5\pi}{6}): Angle is in Quadrant III. Both coordinates must be negative. x=6cos⁡(−5π6)=6(−32)=−33x = 6 \cos(-\frac{5\pi}{6}) = 6(-\frac{\sqrt{3}}{2}) = -3\sqrt{3}. y=6sin⁡(−5π6)=6(−12)=−3y = 6 \sin(-\frac{5\pi}{6}) = 6(-\frac{1}{2}) = -3. Result: (−33,−3)(-3\sqrt{3}, -3).

Common Polar Functions and Curves

  • Lines: A constant θ\theta value (e.g., θ=π4\theta = \frac{\pi}{4}) represents a line passing through the pole (origin).

  • Circles: Functions of the form r=acos⁡(θ)+bsin⁡(θ)r = a \cos(\theta) + b \sin(\theta) or r=constantr = \text{constant}.

  • Spirals: Linear relationship where r=aθr = a\theta; as the angle increases, the radius expands.

  • Cardioids and Limacons: Defined by r=a(1±sin⁡(θ))r = a(1 \pm \sin(\theta)) or r=a(1±cos⁡(θ))r = a(1 \pm \cos(\theta)). French term: Limaçon.

  • Roses: Graphs with petals. The number of petals depends on the coefficient of θ\theta (e.g., r=cos⁡(nθ)r = \cos(n\theta)).

Calculus in Polar Coordinates

  • Area Approximation: In Cartesian calculus, area is approximated using rectangles (Δx\Delta x). In Polar calculus, area is approximated using circular sectors (Δθ\Delta \theta).

  • Sector Area Formula: For a circle with constant radius, the area of a sector representing a proportion of the circle is:

    • A=12r2θA = \frac{1}{2} r^2 \theta

  • Polar Integral for Area: To find the area swept out by a function r=f(θ)r = f(\theta) between two angles α\alpha and β\beta:

    • A=∫αβ12[f(θ)]2 dθA = \int_{\alpha}^{\beta} \frac{1}{2} [f(\theta)]^2 \, d\theta

Questions & Discussion

  • Question (Audience): If it's just the ff, does that look like an exponent?

  • Response (Instructor): No, something that looks like an exponent refers to a derivative if it's in the specific position between the function and the argument (f(n)(x)f^{(n)}(x)). If it is above the entire function, it's an exponent (f(x)nf(x)^n).

  • Question (Audience): Why are we not letting the center be zero for the natural log?

  • Response (Instructor): Because the natural log of zero is undefined, preventing us from evaluating derivatives there.

  • Question (Audience): Is the slower the original function, the more accurate the series is?

  • Response (Instructor): It depends on how fast the derivatives are moving. If derivatives spread quickly (introducing new powers or large multipliers), the convergence behavior changes. Functions like sine or cosine lose half their derivatives (going to zero), which also impacts accuracy and pattern.

  • Question (Audience): When you do the calculus, will we be given a function?

  • Response (Instructor): Yes, functions will be similar to the examples provided, like 1−x1 - x. Tomorrow we begin studying for Test 4 (Wednesday), covering this material.