MATH 141 Calculus 2 • McGill University, Montreal

Corrected exercises: partial fractions (MATH 141)

This is the corrected exercise set for the partial fractions chapter of MATH 141, Calculus 2, the integral calculus course taken in first year at McGill University. It follows section 7.4 of Stewart. Every integral is built to be done by hand, as on the exam: the denominators factor over small integers, the constants come out as simple fractions, and every definite integral ends on an exact value such as ln⁡2+5π8\ln 2 + \frac{5\pi}{8}. The solutions name each choice, the division, the factorization, the form, the method used for the constants, because that is where the marks are.

The thread running through the whole set: the SHAPE of the answer is decided before a single constant is computed, and in a fixed order. First the degree check, with a long division whenever the numerator is not of smaller degree. Then the denominator factored completely, each quadratic tested by its discriminant. Then one term per power of each factor, with a linear numerator over each irreducible quadratic. Each kind of term then integrates to one kind of function: a logarithm for a simple linear factor, a power for a repeated one, a logarithm plus an arctangent for an irreducible quadratic.

The traps named explicitly in the solutions: decomposing an improper fraction and losing the quotient that the cover-up cannot see, forgetting the factor 1p\frac{1}{p} in ∫dxpx+q\int \frac{dx}{px + q}, dropping the absolute values on an interval where the factor is negative, leaving out the lower power of a repeated factor, integrating 1(x−a)2\frac{1}{(x - a)^2} into a logarithm, taking a splitting quadratic for an irreducible one, writing a logarithm over a quadratic whose derivative is not on top, and forgetting dx=duudx = \frac{du}{u} after u=exu = e^x.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → Every MATH 141 chapter →

Course recap

  • • Degree check first: if deg⁡N≥deg⁡D\deg N \ge \deg D, divide, ND=Q+RD\frac{N}{D} = Q + \frac{R}{D} with deg⁡R<deg⁡D\deg R < \deg D, and decompose only RD\frac{R}{D}.
  • • Distinct linear factor px+qpx + q: one term Apx+q\frac{A}{px + q}, and ∫Apx+q dx=Apln⁡∣px+q∣+K\int \frac{A}{px + q}\,dx = \frac{A}{p}\ln|px + q| + K.
  • • Repeated factor (x−a)m(x - a)^m: mm terms A1x−a+⋯+Am(x−a)m\frac{A_1}{x - a} + \dots + \frac{A_m}{(x - a)^m}; for k≥2k \ge 2, ∫dx(x−a)k=−1(k−1)(x−a)k−1+K\int \frac{dx}{(x - a)^k} = -\frac{1}{(k - 1)(x - a)^{k - 1}} + K.
  • • Irreducible quadratic (discriminant <0< 0): a term Bx+Cax2+bx+c\frac{Bx + C}{ax^2 + bx + c}; repeated, one such term per power.
  • • Complete the square, then split the numerator: ∫u′u=ln⁡∣u∣\int \frac{u'}{u} = \ln|u| and ∫duu2+a2=1aarctan⁡ua+K\int \frac{du}{u^2 + a^2} = \frac{1}{a}\arctan\frac{u}{a} + K.
  • • Number of unknowns == degree of the denominator. Cover-up: multiply by one linear factor and evaluate at its root.
  • • Rationalizing: u=xu = \sqrt{x}, x=u2x = u^2, dx=2u dudx = 2u\,du; u=exu = e^x, dx=duudx = \frac{du}{u}.

Part A: the basics (/50)

Exercise 1: The degree check comes first: long division before anything else

Partial fractions only apply to a PROPER rational function, one whose numerator has a strictly smaller degree than its denominator. When deg⁡N≥deg⁡D\deg N \ge \deg D, the first line of the answer is a long division, which writes ND=Q+RD\frac{N}{D} = Q + \frac{R}{D} with a polynomial quotient QQ and a remainder RR of degree less than deg⁡D\deg D. Only RD\frac{R}{D} is then decomposed.

The figure shows y=x2+3xx+1y = \frac{x^2 + 3x}{x + 1} with the dashed line y=x+2y = x + 2 and the vertical line x=−1x = -1.

-5-4-3-2-11234-6-4-22468y = x + 2the curve
  • a) Divide x2+3xx^2 + 3x by x+1x + 1 and write x2+3xx+1\frac{x^2 + 3x}{x + 1} as a polynomial plus a proper fraction. Explain what the dashed line of the figure is, and on which side of it the curve lies when x>−1x > -1. Then find ∫x2+3xx+1 dx\int \frac{x^2 + 3x}{x + 1}\,dx.
  • b) Find ∫x3x2−4 dx\int \frac{x^3}{x^2 - 4}\,dx. After the division, is a decomposition still needed?
  • c) For ∫x2+1x2+x−2 dx\int \frac{x^2 + 1}{x^2 + x - 2}\,dx, a classmate writes x2+1(x−1)(x+2)=Ax−1+Bx+2\frac{x^2 + 1}{(x - 1)(x + 2)} = \frac{A}{x - 1} + \frac{B}{x + 2} and finds A=23A = \frac{2}{3} and B=−53B = -\frac{5}{3} by the cover-up method. Test his identity at x=0x = 0, explain what went wrong, and find the integral correctly.
  • d) Evaluate ∫012x2+xx+1 dx\int_0^1 \frac{2x^2 + x}{x + 1}\,dx exactly.
Show the solution

Answers

  • a) x2+3xx+1=x+2−2x+1\frac{x^2 + 3x}{x + 1} = x + 2 - \frac{2}{x + 1}; the curve lies below y=x+2y = x + 2; integral x22+2x−2ln⁡∣x+1∣+C\frac{x^2}{2} + 2x - 2\ln|x + 1| + C
  • b) x3x2−4=x+4xx2−4\frac{x^3}{x^2 - 4} = x + \frac{4x}{x^2 - 4}; x22+2ln⁡∣x2−4∣+C\frac{x^2}{2} + 2\ln|x^2 - 4| + C, no decomposition needed
  • c) At x=0x = 0: −12≠−32-\frac{1}{2} \ne -\frac{3}{2}. x2+1x2+x−2=1+2/3x−1−5/3x+2\frac{x^2 + 1}{x^2 + x - 2} = 1 + \frac{2/3}{x - 1} - \frac{5/3}{x + 2}; integral x+23ln⁡∣x−1∣−53ln⁡∣x+2∣+Cx + \frac{2}{3}\ln|x - 1| - \frac{5}{3}\ln|x + 2| + C
  • d) ln⁡2\ln 2

a) The degrees are 22 and 11, so the fraction is improper and the division is compulsory. x2+3xx^2 + 3x divided by x+1x + 1: first term xx, and x(x+1)=x2+xx(x + 1) = x^2 + x leaves 2x2x; next term 22, and 2(x+1)=2x+22(x + 1) = 2x + 2 leaves −2-2. So x2+3x=(x+1)(x+2)−2x^2 + 3x = (x + 1)(x + 2) - 2 and x2+3xx+1=x+2−2x+1\frac{x^2 + 3x}{x + 1} = x + 2 - \frac{2}{x + 1}. The quotient x+2x + 2 is the dashed line: as x→±∞x \to \pm\infty the proper part −2x+1-\frac{2}{x + 1} tends to 00, so the curve hugs y=x+2y = x + 2, its slant asymptote. For x>−1x > -1 the gap −2x+1-\frac{2}{x + 1} is negative, so the curve lies BELOW the line, as the figure shows. Integrating term by term: ∫x2+3xx+1 dx=x22+2x−2ln⁡∣x+1∣+C\int \frac{x^2 + 3x}{x + 1}\,dx = \frac{x^2}{2} + 2x - 2\ln|x + 1| + C. Check by differentiating: x+2−2x+1x + 2 - \frac{2}{x + 1}, which is the integrand.

b) Degrees 33 and 22: divide. x3=x(x2−4)+4xx^3 = x(x^2 - 4) + 4x, so x3x2−4=x+4xx2−4\frac{x^3}{x^2 - 4} = x + \frac{4x}{x^2 - 4}. The remainder is now proper, and before reaching for AA and BB it is worth reading its SHAPE: the numerator 4x4x is twice the derivative of x2−4x^2 - 4. The substitution u=x2−4u = x^2 - 4, du=2x dxdu = 2x\,dx gives ∫4xx2−4 dx=2ln⁡∣x2−4∣+C\int \frac{4x}{x^2 - 4}\,dx = 2\ln|x^2 - 4| + C. So ∫x3x2−4 dx=x22+2ln⁡∣x2−4∣+C\int \frac{x^3}{x^2 - 4}\,dx = \frac{x^2}{2} + 2\ln|x^2 - 4| + C. Partial fractions give the same thing, 4xx2−4=2x−2+2x+2\frac{4x}{x^2 - 4} = \frac{2}{x - 2} + \frac{2}{x + 2}, whose integral 2ln⁡∣x−2∣+2ln⁡∣x+2∣2\ln|x - 2| + 2\ln|x + 2| is 2ln⁡∣x2−4∣2\ln|x^2 - 4|: the decomposition is correct but unnecessary. The division was not optional; the decomposition was.

c) At x=0x = 0 the left side is 1−2=−12\frac{1}{-2} = -\frac{1}{2}, while the right side is 2/3−1+−5/32=−23−56=−32\frac{2/3}{-1} + \frac{-5/3}{2} = -\frac{2}{3} - \frac{5}{6} = -\frac{3}{2}. The identity is false. The numerator and the denominator both have degree 22, so the fraction tends to 11 at infinity, while any sum Ax−1+Bx+2\frac{A}{x - 1} + \frac{B}{x + 2} tends to 00: no choice of AA and BB can work. The cover-up did not warn him, because it reads the behaviour near each pole and is blind to the quotient: the constants it gives are right, but a whole term is missing. Correct route: x2+1=1⋅(x2+x−2)+(−x+3)x^2 + 1 = 1 \cdot (x^2 + x - 2) + (-x + 3), so x2+1x2+x−2=1+−x+3(x−1)(x+2)\frac{x^2 + 1}{x^2 + x - 2} = 1 + \frac{-x + 3}{(x - 1)(x + 2)}. Then −x+3=A(x+2)+B(x−1)-x + 3 = A(x + 2) + B(x - 1); x=1x = 1 gives 2=3A2 = 3A, A=23A = \frac{2}{3}; x=−2x = -2 gives 5=−3B5 = -3B, B=−53B = -\frac{5}{3}. Hence ∫x2+1x2+x−2 dx=x+23ln⁡∣x−1∣−53ln⁡∣x+2∣+C\int \frac{x^2 + 1}{x^2 + x - 2}\,dx = x + \frac{2}{3}\ln|x - 1| - \frac{5}{3}\ln|x + 2| + C. His error costs the term xx, and on a definite integral it costs the whole length of the interval.

