Mathematica Instructions

Here are instructions on how to use Mathematica for Calculus II:

Introductory Instructions:

  1. Download Mathematica
  2. For basic mathematica usage instructions; using mathematica for algebra; using mathematica for precalculus; using mathematica for calculus I:

Section 5.2

  1. Evaluating sums (e.g., sum of i from 1 to n)
  2. Evaluating Riemann sums
    1. Store integrand into f(x) using: f[x_]:=function
    2. Store Δx into variable dx using: dx=(b-a)/n – where a is lower limit of integration and b is upper limit of integration
    3. Find xi and store into variable xi using: xi=expression
    4. Evaluate the sum and store into sum variable: sum = Sum[f[xi]*dx,{i,1,n}]
    5. Evaluate the limit of the sum as n → ∞: Limit[sum, n -> Infinity]
  3. Graphing Riemann sums

Section 5.2 & 5.3:

  1. Evaluating definite integrals
  2. Shading area under the curve

Section 5.4:

  1. Fundamental Theorem of Calculus, Part 1 (FTC1)

Section 5.7 & Appendix G:

  1. Partial Fractions
  2. Solving Systems of Equations [needed to algebraically find partial fractions]

Section 5.9:

  1. Approximate Integration

Section 5.10:

  1. Improper Integrals
    1. Infinite Intervals:
      • Formal Method: Use Limit function
        • Limit[Integrate[f[x], {x, a, b}], a -> -Infinity] where b is the value for the upper limit of integration
        • Limit[Integrate[f[x], {x, a, b}], b -> Infinity] where a is the value for the lower limit of integration
        • NOTE: If a = –∞ and b = ∞, then you need to split the integral into two different integrals using x = c and use both of the above improper integrals
          NOTE: If Mathematica returns a number, then the improper integral converged to that number; if Mathematica returns either –∞ or ∞, then the improper integral diverged.
      • Informal Method: Use Integrate function directly
        • Integrate[f[x], {x, a, b}] where a = –∞, b = ∞, or both
        • NOTE: If Mathematica returns a number, then the improper integral converged to that number; if Mathematica returns an error message including the phrase "does not converge on", then the improper integral diverged.
    2. Discontinuous Integrands:
      • Formal Method: Use Limit function
        • Limit[Integrate[f[x], {x, a, b}], a -> c, Direction -> -1] where f(x) is not continuous at x = c and b is the value for the upper limit of integration
        • Limit[Integrate[f[x], {x, a, b}], b -> c, Direction -> 1] where f(x) is not continuous at x = c and a is the value for the lower limit of integration
        • NOTE: If f(x) is not continuous at x = d for some d in the interval (ab), then you need to split the integral into two different integrals using x = d and use both of the above improper integrals
          NOTE: If Mathematica returns a number, then the improper integral converged to that number; if Mathematica returns either –∞ or ∞, then the improper integral diverged.
      • Informal Method: Use Integrate function directly
        • Integrate[f[x], {x, a, b}] where f(x) is not continuous at x = a, x = b, or x = d in the interval (ab)
        • NOTE: If Mathematica returns a number, then the improper integral converged to that number; if Mathematica returns an error message including the phrase "does not converge on", then the improper integral diverged.

Section 6.1:

  1. Shading area between two curves
  2. Plot two functions of y
  3. Find the intersection(s) of two functions of y

Appendix H:

  1. Plotting polar curves
  2. Plot two polar curves
  3. Find the intersection(s) of two polar curves
  4. Plot a polar curve along with a cartesian equation

Section 7.1:

  1. Find the general solution to differential equation
  2. Solve Initial-Value Problem

Section 7.2:

  1. Plotting direction field for y′ = f(xy)
  2. Euler's method

Section 7.3:

  1. Solving Separable Equations

Section 8.1:

  1. Sequences
  2. Plot Sequences
  3. Evalaute the Limit of Sequences as n → ∞

Section 8.2:

  1. Series
  2. Find the partial sums, Si, of a series
  3. Plot Partial Sums

Section 8.7:

  1. Maclaurin Series
  2. Taylor Series