SYDE 112, LECTURE 7: Integration by Parts

Similar documents
Substitutions and by Parts, Area Between Curves. Goals: The Method of Substitution Areas Integration by Parts

TAYLOR POLYNOMIALS DARYL DEFORD

1.4 Techniques of Integration

Math 123, Week 2: Matrix Operations, Inverses

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Chapter 3. Integration. 3.1 Indefinite Integration

1 Lesson 13: Methods of Integration

Math 111 lecture for Friday, Week 10

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

6x 2 8x + 5 ) = 12x 8

MATH 116, LECTURE 13, 14 & 15: Derivatives

WeBWorK, Problems 2 and 3

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

7.5 Partial Fractions and Integration

MA1131 Lecture 15 (2 & 3/12/2010) 77. dx dx v + udv dx. (uv) = v du dx dx + dx dx dx

Chapter 3 ALGEBRA. Overview. Algebra. 3.1 Linear Equations and Applications 3.2 More Linear Equations 3.3 Equations with Exponents. Section 3.

MAT137 - Term 2, Week 4

Integration by Parts

MATH 320, WEEK 6: Linear Systems, Gaussian Elimination, Coefficient Matrices

Math Lecture 4 Limit Laws

Example. Evaluate. 3x 2 4 x dx.

Chapter 6. Techniques of Integration. 6.1 Differential notation

1 Lecture 39: The substitution rule.

MATH 320, WEEK 7: Matrices, Matrix Operations

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

Chapter 6. Techniques of Integration. 6.1 Differential notation

Integration 1/10. Integration. Student Guidance Centre Learning Development Service

MATH 250 TOPIC 13 INTEGRATION. 13B. Constant, Sum, and Difference Rules

Section 6.2 Integration by Parts

MAT137 - Term 2, Week 2

Lecture 22: Integration by parts and u-substitution

EXAMPLES OF PROOFS BY INDUCTION

7.2 Parts (Undoing the Product Rule)

Techniques of Integration

M155 Exam 2 Concept Review

MAT 271 Recitation. MAT 271 Recitation. Sections 7.1 and 7.2. Lindsey K. Gamard, ASU SoMSS. 30 August 2013

EDEXCEL NATIONAL CERTIFICATE UNIT 4 MATHEMATICS FOR TECHNICIANS OUTCOME 4 TUTORIAL 1 - INTEGRATION

2 Systems of Linear Equations

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices

Chapter 1 Review of Equations and Inequalities

Review for the First Midterm Exam

Solving Systems of Equations Row Reduction

Intersecting Two Lines, Part Two

Ordinary Differential Equations

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Manipulating Equations

5.5. The Substitution Rule

8.5 Taylor Polynomials and Taylor Series

Section 5.5 More Integration Formula (The Substitution Method) 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Main topics for the First Midterm Exam

Making the grade: Part II

Lesson 3-2: Solving Linear Systems Algebraically

Solving simple equations, a review/primer

Part 1: You are given the following system of two equations: x + 2y = 16 3x 4y = 2

MATH 320, WEEK 11: Eigenvalues and Eigenvectors

2t t dt.. So the distance is (t2 +6) 3/2

Exam Question 10: Differential Equations. June 19, Applied Mathematics: Lecture 6. Brendan Williamson. Introduction.

MAT137 - Term 2, Week 5

DRAFT - Math 102 Lecture Note - Dr. Said Algarni

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

Solving Equations. Lesson Fifteen. Aims. Context. The aim of this lesson is to enable you to: solve linear equations

εx 2 + x 1 = 0. (2) Suppose we try a regular perturbation expansion on it. Setting ε = 0 gives x 1 = 0,

36 What is Linear Algebra?

Homework Solutions: , plus Substitutions

Figure 1: Doing work on a block by pushing it across the floor.

Assignment 16 Solution. Please do not copy and paste my answer. You will get similar questions but with different numbers!

Quadratic Equations Part I

Math 112 Section 10 Lecture notes, 1/7/04

Harmonic Oscillator with raising and lowering operators. We write the Schrödinger equation for the harmonic oscillator in one dimension as follows:

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

The Chain Rule. The Chain Rule. dy dy du dx du dx. For y = f (u) and u = g (x)

We will work with two important rules for radicals. We will write them for square roots but they work for any root (cube root, fourth root, etc.).

Integration by Substitution

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction to Linear Algebra the EECS Way

Tips and Tricks in Real Analysis

0. Introduction 1 0. INTRODUCTION

Conceptual Explanations: Simultaneous Equations Distance, rate, and time