d) Degrees 22 and 11: divide. 2x2+x=(x+1)(2x−1)+12x^2 + x = (x + 1)(2x - 1) + 1, since (x+1)(2x−1)=2x2+x−1(x + 1)(2x - 1) = 2x^2 + x - 1. So 2x2+xx+1=2x−1+1x+1\frac{2x^2 + x}{x + 1} = 2x - 1 + \frac{1}{x + 1}, and the pole x=−1x = -1 is outside [0,1][0, 1], so the integrand is continuous there. ∫01(2x−1+1x+1)dx=[x2−x+ln⁡∣x+1∣]01=(1−1+ln⁡2)−(0−0+ln⁡1)=ln⁡2\int_0^1 \left(2x - 1 + \frac{1}{x + 1}\right)dx = \left[x^2 - x + \ln|x + 1|\right]_0^1 = (1 - 1 + \ln 2) - (0 - 0 + \ln 1) = \ln 2. Sanity check: the integrand rises from 00 at x=0x = 0 to 32\frac{3}{2} at x=1x = 1, so an area of about 0.690.69 is believable.

Exercise 2: Distinct linear factors: the cover-up, the inner coefficient and the absolute values

When the denominator is a product of distinct linear factors, each factor (px+q)(px + q) contributes ONE term Apx+q\frac{A}{px + q}. The constants come fastest from the cover-up method: multiply the identity by one factor and evaluate at its root, where every other term vanishes.

The figure shows y=1x2−1y = \frac{1}{x^2 - 1} and the region between the curve and the xx-axis for −12≤x≤12-\frac{1}{2} \le x \le \frac{1}{2}.

-2.5-2-1.5-1-0.50.511.522.5-3-2-1123y = 1/(x² - 1)
  • a) Find ∫6x2−x−1x3−x dx\int \frac{6x^2 - x - 1}{x^3 - x}\,dx. Justify the cover-up step once in full, then check your three constants with one quick test.
  • b) Find ∫dx2x2+5x−3\int \frac{dx}{2x^2 + 5x - 3} and write the answer as a single logarithm.
  • c) Evaluate ∫−1/21/2dxx2−1\int_{-1/2}^{1/2} \frac{dx}{x^2 - 1} exactly. Explain from the figure why the answer must be negative, and what happens to your antiderivative on this interval if the absolute values are dropped.
  • d) The integrand of c) is even. Use this to recompute the answer from ∫01/2\int_0^{1/2} only.
Show the solution

Answers

  • a) ln⁡∣x∣+2ln⁡∣x−1∣+3ln⁡∣x+1∣+K\ln|x| + 2\ln|x - 1| + 3\ln|x + 1| + K
  • b) 17ln⁡∣2x−1∣−17ln⁡∣x+3∣+C=17ln⁡∣2x−1x+3∣+C\frac{1}{7}\ln|2x - 1| - \frac{1}{7}\ln|x + 3| + C = \frac{1}{7}\ln\left|\frac{2x - 1}{x + 3}\right| + C
  • c) −ln⁡3-\ln 3; without absolute values the logarithm of the negative number x−1x+1\frac{x - 1}{x + 1} is undefined.
  • d) 2⋅12[ln⁡∣x−1x+1∣]01/2=ln⁡13=−ln⁡32 \cdot \frac{1}{2}\left[\ln\left|\frac{x - 1}{x + 1}\right|\right]_0^{1/2} = \ln\frac{1}{3} = -\ln 3

a) Degree 22 over degree 33: proper, no division. Factor: x3−x=x(x−1)(x+1)x^3 - x = x(x - 1)(x + 1), three distinct linear factors, so the form is 6x2−x−1x(x−1)(x+1)=Ax+Bx−1+Cx+1\frac{6x^2 - x - 1}{x(x - 1)(x + 1)} = \frac{A}{x} + \frac{B}{x - 1} + \frac{C}{x + 1}. Multiply both sides by x(x−1)(x+1)x(x - 1)(x + 1): 6x2−x−1=A(x−1)(x+1)+Bx(x+1)+Cx(x−1)6x^2 - x - 1 = A(x - 1)(x + 1) + Bx(x + 1) + Cx(x - 1), an identity of polynomials, true for EVERY xx. At x=0x = 0 the BB and CC terms vanish: −1=−A-1 = -A, so A=1A = 1. At x=1x = 1: 6−1−1=4=2B6 - 1 - 1 = 4 = 2B, so B=2B = 2. At x=−1x = -1: 6+1−1=6=2C6 + 1 - 1 = 6 = 2C, so C=3C = 3. Quick test: the coefficient of x2x^2 on the right is A+B+C=6A + B + C = 6, which matches the left. Therefore ∫6x2−x−1x3−x dx=ln⁡∣x∣+2ln⁡∣x−1∣+3ln⁡∣x+1∣+K\int \frac{6x^2 - x - 1}{x^3 - x}\,dx = \ln|x| + 2\ln|x - 1| + 3\ln|x + 1| + K, where KK is the constant of integration (the letter CC is taken). The step that earns the method mark is the polynomial identity: the values x=0,1,−1x = 0, 1, -1 are forbidden in the FRACTION but allowed in the identity, which is why the cover-up is legitimate.

b) 2x2+5x−32x^2 + 5x - 3 has discriminant 25+24=49=7225 + 24 = 49 = 7^2, so it factors: (2x−1)(x+3)(2x - 1)(x + 3). Form: 1(2x−1)(x+3)=A2x−1+Bx+3\frac{1}{(2x - 1)(x + 3)} = \frac{A}{2x - 1} + \frac{B}{x + 3}, so 1=A(x+3)+B(2x−1)1 = A(x + 3) + B(2x - 1). At x=12x = \frac{1}{2}: 1=72A1 = \frac{7}{2}A, A=27A = \frac{2}{7}. At x=−3x = -3: 1=−7B1 = -7B, B=−17B = -\frac{1}{7}. Now the trap of the chapter: ∫2/72x−1 dx\int \frac{2/7}{2x - 1}\,dx is NOT 27ln⁡∣2x−1∣\frac{2}{7}\ln|2x - 1|. With u=2x−1u = 2x - 1, du=2 dxdu = 2\,dx, it is 27⋅12ln⁡∣2x−1∣=17ln⁡∣2x−1∣\frac{2}{7} \cdot \frac{1}{2}\ln|2x - 1| = \frac{1}{7}\ln|2x - 1|. So ∫dx2x2+5x−3=17ln⁡∣2x−1∣−17ln⁡∣x+3∣+C=17ln⁡∣2x−1x+3∣+C\int \frac{dx}{2x^2 + 5x - 3} = \frac{1}{7}\ln|2x - 1| - \frac{1}{7}\ln|x + 3| + C = \frac{1}{7}\ln\left|\frac{2x - 1}{x + 3}\right| + C. Differentiating the answer confirms it: 17(22x−1−1x+3)=17⋅2x+6−2x+1(2x−1)(x+3)=1(2x−1)(x+3)\frac{1}{7}\left(\frac{2}{2x - 1} - \frac{1}{x + 3}\right) = \frac{1}{7} \cdot \frac{2x + 6 - 2x + 1}{(2x - 1)(x + 3)} = \frac{1}{(2x - 1)(x + 3)}.

c) 1x2−1=1(x−1)(x+1)=1/2x−1−1/2x+1\frac{1}{x^2 - 1} = \frac{1}{(x - 1)(x + 1)} = \frac{1/2}{x - 1} - \frac{1/2}{x + 1} (cover-up at x=1x = 1 gives 12\frac{1}{2}, at x=−1x = -1 gives −12-\frac{1}{2}). An antiderivative is F(x)=12ln⁡∣x−1∣−12ln⁡∣x+1∣=12ln⁡∣x−1x+1∣F(x) = \frac{1}{2}\ln|x - 1| - \frac{1}{2}\ln|x + 1| = \frac{1}{2}\ln\left|\frac{x - 1}{x + 1}\right|. The poles ±1\pm 1 lie outside [−12,12]\left[-\frac{1}{2}, \frac{1}{2}\right], so the integrand is continuous there and the Fundamental Theorem applies. F(12)=12ln⁡∣−1/23/2∣=12ln⁡13F\left(\frac{1}{2}\right) = \frac{1}{2}\ln\left|\frac{-1/2}{3/2}\right| = \frac{1}{2}\ln\frac{1}{3} and F(−12)=12ln⁡∣−3/21/2∣=12ln⁡3F\left(-\frac{1}{2}\right) = \frac{1}{2}\ln\left|\frac{-3/2}{1/2}\right| = \frac{1}{2}\ln 3. So the integral is 12ln⁡13−12ln⁡3=−ln⁡3\frac{1}{2}\ln\frac{1}{3} - \frac{1}{2}\ln 3 = -\ln 3. The figure agrees: on this interval x2−1<0x^2 - 1 < 0, the curve is below the axis (it passes through (0,−1)(0, -1)), and a region below the axis contributes a NEGATIVE signed area; −ln⁡3≈−1.10-\ln 3 \approx -1.10 against a width of 11 and depths between 11 and 43\frac{4}{3} is consistent. Without absolute values, x−1x+1\frac{x - 1}{x + 1} is negative on the whole interval and ln⁡\ln of it is undefined: the absolute values are not decoration, they are what makes the antiderivative exist on this interval.

d) 1(−x)2−1=1x2−1\frac{1}{(-x)^2 - 1} = \frac{1}{x^2 - 1}: the integrand is even, so ∫−1/21/2=2∫01/2\int_{-1/2}^{1/2} = 2\int_0^{1/2}. With the same FF: 2[F(12)−F(0)]=2[12ln⁡13−12ln⁡1]=ln⁡13=−ln⁡32\left[F\left(\frac{1}{2}\right) - F(0)\right] = 2\left[\frac{1}{2}\ln\frac{1}{3} - \frac{1}{2}\ln 1\right] = \ln\frac{1}{3} = -\ln 3. Same value, one evaluation fewer, and a useful cross-check of c).

Exercise 3: Repeated linear factors: one term per power, and a power in the answer

A factor (x−a)m(x - a)^m of the denominator contributes mm terms, A1x−a+A2(x−a)2+⋯+Am(x−a)m\frac{A_1}{x - a} + \frac{A_2}{(x - a)^2} + \dots + \frac{A_m}{(x - a)^m}, one for EACH power up to mm, whatever the numerator looks like. The terms of power 22 and higher do not integrate to logarithms: ∫dx(x−a)2=−1x−a+K\int \frac{dx}{(x - a)^2} = -\frac{1}{x - a} + K.

