- Published on
Integration by Parts: The Product Rule in Reverse
- Authors

- Name
- Vu Hung
Problem Statement
In differential calculus, the Product Rule allows us to differentiate the multiplication of two functions. By reversing this rule, we derive Integration by Parts, a powerful technique used to integrate the product of two functions when standard substitution fails.
Integration by parts states that .
This technique isn't just an abstract mathematical trick; it has profound applications in other areas of mathematics, particularly in probability theory and statistics, where it is used to calculate the mean (expected value) and variance of continuous Probability Density Functions (PDFs).
Consider a continuous random variable with a probability density function given by:
(a) Show that the Product Rule leads to the Integration by Parts formula.
(b) The mean (or expected value) of a continuous PDF is given by . Set up the integral for the mean of .
(c) Use Integration by Parts to evaluate the integral and find the exact mean of this distribution. (Note: You may assume that for any positive integer ).
Hints
- Part (a): Start with the product rule. Integrate both sides with respect to . Rearrange the equation to isolate , which is equivalent to .
- Part (b): Substitute the given PDF into the expected value formula. Since for , your limits of integration will be from to .
- Part (c): You need to integrate . Use integration by parts. Let (so it differentiates down to ) and (which integrates easily). You will need to apply integration by parts a second time to solve the remaining integral.
Solutions
Part (a): Deriving Integration by Parts
- Start with the Product Rule for differentiation:
- Integrate both sides with respect to :
- The integral of a derivative is the original function:
- Rearrange to isolate one of the integrals:
- Using differential notation ( and ), this simplifies to the standard form:
Part (b): Setting up the Mean Integral
- The formula for the mean is .
- Since for , the integral from to is zero.
- For , .
- Substitute this into the formula:
Part (c): Evaluating the Integral using By Parts
- We need to evaluate . Let's solve the indefinite integral first.
- Choose and :
- Let
- Let
- Apply integration by parts ():
- We must use integration by parts again for :
- Let
- Let
- Substitute this back into our equation for :
- Now evaluate the definite integral from to :
- Evaluate the upper limit (): We are given that , so the upper limit evaluates to .
- Evaluate the lower limit ():
- Subtract the lower limit from the upper limit:
- The mean of the probability density function is .
Takeaways
- Calculus is Connected: Integration by parts is not arbitrary; it is the direct, logical inverse of the Product Rule from differential calculus.
- LIATE Rule: When choosing , follow the LIATE priority list (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential). In our problem, is Algebraic and is Exponential, so Algebraic gets priority for .
- Calculus in Statistics: Continuous probability relies entirely on integral calculus. The total probability (area under the curve) is 1, and moments like mean and variance are found by integrating and .
Further Readings
- HSC Integrals: https://vumaths.com/booklets/hsc-integrals/
- HSC Distributions: https://vumaths.com/booklets/hsc-distributions/
- HSC Probability: https://vumaths.com/booklets/hsc-probability/
Connect with me
If integration by parts always trips you up, or if you want to see more connections between calculus and statistics, check out Vu's Maths Hub. I have dedicated booklets breaking down these exact techniques. You can also follow my video tutorials on YouTube, connect with me on LinkedIn, or read my deeper syllabus analysis on Substack.
