Math 142 - Week 1 Notes

Monday, August 24

Today we started with a few warm-up problems to review material from Calc I.

  1. Find the location of the maximum of \(f(x) = \dfrac{x}{2}+\dfrac{\sin x}{\sqrt{3}}\) on the interval \([0,\pi]\).

  2. The function \(y = \sin x\) is a wave. How much area is under one arch of the sine wave?

Integration by Substitution

To introduce this idea, we first looked at the area under one arch of the function \(\sin(2x)\). We graphed it on Desmos, and noticed that it is narrower than the arc of \(\sin x\) by a factor of 2. Likewise \(\sin(3x)\) is 3-times narrower. So the integrals should reflect this.
\[\int_0^{\pi/2} \sin(2x)\, dx = ? ~~~~~ \int_0^{\pi/3} \sin(3x) \, dx = ?.\]

Substitution gives us a systematic way to calculate integrals like this. The steps of integration by substitution are:

Examples

We did all three of these examples in class.


Wednesday, August 26

On Monday, we used several integration rules. Let’s do a quick review of the integration rules you should know:

Those three rules plus the substitution technique are the only integration rules you will need to know for now.

Examples

This first example shows how the power rule works with linearity.

The second example is a reminder that if you recognize a derivative, then you know how to integrate it.

Finally we showed how to combine the ideas above with substitution:

Terms versus Factors

It is important to know the difference between terms and factors.

Very important: Powers distribute to factors, but not to terms! So \((a^2b)^2 = a^4 b^2\) but \((x+y)^2 \ne x^2+y^2\).

Substitution with Definite Integrals

Concept Question

Compare the integrals \(\int \sin (x^2) \, dx\) and \(\int \sin^2 (x) \, dx\). Both of these are difficult to compute, in fact, one is actually impossible. What additional factor would each integral need in order to make it amenable to the substitution technique?

Advanced Substitution

Here is a challenge problem.

The trick is make a complete list of all the equivalences when you let \(u\) be the function inside the square root:

\[\begin{array}{cc} u = x^2 + 1 & du = 2x \, dx \\ x = \sqrt{u-1} & dx = \frac{du}{2x} = \frac{du}{2 \sqrt{u-1}} \end{array}\]

With these substitutions, the integral above becomes:

Extra Problems

Not every integral needs a substitution. In each of the following, decide if substitution is helpful or not:


Thursday, August 27

Today we went over the problems in Homework 1.


Friday, August 28

Definite integrals have these properties. These are easy to remember if you remember that \(\int_a^b f(x) \, dx\) represents the area under \(f(x)\) from \(x=a\) until \(x=b\).

Properties of Integrals.

  1. \(\displaystyle \int_a^c f(x) \, dx= \int_a^b f(x) \, dx + \int_b^c f(x) \, dx\).

  2. \(\displaystyle \int_a^a f(x) \, dx = 0\)

  3. \(\displaystyle \int_b^a f(x) \, dx = - \int_a^b f(x) \, dx\)

Odd & Even Functions

Theorem (Integrals of Odd & Even Functions)

If \(f(x)\) is odd, then \[\int_{-a}^a f(x) \, dx = 0.\] If \(g(x)\) is even, then \[\int_{-a}^a g(x) \, dx = 2 \int_0^a g(x) \, dx.\]

  1. \(\displaystyle \int_{-\pi}^\pi x \cos (x^2) \, dx\)

  2. \(\displaystyle \int_{-2}^{2} x^4 - 5x^2 + 3 \, dx\)

Impossible Integrals

Unlike derivatives, it is not always possible to calculate integrals. Here are some simple functions that have no formula using standard functions for their antiderivatives:

\[\frac{\sin x}{x} ~~~~ \cos(x^2) ~~~~ \sin(\sqrt{x})\]

Question: What happens if you try to use the substitution \(u = x^2\) to integrate \(\displaystyle \int \cos(x^2)\) , dx? You might get \[\int \cos (u) \, dx,\] which looks simple, but you cannot integrate a function of \(u\) with respect to a different variable in the differential.

Even when you can’t integrate a function, you can still use the Riemann Sum formula to find the area under the curve:

Definition (Riemann Sum)

\[\int_a^b f(x) \, dx = \lim_{n \rightarrow \infty} \sum_{k = 1}^n f(x_k) \Delta x\] where \(\Delta x = \frac{b-a}{n}\) and \(x_i = a + k \Delta x\).

  1. Set up a Riemann sum to approximate the area under \(\sin(x^2)\) from 0 to \(\sqrt{\pi}\).

Average Value of a Function

Definition (Average of a Function)

The average value of a function \(f(x)\) on an interval \([a,b]\) is \[\frac{1}{b-a} \int_a^b f(x) \,dx\]

Rationale: average value of \(n\) distinct \(y\)-values would be the sum of the y-values divided by \(n\).

  1. Find the average value of the points on the parabola \(y = 4 - x^2\) that are above the \(x\)-axis.

  2. Find the average value of one arch of the \(\sin x\).

  3. A rocket has a velocity (in meters per second) that is given by the formula \(v(t) = 10 t - 2t^2\) from time \(t = 0\) until \(t=5\). What is the average velocity of the rocket?

  4. What is the average distance from a point on the interval \([0,3]\) to the point \(x=1\)?