Throughout, KK denotes the constant of integration, since the letters AA, BB, CC are taken by the decomposition.

  • a) A student writes 3x2−4x2(x+2)=Ax+Cx+2\frac{3x^2 - 4}{x^2(x + 2)} = \frac{A}{x} + \frac{C}{x + 2}. Prove that no constants AA and CC can make this true.
  • b) Write the correct form, find its constants, and find ∫3x2−4x3+2x2 dx\int \frac{3x^2 - 4}{x^3 + 2x^2}\,dx.
  • c) Evaluate ∫123x2−4x3+2x2 dx\int_1^2 \frac{3x^2 - 4}{x^3 + 2x^2}\,dx exactly, as a logarithm minus an integer.
  • d) Find ∫x2+1x(x−1)2 dx\int \frac{x^2 + 1}{x(x - 1)^2}\,dx. One constant turns out to be 00: was the term useless in the form? A classmate integrates the last term as 2ln⁡∣(x−1)2∣2\ln|(x - 1)^2|; show by differentiating that this is wrong.
Show the solution

Answers

  • a) The identity would force 3x2−4=x[A(x+2)+Cx]3x^2 - 4 = x\left[A(x + 2) + Cx\right], false at x=0x = 0 (−4≠0-4 \ne 0).
  • b) 1x−2x2+2x+2\frac{1}{x} - \frac{2}{x^2} + \frac{2}{x + 2}; integral ln⁡∣x∣+2x+2ln⁡∣x+2∣+K\ln|x| + \frac{2}{x} + 2\ln|x + 2| + K
  • c) 5ln⁡2−2ln⁡3−1=ln⁡329−15\ln 2 - 2\ln 3 - 1 = \ln\frac{32}{9} - 1
  • d) 1x+0x−1+2(x−1)2\frac{1}{x} + \frac{0}{x - 1} + \frac{2}{(x - 1)^2}; integral ln⁡∣x∣−2x−1+K\ln|x| - \frac{2}{x - 1} + K. The form must keep the term; 2ln⁡∣(x−1)2∣2\ln|(x - 1)^2| differentiates to 4x−1\frac{4}{x - 1}.

a) Put the right side over the common denominator: Ax+Cx+2=A(x+2)+Cxx(x+2)=x[A(x+2)+Cx]x2(x+2)\frac{A}{x} + \frac{C}{x + 2} = \frac{A(x + 2) + Cx}{x(x + 2)} = \frac{x\left[A(x + 2) + Cx\right]}{x^2(x + 2)}. The identity would therefore require 3x2−4=x[A(x+2)+Cx]3x^2 - 4 = x\left[A(x + 2) + Cx\right] for every xx. At x=0x = 0 the right side is 00 and the left side is −4-4: impossible, whatever AA and CC are. The deeper reason: every term of the proposed form has at most ONE factor xx in its denominator, so its sum cannot blow up like 1x2\frac{1}{x^2} near 00, while 3x2−4x2(x+2)\frac{3x^2 - 4}{x^2(x + 2)} behaves like −42x2=−2x2\frac{-4}{2x^2} = -\frac{2}{x^2} there. The factor x2x^2 is a REPEATED linear factor, and it opens two boxes.

b) Form: 3x2−4x2(x+2)=Ax+Bx2+Cx+2\frac{3x^2 - 4}{x^2(x + 2)} = \frac{A}{x} + \frac{B}{x^2} + \frac{C}{x + 2}, three unknowns for a denominator of degree 33. Clearing denominators: 3x2−4=Ax(x+2)+B(x+2)+Cx23x^2 - 4 = Ax(x + 2) + B(x + 2) + Cx^2. At x=0x = 0: −4=2B-4 = 2B, so B=−2B = -2. At x=−2x = -2: 12−4=8=4C12 - 4 = 8 = 4C, so C=2C = 2. There is no third root to plug in, so compare the coefficients of x2x^2: 3=A+C3 = A + C, so A=1A = 1. Check at x=1x = 1: left −1-1; right A⋅3+B⋅3+C=3−6+2=−1A \cdot 3 + B \cdot 3 + C = 3 - 6 + 2 = -1. Now integrate each term by its own rule: ∫dxx=ln⁡∣x∣\int \frac{dx}{x} = \ln|x|, ∫−2x2 dx=2x\int -\frac{2}{x^2}\,dx = \frac{2}{x}, ∫2x+2 dx=2ln⁡∣x+2∣\int \frac{2}{x + 2}\,dx = 2\ln|x + 2|. So ∫3x2−4x3+2x2 dx=ln⁡∣x∣+2x+2ln⁡∣x+2∣+K\int \frac{3x^2 - 4}{x^3 + 2x^2}\,dx = \ln|x| + \frac{2}{x} + 2\ln|x + 2| + K.

c) The poles 00 and −2-2 are outside [1,2][1, 2], so with F(x)=ln⁡x+2x+2ln⁡(x+2)F(x) = \ln x + \frac{2}{x} + 2\ln(x + 2) on this interval: F(2)=ln⁡2+1+2ln⁡4=5ln⁡2+1F(2) = \ln 2 + 1 + 2\ln 4 = 5\ln 2 + 1 and F(1)=0+2+2ln⁡3F(1) = 0 + 2 + 2\ln 3. Hence ∫123x2−4x3+2x2 dx=5ln⁡2+1−2−2ln⁡3=5ln⁡2−2ln⁡3−1=ln⁡329−1\int_1^2 \frac{3x^2 - 4}{x^3 + 2x^2}\,dx = 5\ln 2 + 1 - 2 - 2\ln 3 = 5\ln 2 - 2\ln 3 - 1 = \ln\frac{32}{9} - 1. Order of magnitude with ln⁡2≈0.69\ln 2 \approx 0.69 and ln⁡3≈1.10\ln 3 \approx 1.10: 3.47−2.20−1≈0.273.47 - 2.20 - 1 \approx 0.27. The integrand goes from −13-\frac{1}{3} at x=1x = 1 to 12\frac{1}{2} at x=2x = 2, so a small positive net area is what we should expect.

d) Proper (degree 22 over 33). Form: x2+1x(x−1)2=Ax+Bx−1+C(x−1)2\frac{x^2 + 1}{x(x - 1)^2} = \frac{A}{x} + \frac{B}{x - 1} + \frac{C}{(x - 1)^2}, so x2+1=A(x−1)2+Bx(x−1)+Cxx^2 + 1 = A(x - 1)^2 + Bx(x - 1) + Cx. At x=0x = 0: 1=A1 = A. At x=1x = 1: 2=C2 = C. Coefficient of x2x^2: 1=A+B1 = A + B, so B=0B = 0. The box Bx−1\frac{B}{x - 1} comes out empty for THIS numerator, but the form had to contain it: it is the numerator that decides the values, the denominator that decides the form, and a form without the BB term would have been marked wrong even though B=0B = 0. So ∫x2+1x(x−1)2 dx=∫(1x+2(x−1)2)dx=ln⁡∣x∣−2x−1+K\int \frac{x^2 + 1}{x(x - 1)^2}\,dx = \int \left(\frac{1}{x} + \frac{2}{(x - 1)^2}\right)dx = \ln|x| - \frac{2}{x - 1} + K. The classmate's 2ln⁡∣(x−1)2∣=4ln⁡∣x−1∣2\ln|(x - 1)^2| = 4\ln|x - 1| has derivative 4x−1\frac{4}{x - 1}, not 2(x−1)2\frac{2}{(x - 1)^2}: a squared factor integrates by the POWER rule, ∫(x−1)−2 dx=−(x−1)−1\int (x - 1)^{-2}\,dx = -(x - 1)^{-1}.

Exercise 4: Irreducible quadratics: complete the square, split the numerator, log plus arctangent

A quadratic factor with NEGATIVE discriminant does not split over the reals. It contributes a term with a LINEAR numerator, Bx+Cax2+bx+c\frac{Bx + C}{ax^2 + bx + c}, and that term integrates in two pieces: the part of the numerator proportional to the derivative of the quadratic gives a logarithm, the rest gives an arctangent through ∫duu2+a2=1aarctan⁡ua+K\int \frac{du}{u^2 + a^2} = \frac{1}{a}\arctan\frac{u}{a} + K.

The figure shows the region under y=2x+7x2+2x+5y = \frac{2x + 7}{x^2 + 2x + 5} for −1≤x≤1-1 \le x \le 1.

-3-2-1123-0.50.511.52integrand
  • a) Find ∫3x2+2x+9x3+9x dx\int \frac{3x^2 + 2x + 9}{x^3 + 9x}\,dx.
  • b) Find ∫2x+7x2+2x+5 dx\int \frac{2x + 7}{x^2 + 2x + 5}\,dx by completing the square and splitting the numerator. Why is there no absolute value inside the logarithm?
  • c) Evaluate the shaded area ∫−112x+7x2+2x+5 dx\int_{-1}^{1} \frac{2x + 7}{x^2 + 2x + 5}\,dx exactly, and check it against the figure.
  • d) Find ∫2x+7x2+2x−3 dx\int \frac{2x + 7}{x^2 + 2x - 3}\,dx. Same numerator, a denominator that looks almost the same: what decides the shape of the answer?
Show the solution

Answers

  • a) ln⁡∣x∣+ln⁡(x2+9)+23arctan⁡x3+K\ln|x| + \ln(x^2 + 9) + \frac{2}{3}\arctan\frac{x}{3} + K
  • b) ln⁡(x2+2x+5)+52arctan⁡x+12+K\ln(x^2 + 2x + 5) + \frac{5}{2}\arctan\frac{x + 1}{2} + K; x2+2x+5=(x+1)2+4>0x^2 + 2x + 5 = (x + 1)^2 + 4 > 0
  • c) ln⁡2+5π8\ln 2 + \frac{5\pi}{8}, about 2.652.65, between the bounds 2.252.25 and 2.852.85 read on the figure
  • d) −14ln⁡∣x+3∣+94ln⁡∣x−1∣+K-\frac{1}{4}\ln|x + 3| + \frac{9}{4}\ln|x - 1| + K: the discriminant decides.

