Examples from Seen questions
All examples from Seen questions.
Average value of a piecewise function
The average value of a function on is
Compute the average on for
Solution
The interval is split at , so the integral of is the sum of one integral from each branch. Parts (a) and (b) find the two antiderivatives, part (c) applies them on the appropriate intervals and part (d) asks whether attains its average.
(a) The product-to-sum integral
The product-to-sum identity
applies after writing as . Thus
The difference of arguments is and ; this sign is easy to lose.
(b) The tangent-secant integral
Use the substitution
Then
For the definite integral on the second branch, the bounds transform as
Therefore
(c) Computing the average
For the first branch, use the antiderivative from (a):
The second branch contributes by (b). Each formula for applies only on its own subinterval, so these two integrals give the total:
The interval length is
Consequently,
(d) Existence of a point attaining the average
The first branch is continuous on . At the endpoints of this subinterval,
Also,
Thus lies strictly between and . The Intermediate Value Theorem applied to the first branch gives a point
such that . Therefore the answer is Yes.
Which branch owns the single point does not affect the integral or the average. What matters is which formula is integrated on each side.
[exam]
Reduction formulae and substitution of a hyperbolic function
Consider
It can be written as a reduction formula in the form
where and depend on . Find and in terms of .
Next, consider
Suggest a substitution so that
and then write the rational integrand as
where the degree of each numerator is less than the degree of its denominator. Find , and .
Solution
In the first integral, the factor is the derivative of the exponent:
Differentiating a product with one lower power of therefore produces both an term and an term.
(a) Finding the reduction formula
For , differentiate
Using the product rule and the chain rule gives
Integrate from to . The second term on the right is , while the first term is , so
At the endpoints,
and
Therefore
Comparing this with gives
(b) Substitution and partial fractions
The numerator is the derivative of up to a factor of , so this is an ordinary substitution, not a surd-clearing hyperbolic substitution. Set
Thus and
Factor the denominator:
The quadratic has discriminant
so it is an irreducible real quadratic. The required partial-fraction form is
The question writes the last numerator as ; here .
Multiplying through by the denominator gives the polynomial identity
Since
substitution of gives
Substitution of gives
To find the quadratic numerator, expand the identity and compare the coefficients of and :
The coefficient of gives
The coefficient of then gives
Hence the requested numerators are
As a check, the decomposition is
Consequently, on any interval that does not contain a point where or , an antiderivative is
The first part is a reduction formula: differentiating a product with one lower power gives a recurrence that drops the index by two. The second is a substitution followed by partial fractions for a proper rational function.
[exam]