6x 2 8x + 5 ) = 12x 8. f (x) ) = d (12x 8) = 12

5 Integrals reviewed Basic facts U-substitution... 4

SPECIAL POINTS AND LINES OF ALGEBRAIC SURFACES

Sequences and Series

2. Limits at Infinity

ax 2 + bx + c = 0 What about any cubic equation?

f(x) g(x) = [f (x)g(x) dx + f(x)g (x)dx

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

Section 5.6. Integration By Parts. MATH 126 (Section 5.6) Integration By Parts The University of Kansas 1 / 10

x n cos 2x dx. dx = nx n 1 and v = 1 2 sin(2x). Andreas Fring (City University London) AS1051 Lecture Autumn / 36

MATH 319, WEEK 2: Initial Value Problems, Existence/Uniqueness, First-Order Linear DEs

How to Use Calculus Like a Physicist

Main topics for the First Midterm

DIFFERENTIAL EQUATIONS

Polynomial one or more monomials added or subtracted. (i.e. : 5x or 6xy-3 or 6xy - 5x + 3 or

5 Integrals reviewed Basic facts U-substitution... 5

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note Introduction to Linear Algebra the EECS Way

1. Pace yourself. Make sure you write something on every problem to get partial credit. 2. If you need more space, use the back of the previous page.

Sec. 1 Simplifying Rational Expressions: +

Transcription:

SYDE 112, LECTURE 7: Integration by Parts 1 Integration By Parts Consider trying to take the integral of xe x dx. We could try to find a substitution but would quickly grow frustrated there is no substitution we can make which would simplify the integral. Instead we can rely on information we know for the product rule for differentiation. If we let u and v be functions of x, we know from the product rule for differentiation that d du [uv] = dx dx v + u dv dx. We want to use this to tell us something about integration, not differentiation, but what can we do? Well, let s just integrate over x and see what we get. Since integration undoes differentiation, we obtain du uv = dx v dx + u dv dx dx. We can now simplify the differentials (dx) and rearrange to get u dv = uv v du. (1) This is the Integration by Parts formula and it is one of the primary tools for integration. It can also be stated for definite integrals as b a b u dv = [uv] b a v du. (2) It is probably not immediately obvious how this helps us, since we still have to evaluate the integral on the right-hand side. The trick is that, if we make appropriate choices for the parts of the original integral u and dv it may turn out upon differentiating u and integrating dv to get du and a 1

v, respectively, that the integral on the right-hand side is easier to evaluate than the one the left. So, ideally, we replace the original integral with a simpler one! Let s see if the above integral can be solved in this matter. Our first task is to select u and dv from the expression xe x dx. One of these quantities will be differentiated, and one integrated, in order to form our new quantity to be integrated. It turns out the appropriate choice for this problem is u = x dv = e x dx du = dx v = e x. Now using formula (1) we have xe x dx = xe x e x dx. The remaining integral can be evaluated trivially so that we have xe x dx = xe x e x + C. It can easily be checked by differentiating that this is correct (try it!). We also have to remember to adjust by a constant C after our final integration step, since this is an indefinite integral. But how in general do we choose our u and dv? There is no universal rule, although a few guidelines are often useful: The term to be integrated, dv, is usually the most complicated component of the expression that we know how to integrate. In other words, if it can be integrated, that is probably what you have to do with it. Since polynomial terms (e.g. x 2, x, etc.) become lower order upon differentiation, they are typically good choices for u (but not always). Of course, things are not always as clear cut as the above example. In that example, the choices of u and dv were easy and the resulting integral was easily evaluated. Sometimes, we will have to keep in mind a few other tricks: 1. Sometimes it is necessary to apply integration by parts multiple times (this is common when there are higher order terms of x). 2. We can sometimes evaluate integrals with just a single term by choosing dv = dx. 2

3. We may have to apply a substitution or other trick to the remaining integral (this can make the choices of u and dv difficult, however). 4. Sometimes the original integral appears after a few iterations of integration by parts, in which case we can solve for it by rearranging the equation. Example 1: x 2 sin(x) dx. Since we have a polynomial term, we will let that be our u and see if it works. u = x 2 dv = sin(x) dx. du = 2x dx v = cos(x) Following the formula we have x 2 sin(x) dx = x 2 cos(x) + 2 x cos(x) dx. Unfortunately, the remaining integral term cannot be evaluated directly, but we can apply integration by parts again. u = x du = dx dv = cos(x) dx v = sin(x). This gives x 2 sin(x) dx = x 2 cos(x) + 2x sin(x) 2 sin(x) dx = x 2 cos(x) + 2x sin(x) + 2 cos(x) + C. As always, we check our answer, which gives d [ x 2 cos(x) + 2x sin(x) + 2 cos(x) + C ] dx = 2x cos(x) + x 2 sin(x) + 2 sin(x) + 2x cos(x) 2 sin(x) = x 2 sin(x). We should feel satisfied right now that the integration by parts formula really works! 3

Example 2: ln(x) dx, x >. At first this seems like a trick question, since there is only one real part : ln(x). What we can notice, however, is that ln(x) is the same as 1 ln(x) one other part is 1! But which do we choose to be u and dv. We actually have less choice than we might think. We do not know how to integrate ln(x) (that is what this question will answer!), so it cannot be dv. Similarly, we do not want to take the derivative of 1 since that would eliminate the integral on the right-hand side of formula (1). So we must choose u = ln(x) dv = dx du = 1 dx v = x. x From formula (1) we therefore have ln(x) dx = x ln(x) 1 dx = x ln(x) x + C. As always, check the answer (exercise!). Example 3: 1 arcsin(x) dx. Like the previous example, we consider arcsin(x) as 1 arcsin(x). Since we can only integrate 1 and take the derivative of arcsin(x), our choices are u and dv are set. u = arcsin(x) dv = dx 1 du = dx v = x. 1 x 2 By formula (2) we have 1 arcsin(x) dx 1 = [x arcsin(x)] 1 x dx 1 x 2 4

It may not look like we have made it any further, but the second integral can be solved using integration by substitution. I will omit most of the details; however, if we set u = 1 x 2 we have 1 x 1 x 2 dx = 1 2 x=1 x= = [ 1 x 2 ] 1. Putting everything together, we have 1 arcsin(x) dx 1 du u1/2 = [x arcsin(x) + 1 x 2 ] 1 = π 2 1. It is difficult to intuitively check whether this is actually the area under the curve or not; however, as always, we can check whether the indefinite integral is accurate by differentiating (exercise!). Example 4: Consider our first example of integration by substitution: x 2x 1 dx. It turns out this example can be solved by integration by parts as well. We take u = x dv = (2x 1) 1/2 dx du = dx v = 1 3 (2x 1)3/2. (Note: the integration for v can be done by substitution if it s unclear how I have done this.) From formula (1), this gives x 2x 1 dx = x 3 (2x 1)3/2 1 (2x 1) 3/2 dx 3 = x 3 (2x 1)3/2 1 15 (2x 1)5/2 + C. 5

At first glance, this does not appear to agree with the answer we obtained on Monday; however, in algebra there are many ways to represent the same thing, and that is the case here. There are several ways to see that they agree. Perhaps the simplest, although not necessarily most intuitive, is to add and subtract a term as follows x 3 (2x 1)3/2 1 15 (2x 1)5/2 + 1 6 (2x 1)5/2 1 6 (2x 1)5/2 + C = x 3 (2x 1)3/2 1 6 (2x 1)5/2 + 1 1 (2x 1)5/2 + C [ x = (2x 1) 3/2 3 1 ] 6 (2x 1) + 1 1 (2x 1)5/2 + C = 1 6 (2x 1)3/2 + 1 1 (2x 1)5/2 + C. This is exactly the answer we obtained in the previous lecture! Example 5: e 2x cos(x) dx. This seems like a fairly straight-forward question. We can as easily differentiate and integrate one of these terms as the other so we do not have a strong bias in choosing u and dv. We will pick u = e 2x du = 2e 2x dx dv = cos(x) dx v = sin(x). By formula (1), this gives e 2x cos(x) dx = e 2x sin(x) + 2 e 2x sin(x) dx. Unfortunately, the integral on the right-hand side is no easier to evaluate than our original integral, but we will continue anyway. We have to use integration by parts again. We have to use the same terms for u and dv (see what happens if you switch them!). u = e 2x du = 2e 2x dx dv = sin(x) dx v = cos(x). 6

Applying this on the second integral, we have e 2x cos(x) dx = e 2x sin(x) 2e 2x cos(x) 4 e 2x cos(x) dx. At first, it does not look like we have accomplished anything since the remaining integral is not any easier to evaluate than the previous one. But there is more to notice here: the integral on the right is exactly the original integral we were trying to solve for! We can solve for the integral by manipulating the equation and solving for it. e 2x cos(x) dx + 4 e 2 cos(x) dx = e 2x sin(x) 2e 2x cos(x) = e 2x cos(x) dx = 1 5 e 2x sin(x) 2 5 e 2x cos(x). Again, checking that this is the correct integral is left as an exercise. 7