a) Proper. x3+9x=x(x2+9)x^3 + 9x = x(x^2 + 9), and x2+9x^2 + 9 has discriminant −36<0-36 < 0: irreducible. Form: 3x2+2x+9x(x2+9)=Ax+Bx+Cx2+9\frac{3x^2 + 2x + 9}{x(x^2 + 9)} = \frac{A}{x} + \frac{Bx + C}{x^2 + 9}, three unknowns for degree 33. Clearing: 3x2+2x+9=A(x2+9)+(Bx+C)x3x^2 + 2x + 9 = A(x^2 + 9) + (Bx + C)x. At x=0x = 0: 9=9A9 = 9A, A=1A = 1. Coefficient of x2x^2: 3=A+B3 = A + B, B=2B = 2. Coefficient of xx: 2=C2 = C. So the integrand is 1x+2xx2+9+2x2+9\frac{1}{x} + \frac{2x}{x^2 + 9} + \frac{2}{x^2 + 9}. The middle term is u′u\frac{u'}{u} with u=x2+9u = x^2 + 9, and the last one uses a=3a = 3: ∫2x2+9 dx=23arctan⁡x3\int \frac{2}{x^2 + 9}\,dx = \frac{2}{3}\arctan\frac{x}{3}, not 2arctan⁡x32\arctan\frac{x}{3} and not 29arctan⁡x\frac{2}{9}\arctan x. Result: ln⁡∣x∣+ln⁡(x2+9)+23arctan⁡x3+K\ln|x| + \ln(x^2 + 9) + \frac{2}{3}\arctan\frac{x}{3} + K.

b) The discriminant of x2+2x+5x^2 + 2x + 5 is 4−20=−16<04 - 20 = -16 < 0, so no partial fractions are possible: the quadratic IS the term. Complete the square: x2+2x+5=(x+1)2+4x^2 + 2x + 5 = (x + 1)^2 + 4. Split the numerator around the derivative 2x+22x + 2 of the denominator: 2x+7=(2x+2)+52x + 7 = (2x + 2) + 5. Then ∫2x+2x2+2x+5 dx=ln⁡(x2+2x+5)\int \frac{2x + 2}{x^2 + 2x + 5}\,dx = \ln(x^2 + 2x + 5), and with u=x+1u = x + 1, ∫5(x+1)2+4 dx=52arctan⁡x+12\int \frac{5}{(x + 1)^2 + 4}\,dx = \frac{5}{2}\arctan\frac{x + 1}{2}. So ∫2x+7x2+2x+5 dx=ln⁡(x2+2x+5)+52arctan⁡x+12+K\int \frac{2x + 7}{x^2 + 2x + 5}\,dx = \ln(x^2 + 2x + 5) + \frac{5}{2}\arctan\frac{x + 1}{2} + K. No absolute value is needed because (x+1)2+4≥4>0(x + 1)^2 + 4 \ge 4 > 0 for every xx: writing one is not wrong, but explaining why it is unnecessary shows the square was understood.

c) With F(x)=ln⁡(x2+2x+5)+52arctan⁡x+12F(x) = \ln(x^2 + 2x + 5) + \frac{5}{2}\arctan\frac{x + 1}{2}: F(1)=ln⁡8+52arctan⁡1=ln⁡8+5π8F(1) = \ln 8 + \frac{5}{2}\arctan 1 = \ln 8 + \frac{5\pi}{8} and F(−1)=ln⁡4+52arctan⁡0=ln⁡4F(-1) = \ln 4 + \frac{5}{2}\arctan 0 = \ln 4. So the area is ln⁡8−ln⁡4+5π8=ln⁡2+5π8\ln 8 - \ln 4 + \frac{5\pi}{8} = \ln 2 + \frac{5\pi}{8}. The bounds were chosen so that x+1x + 1 runs from 00 to 22 and the arctangent lands on arctan⁡1=π4\arctan 1 = \frac{\pi}{4}. Check against the figure with the comparison property: on [−1,1][-1, 1] the curve stays between its value 98\frac{9}{8} at x=1x = 1 and a peak a little under 1.431.43, so the area lies between 2×1.125=2.252 \times 1.125 = 2.25 and 2×1.43≈2.862 \times 1.43 \approx 2.86. With ln⁡2≈0.69\ln 2 \approx 0.69 and π≈3.14\pi \approx 3.14, ln⁡2+5π8≈0.69+1.96=2.65\ln 2 + \frac{5\pi}{8} \approx 0.69 + 1.96 = 2.65: inside the bracket.

d) Here the discriminant is 4+12=16>04 + 12 = 16 > 0: x2+2x−3=(x+3)(x−1)x^2 + 2x - 3 = (x + 3)(x - 1) splits, and there is NO arctangent. Form Ax+3+Bx−1\frac{A}{x + 3} + \frac{B}{x - 1} with 2x+7=A(x−1)+B(x+3)2x + 7 = A(x - 1) + B(x + 3). At x=−3x = -3: 1=−4A1 = -4A, A=−14A = -\frac{1}{4}. At x=1x = 1: 9=4B9 = 4B, B=94B = \frac{9}{4}. So ∫2x+7x2+2x−3 dx=−14ln⁡∣x+3∣+94ln⁡∣x−1∣+K\int \frac{2x + 7}{x^2 + 2x - 3}\,dx = -\frac{1}{4}\ln|x + 3| + \frac{9}{4}\ln|x - 1| + K. Two denominators that differ only in their constant term give answers of a different NATURE: the discriminant, computed before anything else, decides between logarithms and an arctangent. Completing the square on x2+2x−3=(x+1)2−4x^2 + 2x - 3 = (x + 1)^2 - 4 would lead to a DIFFERENCE of squares, which is the signal that the quadratic factors.

Exercise 5: Rationalizing substitutions: u equals root x, u equals e to the x

Some integrands are not rational functions of xx but become rational after a substitution. With u=xu = \sqrt{x} one writes x=u2x = u^2 and dx=2u dudx = 2u\,du; with u=exu = e^x one writes du=ex dxdu = e^x\,dx, that is dx=duudx = \frac{du}{u}. The whole of dxdx must be converted, not only the integrand, and after the substitution the chapter starts again from the degree check.

Throughout, KK denotes the constant of integration.

  • a) Evaluate ∫14dxx+3x+2\int_1^4 \frac{dx}{x + 3\sqrt{x} + 2} exactly, changing the bounds with the variable.
  • b) Find ∫xx−4 dx\int \frac{\sqrt{x}}{x - 4}\,dx for x>0x > 0, x≠4x \ne 4.
  • c) Find ∫dx1+ex\int \frac{dx}{1 + e^x}. A classmate sets u=exu = e^x and writes ∫du1+u=ln⁡(1+ex)+K\int \frac{du}{1 + u} = \ln(1 + e^x) + K. Find his error, and confirm your answer by a second route: multiply the numerator and the denominator by e−xe^{-x}.
  • d) Evaluate ∫0ln⁡2exe2x+3ex+2 dx\int_0^{\ln 2} \frac{e^x}{e^{2x} + 3e^x + 2}\,dx exactly.
Show the solution

Answers

  • a) 10ln⁡2−6ln⁡3=ln⁡102472910\ln 2 - 6\ln 3 = \ln\frac{1024}{729}
  • b) 2x+2ln⁡∣x−2x+2∣+K2\sqrt{x} + 2\ln\left|\frac{\sqrt{x} - 2}{\sqrt{x} + 2}\right| + K
  • c) x−ln⁡(1+ex)+Kx - \ln(1 + e^x) + K, equal to −ln⁡(1+e−x)+K-\ln(1 + e^{-x}) + K; the classmate forgot dx=duudx = \frac{du}{u}.
  • d) ln⁡98\ln\frac{9}{8}

a) Let u=xu = \sqrt{x}, so x=u2x = u^2, dx=2u dudx = 2u\,du, and the bounds become u=1u = 1 and u=2u = 2. The integral becomes ∫122u duu2+3u+2\int_1^2 \frac{2u\,du}{u^2 + 3u + 2}, a proper rational function of uu. Factor: u2+3u+2=(u+1)(u+2)u^2 + 3u + 2 = (u + 1)(u + 2). Form: 2u(u+1)(u+2)=Au+1+Bu+2\frac{2u}{(u + 1)(u + 2)} = \frac{A}{u + 1} + \frac{B}{u + 2}, 2u=A(u+2)+B(u+1)2u = A(u + 2) + B(u + 1). At u=−1u = -1: −2=A-2 = A. At u=−2u = -2: −4=−B-4 = -B, B=4B = 4. So the integral is [−2ln⁡(u+1)+4ln⁡(u+2)]12=(−2ln⁡3+4ln⁡4)−(−2ln⁡2+4ln⁡3)=10ln⁡2−6ln⁡3=ln⁡21036=ln⁡1024729\left[-2\ln(u + 1) + 4\ln(u + 2)\right]_1^2 = (-2\ln 3 + 4\ln 4) - (-2\ln 2 + 4\ln 3) = 10\ln 2 - 6\ln 3 = \ln\frac{2^{10}}{3^6} = \ln\frac{1024}{729}. It is positive since 1024>7291024 > 729, and small: the integrand lies between 112\frac{1}{12} (at x=4x = 4) and 16\frac{1}{6} (at x=1x = 1) on an interval of length 33, so the value is between 0.250.25 and 0.50.5, and ln⁡1024729≈10(0.69)−6(1.10)=0.3\ln\frac{1024}{729} \approx 10(0.69) - 6(1.10) = 0.3. The trap is the factor 2u2u from dxdx: without it the integrand in uu would be 1(u+1)(u+2)\frac{1}{(u + 1)(u + 2)} and every constant would be wrong.

b) u=xu = \sqrt{x}, x=u2x = u^2, dx=2u dudx = 2u\,du: ∫u⋅2uu2−4 du=∫2u2u2−4 du\int \frac{u \cdot 2u}{u^2 - 4}\,du = \int \frac{2u^2}{u^2 - 4}\,du. The substitution produced an IMPROPER fraction (degree 22 over degree 22), so the degree check comes back first: 2u2=2(u2−4)+82u^2 = 2(u^2 - 4) + 8, hence 2u2u2−4=2+8(u−2)(u+2)\frac{2u^2}{u^2 - 4} = 2 + \frac{8}{(u - 2)(u + 2)}. Cover-up: at u=2u = 2, 84=2\frac{8}{4} = 2; at u=−2u = -2, 8−4=−2\frac{8}{-4} = -2. So the integral is ∫(2+2u−2−2u+2)du=2u+2ln⁡∣u−2∣−2ln⁡∣u+2∣+K\int \left(2 + \frac{2}{u - 2} - \frac{2}{u + 2}\right)du = 2u + 2\ln|u - 2| - 2\ln|u + 2| + K. Back to xx, and since x+2>0\sqrt{x} + 2 > 0: ∫xx−4 dx=2x+2ln⁡∣x−2x+2∣+K\int \frac{\sqrt{x}}{x - 4}\,dx = 2\sqrt{x} + 2\ln\left|\frac{\sqrt{x} - 2}{\sqrt{x} + 2}\right| + K. The absolute value on x−2\sqrt{x} - 2 stays: it is negative for 0<x<40 < x < 4.

