Return to Algonquin MAT8102 course guide. Tutoring coverage for this course must be confirmed before booking and payment.
Stuck on a step? Text us Email us Request a lesson
1. Read the structure before choosing a formula
Knowing integration formulas does not always tell you how to begin. A useful first question is: what change would make this integrand easier to integrate? You might rewrite its algebra, rename a composite expression, or trade one integral for a simpler one.
This lesson develops that judgment through substitution, integration by parts, partial fractions, and trigonometric substitution. You should know basic antiderivatives and the chain and product rules. By the end, aim to explain your first move, recognize when it is unhelpful, and check your result.
In the notation below, is the variable of integration, identifies that variable, and the integrand is the expression being integrated. An antiderivative is a function whose derivative equals the integrand. The symbol is an arbitrary real constant: adding a constant does not change a derivative. The number is the base of the natural exponential, and is its inverse logarithm.
Compare these almost identical integrals:
Both contain a product. In the first, the derivative of the exponent is , so the outside supplies the needed derivative, up to a constant. In the second, the exponent’s derivative is just ; the outside remains. That small change makes substitution natural for the first and integration by parts useful for the second.
Route through the lesson: simplify first → substitution → by parts → partial fractions → combine and check → trigonometric substitution → practice. Read the worked examples in order, then cover the solutions while you practise.
2. Simplify before reaching for a technique
An integral that looks like a quotient may need only division or cancellation. For example,
The logarithm appears because the power rule excludes exponent . There is no need to introduce another method. Similarly, expanding a short polynomial product can be easier than applying integration by parts. Keep a compact power such as intact when its inside derivative is nearby.
If this algebra is the obstacle, revisit Before calculus algebra skills. Here, we will focus on what the algebra reveals about integration.
3. Substitution reverses the chain rule
Let be a function and let be one of its antiderivatives, so ; a prime denotes differentiation. Let be a differentiable inner function and use as a name for its output. The chain rule says
Reading this backward explains substitution: when an integrand contains together with , setting packages those pieces into . The differential records the change of variable; it is not an optional decoration.
Worked example with a constant mismatch
For , choose . Then , so :
The factor compensates for the mismatch. Differentiating the result gives , exactly the original integrand.
Test the whole substitution
For , gives , hence . But removing the outside changes the problem: with , the same substitution does not leave . You cannot discard the factor needed to replace .
Checkpoint: after substituting, have you rewritten every variable and the differential consistently, and is the new integral easier? A visible inside derivative is a strong clue, not a requirement for every useful substitution. Sometimes you must also express a leftover in terms of .
4. See why the differential and bounds matter
Consider a definite integral with and . When , ; when , :
The graphs below have different shapes and horizontal ranges, but equal shaded areas. Substitution changes both the function description and the horizontal measure.
The symbol denotes a small change in ; is the corresponding change in . For a sufficiently narrow strip, ; in the limit, . The original height and the new height describe the same accumulated quantity when paired with the appropriate width. Merely changing the function’s name would miss that compensation.
There are two consistent ways to finish a definite integral:
- Change to throughout, including the bounds, as above
- Find an antiderivative, substitute back to , and then use the original bounds
Do not combine a antiderivative with unchanged bounds. Do not append to the final numerical value: the constant cancels when you subtract endpoint values.
Quick comparison: suggests a logarithm. The similar-looking is the standard arctangent integral. The numerator changes which derivative pattern is present.
5. Integration by parts reverses the product rule
For this method, and denote differentiable functions of ; they are new choices, unrelated to the substitution variable in the previous section. Their differentials are and . The product rule gives . Integrate and rearrange:
This exchanges one integral for another. Choose so that differentiating it helps, and choose so you can actually find . Then inspect the remaining integral before committing to a long calculation.
Worked example that reduces the difficulty
Return to . Differentiating removes it; integrating is straightforward:
Why is this progress? The remaining integral has lost its polynomial factor. Differentiating the answer produces two extra terms with opposite signs; they cancel, leaving .
Reversing the choices is legal but unhelpful: taking and produces a remaining integral containing . We increased the polynomial degree instead of reducing it. A valid formula application is not automatically a useful strategy.
A product can be hidden
For , write the integrand as , with . Choose and :
The gain comes from cancellation in , even though may not look simpler on its own. This is why a rule such as “differentiate the logarithm first” is a useful suggestion, not a proof that a choice will work.
Common misconception: integrating a product does not mean multiplying its two antiderivatives. For example, , whereas differentiates to , not .
When integration by parts brings the original integral back
One application does not always finish the job. With a polynomial times an exponential, repeated differentiation can remove the polynomial. With an exponential times a sine or cosine, differentiating the trigonometric factor twice returns to the same function with a changed sign. That can give an equation for the integral, even though no factor disappears.
Use this section after the one-pass example above. We’ll apply the method twice, then solve the equation that results. Trigonometric arguments are in radians.
Worked example: keep the same integral throughout the calculation
Find an antiderivative of . To keep the constants unambiguous, first define two particular functions with the same fixed lower bound:
The letter is the integration variable; is the upper bound. Both functions have value zero at , so neither contains an arbitrary constant. The integrands are continuous for all real inputs.
First pass: choose , , so and . Use the definite form :
Second pass: in , differentiate the trigonometric factor again. With , , we have . The minus sign in the formula and the minus sign in give a plus:
Substitute and solve: the returned is exactly the function defined at the start. Stop integrating and collect its terms.
Check the fixed-base condition: the last expression gives . Since , the full family of antiderivatives is
The fixed number is absorbed into the single arbitrary real constant . Do not attach a new unrelated to each occurrence of or while solving the equation. Alternatively, indefinite-integral calculations may be done up to an additive constant, with one constant restored at the end.
Independent derivative check: the product rule gives
A return can also be unhelpful
After the first pass, choosing , in would give . Substitution then says only : the second pass undid the first. That identity supplies no value. Keep differentiating the trigonometric factor instead. A useful return produces an equation such as , with a nonzero coefficient of .
Exam routine: name the target integral; write both choices of and ; keep the signs and constant factors outside the next integral; replace a returned integral by its name; solve the equation; differentiate the result. For definite integrals, keep the same bounds in every integral and evaluate both ends of every boundary term.
Three progressive questions: repeat, recognize, then transfer
Use the hints whenever you need them. The worked example shows a returning integral; the first question shows a different reason to repeat the method.
1. Reduce a polynomial twice
Find . Explain why repeating integration by parts helps here, and check your answer by differentiation.
Hint
Differentiate the polynomial each time: becomes , then a constant. Integrating leaves its form unchanged.
Explained answer
First choose , . Then apply parts to the remaining , choosing , . Keeping the intermediate equalities up to an additive constant gives
The polynomial degree decreases, so no equation for a returning integral is needed. The derivative is . This checks every coefficient.
2. Carry a new exponential factor through the cycle
Find . Do not copy the factor from the worked answer. Show the equation produced by two applications of parts and verify the resulting primitive.
Hint
Use and . Differentiate cosine or sine and integrate the exponential. Each integration of introduces a factor .
Explained answer
With the fixed-base functions in the hint, the two passes give
The lower boundary contributes in the first line and zero in the second. Substitute the second equation into the first:
This satisfies . The requested family is therefore
Check by differentiation:
The denominator 5 comes from solving the equation. It is not an integration-by-parts formula to memorize.
3. Keep the endpoints through a definite calculation
Evaluate using two applications of integration by parts directly with these bounds. Give an exact answer and a sign check.
Hint
Let . An antiderivative of is . In the second boundary term, the value at zero is not zero.
Explained answer
Differentiate the trigonometric factor in each pass and keep the interval unchanged:
The second boundary term is . Substitution gives , hence
For an independent check, has derivative . Then reproduces the exact value. Also, the integrand is positive inside the interval and smaller than , so . No arbitrary constant belongs in the final numerical answer.
If a coefficient or sign changed unexpectedly, mark the first line where it changed and redo that pass before retrying the full question. For broader method selection, return to the mixed practice below.
6. Partial-fraction decomposition reverses combining fractions
Partial fractions is an algebraic rewrite of a rational function, a ratio of polynomials. It reveals simpler terms whose antiderivatives you already know. Before decomposing, divide if the numerator’s degree is at least the denominator’s, and check whether cancellation or a direct substitution already finishes the job.
Worked example with two linear factors
The denominator of the following proper fraction has two distinct linear factors, so try one constant numerator above each. Call the unknown real coefficients and :
Combining the right side gives the numerator . For the two expressions to agree wherever defined, their polynomial numerators must agree:
Thus and , giving and . Now integrate the equivalent sum:
Recombining the derivative verifies the result. The expressions inside the absolute-value bars may be negative while the original rational function remains defined. The bars make each logarithm’s argument positive, as required for a real logarithm.
A denominator alone does not choose the method
For , the numerator is exactly the denominator’s derivative. Substitution immediately gives . Partial fractions also works, giving . These expressions agree wherever the denominator is nonzero.
The worked example’s numerator, , is not a constant multiple of . Direct substitution therefore does not remove all the work. You can split off a derivative-matching part, but a remainder still needs attention.
Know the next cases
In the next forms, , , and are unknown real coefficients to determine by matching numerators; avoids confusing a coefficient with the integration constant . Repeated factors need all their powers: a denominator requires the form
An irreducible quadratic cannot be factored into real linear factors. Such a quadratic, for example needs a possible linear numerator . It can lead to both logarithms and arctangents. Stopping because a denominator does not split into real linear factors misses these cases.
For example, splitting the numerator exposes both familiar patterns:
7. Combine methods and check the domain
Methods often work in sequence. In , write . Substitution gives , then by parts handles :
The useful question after substitution is again: what structure does the new integral have?
An antiderivative belongs on an interval
For the partial-fractions example, the integrand is undefined at and . Its antiderivative formula works on each of the three intervals separated by those points. The constants on different intervals need not be equal.
Do not use endpoint subtraction across a singularity without checking the relevant improper integrals. For example, diverges as an ordinary improper integral; substituting endpoints into and reporting zero is invalid.
A practical stopping and checking routine
Differentiate your candidate answer and simplify toward the original integrand. Check signs, constant factors, and the interval where both expressions are valid. A numerical spot-check may catch a mistake, but it cannot prove an identity or convergence.
If a trial leaves a harder integral, reconsider it. Trigonometric identities, trigonometric substitution, repeated by parts, or other tools may be appropriate. Some continuous functions, including , have antiderivatives that cannot be expressed using elementary functions: finite combinations of the usual algebraic, exponential, logarithmic, trigonometric, and inverse-trigonometric functions. Their definite integrals over finite intervals can still be approximated numerically. Failure of one method is not proof that no elementary antiderivative exists.
When a quadratic radical remains, compare the sine, tangent and secant substitutions below. Match the identity, choose an angle interval and check its sign before calculating.
8. Trigonometric substitution: match the radical and its sign
A trigonometric substitution can turn a quadratic radical into a familiar trigonometric expression. First check whether an ordinary substitution already helps: an accompanying factor may make sufficient. Otherwise, compare the three forms below. Let be a fixed constant, and measure the new angle in radians. Here .
Three radicals, three identities
A constant square minus a variable square: for , choose sine because .
This interval covers and gives . If the radical is in a denominator, exclude and use the open angle interval. For a complete sine example and the return to , see Question 6(b): sine substitution for a difference of squares.
A sum of squares: for , choose tangent because .
This interval covers all real and gives , even when . See Solution 6: tangent substitution with transformed bounds for a complete definite-integral example. These linked examples are original practice presented in a Concordia MATH 205 context; they are useful topic practice for other courses, rather than official assessments.
A variable square minus a constant square: for , choose secant because . Start with the branch :
Here both and are positive. The radical is also real on , but that branch needs a separate angle and sign choice. The general rule is for real ; a chosen angle interval is what lets you remove the absolute value. At , check the original integrand before including an endpoint.
Worked example: secant on the positive branch
Find the following antiderivative for :
Using on , replace the radical, denominator and differential together:
Return entirely to . From the substitution, and . The inverse cosine has values in ; here it gives an angle in . Thus
Differentiate to check: write . On this positive branch, , so the derivative is
This is the original integrand. The branch condition matters in both the substitution and the derivative check.
Diagnose the negative-branch sign
For , one valid choice is still , now with . On this interval and , so
For example, gives and . The square root equals , whereas is negative. Reusing the positive-branch simplification would reverse the sign. Work on each connected interval separately; a constant of integration on one branch does not determine the constant on the other.
Three progressive checks
Use the checks to practise; open an answer whenever it helps. Write the substitution, angle interval and differential before cancelling any factors.
1. Recognize and set up
For with any real , choose a substitution. Give , an angle interval and the simplified radical with its sign justified.
Check the setup
Take with . Then and , since on that interval. The identity is .
2. Transfer to a new integral
For , evaluate the integral below. Explain why the square-root sign and your inverse-trigonometric answer fit this interval.
Check the calculation
Choose , with . Then and . After cancellation,
Because , the angle lies in . Differentiating gives , using .
3. Diagnose an unfamiliar branch
For , a student sets , with , then writes . Correct the sign and determine whether the transformed differential expression below is or :
Check the diagnosis
Here , so . With ,
Also, while the original integrand is negative on , agreeing with the minus sign. The wrong root would produce the opposite sign.
If a sign or substitution feels uncertain, a tutor can compare the three identities with you, choose an angle interval and help you check each factor before you try another example. You can start from the basics. Tutoring sessions are currently offered in English.
9. Practice choosing before calculating
For every problem, write a one-sentence reason for your first move. Differentiate indefinite-integral answers to check them; for definite integrals, check the transformed bounds and endpoint arithmetic. Include only for indefinite integrals, and note any restrictions.
Level 1 with a suggested first move
1. Match a derivative. Choose . What constant compensates for the difference between and the numerator?
2. Reduce a factor. Try . Find carefully before using by parts.
Level 2 with less guidance
3. Compare the clues. Explain why these two quotients suggest different standard antiderivatives.
4. Avoid unnecessary work. Simplify before choosing a named technique.
5. Decompose and justify. Find the two coefficients and state the allowed intervals.
Level 3 independent decisions
6. Choose and justify a route. Explain why each step helps.
7. Keep the bounds consistent. Evaluate and explain your first move.
8. Diagnose a false answer. Someone claims for . Differentiate their candidate. Explain why “divide by the inside derivative” fails here.
10. Solutions with reasons
Solution 1
1. Since , the numerator supplies :
No absolute-value bars are needed because for every real .
Solution 2
2. Choose , , , and :
The plus sign comes from subtracting the integral of a sine, whose antiderivative introduces another minus sign. Valid for all real .
Solution 3
3. In (a), gives , so the answer is . In (b), use the standard arctangent pattern, or set :
Both are defined for every real . Their common denominator does not make their numerators interchangeable.
Solution 4
4. Factoring gives , but only for . Thus the answer is on either interval avoiding . Cancellation simplifies the formula; it does not restore the missing point in the original domain.
Solution 5
5. Write . Matching numerators yields and , so , :
Use it on , , or , with an independent constant on each interval if needed.
Solution 6
6. Let , so . Then by parts gives
Differentiating makes the extra terms cancel. Valid for every real .
Solution 7
7. With , the bounds become and . An antiderivative is :
Solution 8
8. The derivative is
The extra term proves the claim false. Dividing by a variable-dependent derivative creates a factor whose own derivative must be included. A constant inside derivative, as in , behaves differently.
Take the reasoning to your next integral
Before you calculate, ask what your proposed move accomplishes. Substitution should reorganize a composition; by parts should produce a manageable remaining integral; partial fractions should expose simpler rational terms. Simplification may make any of them unnecessary.
Afterward, explain why the method helped and verify the answer by differentiation. This habit builds more transferable skill than remembering that one example used one particular formula.
Further reading
The explanations and figures in this lesson are original. For standard results, additional examples, and further practice, see OpenStax Calculus Volume 2 by Gilbert Strang and Edwin Herman:
- Section 1.5 Substitution
- Section 3.1 Integration by parts
- Section 3.4 Partial fractions
- Section 3.5 Other strategies for integration
- Section 3.6 Numerical integration
- Section 3.7 Improper integrals
Work through your own examples
Bring a few integrals you are unsure how to start. Taking integral calculus at CEGEP? See CEGEP calculus tutoring to find your college’s course page, then share your outline when asking for help.
Useful for
Work on the step you’re missing.
Tell us the subject and your preferred time. Nablio confirms the details by text or email.
Request a lesson