SUNY Geneseo Department of Mathematics
Monday, November 23
Math 221 02
Fall 2020
Prof. Doug Baldwin
See below.
The next session is tonight at 6:00, featuring open-ended discussion of whatever you want to talk about.
Use the Integrate
function to calculate both definite integrals and indefinite integrals (antiderivatives).
The syntax for an indefinite integral (antiderivative) is
Integrate[ expression, variable ]
where expression
is the expression or function to integrate, and variable
is the variable in it. The syntax for a definite integral is
Integrate[ expression, { variable, low, high } ]
where expression
and variable
are the same as for an indefinite integral, and low
and high
are the bounds of the interval to integrate over.
This notebook contains examples of both kinds of integral.
From the beginning of section 5.5 in the textbook and the substitution discussion.
One way to understand substitution is to think of it as simplifying antiderivatives (also known as indefinite integrals) by spotting places where awkward expressions and their derivatives can temporarily be replaced by variables.
For example, imagine trying to integrate (x-4)10. This looks difficult (maybe you have to multiply out (x-4) to the tenth power), but if the x-4 part were only a single variable, it would be easy with the power rule for antiderivatives:
The fact that we’re taking an antiderivative involving u but integrating with respect to variable x is a sign that something is wrong: antiderivatives need the “dx” part (the differential) to agree with the variable in the integrand. But this is fixable, if we think about du and dx as differentials (i.e., separate quantities that can be moved around equations independently of each other), and express dx in terms of du:
Now that we’ve discovered that du and dx are in fact equal, we can replaced dx in the integral with du, and the rest is just using the power rule for antiderivatives. And at the end, replace u with the corresponding expression involving x, since we started with a function of x:
Sometimes the integrand contains a multiple of du rather than exactly du. For example, consider this integral:
Letting u represent 1 + 2x3 looks promising in terms of getting to a place where we could use the power rule again. But its derivative is 6x2 dx, and the integrand only contains x2 dx. But since x2 dx is 1 sixth of du, replace it with that, literally:
Now integrate in terms of u, replacing u with 1 + 2x3 at the end:
This idea of manipulating expressions involving u and x in order to put an integrand entirely in terms of u can be taken further. For example, consider this integral, using the substitution u = x - 2 and thus du = dx:
Applying the substitution to the integrand still leaves an x present, and we can’t integrate until everything is in terms of u. But thinking back to the substitution, if u = x - 2, then x = u + 2:
Now we can simplify the integrand with algebra, and then integrate using the power rule:
The following 2 examples had good solutions in the Canvas substitution discussion. Here they are with a few details written out in a style similar to the above examples:
Integrate 2 sinx cosx.
There are many different ways you could do this. First, try letting u = sin x:
But you could just as well let u = cos x:
This looks bad, because we seem to have gotten a different answer from the other substitution. But thanks to a trigonometric identity, it turns out that -cos2x and sin2x just differ from each other by a constant, and that’s allowed by the constant of integration C (it really does turn out to matter!)
You could even evaluate this integral by using the trigonometric identity 2 sinx cosx = sin(2x), which leads to a simpler substitution, but more work with trigonometric identities both before and after:
Keep practicing substitution via the substitution discussion. There’s no new reading, but do practice substitution via the discussion.
Remember that our next meeting is the optional Zoom “class” on Monday, November 30. It will provide a further opportunity to talk about or answer questions about the substitution discussion, after which I’ll post the results of that talking and answering to Canvas. I’ll try to invite you all to the Zoom via Google calendar and email, so watch your email for joining information.
Have a good break!