c) With u=exu = e^x, du=ex dx=u dxdu = e^x\,dx = u\,dx, so dx=duudx = \frac{du}{u} and ∫dx1+ex=∫duu(1+u)\int \frac{dx}{1 + e^x} = \int \frac{du}{u(1 + u)}. The classmate replaced dxdx by dudu, dropping the factor 1u\frac{1}{u}; differentiating his answer shows it: ddxln⁡(1+ex)=ex1+ex\frac{d}{dx}\ln(1 + e^x) = \frac{e^x}{1 + e^x}, not 11+ex\frac{1}{1 + e^x}. Correctly: 1u(1+u)=1u−11+u\frac{1}{u(1 + u)} = \frac{1}{u} - \frac{1}{1 + u} (cover-up at u=0u = 0 and u=−1u = -1), so the integral is ln⁡u−ln⁡(1+u)=x−ln⁡(1+ex)+K\ln u - \ln(1 + u) = x - \ln(1 + e^x) + K, with no absolute values since u=ex>0u = e^x > 0. Second route: 11+ex=e−xe−x+1\frac{1}{1 + e^x} = \frac{e^{-x}}{e^{-x} + 1}, whose numerator is minus the derivative of the denominator, so ∫dx1+ex=−ln⁡(1+e−x)+K\int \frac{dx}{1 + e^x} = -\ln(1 + e^{-x}) + K. The two answers agree: −ln⁡(1+e−x)=−ln⁡ex+1ex=x−ln⁡(1+ex)-\ln(1 + e^{-x}) = -\ln\frac{e^x + 1}{e^x} = x - \ln(1 + e^x). Two correct antiderivatives may look different; they can only differ by a constant, here by 00.

d) u=exu = e^x, du=ex dxdu = e^x\,dx: the numerator ex dxe^x\,dx is exactly dudu this time, and e2x=u2e^{2x} = u^2. The bounds become e0=1e^0 = 1 and eln⁡2=2e^{\ln 2} = 2. So the integral is ∫12duu2+3u+2=∫12(1u+1−1u+2)du=[ln⁡u+1u+2]12=ln⁡34−ln⁡23=ln⁡98\int_1^2 \frac{du}{u^2 + 3u + 2} = \int_1^2 \left(\frac{1}{u + 1} - \frac{1}{u + 2}\right)du = \left[\ln\frac{u + 1}{u + 2}\right]_1^2 = \ln\frac{3}{4} - \ln\frac{2}{3} = \ln\frac{9}{8}. Compare with c): the same substitution, but here ex dxe^x\,dx was already present, so no 1u\frac{1}{u} appears. Reading WHICH factor dudu absorbs is the whole gesture.

Part B: problems and reasoning (/50)

Exercise 6: Write the form before any constant: five denominators, five traps

On a MATH 141 exam, the question write the form of the partial fraction decomposition, do not solve for the constants is common and quick, provided nothing is taken on trust. The denominator must be factored COMPLETELY over the reals, each quadratic tested by its discriminant, and the degree check done first.

The five functions: f1(x)=x3+1x2(x2+4)f_1(x) = \frac{x^3 + 1}{x^2(x^2 + 4)}, f2(x)=5x3+8f_2(x) = \frac{5}{x^3 + 8}, f3(x)=x(x2−6x+9)(x2+x+1)f_3(x) = \frac{x}{(x^2 - 6x + 9)(x^2 + x + 1)}, f4(x)=2x3+1(x2+1)2f_4(x) = \frac{2x^3 + 1}{(x^2 + 1)^2} and f5(x)=x4x4−1f_5(x) = \frac{x^4}{x^4 - 1}. Throughout, KK denotes the constant of integration.

  • a) Write the form of the decomposition of f1f_1 and of f2f_2.
  • b) Write the form of the decomposition of f3f_3 and of f4f_4.
  • c) Explain why the form of f5f_5 cannot be written directly, then write it.
  • d) For each of the five, compare the number of unknown constants with the degree of the denominator. What do you notice, and why must it be so?
  • e) Find ∫x4x4−1 dx\int \frac{x^4}{x^4 - 1}\,dx.
Show the solution

Answers

  • a) f1=Ax+Bx2+Cx+Dx2+4f_1 = \frac{A}{x} + \frac{B}{x^2} + \frac{Cx + D}{x^2 + 4}; f2=Ax+2+Bx+Cx2−2x+4f_2 = \frac{A}{x + 2} + \frac{Bx + C}{x^2 - 2x + 4}
  • b) f3=Ax−3+B(x−3)2+Cx+Dx2+x+1f_3 = \frac{A}{x - 3} + \frac{B}{(x - 3)^2} + \frac{Cx + D}{x^2 + x + 1}; f4=Ax+Bx2+1+Cx+D(x2+1)2f_4 = \frac{Ax + B}{x^2 + 1} + \frac{Cx + D}{(x^2 + 1)^2}
  • c) Improper: f5=1+1x4−1=1+Ax−1+Bx+1+Cx+Dx2+1f_5 = 1 + \frac{1}{x^4 - 1} = 1 + \frac{A}{x - 1} + \frac{B}{x + 1} + \frac{Cx + D}{x^2 + 1}
  • d) Always equal: 44, 33, 44, 44, 44. The identity of numerators is a square linear system.
  • e) x+14ln⁡∣x−1x+1∣−12arctan⁡x+Kx + \frac{1}{4}\ln\left|\frac{x - 1}{x + 1}\right| - \frac{1}{2}\arctan x + K

a) f1f_1: degree 33 over degree 44, proper. The factor x2x^2 is the linear factor xx REPEATED twice, so it opens two terms, and x2+4x^2 + 4 (discriminant −16-16) is irreducible, so it takes a linear numerator: f1=Ax+Bx2+Cx+Dx2+4f_1 = \frac{A}{x} + \frac{B}{x^2} + \frac{Cx + D}{x^2 + 4}. f2f_2: x3+8x^3 + 8 is NOT irreducible just because it has no obvious factor; x=−2x = -2 is a root, and the sum of cubes gives x3+8=(x+2)(x2−2x+4)x^3 + 8 = (x + 2)(x^2 - 2x + 4). The quadratic has discriminant 4−16=−12<04 - 16 = -12 < 0, so it stays: f2=Ax+2+Bx+Cx2−2x+4f_2 = \frac{A}{x + 2} + \frac{Bx + C}{x^2 - 2x + 4}. Writing Ax2+Bx+Cx3+8\frac{Ax^2 + Bx + C}{x^3 + 8} is not a decomposition at all, it is the original fraction with letters.

b) f3f_3: the first quadratic has discriminant 36−36=036 - 36 = 0: it is the perfect square (x−3)2(x - 3)^2, a REPEATED linear factor, not an irreducible quadratic. The second, x2+x+1x^2 + x + 1, has discriminant 1−4=−3<01 - 4 = -3 < 0. So f3=Ax−3+B(x−3)2+Cx+Dx2+x+1f_3 = \frac{A}{x - 3} + \frac{B}{(x - 3)^2} + \frac{Cx + D}{x^2 + x + 1}. Treating x2−6x+9x^2 - 6x + 9 as irreducible and writing Cx+Dx2−6x+9\frac{Cx + D}{x^2 - 6x + 9} is the trap: the answer would then contain an arctangent of a quadratic that has a real root, which cannot be right. f4f_4: degree 33 over degree 44, proper; x2+1x^2 + 1 is irreducible and REPEATED, so it opens two terms, each with a linear numerator: f4=Ax+Bx2+1+Cx+D(x2+1)2f_4 = \frac{Ax + B}{x^2 + 1} + \frac{Cx + D}{(x^2 + 1)^2}. Here in fact 2x3+1=2x(x2+1)+(1−2x)2x^3 + 1 = 2x(x^2 + 1) + (1 - 2x), so A=2A = 2, B=0B = 0, C=−2C = -2, D=1D = 1; integrating the term 1(x2+1)2\frac{1}{(x^2 + 1)^2} would then call for the trigonometric substitution of the previous chapter, which is why exams usually stop at the form.

c) f5f_5 has degree 44 over degree 44: it is improper, and a sum of proper fractions tends to 00 at infinity while f5f_5 tends to 11. Divide first: x4=1⋅(x4−1)+1x^4 = 1 \cdot (x^4 - 1) + 1, so f5=1+1x4−1f_5 = 1 + \frac{1}{x^4 - 1}. Then factor COMPLETELY: x4−1=(x2−1)(x2+1)=(x−1)(x+1)(x2+1)x^4 - 1 = (x^2 - 1)(x^2 + 1) = (x - 1)(x + 1)(x^2 + 1). Stopping at (x2−1)(x2+1)(x^2 - 1)(x^2 + 1) and writing Ax+Bx2−1\frac{Ax + B}{x^2 - 1} would leave a quadratic that still splits. Form: f5=1+Ax−1+Bx+1+Cx+Dx2+1f_5 = 1 + \frac{A}{x - 1} + \frac{B}{x + 1} + \frac{Cx + D}{x^2 + 1}.

d) Unknowns against degree of the denominator: f1f_1, 44 and 44; f2f_2, 33 and 33; f3f_3, 44 and 44; f4f_4, 44 and 44; f5f_5, 44 and 44 (after the division). They always agree. After clearing denominators, the proper numerator of degree less than n=deg⁡Dn = \deg D has nn coefficients, and the combination on the right is also a polynomial of degree less than nn whose nn coefficients depend linearly on the nn unknowns: a square system, which has exactly one solution. This is a free check on any form: if the count is off, a term is missing (usually the lower power of a repeated factor) or one is invented (usually a constant numerator over a quadratic that should have been linear).

e) From c), 1x4−1=Ax−1+Bx+1+Cx+Dx2+1\frac{1}{x^4 - 1} = \frac{A}{x - 1} + \frac{B}{x + 1} + \frac{Cx + D}{x^2 + 1}, so 1=A(x+1)(x2+1)+B(x−1)(x2+1)+(Cx+D)(x2−1)1 = A(x + 1)(x^2 + 1) + B(x - 1)(x^2 + 1) + (Cx + D)(x^2 - 1). At x=1x = 1: 1=4A1 = 4A, A=14A = \frac{1}{4}. At x=−1x = -1: 1=−4B1 = -4B, B=−14B = -\frac{1}{4}. At x=0x = 0: 1=A−B−D=12−D1 = A - B - D = \frac{1}{2} - D, so D=−12D = -\frac{1}{2}. Coefficient of x3x^3: 0=A+B+C0 = A + B + C, so C=0C = 0. Check at x=2x = 2: left 115\frac{1}{15}, right 14−112−110=15−5−660=115\frac{1}{4} - \frac{1}{12} - \frac{1}{10} = \frac{15 - 5 - 6}{60} = \frac{1}{15}. Integrating: ∫x4x4−1 dx=x+14ln⁡∣x−1∣−14ln⁡∣x+1∣−12arctan⁡x+K=x+14ln⁡∣x−1x+1∣−12arctan⁡x+K\int \frac{x^4}{x^4 - 1}\,dx = x + \frac{1}{4}\ln|x - 1| - \frac{1}{4}\ln|x + 1| - \frac{1}{2}\arctan x + K = x + \frac{1}{4}\ln\left|\frac{x - 1}{x + 1}\right| - \frac{1}{2}\arctan x + K.

Exercise 7: The denominator arrives unfactored: grouping, the rational root test, a hidden square

On an exam the denominator is rarely handed over factored, and until it is, nobody knows how many terms the answer has. Two tools do almost all the work without a calculator: grouping, and the rational root test (a rational root of a polynomial with integer coefficients is a divisor of the constant term over a divisor of the leading coefficient), followed by a division.

Throughout, KK denotes the constant of integration.

  • a) Factor x3+x2+x+1x^3 + x^2 + x + 1 by grouping, then find ∫x2+3x3+x2+x+1 dx\int \frac{x^2 + 3}{x^3 + x^2 + x + 1}\,dx.
  • b) Evaluate ∫01x2+3x3+x2+x+1 dx\int_0^1 \frac{x^2 + 3}{x^3 + x^2 + x + 1}\,dx exactly.
  • c) Factor x3−3x+2x^3 - 3x + 2 with the rational root test, then find ∫9x3−3x+2 dx\int \frac{9}{x^3 - 3x + 2}\,dx.
  • d) Check the answer of c) by differentiating it, and explain what a student who stopped at the first root found would have written as the form.
Show the solution

Answers

  • a) (x+1)(x2+1)(x + 1)(x^2 + 1); 2ln⁡∣x+1∣−12ln⁡(x2+1)+arctan⁡x+K2\ln|x + 1| - \frac{1}{2}\ln(x^2 + 1) + \arctan x + K
  • b) 32ln⁡2+π4\frac{3}{2}\ln 2 + \frac{\pi}{4}
  • c) (x−1)2(x+2)(x - 1)^2(x + 2); −ln⁡∣x−1∣−3x−1+ln⁡∣x+2∣+K-\ln|x - 1| - \frac{3}{x - 1} + \ln|x + 2| + K
  • d) The derivative is 9(x−1)2(x+2)\frac{9}{(x - 1)^2(x + 2)}; stopping early gives a form without the B(x−1)2\frac{B}{(x - 1)^2} term, which cannot work.

a) Grouping: x3+x2+x+1=x2(x+1)+(x+1)=(x+1)(x2+1)x^3 + x^2 + x + 1 = x^2(x + 1) + (x + 1) = (x + 1)(x^2 + 1), and x2+1x^2 + 1 is irreducible. Degree 22 over 33, proper. Form: x2+3(x+1)(x2+1)=Ax+1+Bx+Cx2+1\frac{x^2 + 3}{(x + 1)(x^2 + 1)} = \frac{A}{x + 1} + \frac{Bx + C}{x^2 + 1}, so x2+3=A(x2+1)+(Bx+C)(x+1)x^2 + 3 = A(x^2 + 1) + (Bx + C)(x + 1). At x=−1x = -1: 4=2A4 = 2A, A=2A = 2. Then (Bx+C)(x+1)=x2+3−2x2−2=1−x2=(1−x)(1+x)(Bx + C)(x + 1) = x^2 + 3 - 2x^2 - 2 = 1 - x^2 = (1 - x)(1 + x), so Bx+C=1−xBx + C = 1 - x: B=−1B = -1, C=1C = 1. The quadratic term splits as −xx2+1+1x2+1\frac{-x}{x^2 + 1} + \frac{1}{x^2 + 1}, integrating to −12ln⁡(x2+1)+arctan⁡x-\frac{1}{2}\ln(x^2 + 1) + \arctan x. So ∫x2+3x3+x2+x+1 dx=2ln⁡∣x+1∣−12ln⁡(x2+1)+arctan⁡x+K\int \frac{x^2 + 3}{x^3 + x^2 + x + 1}\,dx = 2\ln|x + 1| - \frac{1}{2}\ln(x^2 + 1) + \arctan x + K. Note the factor 12\frac{1}{2}: the numerator −x-x is −12-\frac{1}{2} of the derivative 2x2x.

b) The only real pole is x=−1x = -1, outside [0,1][0, 1]. With F(x)=2ln⁡(x+1)−12ln⁡(x2+1)+arctan⁡xF(x) = 2\ln(x + 1) - \frac{1}{2}\ln(x^2 + 1) + \arctan x: F(1)=2ln⁡2−12ln⁡2+π4F(1) = 2\ln 2 - \frac{1}{2}\ln 2 + \frac{\pi}{4} and F(0)=0−0+0=0F(0) = 0 - 0 + 0 = 0. The integral is 32ln⁡2+π4\frac{3}{2}\ln 2 + \frac{\pi}{4}. Order of magnitude: 1.5(0.69)+0.785≈1.821.5(0.69) + 0.785 \approx 1.82, while the integrand goes from 33 at x=0x = 0 to 11 at x=1x = 1 and decreases in between: an area a little under 22 on an interval of length 11 is consistent.

c) Candidates for a rational root of x3−3x+2x^3 - 3x + 2: ±1\pm 1, ±2\pm 2. 1−3+2=01 - 3 + 2 = 0, so x=1x = 1 is a root, and dividing by x−1x - 1 gives x2+x−2x^2 + x - 2. That quadratic factors AGAIN, as (x−1)(x+2)(x - 1)(x + 2): the root 11 is DOUBLE, and x3−3x+2=(x−1)2(x+2)x^3 - 3x + 2 = (x - 1)^2(x + 2). Form: 9(x−1)2(x+2)=Ax−1+B(x−1)2+Cx+2\frac{9}{(x - 1)^2(x + 2)} = \frac{A}{x - 1} + \frac{B}{(x - 1)^2} + \frac{C}{x + 2}, so 9=A(x−1)(x+2)+B(x+2)+C(x−1)29 = A(x - 1)(x + 2) + B(x + 2) + C(x - 1)^2. At x=1x = 1: 9=3B9 = 3B, B=3B = 3. At x=−2x = -2: 9=9C9 = 9C, C=1C = 1. Coefficient of x2x^2: 0=A+C0 = A + C, so A=−1A = -1. Integrating, with the power rule on the squared term: ∫9x3−3x+2 dx=−ln⁡∣x−1∣−3x−1+ln⁡∣x+2∣+K=ln⁡∣x+2x−1∣−3x−1+K\int \frac{9}{x^3 - 3x + 2}\,dx = -\ln|x - 1| - \frac{3}{x - 1} + \ln|x + 2| + K = \ln\left|\frac{x + 2}{x - 1}\right| - \frac{3}{x - 1} + K.

d) ddx[−ln⁡∣x−1∣−3x−1+ln⁡∣x+2∣]=−1x−1+3(x−1)2+1x+2\frac{d}{dx}\left[-\ln|x - 1| - \frac{3}{x - 1} + \ln|x + 2|\right] = -\frac{1}{x - 1} + \frac{3}{(x - 1)^2} + \frac{1}{x + 2}. Over the common denominator (x−1)2(x+2)(x - 1)^2(x + 2), the numerator is −(x−1)(x+2)+3(x+2)+(x−1)2=−x2−x+2+3x+6+x2−2x+1=9-(x - 1)(x + 2) + 3(x + 2) + (x - 1)^2 = -x^2 - x + 2 + 3x + 6 + x^2 - 2x + 1 = 9. Confirmed. A student who found the root 11, wrote (x−1)(x2+x−2)(x - 1)(x^2 + x - 2) and did not factor the quadratic would have posed Ax−1+Bx+Cx2+x−2\frac{A}{x - 1} + \frac{Bx + C}{x^2 + x - 2}, treating a splitting quadratic as irreducible; one who split it without noticing the repeated root would have written Ax−1+Bx−1+Cx+2\frac{A}{x - 1} + \frac{B}{x - 1} + \frac{C}{x + 2}, two copies of the same term, and the system for A+BA + B and CC has no solution. The factorization is only finished when every quadratic has been tested and every repeated root counted.

Exercise 8: Five statements to correct

Each statement below was written on a MATH 141 paper, and each is false. Say what is wrong, give the correct statement or the correct antiderivative, and settle it with a computation: differentiating the proposed answer is usually the fastest proof.

  • a) ∫dxx2−2x−3\int \frac{dx}{x^2 - 2x - 3} needs an arctangent, since the denominator is a quadratic.
  • b) ∫32x+1 dx=3ln⁡∣2x+1∣+C\int \frac{3}{2x + 1}\,dx = 3\ln|2x + 1| + C.
  • c) A factor (x2+4)2(x^2 + 4)^2 in the denominator contributes the single term Ax+B(x2+4)2\frac{Ax + B}{(x^2 + 4)^2}.
  • d) ∫dxx2+4x+8=ln⁡(x2+4x+8)+C\int \frac{dx}{x^2 + 4x + 8} = \ln(x^2 + 4x + 8) + C.
  • e) For ∫2xx2−1 dx\int \frac{2x}{x^2 - 1}\,dx, one student finds ln⁡∣x2−1∣+C\ln|x^2 - 1| + C by substitution and another ln⁡∣x−1∣+ln⁡∣x+1∣+C\ln|x - 1| + \ln|x + 1| + C by partial fractions. The answers look different, so one of them is wrong.
Show the solution

Answers

  • a) False: discriminant 16>016 > 0; 14ln⁡∣x−3x+1∣+C\frac{1}{4}\ln\left|\frac{x - 3}{x + 1}\right| + C
  • b) False: 32ln⁡∣2x+1∣+C\frac{3}{2}\ln|2x + 1| + C
  • c) False: two terms, Ax+Bx2+4+Cx+D(x2+4)2\frac{Ax + B}{x^2 + 4} + \frac{Cx + D}{(x^2 + 4)^2}; e.g. x2(x2+4)2=1x2+4−4(x2+4)2\frac{x^2}{(x^2 + 4)^2} = \frac{1}{x^2 + 4} - \frac{4}{(x^2 + 4)^2}
  • d) False: 12arctan⁡x+22+C\frac{1}{2}\arctan\frac{x + 2}{2} + C
  • e) False: both are right, ln⁡∣x−1∣+ln⁡∣x+1∣=ln⁡∣x2−1∣\ln|x - 1| + \ln|x + 1| = \ln|x^2 - 1|.

a) FALSE. A quadratic gives an arctangent only when it is IRREDUCIBLE, and the discriminant decides: here 4+12=16>04 + 12 = 16 > 0, so x2−2x−3=(x−3)(x+1)x^2 - 2x - 3 = (x - 3)(x + 1). Cover-up: 1(x−3)(x+1)=1/4x−3−1/4x+1\frac{1}{(x - 3)(x + 1)} = \frac{1/4}{x - 3} - \frac{1/4}{x + 1}. So ∫dxx2−2x−3=14ln⁡∣x−3x+1∣+C\int \frac{dx}{x^2 - 2x - 3} = \frac{1}{4}\ln\left|\frac{x - 3}{x + 1}\right| + C. Completing the square would have warned too: (x−1)2−4(x - 1)^2 - 4 is a DIFFERENCE of squares, not a sum. Correct statement: compute the discriminant first; positive, it factors into logarithms; zero, it is a perfect square and gives a power; negative, it gives an arctangent.

b) FALSE. Differentiate the proposed answer: ddx3ln⁡∣2x+1∣=3⋅22x+1=62x+1\frac{d}{dx}3\ln|2x + 1| = \frac{3 \cdot 2}{2x + 1} = \frac{6}{2x + 1}, twice the integrand. With u=2x+1u = 2x + 1, du=2 dxdu = 2\,dx: ∫32x+1 dx=32ln⁡∣2x+1∣+C\int \frac{3}{2x + 1}\,dx = \frac{3}{2}\ln|2x + 1| + C. Correct statement: ∫dxpx+q=1pln⁡∣px+q∣+C\int \frac{dx}{px + q} = \frac{1}{p}\ln|px + q| + C. This slip costs a factor on every term with a non-monic linear factor, which after a cover-up on (2x−1)(2x - 1) or (3x+2)(3x + 2) is most of them.

c) FALSE. A repeated factor, linear or quadratic, opens one term per POWER: (x2+4)2(x^2 + 4)^2 contributes Ax+Bx2+4+Cx+D(x2+4)2\frac{Ax + B}{x^2 + 4} + \frac{Cx + D}{(x^2 + 4)^2}, four unknowns for degree 44. Counterexample to the single term: x2(x2+4)2\frac{x^2}{(x^2 + 4)^2} would need x2=Ax+Bx^2 = Ax + B for every xx, impossible since the left side has degree 22. The correct decomposition is x2(x2+4)2=(x2+4)−4(x2+4)2=1x2+4−4(x2+4)2\frac{x^2}{(x^2 + 4)^2} = \frac{(x^2 + 4) - 4}{(x^2 + 4)^2} = \frac{1}{x^2 + 4} - \frac{4}{(x^2 + 4)^2}, which uses both boxes. Counting unknowns against the degree of the denominator catches this at once: two unknowns for degree 44 is too few.

d) FALSE. The logarithm needs the derivative of the denominator on top: ddxln⁡(x2+4x+8)=2x+4x2+4x+8\frac{d}{dx}\ln(x^2 + 4x + 8) = \frac{2x + 4}{x^2 + 4x + 8}, not 1x2+4x+8\frac{1}{x^2 + 4x + 8}. The discriminant is 16−32=−16<016 - 32 = -16 < 0, so complete the square: x2+4x+8=(x+2)2+4x^2 + 4x + 8 = (x + 2)^2 + 4, and with u=x+2u = x + 2, a=2a = 2: ∫dx(x+2)2+4=12arctan⁡x+22+C\int \frac{dx}{(x + 2)^2 + 4} = \frac{1}{2}\arctan\frac{x + 2}{2} + C. Correct statement: over an irreducible quadratic, a CONSTANT numerator gives an arctangent; only a numerator proportional to the derivative of the quadratic gives a logarithm.

e) FALSE. For x≠±1x \ne \pm 1, ln⁡∣x−1∣+ln⁡∣x+1∣=ln⁡(∣x−1∣∣x+1∣)=ln⁡∣x2−1∣\ln|x - 1| + \ln|x + 1| = \ln\left(|x - 1||x + 1|\right) = \ln|x^2 - 1|: the two answers are the SAME function. More generally, two correct antiderivatives on an interval can only differ by a constant, so different-looking answers must be compared by simplifying or by differentiating both, never judged on sight. Here both derivatives are 1x−1+1x+1=2xx2−1\frac{1}{x - 1} + \frac{1}{x + 1} = \frac{2x}{x^2 - 1}. The substitution was the faster route: the numerator is exactly the derivative of the denominator, which is worth noticing before any decomposition.

Exercise 9: A second-order reaction: how long until the product reaches a given concentration

In the reaction A+B→C\text{A} + \text{B} \to \text{C}, with initial concentrations a=3a = 3 mol/L of A and b=1b = 1 mol/L of B, the chemistry of the rate law shows that the time needed for the concentration of the product C to reach xx mol/L is t(x)=1k∫0xds(3−s)(1−s)t(x) = \frac{1}{k}\int_0^x \frac{ds}{(3 - s)(1 - s)}, for 0≤x<10 \le x < 1, where kk is the rate constant in L/(mol min). This formula is taken as given: the task is the integral.

The figure shows the integrand for 0≤s<10 \le s < 1 and the region under it from 00 to 12\frac{1}{2}.

0.250.50.7510.511.522.5area = k t1/((3 - s)(1 - s))s (mol/L)
  • a) Decompose the integrand and show that t(x)=12kln⁡3−x3(1−x)t(x) = \frac{1}{2k}\ln\frac{3 - x}{3(1 - x)}. Watch the signs of ∫ds1−s\int \frac{ds}{1 - s}.
  • b) Take k=12k = \frac{1}{2} L/(mol min). Give the exact times, in minutes, for the product to reach 12\frac{1}{2} mol/L and 34\frac{3}{4} mol/L. Show, without a calculator, that the second takes more than twice as long as the first.
  • c) Still with k=12k = \frac{1}{2}, solve for xx as a function of tt. Check your formula at t=ln⁡3t = \ln 3 and show that x(t)<1x(t) < 1 for every t≥0t \ge 0.
  • d) A second run starts with EQUAL concentrations, a=b=2a = b = 2 mol/L, so that t(x)=1k∫0xds(2−s)2t(x) = \frac{1}{k}\int_0^x \frac{ds}{(2 - s)^2} for 0≤x<20 \le x < 2. With k=12k = \frac{1}{2}, find t(x)t(x) and the time to reach x=1x = 1 mol/L. Why is there no logarithm this time?
  • e) The shaded area equals k t(12)k\,t\left(\frac{1}{2}\right). Using only the values of the integrand at s=0s = 0 and s=12s = \frac{1}{2}, bracket that area, and check that your exact value from a) fits.
Show the solution

Answers

  • a) 1(3−s)(1−s)=1/21−s−1/23−s\frac{1}{(3 - s)(1 - s)} = \frac{1/2}{1 - s} - \frac{1/2}{3 - s}; t(x)=12kln⁡3−x3(1−x)t(x) = \frac{1}{2k}\ln\frac{3 - x}{3(1 - x)}
  • b) t(12)=ln⁡53t\left(\frac{1}{2}\right) = \ln\frac{5}{3} min, t(34)=ln⁡3t\left(\frac{3}{4}\right) = \ln 3 min, and ln⁡3>2ln⁡53\ln 3 > 2\ln\frac{5}{3} since 27>2527 > 25
  • c) x(t)=3(et−1)3et−1x(t) = \frac{3(e^t - 1)}{3e^t - 1}; x(ln⁡3)=34x(\ln 3) = \frac{3}{4}; x<1x < 1 since 3et−3<3et−13e^t - 3 < 3e^t - 1
  • d) t(x)=x2−xt(x) = \frac{x}{2 - x}; t(1)=1t(1) = 1 min; a repeated factor integrates to a power
  • e) Between 16\frac{1}{6} and 25\frac{2}{5}; exact 12ln⁡53<12ln⁡2≈0.35\frac{1}{2}\ln\frac{5}{3} < \frac{1}{2}\ln 2 \approx 0.35

a) The integrand is proper with two distinct linear factors: 1(3−s)(1−s)=A1−s+B3−s\frac{1}{(3 - s)(1 - s)} = \frac{A}{1 - s} + \frac{B}{3 - s}, so 1=A(3−s)+B(1−s)1 = A(3 - s) + B(1 - s). At s=1s = 1: 1=2A1 = 2A, A=12A = \frac{1}{2}. At s=3s = 3: 1=−2B1 = -2B, B=−12B = -\frac{1}{2}. Check at s=0s = 0: 12−16=13\frac{1}{2} - \frac{1}{6} = \frac{1}{3}, the value of the integrand. Now the sign trap: with u=1−su = 1 - s, du=−dsdu = -ds, so ∫ds1−s=−ln⁡∣1−s∣\int \frac{ds}{1 - s} = -\ln|1 - s|, and likewise ∫ds3−s=−ln⁡∣3−s∣\int \frac{ds}{3 - s} = -\ln|3 - s|. For 0≤s≤x<10 \le s \le x < 1 both factors are positive. Hence ∫0xds(3−s)(1−s)=[−12ln⁡(1−s)+12ln⁡(3−s)]0x=−12ln⁡(1−x)+12ln⁡(3−x)−12ln⁡3=12ln⁡3−x3(1−x)\int_0^x \frac{ds}{(3 - s)(1 - s)} = \left[-\frac{1}{2}\ln(1 - s) + \frac{1}{2}\ln(3 - s)\right]_0^x = -\frac{1}{2}\ln(1 - x) + \frac{1}{2}\ln(3 - x) - \frac{1}{2}\ln 3 = \frac{1}{2}\ln\frac{3 - x}{3(1 - x)}, and dividing by kk gives t(x)=12kln⁡3−x3(1−x)t(x) = \frac{1}{2k}\ln\frac{3 - x}{3(1 - x)}. Units: the integral is in L/mol, divided by L/(mol min), which leaves minutes. Check: t(0)=12kln⁡1=0t(0) = \frac{1}{2k}\ln 1 = 0.

b) With k=12k = \frac{1}{2}, 12k=1\frac{1}{2k} = 1 and t(x)=ln⁡3−x3(1−x)t(x) = \ln\frac{3 - x}{3(1 - x)}. At x=12x = \frac{1}{2}: 5/23/2=53\frac{5/2}{3/2} = \frac{5}{3}, so t=ln⁡53t = \ln\frac{5}{3} min. At x=34x = \frac{3}{4}: 9/43/4=3\frac{9/4}{3/4} = 3, so t=ln⁡3t = \ln 3 min. Comparing: 2ln⁡53=ln⁡2592\ln\frac{5}{3} = \ln\frac{25}{9} and 259<3\frac{25}{9} < 3 because 25<2725 < 27; since ln⁡\ln is increasing, ln⁡3>2ln⁡53\ln 3 > 2\ln\frac{5}{3}. Reaching 34\frac{3}{4} mol/L takes more than twice as long as reaching 12\frac{1}{2}: the reaction slows down as B runs out, which the figure shows as a curve that climbs faster and faster.

c) Set t=ln⁡3−x3(1−x)t = \ln\frac{3 - x}{3(1 - x)}, so et=3−x3(1−x)e^t = \frac{3 - x}{3(1 - x)} and 3et(1−x)=3−x3e^t(1 - x) = 3 - x. Collect the xx terms: 3et−3=x(3et−1)3e^t - 3 = x(3e^t - 1), so x(t)=3(et−1)3et−1x(t) = \frac{3(e^t - 1)}{3e^t - 1}. At t=ln⁡3t = \ln 3, et=3e^t = 3 and x=3⋅29−1=34x = \frac{3 \cdot 2}{9 - 1} = \frac{3}{4}, matching b). For t≥0t \ge 0 the denominator 3et−1≥23e^t - 1 \ge 2 is positive and the numerator 3et−33e^t - 3 is smaller than it by 22, so x(t)<1x(t) < 1: the product never reaches 11 mol/L, the amount of B available.

d) Now the denominator is a REPEATED linear factor, and a single term 1(2−s)2\frac{1}{(2 - s)^2} is already its own decomposition. With u=2−su = 2 - s, ∫ds(2−s)2=12−s\int \frac{ds}{(2 - s)^2} = \frac{1}{2 - s} (the two minus signs cancel: dds12−s=1(2−s)2\frac{d}{ds}\frac{1}{2 - s} = \frac{1}{(2 - s)^2}). So t(x)=2[12−s]0x=22−x−1=x2−xt(x) = 2\left[\frac{1}{2 - s}\right]_0^x = \frac{2}{2 - x} - 1 = \frac{x}{2 - x} minutes, and t(1)=11=1t(1) = \frac{1}{1} = 1 min. There is no logarithm because a squared factor integrates by the POWER rule; writing −ln⁡(2−s)2-\ln(2 - s)^2 here, by habit from a), would give a wrong time: its derivative is 22−s\frac{2}{2 - s}, not 1(2−s)2\frac{1}{(2 - s)^2}. The kind of factor decides the kind of function, in chemistry as in the exercises before.

e) On [0,12]\left[0, \frac{1}{2}\right] the integrand increases (both factors of the denominator decrease), from 13\frac{1}{3} at s=0s = 0 to 1(5/2)(1/2)=45\frac{1}{(5/2)(1/2)} = \frac{4}{5} at s=12s = \frac{1}{2}. By the comparison property, the area lies between 12⋅13=16\frac{1}{2} \cdot \frac{1}{3} = \frac{1}{6} and 12⋅45=25\frac{1}{2} \cdot \frac{4}{5} = \frac{2}{5}. The exact value is k t(12)=12ln⁡53k\,t\left(\frac{1}{2}\right) = \frac{1}{2}\ln\frac{5}{3}, positive, and since 53<2\frac{5}{3} < 2 it is less than 12ln⁡2≈0.35\frac{1}{2}\ln 2 \approx 0.35: inside the bracket. A value outside it, for instance a negative one from a lost sign in a), would be caught at once.

Exercise 10: A final exam question: division, factoring, decomposition, arctangent, exact value

This is the shape of a long final exam question on the chapter: every step of the method is needed once, in order, and the final value is exact. Evaluate I=∫12x4+3x+2x3−2x2+2x dxI = \int_1^2 \frac{x^4 + 3x + 2}{x^3 - 2x^2 + 2x}\,dx.

The figure shows the integrand, the dashed line y=x+2y = x + 2, and the region whose area is II. Throughout, KK denotes the constant of integration.

0.511.522.533.5246810the integrandy = x + 2
  • a) Carry out the long division of x4+3x+2x^4 + 3x + 2 by x3−2x2+2xx^3 - 2x^2 + 2x, writing the missing powers of the numerator explicitly. Relate the quotient to the figure.
  • b) Factor the denominator completely over the reals, justifying your conclusion, and write the form of the decomposition of the remainder fraction.
  • c) Find the constants.
  • d) Find an antiderivative of the integrand, completing the square where needed.
  • e) Evaluate II exactly, and check the order of magnitude against the figure using ln⁡2≈0.69\ln 2 \approx 0.69 and π≈3.14\pi \approx 3.14.
Show the solution

Answers

  • a) Quotient x+2x + 2, remainder 2x2−x+22x^2 - x + 2; the quotient is the slant asymptote.
  • b) x(x2−2x+2)x(x^2 - 2x + 2), discriminant −4-4; form Ax+Bx+Cx2−2x+2\frac{A}{x} + \frac{Bx + C}{x^2 - 2x + 2}
  • c) A=1A = 1, B=1B = 1, C=1C = 1
  • d) x22+2x+ln⁡∣x∣+12ln⁡(x2−2x+2)+2arctan⁡(x−1)+K\frac{x^2}{2} + 2x + \ln|x| + \frac{1}{2}\ln(x^2 - 2x + 2) + 2\arctan(x - 1) + K
  • e) I=72+32ln⁡2+π2≈6.1I = \frac{7}{2} + \frac{3}{2}\ln 2 + \frac{\pi}{2} \approx 6.1

a) Degree 44 over degree 33: improper, divide. Write the numerator with its missing powers, x4+0x3+0x2+3x+2x^4 + 0x^3 + 0x^2 + 3x + 2, so that each column is lined up. First term of the quotient: xx, and x(x3−2x2+2x)=x4−2x3+2x2x(x^3 - 2x^2 + 2x) = x^4 - 2x^3 + 2x^2; subtracting leaves 2x3−2x2+3x+22x^3 - 2x^2 + 3x + 2. Next term: 22, and 2(x3−2x2+2x)=2x3−4x2+4x2(x^3 - 2x^2 + 2x) = 2x^3 - 4x^2 + 4x; subtracting leaves 2x2−x+22x^2 - x + 2, of degree 2<32 < 3, so the division stops. Hence x4+3x+2x3−2x2+2x=x+2+2x2−x+2x3−2x2+2x\frac{x^4 + 3x + 2}{x^3 - 2x^2 + 2x} = x + 2 + \frac{2x^2 - x + 2}{x^3 - 2x^2 + 2x}. Forgetting the zero placeholders is the usual way to subtract −2x3-2x^3 from the wrong column. The quotient x+2x + 2 is the dashed line of the figure: far from the origin the remainder fraction tends to 00 and the curve approaches its slant asymptote.

b) x3−2x2+2x=x(x2−2x+2)x^3 - 2x^2 + 2x = x(x^2 - 2x + 2), and x2−2x+2x^2 - 2x + 2 has discriminant 4−8=−4<04 - 8 = -4 < 0, so it is irreducible: equivalently x2−2x+2=(x−1)2+1≥1x^2 - 2x + 2 = (x - 1)^2 + 1 \ge 1. The factorization is complete. Form of the remainder fraction, three unknowns for degree 33: 2x2−x+2x(x2−2x+2)=Ax+Bx+Cx2−2x+2\frac{2x^2 - x + 2}{x(x^2 - 2x + 2)} = \frac{A}{x} + \frac{Bx + C}{x^2 - 2x + 2}.

c) Clearing denominators: 2x2−x+2=A(x2−2x+2)+(Bx+C)x2x^2 - x + 2 = A(x^2 - 2x + 2) + (Bx + C)x. At x=0x = 0: 2=2A2 = 2A, so A=1A = 1. Then (Bx+C)x=2x2−x+2−(x2−2x+2)=x2+x=x(x+1)(Bx + C)x = 2x^2 - x + 2 - (x^2 - 2x + 2) = x^2 + x = x(x + 1), so B=1B = 1 and C=1C = 1. Check at x=1x = 1: left 2−1+2=32 - 1 + 2 = 3; right A⋅1+(B+C)⋅1=1+2=3A \cdot 1 + (B + C) \cdot 1 = 1 + 2 = 3.

d) The integrand is x+2+1x+x+1x2−2x+2x + 2 + \frac{1}{x} + \frac{x + 1}{x^2 - 2x + 2}. For the last term, split the numerator around the derivative 2x−22x - 2 of the quadratic: x+1=12(2x−2)+2x + 1 = \frac{1}{2}(2x - 2) + 2. Then ∫12(2x−2)x2−2x+2 dx=12ln⁡(x2−2x+2)\int \frac{\frac{1}{2}(2x - 2)}{x^2 - 2x + 2}\,dx = \frac{1}{2}\ln(x^2 - 2x + 2), and with the completed square and u=x−1u = x - 1: ∫2(x−1)2+1 dx=2arctan⁡(x−1)\int \frac{2}{(x - 1)^2 + 1}\,dx = 2\arctan(x - 1). An antiderivative is F(x)=x22+2x+ln⁡∣x∣+12ln⁡(x2−2x+2)+2arctan⁡(x−1)+KF(x) = \frac{x^2}{2} + 2x + \ln|x| + \frac{1}{2}\ln(x^2 - 2x + 2) + 2\arctan(x - 1) + K. Differentiating the last two terms gives back x−1x2−2x+2+2x2−2x+2=x+1x2−2x+2\frac{x - 1}{x^2 - 2x + 2} + \frac{2}{x^2 - 2x + 2} = \frac{x + 1}{x^2 - 2x + 2}, as required.

e) The only real pole is x=0x = 0, outside [1,2][1, 2]. F(2)=2+4+ln⁡2+12ln⁡2+2arctan⁡1=6+32ln⁡2+π2F(2) = 2 + 4 + \ln 2 + \frac{1}{2}\ln 2 + 2\arctan 1 = 6 + \frac{3}{2}\ln 2 + \frac{\pi}{2} and F(1)=12+2+0+12ln⁡1+2arctan⁡0=52F(1) = \frac{1}{2} + 2 + 0 + \frac{1}{2}\ln 1 + 2\arctan 0 = \frac{5}{2}. So I=72+32ln⁡2+π2I = \frac{7}{2} + \frac{3}{2}\ln 2 + \frac{\pi}{2}. The bounds were chosen so that x−1x - 1 runs from 00 to 11, where the arctangent is known exactly. Order of magnitude: 3.5+1.5(0.69)+1.57≈6.13.5 + 1.5(0.69) + 1.57 \approx 6.1. On the figure, the integrand equals 66 at both x=1x = 1 and x=2x = 2 and stays close to 66 in between (about 6.26.2 at x=1.5x = 1.5), so the region is nearly a rectangle of width 11 and height 66: an area slightly above 66, as found.

See also

Struggling with MATH 141?

I tutor first-year integral calculus at McGill and Concordia, in English or in French, in Montreal or online. Get in touch for a first session.

Site by Studio Squalli