Definitions
Limits
What a limit is
A limit describes the value a function approaches, not the value it has. Every definition below is the same idea with a different direction of approach or a different kind of target.
We say limx→a f(x) = L if for every ε > 0 there is a δ > 0 such that whenever 0 < |x − a| < δ then |f(x) − L| < ε.
Read it as a challenge: name any tolerance ε around L and I can find a window δ around a inside which f stays within that tolerance.
Worked: show \(\lim_{x\to 2}(3x - 1) = 5\). Start from what you want, \(|f(x) - L| = |3x - 1 - 5| = |3x - 6| = 3|x - 2| \lt \varepsilon\), which holds exactly when \(|x - 2| \lt \varepsilon/3\). So \(\delta = \varepsilon/3\) works: whenever \(0 \lt |x - 2| \lt \delta\), \(|f(x) - 5| = 3|x - 2| \lt 3\delta = \varepsilon\). For a line, \(\delta\) is always \(\varepsilon\) divided by the absolute slope.
We say limx→a f(x) = L if we can make f(x) as close to L as we want by taking x sufficiently close to a (on either side of a) without letting x = a.
The value f(a) is irrelevant. It can be different from L or undefined and the limit is unchanged.
Numerically: \(\dfrac{\sin x}{x}\) is undefined at 0, yet \(x = 0.1\) gives \(0.99833\) and \(x = 0.01\) gives \(0.99998\) (and the same from the negative side), so \(\lim_{x\to 0}\dfrac{\sin x}{x} = 1\). A table like this suggests a limit; the algebraic techniques on the next tabs prove it.
- right-hand limit = limx→a+ f(x) = L — the same definition as the limit except it requires x > a
- left-hand limit = limx→a− f(x) = L — the same definition except it requires x < a
- limit at infinity = limx→∞ f(x) = L if we can make f(x) as close to L as we want by taking x large enough and positive; similarly for x → −∞ with x large and negative
- infinite limit = limx→a f(x) = ∞ if we can make f(x) arbitrarily large (and positive) by taking x sufficiently close to a, on either side, without letting x = a; similarly limx→a f(x) = −∞ with f(x) arbitrarily large and negative
A limit at infinity describes a horizontal asymptote; an infinite limit describes a vertical asymptote.
Relationship between the limit and one-sided limits
This is the test for piecewise functions and for jumps: compute the two sides separately and compare.
How to check a limit at a break point
- Find the value \(a\) where the formula changes (or where there might be a hole or a jump).
- Compute the left-hand limit \(\lim_{x\to a^-} f(x)\) using the formula that applies for \(x \lt a\).
- Compute the right-hand limit \(\lim_{x\to a^+} f(x)\) using the formula for \(x \gt a\).
- Equal: the limit exists and equals that common value. Different: the limit does not exist, and that is a complete answer.
Example: \(g(x) = x^2 + 1\) for \(x \lt 1\) and \(g(x) = 3x - 1\) for \(x \ge 1\). Left: \(\lim_{x\to 1^-}(x^2 + 1) = 2\). Right: \(\lim_{x\to 1^+}(3x - 1) = 2\). They agree, so \(\lim_{x\to 1} g(x) = 2\). If the second piece had been \(3x + 1\) the right-hand limit would be \(4 \ne 2\) and the limit would not exist.
Watch out. The value \(g(1)\) itself plays no part in the limit. Which piece contains the equals sign only matters for continuity, not for whether the limit exists.
Rules and Basic Properties
Derivatives
Basic properties, formulas and rules
Every derivative on this sheet comes from these rules applied to the common derivatives on the next tab. Here f and g are differentiable functions and c is a constant.
The power rule holds for any real exponent: √x = x1⁄2 has derivative ½x−1⁄2, and 1⁄x = x−1 has derivative −x−2.
Quotient rule memory aid: “low d-high minus high d-low, over the square of what’s below.” Chain rule: derivative of the outside, evaluated at the inside, times the derivative of the inside.
Examples: product, \(\dfrac{d}{dx}\big[x^2\sin x\big] = 2x\sin x + x^2\cos x\); quotient, \(\dfrac{d}{dx}\Big[\dfrac{x}{x^2 + 1}\Big] = \dfrac{1\cdot(x^2 + 1) - x\cdot 2x}{(x^2 + 1)^2} = \dfrac{1 - x^2}{(x^2 + 1)^2}\); chain, \(\dfrac{d}{dx}\sin(x^2) = \cos(x^2)\cdot 2x\).
Watch out. \((fg)' \ne f'g'\) and \((f/g)' \ne f'/g'\). The commonest chain-rule slip is forgetting the inside derivative: \(\dfrac{d}{dx}(3x + 1)^5 = 5(3x + 1)^4\cdot 3\), not \(5(3x + 1)^4\).
Both are the chain rule with f = ex or f = ln x. The second is the logarithmic-differentiation pattern: (ln u)′ = u′⁄u.
- f′(x), y′, dy⁄dx, ddx f(x) = all mean the derivative of f with respect to x
- f′(a) = the derivative evaluated at x = a: a number, the slope there
- f″(x), d2y⁄dx2 = the second derivative
- f(n)(x) = the nth derivative
Differentiate, then substitute. Substituting first turns a function into a constant whose derivative is 0.
Definitions and the Fundamental Theorem
Integrals
Definitions
Suppose f(x) is continuous on [a, b]. Divide [a, b] into n subintervals of width Δx and choose xi* from each interval. Then
Each term f(xi*)Δx is the area of a rectangle; the integral is the limit of the total as the rectangles get thinner. Δx = (b − a)⁄n.
Example with \(n = 4\) right endpoints for \(\int_0^2 x^2\,dx\): \(\Delta x = \tfrac{2 - 0}{4} = 0.5\), the sample points are \(0.5, 1, 1.5, 2\), and the sum is \(0.5\,(0.25 + 1 + 2.25 + 4) = 3.75\). The exact value is \(\tfrac83 \approx 2.667\); right endpoints overestimate here because \(x^2\) is increasing. More rectangles shrink the gap.
An anti-derivative of f(x) is a function F(x) such that F′(x) = f(x).
The indefinite integral is the whole family of anti-derivatives; c is the constant of integration. A definite integral is a number, an indefinite integral is a function.
Fundamental theorem of calculus
If f(x) is continuous on [a, b] then g(x) = ∫xa f(t) dt is also continuous on [a, b] and
Variants of Part I
Differentiation undoes integration: the derivative of the accumulated area is the height of the curve. With variable limits, the chain rule contributes the u′ and v′ factors.
Worked examples
\(\dfrac{d}{dx}\displaystyle\int_0^{x^2}\cos t\,dt = \cos(x^2)\cdot 2x\): replace \(t\) by the upper limit \(x^2\), then multiply by its derivative. \(\dfrac{d}{dx}\displaystyle\int_x^{3} e^{t^2}dt = -e^{x^2}\): the variable is in the lower limit, so the sign flips. No antiderivative is ever computed.
Watch out. The answer is a function of \(x\); if any \(t\) is left in it, something went wrong. Part I needs a variable in a limit of integration. \(\dfrac{d}{dx}\int_0^1 \cos t\,dt = 0\) because that integral is a constant.
f(x) is continuous on [a, b], F(x) is an anti-derivative of f(x), i.e. F(x) = ∫ f(x) dx, then
Evaluating a definite integral means: find any anti-derivative, plug in the upper limit, plug in the lower limit, subtract. The constant c cancels, so it is dropped.
Watch out. It is \(F(b) - F(a)\), upper minus lower, in that order. The theorem needs \(f\) continuous on the whole interval: \(\int_{-1}^{1} x^{-2}dx\) is not \(\big[-1/x\big]_{-1}^{1} = -2\), because \(1/x^2\) blows up at 0 (the integral is improper and diverges; see the Improper Integrals tab).
u-Substitution
Integration Techniques
The method
u-substitution is the chain rule run backward. If the integrand is a composition f(g(x)) multiplied by the derivative g′(x) (up to a constant), substitute u = g(x).
Using the substitution u = g(x) where du = g′(x) dx. For indefinite integrals drop the limits of integration and substitute back to x at the end.
With a definite integral you can either convert the limits to u-values (as above) and never return to x, or keep the x-limits, integrate, substitute back, and then evaluate. Never mix u-limits with an x-antiderivative.
- Choose u: usually the inside of a composition, the thing being raised to a power, under a root, or in an exponent
- Compute du = g′(x) dx and solve for the piece of the integrand you have (adjust by a constant if needed)
- Rewrite the whole integral in u, including the limits for a definite integral
- Integrate in u
- Substitute back (indefinite) or evaluate at the u-limits (definite)
If leftover x’s remain after substituting, either express them in terms of u or choose a different u.
Indefinite example: \(\displaystyle\int \tan x\,dx = \int \frac{\sin x}{\cos x}\,dx\). Let \(u = \cos x\), \(du = -\sin x\,dx\), so \(\sin x\,dx = -du\): the integral becomes \(\displaystyle -\int \frac{du}{u} = -\ln|u| + c = -\ln|\cos x| + c\).
Watch out. Forgetting to change the limits is the classic error: \(\int_1^2 5x^2\cos(x^3)dx\) is not \(\tfrac53[\sin u]_1^2\). Either switch to \(u = 1\) and \(u = 8\) as above, or write the antiderivative back in \(x\) before using the \(x\)-limits.
The factor x2 next to cos(x3) is what makes the substitution work: it is the derivative of the inside up to the constant 3.
Net Area and Area Between Curves
Applications of Integrals
Net area
Area above the x-axis counts positive and area below the x-axis counts negative.
Find where f crosses the axis, integrate on each piece, and add the absolute values. The net area of one full period of sin x is 0; its total area is 4.
Worked: \(\displaystyle\int_0^{2\pi}\sin x\,dx = \big[-\cos x\big]_0^{2\pi} = -1 - (-1) = 0\) (net). For total area split at \(x = \pi\), where \(\sin x\) changes sign: \(\displaystyle\int_0^{\pi}\sin x\,dx = 2\) and \(\displaystyle\int_{\pi}^{2\pi}\sin x\,dx = -2\), so the total area is \(|2| + |-2| = 4\).
Area between curves
If the curves intersect then the area of each portion must be found individually. Here are sketches of a couple of possible situations and formulas for a couple of possible cases.
Steps
- Sketch the curves and find the intersection points (set f = g)
- Decide whether vertical slices (dx) or horizontal slices (dy) run from one curve to the other without switching
- On each interval, integrate (top − bottom) or (right − left)
- Add the pieces
Worked examples
Between \(y = x\) and \(y = x^2\): they meet where \(x = x^2\), at \(x = 0\) and \(x = 1\); on \((0, 1)\) the line is on top (test \(x = \tfrac12\): \(\tfrac12 \gt \tfrac14\)).
\[A = \int_0^1 (x - x^2)\,dx = \Big[\frac{x^2}{2} - \frac{x^3}{3}\Big]_0^1 = \frac12 - \frac13 = \frac16.\]Between \(x = y^2\) and \(x = y + 2\): horizontal slices avoid splitting. Intersections: \(y^2 = y + 2\), so \(y = -1\) and \(y = 2\); the line is on the right (test \(y = 0\): \(2 \gt 0\)).
\[A = \int_{-1}^{2}\big[(y + 2) - y^2\big]\,dy = \Big[\frac{y^2}{2} + 2y - \frac{y^3}{3}\Big]_{-1}^{2} = \frac{10}{3} - \Big(-\frac{7}{6}\Big) = \frac{9}{2}.\]Watch out. Area is never negative. A negative result means top and bottom (or right and left) were swapped, or the curves cross inside the interval and the integral must be split at the crossing.
Properties and Basic Evaluations
Limits
Properties
Assume limx→a f(x) and limx→a g(x) both exist and c is any number. Then limits pass through every arithmetic operation:
Constants factor out, and the limit of a sum, difference or product is the sum, difference or product of the limits.
The quotient rule fails exactly when the denominator’s limit is 0; that is the 0⁄0 case the Evaluation Techniques tab is about.
Worked: \(\displaystyle\lim_{x\to 2}\frac{x^2 + 3x}{\sqrt{x + 7}}\). The denominator’s limit is \(\sqrt{9} = 3 \ne 0\), so property 4 applies; properties 2, 5 and 6 reduce everything to plugging in: \(\dfrac{4 + 6}{3} = \dfrac{10}{3}\). Together these properties say that any function built from \(x\) by arithmetic and roots can be evaluated by substitution wherever it is defined.
Basic limit evaluations at ±∞
- limx→∞ ex = ∞ & limx→−∞ ex = 0
- limx→∞ ln(x) = ∞ & limx→0+ ln(x) = −∞
- If r > 0 then limx→∞ bxr = 0
- If r > 0 and xr is real for negative x then limx→−∞ bxr = 0
Item 3 is why 1⁄x, 1⁄x2 and 1⁄√x all vanish at infinity, and why dividing by the highest power works on rational functions.
- n even: limx→±∞ xn = ∞
- n odd: limx→∞ xn = ∞ & limx→−∞ xn = −∞
- n even: limx→±∞ (axn + … + bx + c) = sgn(a)·∞
- n odd: limx→∞ (axn + … + bx + c) = sgn(a)·∞
- n odd: limx→−∞ (axn + … + cx + d) = −sgn(a)·∞
Note: sgn(a) = 1 if a > 0 and sgn(a) = −1 if a < 0. A polynomial’s end behavior is its leading term’s end behavior — the leading coefficient test from precalculus in limit form.
Example: \(\lim_{x\to -\infty}(-2x^3 + 5x - 7)\). The degree is odd and \(a = -2 \lt 0\), so item 9 gives \(-\text{sgn}(a)\cdot\infty = +\infty\). Check it directly: factor out \(x^3\) to get \(x^3(-2 + 5/x^2 - 7/x^3)\); the bracket tends to \(-2\) and \(x^3 \to -\infty\), and a negative times a negative is positive.
Evaluation Techniques
Limits
Direct substitution and composition
Try this first. Polynomials, exponentials, sines and cosines are continuous everywhere, so their limits are just function values. The techniques below are for when substitution gives 0⁄0 or another indeterminate form.
Example: limx→0 esin x = elimx→0 sin x = e0 = 1.
Algebraic techniques for 0⁄0
Substituting x = 2 gives 0⁄0, which means (x − 2) is a factor of both top and bottom. Cancel it, then substitute.
Multiply by the conjugate; the difference of squares removes the root and exposes the factor (x − 9) to cancel.
Get a common denominator, simplify, and the troublesome h cancels. This is the difference quotient of 1⁄x: the limit is its derivative.
Differentiate top and bottom separately (not the quotient rule) and take the limit again; repeat if the form is still indeterminate. Check that the form really is 0⁄0 or ∞⁄∞ first.
Polynomials at infinity and piecewise functions
p(x) and q(x) are polynomials. To compute limx→±∞ p(x)⁄q(x), factor the largest power of x in q(x) out of both p(x) and q(x), then compute the limit.
Equal degrees give the ratio of leading coefficients; a bigger denominator degree gives 0; a bigger numerator degree gives ±∞.
Watch out. With a square root, factoring \(x^2\) out of the root gives \(\sqrt{x^2} = |x|\), which is \(-x\) when \(x \to -\infty\). So \(\lim_{x\to\infty}\dfrac{\sqrt{x^2 + 1}}{x} = 1\) but \(\lim_{x\to-\infty}\dfrac{\sqrt{x^2 + 1}}{x} = -1\).
Compute the two one-sided limits:
The one-sided limits are different, so limx→−2 g(x) does not exist. If the two one-sided limits had been equal, the limit would have existed and had that same value.
Continuity and the Intermediate Value Theorem
Limits
Continuity
f is continuous at a when
- f(a) is defined
- limx→a f(x) exists
- limx→a f(x) = f(a)
A function is continuous on an interval when it is continuous at every point of the interval. Graphically: no holes, jumps or vertical asymptotes.
Kinds of discontinuity
- removable (hole) = the limit exists but differs from f(a) or f(a) is undefined
- jump = the one-sided limits exist but differ
- infinite = a one-sided limit is ±∞
Worked example
Is \(f(x) = \dfrac{x^2 - 4}{x - 2}\) for \(x \ne 2\), with \(f(2) = 3\), continuous at 2? (1) \(f(2) = 3\) is defined. (2) \(\lim_{x\to 2}\dfrac{(x - 2)(x + 2)}{x - 2} = \lim_{x\to 2}(x + 2) = 4\) exists. (3) \(4 \ne 3\), so condition 3 fails: a removable discontinuity. Redefining \(f(2) = 4\) would make it continuous.
- Polynomials for all x
- Rational functions, except for the x’s that give division by zero
- n√x (n odd) for all x
- n√x (n even) for all x ≥ 0
- ex for all x
- ln(x) for x > 0
- cos(x) and sin(x) for all x
- tan(x) and sec(x) provided x ≠ …, −3π⁄2, −π⁄2, π⁄2, 3π⁄2, …
- cot(x) and csc(x) provided x ≠ …, −2π, −π, 0, π, 2π, …
Sums, differences, products, quotients (where the denominator is nonzero) and compositions of continuous functions are continuous.
Worked: where is \(f(x) = \dfrac{\ln x}{x - 3}\) continuous? \(\ln x\) needs \(x \gt 0\) (item 6), the quotient needs \(x \ne 3\), and otherwise it is a quotient of continuous functions. So \(f\) is continuous on \((0, 3)\) and \((3, \infty)\); at \(x = 3\) it has an infinite discontinuity, and for \(x \le 0\) it is not defined at all.
Intermediate value theorem
Suppose that f(x) is continuous on [a, b] and let M be any number between f(a) and f(b). Then there exists a number c such that a < c < b and f(c) = M.
How it is used
- To show an equation has a solution: if f(1) < 0 and f(2) > 0 and f is continuous, then f(c) = 0 for some c in (1, 2)
- It locates a solution without finding it; bisect the interval to narrow it down
- It fails without continuity: 1⁄x goes from −1 to 1 on [−1, 1] without ever being 0
Worked example
Show that \(x^3 - x - 1 = 0\) has a solution between 1 and 2. Let \(f(x) = x^3 - x - 1\), a polynomial, so it is continuous everywhere. Then \(f(1) = 1 - 1 - 1 = -1 \lt 0\) and \(f(2) = 8 - 2 - 1 = 5 \gt 0\). Since 0 lies between \(-1\) and 5, the IVT gives a \(c\) in \((1, 2)\) with \(f(c) = 0\). To narrow it down, test the midpoint: \(f(1.5) = 3.375 - 1.5 - 1 = 0.875 \gt 0\), so the root is in \((1, 1.5)\); then \(f(1.25) \approx -0.297 \lt 0\), so it is in \((1.25, 1.5)\).
Watch out. Always state that the function is continuous on the closed interval before using the theorem; a sign change alone proves nothing (think of \(1/x\)). The theorem guarantees at least one solution, not exactly one.
Common Derivatives
Derivatives
Polynomials
| Function | Derivative | Function | Derivative |
|---|---|---|---|
| c | 0 | x | 1 |
| cx | c | xn | n xn−1 |
| c xn | n c xn−1 | a xn + … + bx + c | n a xn−1 + … + b |
Here \(c\) is any constant, \(n\) is any real number (not just a positive integer) and the base must be the variable \(x\). To use the table, first rewrite roots and reciprocals as powers: \(\sqrt{x} = x^{1/2}\), \(\dfrac{1}{x^2} = x^{-2}\), \(\sqrt[3]{x^2} = x^{2/3}\). Then bring the exponent down and subtract one from it, term by term.
Example: \(f(x) = 4x^3 - 3\sqrt{x} + \dfrac{2}{x^2} = 4x^3 - 3x^{1/2} + 2x^{-2}\), so \(f'(x) = 12x^2 - \tfrac32 x^{-1/2} - 4x^{-3} = 12x^2 - \dfrac{3}{2\sqrt{x}} - \dfrac{4}{x^3}\).
Watch out. The power rule needs the variable in the base. \(2^x\) and \(e^x\) are exponentials, handled in the table two sections down, and \(\pi^2\) is a constant whose derivative is 0.
Trig functions
| Function | Derivative |
|---|---|
| sin(x) | cos(x) |
| cos(x) | −sin(x) |
| tan(x) | sec2(x) |
| csc(x) | −csc(x) cot(x) |
| sec(x) | sec(x) tan(x) |
| cot(x) | −csc2(x) |
The co-functions (cos, csc, cot) all carry a minus sign. x must be in radians for these to hold.
With an inside function the chain rule multiplies by the inside derivative: \(\dfrac{d}{dx}\sin(g(x)) = \cos(g(x))\,g'(x)\). Example: \(\dfrac{d}{dx}\tan(3x^2) = \sec^2(3x^2)\cdot 6x\), and \(\dfrac{d}{dx}\sin^{-1}(2x) = \dfrac{2}{\sqrt{1 - 4x^2}}\).
Watch out. \(\sin^2(x)\) means \((\sin x)^2\): its derivative is \(2\sin x\cos x\) by the chain rule, with the square as the outside function. \(\sin^{-1}(x)\) is the inverse function, not \(1/\sin x\).
| Function | Derivative |
|---|---|
| sin−1(x) | 1√1 − x2 |
| cos−1(x) | −1√1 − x2 |
| tan−1(x) | 11 + x2 |
| csc−1(x) | −1|x|√x2 − 1 |
| sec−1(x) | 1|x|√x2 − 1 |
| cot−1(x) | −11 + x2 |
Again the co-functions are the negatives of their partners.
Exponential, logarithm and hyperbolic functions
| Function | Derivative | Where |
|---|---|---|
| ax | ax ln(a) | |
| ex | ex | |
| ln(x) | 1x | x > 0 |
| ln|x| | 1x | x ≠ 0 |
| loga(x) | 1x ln(a) | x > 0 |
ex is the one function that is its own derivative. For any other base the factor ln(a) appears.
Examples: \(\dfrac{d}{dx}5^x = 5^x\ln 5\); \(\dfrac{d}{dx}\log_2 x = \dfrac{1}{x\ln 2}\); and with an inside function, \(\dfrac{d}{dx}\ln(x^2 + 1) = \dfrac{2x}{x^2 + 1}\) and \(\dfrac{d}{dx}e^{3x} = 3e^{3x}\).
Watch out. \(x^n\) (variable base, constant exponent) uses the power rule; \(a^x\) (constant base, variable exponent) uses this table. For \(x^x\), with the variable in both places, take logs first: \(\ln y = x\ln x\), so \(y' = x^x(\ln x + 1)\).
| Function | Derivative |
|---|---|
| sinh(x) | cosh(x) |
| cosh(x) | sinh(x) |
| tanh(x) | sech2(x) |
| csch(x) | −csch(x) coth(x) |
| sech(x) | −sech(x) tanh(x) |
| coth(x) | −csch2(x) |
sinh x = (ex − e−x)⁄2 and cosh x = (ex + e−x)⁄2. Unlike the trig pair, cosh has no minus sign.
Definition, Tangent Lines and Applications
Derivatives
The definition
The cheat sheets list derivative formulas; this tab adds the definition they come from and the standard first-course uses of them.
The slope of the secant line through (a, f(a)) and (a + h, f(a + h)) is the difference quotient; as h → 0 the secant becomes the tangent. The “combine rational expressions” limit on the Evaluation Techniques tab is this computation for f(x) = 1⁄x.
Worked example
\(f(x) = x^2 - 3x\) from the definition. Expand, cancel the terms without \(h\), factor \(h\) out, then let \(h \to 0\):
\[f'(x) = \lim_{h\to 0}\frac{(x + h)^2 - 3(x + h) - (x^2 - 3x)}{h} = \lim_{h\to 0}\frac{2xh + h^2 - 3h}{h} = \lim_{h\to 0}(2x + h - 3) = 2x - 3.\]Tangent line at \(x = 2\): point \((2, f(2)) = (2, -2)\), slope \(f'(2) = 1\), so \(y = -2 + 1(x - 2) = x - 4\).
Watch out. Every term of the numerator must be divided by \(h\); the \(h\) can only be cancelled after it has been factored out of everything. Setting \(h = 0\) before that gives \(0/0\).
- slope = f′(a)
- point = (a, f(a))
- normal line = slope −1⁄f′(a)
- linear approximation = f(x) ≈ f(a) + f′(a)(x − a) for x near a
Where f is not differentiable
At a corner or cusp (|x| at 0), at a vertical tangent (3√x at 0), and anywhere it is discontinuous. Differentiable implies continuous, not the reverse.
Rates of change
f′(a) is the instantaneous rate of change of f at a. Position s(t): velocity v = s′, acceleration a = v′ = s″.
Implicit differentiation and related rates
- Differentiate both sides with respect to x, treating y as a function of x: every y term picks up a factor y′ by the chain rule
- Collect the y′ terms and solve for y′
At (3, 4) the slope is −3⁄4. The same method differentiates inverse functions and xy-type expressions after taking logs.
- Draw a picture and name every changing quantity as a function of time t
- Write an equation relating them that holds at every time
- Differentiate both sides with respect to t (chain rule: each variable contributes its own rate)
- Substitute the known values and rates after differentiating, and solve for the unknown rate
Units check the answer: dV⁄dt in cm3⁄s, dr⁄dt in cm⁄s.
Worked: a spherical balloon is inflated at \(100\) cm3/s. How fast is the radius growing when \(r = 5\) cm? From \(\dfrac{dV}{dt} = 4\pi r^2\dfrac{dr}{dt}\): \(100 = 4\pi(25)\dfrac{dr}{dt}\), so \(\dfrac{dr}{dt} = \dfrac{100}{100\pi} = \dfrac{1}{\pi} \approx 0.32\) cm/s. The answer is a rate with units, positive because the radius is increasing.
Watch out. Substituting \(r = 5\) into \(V = \tfrac43\pi r^3\) before differentiating turns \(V\) into a constant and gives \(dV/dt = 0\). Numbers go in only after the derivative is taken; the one exception is a quantity that is genuinely constant for the whole problem, such as the ladder’s length.
Shape of a graph and extreme values
- f′ > 0 on an interval = f is increasing there
- f′ < 0 = f is decreasing
- critical point = a point c in the domain where f′(c) = 0 or f′(c) does not exist
First derivative test
At a critical point c: f′ changes from + to − → relative maximum; from − to + → relative minimum; no change → neither.
Absolute extrema on [a, b]
Evaluate f at every critical point in (a, b) and at both endpoints; the largest value is the absolute maximum and the smallest the absolute minimum (extreme value theorem: both exist when f is continuous on a closed interval).
Worked example
\(f(x) = x^3 - 3x\): \(f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1)\), critical points \(x = \pm 1\). Sign of \(f'\): positive for \(x \lt -1\), negative on \((-1, 1)\), positive for \(x \gt 1\). So \(f\) increases, decreases, increases: relative maximum \(f(-1) = 2\), relative minimum \(f(1) = -2\). On \([0, 3]\) the candidates are \(f(0) = 0\), \(f(1) = -2\), \(f(3) = 18\): absolute minimum \(-2\) at \(x = 1\), absolute maximum 18 at the endpoint \(x = 3\).
- f″ > 0 on an interval = f is concave up (f′ increasing)
- f″ < 0 = concave down
- inflection point = where concavity changes; f″ = 0 or undefined there, and the sign of f″ switches
Second derivative test
If f′(c) = 0: f″(c) > 0 → relative minimum; f″(c) < 0 → relative maximum; f″(c) = 0 → inconclusive, use the first derivative test.
Mean value theorem
Somewhere the instantaneous rate equals the average rate. Rolle’s theorem is the case f(a) = f(b), giving f′(c) = 0.
Continuing the example: \(f''(x) = 6x\), so \(f''(-1) = -6 \lt 0\) confirms the maximum and \(f''(1) = 6 \gt 0\) the minimum; \(f'' = 0\) at \(x = 0\) with a sign change, so \((0, 0)\) is an inflection point. MVT example: \(f(x) = x^2\) on \([0, 2]\) has average rate \(\dfrac{4 - 0}{2} = 2\), and \(f'(c) = 2c = 2\) at \(c = 1\).
Watch out. \(f''(c) = 0\) does not make \(c\) an inflection point (\(x^4\) at 0 has \(f'' = 0\) but stays concave up), and \(f'(c) = 0\) does not make \(c\) an extremum (\(x^3\) at 0). The sign has to change.
- Identify the quantity to maximize or minimize and write it as a function of one variable, using any constraint to eliminate the others
- State the domain the context allows
- Find the critical points and test them (first or second derivative test), together with any endpoints
- Answer the question asked, with units: the location, the value, or both
Example: the rectangle of perimeter P with the largest area is the square with side P⁄4: A = x(P⁄2 − x), A′ = P⁄2 − 2x = 0 at x = P⁄4, and A″ = −2 < 0 confirms a maximum.
Worked: an open box is made from a 12 cm by 12 cm sheet by cutting squares of side \(x\) from the corners and folding. Volume \(V = x(12 - 2x)^2\) on \(0 \le x \le 6\). \(V' = (12 - 2x)^2 - 4x(12 - 2x) = (12 - 2x)(12 - 6x) = 0\) at \(x = 6\) (volume 0) and \(x = 2\). Since \(V(0) = V(6) = 0\) and \(V(2) = 2\cdot 8^2 = 128\), the maximum volume is 128 cm3 at \(x = 2\) cm. Note the domain came from the geometry (\(12 - 2x \ge 0\)), and the endpoints were checked.
Properties
Integrals
Properties of integrals
Constants come out; sums split. Products and quotients do not split: ∫ f g dx ≠ ∫ f dx · ∫ g dx.
Swapping the limits changes the sign; splitting at c works whether or not c is between a and b.
Worked: if \(\int_0^5 f(x)\,dx = 8\) and \(\int_0^3 f(x)\,dx = 5\), then \(\int_3^5 f(x)\,dx = 8 - 5 = 3\) (split at 3), \(\int_5^3 f(x)\,dx = -3\) (swap the limits), and \(\int_0^3 \big(2f(x) - 4\big)dx = 2(5) - 4(3 - 0) = -2\) (linearity, then the constant rule).
The last one bounds an integral you cannot compute between the areas of two rectangles.
Worked: \(\displaystyle\int_0^1 e^{x^2}dx\) has no elementary antiderivative, but on \([0, 1]\) the integrand runs from \(e^0 = 1\) up to \(e^1 = e\), so \(1\cdot(1 - 0) \le \int_0^1 e^{x^2}dx \le e\cdot(1 - 0)\): the integral is between 1 and 2.72. (Its value is about 1.46.)
The integral of f can be small because positive and negative parts cancel; the integral of |f| cannot cancel. See net area on the Applications tab.
Common Integrals
Integrals
Every formula below reverses a derivative from the Common Derivatives tab. u stands for any expression whose differential du is present (or can be supplied with a constant): that is u-substitution, the first integration technique. All indefinite integrals carry + c.
Polynomials
| Integral | Result | Integral | Result |
|---|---|---|---|
| ∫ dx | x + c | ∫ k dx | kx + c |
| ∫ xn dx | 1n + 1 xn+1 + c, n ≠ −1 | ∫ x−1 dx = ∫ 1x dx | ln|x| + c |
| ∫ x−n dx | 1−n + 1 x−n+1 + c, n ≠ 1 | ∫ 1ax + b dx | 1a ln|ax + b| + c |
| ∫ xp⁄q dx | 1p⁄q + 1 xp⁄q + 1 + c = qp + q x(p+q)⁄q + c |
The power rule for integrals adds one to the exponent and divides by the new exponent; it fails only for n = −1, where the logarithm takes over.
Procedure: (1) rewrite every root and reciprocal as a power of \(x\); (2) integrate term by term, adding 1 to each exponent and dividing by the new exponent; (3) write \(+\,c\) once; (4) check by differentiating your answer. Example: \(\displaystyle\int_1^4 \Big(3x^2 + \frac{2}{\sqrt{x}}\Big)dx = \int_1^4 (3x^2 + 2x^{-1/2})\,dx = \Big[x^3 + 4x^{1/2}\Big]_1^4 = (64 + 8) - (1 + 4) = 67.\)
Watch out. \(\int \dfrac{1}{x^2}dx = -\dfrac{1}{x} + c\), not \(\ln|x^2|\). The logarithm appears only for the exponent \(-1\); every other negative power still follows the power rule.
Trig functions
| Integral | Result |
|---|---|
| ∫ cos(u) du | sin(u) + c |
| ∫ sin(u) du | −cos(u) + c |
| ∫ sec2(u) du | tan(u) + c |
| ∫ sec(u) tan(u) du | sec(u) + c |
| ∫ csc(u) cot(u) du | −csc(u) + c |
| ∫ csc2(u) du | −cot(u) + c |
Examples: \(\displaystyle\int \sin(5x)\,dx = -\tfrac15\cos(5x) + c\) (\(u = 5x\), \(du = 5\,dx\)); \(\displaystyle\int x\sec^2(x^2)\,dx = \tfrac12\tan(x^2) + c\) (\(u = x^2\), \(du = 2x\,dx\)).
Watch out. The signs run opposite to the derivative table: \(\int \sin u\,du = -\cos u + c\) and \(\int \cos u\,du = \sin u + c\). Differentiate your answer to check.
With an inside function, divide by its derivative: \(\displaystyle\int \tan(2x)\,dx = -\tfrac12\ln|\cos 2x| + c\) (\(u = 2x\), \(du = 2\,dx\)). The first four are worth memorizing; the two cubes come from integration by parts and are usually looked up.
Exponential and logarithm functions
ln(u) is integrated by parts with dv = du; the result is worth memorizing.
In practice \(u\) is an inside function and \(du\) must be present: \(\displaystyle\int x e^{x^2}dx\) with \(u = x^2\), \(du = 2x\,dx\) gives \(\tfrac12\int e^u du = \tfrac12 e^{x^2} + c\); and \(\displaystyle\int 2^{3x}dx = \frac{2^{3x}}{3\ln 2} + c\) (the 3 from \(du = 3\,dx\), the \(\ln 2\) from the base).
Watch out. \(\int e^{x^2}dx\) by itself has no elementary antiderivative; it is the factor \(x\) that makes the substitution work. And \(\int e^{2x}dx = \tfrac12 e^{2x} + c\), not \(e^{2x}\): check by differentiating.
The last two come from integrating by parts twice and solving for the integral.
Using the formula with \(a = 2\), \(b = 3\): \(\displaystyle\int e^{2x}\sin(3x)\,dx = \frac{e^{2x}}{13}\big(2\sin 3x - 3\cos 3x\big) + c\). Check: the denominator is \(a^2 + b^2 = 4 + 9 = 13\), and differentiating the right side gives back \(e^{2x}\sin 3x\).
Inverse trig and hyperbolic functions
Match the constant to \(a^2\) and the variable part to \(u^2\): \(\displaystyle\int \frac{dx}{9 + x^2} = \tfrac13\tan^{-1}\!\Big(\frac{x}{3}\Big) + c\) with \(a = 3\). If the \(x^2\) has a coefficient, substitute first: \(\displaystyle\int \frac{dx}{\sqrt{4 - 9x^2}}\) with \(u = 3x\), \(du = 3\,dx\), \(a = 2\) becomes \(\tfrac13\int \frac{du}{\sqrt{4 - u^2}} = \tfrac13\sin^{-1}\!\Big(\frac{3x}{2}\Big) + c\).
Watch out. \(\dfrac{1}{a^2 + u^2}\) gives an arctangent only when the numerator is a constant. With a \(u\) in the numerator, \(\int \dfrac{u\,du}{a^2 + u^2} = \tfrac12\ln(a^2 + u^2) + c\) by substitution instead.
| Integral | Result |
|---|---|
| ∫ sinh(u) du | cosh(u) + c |
| ∫ cosh(u) du | sinh(u) + c |
| ∫ tanh(u) du | ln(cosh(u)) + c |
| ∫ sech2(u) du | tanh(u) + c |
| ∫ csch2(u) du | −coth(u) + c |
| ∫ sech(u) tanh(u) du | −sech(u) + c |
| ∫ csch(u) coth(u) du | −csch(u) + c |
| ∫ sech(u) du | tan−1(sinh(u)) + c |
Miscellaneous
Both follow from partial fractions on the Partial Fractions tab.
These are what a trig substitution produces; use the table when the form matches exactly.
Products and Quotients of Trig Functions
Integration Techniques
Strategy
- n odd. Strip 1 sine out and convert the rest to cosines using sin2(x) = 1 − cos2(x), then use the substitution u = cos(x).
- m odd. Strip 1 cosine out and convert the rest to sines using cos2(x) = 1 − sin2(x), then use the substitution u = sin(x).
- n and m both odd. Use either 1 or 2.
- n and m both even. Use double-angle and/or half-angle formulas to reduce the integral into a form that can be integrated.
- n odd. Strip 1 tangent and 1 secant out and convert the rest to secants using tan2(x) = sec2(x) − 1, then use the substitution u = sec(x).
- m even. Strip 2 secants out and convert the rest to tangents using sec2(x) = 1 + tan2(x), then use the substitution u = tan(x).
- n odd and m even. Use either 1 or 2.
- n even and m odd. Each integral will be dealt with differently.
Convert example: cos6(x) = (cos2(x))3 = (1 − sin2(x))3.
Even/even worked example: \(\displaystyle\int \sin^2 x\,dx = \int \tfrac12(1 - \cos 2x)\,dx = \frac{x}{2} - \frac{\sin 2x}{4} + c\), so \(\displaystyle\int_0^{\pi}\sin^2 x\,dx = \frac{\pi}{2}\). Here \(n = 2\), \(m = 0\): no odd exponent to strip, so the half-angle identity is the only way in.
Watch out. \(\int \sin^2 x\,dx\) is not \(\tfrac13\sin^3 x\); the power rule needs the derivative of the inside (\(\cos x\)) as a factor, and it is not there. Also \(\sin(2x) = 2\sin x\cos x\), so when integrating \(\cos 2x\) the answer carries a \(\tfrac12\).
Worked examples
n = 3 is odd: strip one tangent and one secant (their product is the derivative of sec x), convert the remaining tan2 to secants.
n = 5 is odd: strip one sine, convert sin4 to cosines, and the quotient becomes a polynomial in u over u3.
Integration by Parts
Integration Techniques
The formula
Choose u and dv from the integral and compute du by differentiating u and compute v using v = ∫ dv. The constant from v is omitted; it cancels.
- dv must be something you can integrate; u should get simpler when differentiated
- LIATE priority for u: Logarithm, Inverse trig, Algebraic (polynomial), Trig, Exponential — pick u as the earliest type present
- If the new integral is as hard as the old one, repeat by parts (polynomial times ex or sin x) or solve for the integral (ex sin x)
- A lone ln(x) or tan−1(x): take dv = dx
Watch out. When you integrate by parts a second time, keep the same kind of choice (if \(u\) was the polynomial, let \(u\) be its derivative next time); switching roles undoes the first step and returns you to the original integral. In the definite form, \(uv\) is evaluated between the limits just like the integral.
Repeated example: \(\displaystyle\int x^2 e^x dx\). First \(u = x^2\), \(dv = e^x dx\): \(x^2 e^x - \int 2x e^x dx\). Again with \(u = 2x\): \(\int 2x e^x dx = 2x e^x - 2e^x\). So \(\displaystyle\int x^2 e^x dx = e^x(x^2 - 2x + 2) + c\); each round lowers the power by one.
Algebraic beats exponential in LIATE, so u = x. Differentiating u removed it; the leftover integral is elementary.
The x from v and the 1⁄x from du cancel, which is what makes ∫ ln(x) dx = x ln(x) − x + c.
Trig Substitutions
Integration Techniques
The three substitutions
If the integral contains one of the following roots, use the given substitution and formula to convert into an integral involving trig functions.
| Root | Substitution | Identity that clears the root |
|---|---|---|
| √a2 − b2x2 | x = ab sin(θ) | cos2(θ) = 1 − sin2(θ) |
| √b2x2 − a2 | x = ab sec(θ) | tan2(θ) = sec2(θ) − 1 |
| √a2 + b2x2 | x = ab tan(θ) | sec2(θ) = 1 + tan2(θ) |
Minus in front of the x2 term: sine. Minus in front of the constant: secant. Plus: tangent. After integrating, draw the right triangle to convert back to x.
Steps
- Match the root to a row: the sign pattern picks the trig function; \(a\) is the square root of the constant and \(b\) the square root of the coefficient of \(x^2\).
- Substitute for \(x\) and for \(dx\) (\(dx = \tfrac{a}{b}\cos\theta\,d\theta\) for the sine substitution, and so on).
- Simplify the root with the identity in the last column; it becomes \(a\cos\theta\), \(a\tan\theta\) or \(a\sec\theta\).
- Integrate in \(\theta\), usually with the trig-product methods from the previous tab.
- Draw the right triangle that encodes the substitution and read off every trig function of \(\theta\) in terms of \(x\); if \(\theta\) itself appears, use the inverse trig function.
Watch out. Forgetting to substitute for \(dx\) is the most common error. For a definite integral, either convert the limits to \(\theta\)-values or return to \(x\) before evaluating, never a mix.
Worked example
Recall √(x2) = |x|. Because we have an indefinite integral we assume cos θ is positive and drop the absolute value bars. If we had a definite integral we would need to compute θ’s and remove the bars based on that: |x| = x if x ≥ 0 and −x if x < 0. In this case √4 − 9x2 = 2 cos(θ).
From the substitution sin(θ) = 3x⁄2, so the triangle has opposite 3x, hypotenuse 2, adjacent √4 − 9x2:
Any trig function of θ can be read off the triangle: cos θ = √4 − 9x2⁄2, tan θ = 3x⁄√4 − 9x2.
Partial Fractions
Integration Techniques
The method
If integrating a rational expression involving polynomials, ∫ P(x)⁄Q(x) dx, where the degree (largest exponent) of P(x) is smaller than the degree of Q(x), factor the denominator as completely as possible and find the partial fraction decomposition of the rational expression. Integrate the partial fraction decomposition (P.F.D.). For each factor in the denominator we get term(s) in the decomposition according to the following table.
| Factor of Q(x) | Term in P.F.D. | Factor of Q(x) | Term in P.F.D. |
|---|---|---|---|
| ax + b | Aax + b | (ax + b)k | A1ax + b + A2(ax + b)2 + … + Ak(ax + b)k |
| ax2 + bx + c | Ax + Bax2 + bx + c | (ax2 + bx + c)k | A1x + B1ax2 + bx + c + … + Akx + Bk(ax2 + bx + c)k |
Worked set-up: \(\displaystyle\int \frac{3x + 5}{(x - 1)(x + 3)}\,dx\). Two distinct linear factors, so \(\dfrac{3x + 5}{(x - 1)(x + 3)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 3}\). Clear denominators: \(3x + 5 = A(x + 3) + B(x - 1)\). Put \(x = 1\): \(8 = 4A\), \(A = 2\). Put \(x = -3\): \(-4 = -4B\), \(B = 1\). Then \(\displaystyle\int \Big(\frac{2}{x - 1} + \frac{1}{x + 3}\Big)dx = 2\ln|x - 1| + \ln|x + 3| + c\).
Watch out. The method only applies when the numerator’s degree is smaller than the denominator’s. If it is not, do polynomial long division first and decompose only the remainder. A repeated factor \((x - 1)^2\) needs both \(\dfrac{A}{x - 1}\) and \(\dfrac{B}{(x - 1)^2}\), and an irreducible quadratic needs a linear numerator \(Ax + B\), not a constant.
If the degree of P is not smaller than the degree of Q, do polynomial long division first and apply partial fractions to the remainder. A linear factor gives a logarithm; an irreducible quadratic gives a logarithm and an arctangent.
Worked example
Here is the partial fraction form, recombined and integrated term by term: the 3x⁄(x2 + 4) piece is a u-substitution (u = x2 + 4) and the 16⁄(x2 + 4) piece is the arctangent formula with a = 2.
Set the numerators equal and collect like terms:
Set coefficients equal to get a system and solve for the constants:
Shortcut for linear factors: substitute the root. At x = 1 the equation gives 20 = 5A, so A = 4 immediately.
Volumes of Revolution
Applications of Integrals
The two formulas
The two main formulas are V = ∫ A(x) dx and V = ∫ A(y) dy, where A is the area of a cross-section. Here is some general information about each method of computing A and some examples.
- limits = x⁄y of the right/bottom ring to x⁄y of the left/top ring
- horizontal axis = use f(x), g(x), A(x) and dx
- vertical axis = use f(y), g(y), A(y) and dy
A solid disk is a ring with inner radius 0: A = π(radius)2.
- limits = x⁄y of the inner cylinder to x⁄y of the outer cylinder
- horizontal axis = use f(y), g(y), A(y) and dy
- vertical axis = use f(x), g(x), A(x) and dx
Shells use the opposite variable from washers for the same axis. Choose whichever method gives a single integral with functions you can integrate.
Steps for any volume of revolution
- Sketch the region and the axis; find where the curves meet (these give the limits).
- Pick a slice direction: perpendicular to the axis gives disks or washers, parallel gives shells. The slice direction fixes the variable of integration.
- Write each radius (and, for shells, the height) as distance from the axis in that variable, e.g. a curve \(y = f(x)\) rotated about \(y = a\) has radius \(|a - f(x)|\).
- Set up \(V = \int A\,dx\) or \(V = \int A\,dy\) with the limits from step 1, then integrate.
Watch out. With washers the inner radius is the gap between the axis and the near curve, and it is 0 only when the region touches the axis. Rotating about \(y = -1\) instead of the x-axis adds 1 to every radius.
Examples by axis of rotation
For a region between y = f(x) (top) and y = g(x) (bottom) rotated about a horizontal line y = a, and for a region between x = f(y) (right) and x = g(y) (left) rotated about the same line, the radii are:
| Axis | Method | Radii or dimensions |
|---|---|---|
| y = a > 0 (above the region) | rings in x | outer radius: a − g(x) inner radius: a − f(x) |
| y = a ≤ 0 (below the region) | rings in x | outer radius: |a| + f(x) inner radius: |a| + g(x) |
| y = a > 0 (above the region) | shells in y | radius: a − y width: f(y) − g(y) |
| y = a ≤ 0 (below the region) | shells in y | radius: |a| + y width: f(y) − g(y) |
These are only a few cases for a horizontal axis of rotation. If the axis of rotation is the x-axis, use the y = a ≤ 0 case with a = 0. For a vertical axis of rotation (x = a > 0 and x = a ≤ 0) interchange x and y to get the appropriate formulas.
Rule of thumb for radii: radius = (distance from the axis to the far curve) and the distance is always axis-coordinate minus curve, or curve minus axis-coordinate, whichever is positive.
About the x-axis (disks, slices in \(x\), radius = height of the curve \(= x^2\)):
\[V = \int_0^2 \pi (x^2)^2\,dx = \pi\int_0^2 x^4\,dx = \pi\Big[\frac{x^5}{5}\Big]_0^2 = \frac{32\pi}{5}.\]About the y-axis (shells, still slices in \(x\), radius = distance to the y-axis \(= x\), height \(= x^2\)):
\[V = \int_0^2 2\pi x\cdot x^2\,dx = 2\pi\Big[\frac{x^4}{4}\Big]_0^2 = 8\pi.\]Same region, two different solids, two different answers. The variable of integration is chosen by the method (slice direction), not by the axis.
- Intersections: \(x = x^2\) at \(x = 0\) and \(x = 1\); on \((0, 1)\) the line \(y = x\) is on top.
- Slices perpendicular to the x-axis are washers: outer radius \(x\) (far curve), inner radius \(x^2\) (near curve).
- Subtract the squares, not the radii, then integrate.
Watch out. \(\pi(R - r)^2\) is wrong: the area of a washer is \(\pi R^2 - \pi r^2\). And both radii are measured from the axis of rotation, not from the x-axis unless that is the axis.
Arc Length, Surface Area, Work and Average Value
Applications of Integrals
Arc length and surface area
With surface area you may have to substitute in for the x or y depending on your choice of ds to match the differential in the ds. With parametric and polar you will always need to substitute.
ds is the length of a tiny piece of the curve, from the Pythagorean theorem on (dx, dy).
- Differentiate: \(\dfrac{dy}{dx} = \tfrac32 x^{1/2}\), so \(\Big(\dfrac{dy}{dx}\Big)^2 = \tfrac94 x\).
- Build \(ds\): \(ds = \sqrt{1 + \tfrac94 x}\,dx\).
- Integrate with \(u = 1 + \tfrac94 x\), \(du = \tfrac94\,dx\):
Sanity check: the straight line from \((0, 0)\) to \((4, 8)\) has length \(\sqrt{80} \approx 8.94\), and the curve must be slightly longer.
- \(y = x^{1/2}\), \(\dfrac{dy}{dx} = \dfrac{1}{2\sqrt{x}}\), so \(1 + \Big(\dfrac{dy}{dx}\Big)^2 = 1 + \dfrac{1}{4x}\).
- About the x-axis the radius is \(y\): \(SA = \displaystyle\int_0^1 2\pi\sqrt{x}\,\sqrt{1 + \tfrac{1}{4x}}\,dx\).
- Simplify under one root: \(\sqrt{x}\sqrt{1 + \tfrac{1}{4x}} = \sqrt{x + \tfrac14}\).
Watch out. The \(2\pi y\) or \(2\pi x\) is the circumference of the circle each point sweeps out; use \(y\) for the x-axis and \(x\) for the y-axis, and always use the same variable in the radius as in \(ds\).
Work and average value
If a force of F(x) moves an object in a ≤ x ≤ b, the work done is the integral above. Constant force gives W = F(b − a); springs use Hooke’s law F(x) = kx; pumping and lifting problems build F from the weight of a slice.
Worked example: a spring
A force of 10 N stretches a spring 0.2 m past its natural length. How much work stretches it from its natural length to 0.5 m? Hooke’s law gives \(k\): \(10 = k(0.2)\), so \(k = 50\) N/m and \(F(x) = 50x\). Then
\[W = \int_0^{0.5} 50x\,dx = \Big[25x^2\Big]_0^{0.5} = 25(0.25) = 6.25 \text{ J}.\]Watch out. \(x\) is measured from the natural length, not from the floor or the current stretch, and the limits are distances, not forces. Keep units consistent (meters with newtons give joules).
Worked example: pumping
A cylindrical tank of radius 2 m and height 5 m is full of water (weight density \(\rho g = 9800\) N/m3). Work to pump all of it out over the top: a slice at height \(y\) (measured from the bottom) with thickness \(dy\) has volume \(\pi(2)^2\,dy = 4\pi\,dy\), weight \(9800\cdot 4\pi\,dy = 39200\pi\,dy\) N, and must rise \(5 - y\) m.
\[W = \int_0^5 39200\pi\,(5 - y)\,dy = 39200\pi\Big[5y - \frac{y^2}{2}\Big]_0^5 = 39200\pi\,(12.5) = 490000\pi \approx 1.54\times 10^6 \text{ J}.\]Set these up as (weight of a slice) \(\times\) (distance that slice travels), integrated over the slices. Only the distance depends on where you put \(y = 0\); the answer does not.
The average value of f(x) on a ≤ x ≤ b. The mean value theorem for integrals says a continuous f attains this value at some c in [a, b]: f(c)(b − a) = ∫ba f(x) dx.
Worked example
Average value of \(f(x) = x^2\) on \([0, 3]\):
\[f_{\text{avg}} = \frac{1}{3 - 0}\int_0^3 x^2\,dx = \frac13\Big[\frac{x^3}{3}\Big]_0^3 = \frac13\cdot 9 = 3.\]It is attained where \(x^2 = 3\), at \(c = \sqrt{3} \approx 1.73\), which lies in \([0, 3]\) as the theorem promises. Note the answer is a function value (3), not an area (9): dividing by the length of the interval is the step students forget.
Improper Integrals
Applications of Integrals
Definition
An improper integral is an integral with one or more infinite limits and/or discontinuous integrands. The integral is called convergent if the limit exists and has a finite value and divergent if the limit does not exist or has infinite value.
- ∫∞a f(x) dx = limt→∞ ∫ta f(x) dx
- ∫b−∞ f(x) dx = limt→−∞ ∫bt f(x) dx
- ∫∞−∞ f(x) dx = ∫c−∞ f(x) dx + ∫∞c f(x) dx provided both integrals are convergent
- Discontinuity at a: ∫ba f(x) dx = limt→a+ ∫bt f(x) dx
- Discontinuity at b: ∫ba f(x) dx = limt→b− ∫ta f(x) dx
- Discontinuity at a < c < b: ∫ba f(x) dx = ∫ca f(x) dx + ∫bc f(x) dx provided both are convergent
Always split at an interior discontinuity. Integrating straight through one (as in ∫1−1 1⁄x2 dx = −2) gives nonsense: that integral diverges.
Worked examples
Infinite limit: \(\displaystyle\int_1^\infty \frac{dx}{x^2} = \lim_{t\to\infty}\int_1^t x^{-2}dx = \lim_{t\to\infty}\Big[-\frac1x\Big]_1^t = \lim_{t\to\infty}\Big(1 - \frac1t\Big) = 1\), convergent. Discontinuous integrand (at 0): \(\displaystyle\int_0^1 \frac{dx}{\sqrt{x}} = \lim_{t\to 0^+}\Big[2\sqrt{x}\Big]_t^1 = \lim_{t\to 0^+}(2 - 2\sqrt{t}) = 2\), convergent.
Watch out. Write the limit every time rather than plugging in \(\infty\); the limit is what decides convergence. An integrand like \(1/\sqrt{x}\) looks harmless at a finite endpoint, so always check whether the integrand is defined at both limits before using the Fundamental Theorem.
Comparison test and the p-integrals
- If ∫∞a f(x) dx is convergent then ∫∞a g(x) dx is convergent (if the larger converges so does the smaller).
- If ∫∞a g(x) dx is divergent then ∫∞a f(x) dx is divergent (if the smaller diverges so does the larger).
Use it when the integral cannot be computed directly: compare to a p-integral or an exponential.
How to apply it
- Guess convergence or divergence from the dominant term for large \(x\) (here \(\tfrac{1}{x^3 + 1}\) behaves like \(\tfrac{1}{x^3}\)).
- Write the inequality in the direction that helps: smaller than a convergent integral, or larger than a divergent one.
- Check the inequality holds on the whole interval and that both functions are \(\ge 0\) there.
- Name the known integral (usually a p-integral) and state the conclusion.
Example: \(\displaystyle\int_1^\infty \frac{dx}{x^3 + 1}\). For \(x \ge 1\), \(x^3 + 1 \gt x^3\), so \(0 \lt \dfrac{1}{x^3 + 1} \lt \dfrac{1}{x^3}\). Since \(\displaystyle\int_1^\infty \frac{dx}{x^3} = \frac12\) converges (\(p = 3 \gt 1\)), the given integral converges, and its value is less than \(\tfrac12\). Divergent example: \(\dfrac{2 + \sin x}{x} \ge \dfrac{1}{x}\) for \(x \ge 1\) and \(\displaystyle\int_1^\infty \frac{dx}{x}\) diverges, so \(\displaystyle\int_1^\infty \frac{2 + \sin x}{x}\,dx\) diverges.
Watch out. Showing an integrand is smaller than something divergent, or larger than something convergent, proves nothing. If the inequality comes out the useless way, try a different comparison function.
The dividing line is 1⁄x, whose integral is ln(x) and grows without bound. Near 0 the roles flip: ∫10 1⁄xp dx converges for p < 1 and diverges for p ≥ 1.
Approximating Definite Integrals
Applications of Integrals
Setup
For a given integral ∫ba f(x) dx and n (which must be even for Simpson’s rule), define Δx = (b − a)⁄n and divide [a, b] into n subintervals [x0, x1], [x1, x2], …, [xn−1, xn] with x0 = a and xn = b. Then:
- midpoint = rectangles whose height is the function at the center of each subinterval
- trapezoid = straight segments joining the sample points; the average of the left and right endpoint sums
- Simpson = parabolas through each pair of subintervals; the weights go 1, 4, 2, 4, …, 4, 1 and n must be even
Simpson’s rule is exact for cubics and is usually far more accurate than the other two for the same n.
K is any bound on |f″(x)| and M any bound on |f(4)(x)| on [a, b]. Doubling n cuts the midpoint and trapezoid errors by about 4 and Simpson’s by about 16.
For the example below, \(f(x) = x^2\) has \(f'' = 2\), so \(K = 2\) and \(|E_T| \le \dfrac{2\cdot 2^3}{12\cdot 4^2} = \dfrac{1}{12} \approx 0.083\), exactly the trapezoid error observed; \(f^{(4)} = 0\) gives \(M = 0\), so Simpson’s rule is exact.
- \(\Delta x = \dfrac{2 - 0}{4} = 0.5\); the endpoints are \(x_0, \ldots, x_4 = 0, 0.5, 1, 1.5, 2\) with \(f\) values \(0, 0.25, 1, 2.25, 4\).
- Midpoints are \(0.25, 0.75, 1.25, 1.75\) with \(f\) values \(0.0625, 0.5625, 1.5625, 3.0625\), which add to \(5.25\).
The midpoint rule is under by about 0.042, the trapezoid rule is over by about 0.083 (twice as far, on the other side, which is typical when \(f''\) keeps one sign), and Simpson’s rule is exact because \(x^2\) is a polynomial of degree at most 3.
Watch out. There are \(n + 1\) endpoints but only \(n\) midpoints. In Simpson’s rule the pattern \(1, 4, 2, 4, \ldots, 2, 4, 1\) must end on a 4 then a 1, which is only possible when \(n\) is even.
Set 1: limits and continuity
Calculus 1 · Practice problems 1 to 20
Problems 1 to 20
One hundred Calculus 1 problems: limits and continuity, derivative rules and related rates, applications of the derivative, the Fundamental Theorem and u-substitution, and applications of integrals. Each opens to a full worked solution with the answer highlighted; try it on paper first.
1Evaluate \(\displaystyle\lim_{x\to 2}\frac{x^2 + x - 6}{x^2 - 4}\).
Solution
Substituting \(x = 2\) gives \(\dfrac{4 + 2 - 6}{4 - 4} = \dfrac{0}{0}\), so the limit is not decided yet. A \(0/0\) form from two polynomials means they share the factor \(x - 2\). Factor both:
\[\frac{x^2 + x - 6}{x^2 - 4} = \frac{(x + 3)(x - 2)}{(x - 2)(x + 2)} = \frac{x + 3}{x + 2} \quad (x \ne 2).\]Cancelling is legal because a limit only looks at \(x\) near 2, never at \(x = 2\) itself. The simplified fraction is continuous at 2, so substitute:
\[\lim_{x\to 2}\frac{x + 3}{x + 2} = \frac{5}{4}.\]\(\dfrac{5}{4}\)
Review: ·
2Evaluate \(\displaystyle\lim_{x\to 5}\frac{\sqrt{x + 4} - 3}{x - 5}\).
Solution
At \(x = 5\) the numerator is \(\sqrt{9} - 3 = 0\) and the denominator is \(0\). With a square root the tool is the conjugate: multiply top and bottom by \(\sqrt{x + 4} + 3\).
\[\frac{\sqrt{x + 4} - 3}{x - 5}\cdot\frac{\sqrt{x + 4} + 3}{\sqrt{x + 4} + 3} = \frac{(x + 4) - 9}{(x - 5)\left(\sqrt{x + 4} + 3\right)} = \frac{x - 5}{(x - 5)\left(\sqrt{x + 4} + 3\right)}.\]Cancel \(x - 5\) and substitute:
\[\lim_{x\to 5}\frac{1}{\sqrt{x + 4} + 3} = \frac{1}{3 + 3} = \frac{1}{6}.\]\(\dfrac{1}{6}\)
Review:
3Evaluate (a) \(\displaystyle\lim_{x\to 0}\frac{\sin 4x}{7x}\) and (b) \(\displaystyle\lim_{x\to 0}\frac{\sin 5x}{\sin 2x}\).
Solution
Both rest on the special limit \(\displaystyle\lim_{u\to 0}\frac{\sin u}{u} = 1\). The trick is to make the argument of each sine match the quantity it is divided by.
(a) Multiply and divide by 4 so that \(\sin 4x\) sits over \(4x\):
\[\frac{\sin 4x}{7x} = \frac{4}{7}\cdot\frac{\sin 4x}{4x} \longrightarrow \frac{4}{7}\cdot 1 = \frac{4}{7}.\](b) Divide top and bottom by \(x\), then fix up each piece:
\[\frac{\sin 5x}{\sin 2x} = \frac{\dfrac{\sin 5x}{x}}{\dfrac{\sin 2x}{x}} = \frac{5\cdot\dfrac{\sin 5x}{5x}}{2\cdot\dfrac{\sin 2x}{2x}} \longrightarrow \frac{5\cdot 1}{2\cdot 1} = \frac{5}{2}.\]Rule of thumb: for small angles \(\sin(kx) \approx kx\), so the limit is the ratio of the coefficients.
(a) \(\dfrac{4}{7}\); (b) \(\dfrac{5}{2}\)
Review: ·
4Let \[f(x) = \begin{cases} 3x - 1 & \text{if } x \lt 1 \\ 4 & \text{if } x = 1 \\ x^2 + 2 & \text{if } x \gt 1. \end{cases}\] Find (a) \(\displaystyle\lim_{x\to 1^-} f(x)\), (b) \(\displaystyle\lim_{x\to 1^+} f(x)\), and (c) decide whether \(\displaystyle\lim_{x\to 1} f(x)\) exists.
Solution
A one-sided limit uses only the piece of the formula that applies on that side of 1. The value \(f(1) = 4\) plays no role in any limit.
(a) From the left, \(x \lt 1\), so \(f(x) = 3x - 1\):
\[\lim_{x\to 1^-} f(x) = 3(1) - 1 = 2.\](b) From the right, \(x \gt 1\), so \(f(x) = x^2 + 2\):
\[\lim_{x\to 1^+} f(x) = 1 + 2 = 3.\](c) The two-sided limit exists only when the one-sided limits agree. Here \(2 \ne 3\), so \(\lim_{x\to 1} f(x)\) does not exist. The graph jumps from height 2 up to height 3 at \(x = 1\), with an isolated dot at height 4; this is a jump discontinuity.
(a) \(2\); (b) \(3\); (c) does not exist, since the one-sided limits differ
Review: ·
5Evaluate (a) \(\displaystyle\lim_{x\to\infty}\frac{6x^2 - x + 1}{2x^2 + 5x}\), (b) \(\displaystyle\lim_{x\to\infty}\frac{4x + 1}{\sqrt{x^2 + 9}}\) and (c) \(\displaystyle\lim_{x\to -\infty}\frac{4x + 1}{\sqrt{x^2 + 9}}\).
Solution
(a) Divide every term by the highest power of \(x\) in the denominator, \(x^2\):
\[\frac{6x^2 - x + 1}{2x^2 + 5x} = \frac{6 - \dfrac{1}{x} + \dfrac{1}{x^2}}{2 + \dfrac{5}{x}} \longrightarrow \frac{6 - 0 + 0}{2 + 0} = 3.\](b) Under the root the dominant term is \(x^2\), and \(\sqrt{x^2} = |x|\). For \(x \to \infty\), \(|x| = x\):
\[\frac{4x + 1}{\sqrt{x^2 + 9}} = \frac{4x + 1}{x\sqrt{1 + 9/x^2}} = \frac{4 + 1/x}{\sqrt{1 + 9/x^2}} \longrightarrow \frac{4}{1} = 4.\](c) For \(x \to -\infty\) the same algebra applies, but now \(x\) is negative so \(\sqrt{x^2} = |x| = -x\):
\[\frac{4x + 1}{\sqrt{x^2 + 9}} = \frac{4x + 1}{-x\sqrt{1 + 9/x^2}} = \frac{4 + 1/x}{-\sqrt{1 + 9/x^2}} \longrightarrow -4.\]The function has two different horizontal asymptotes, \(y = 4\) on the right and \(y = -4\) on the left. Forgetting the sign of \(\sqrt{x^2}\) for negative \(x\) is the classic error here.
(a) \(3\); (b) \(4\); (c) \(-4\)
Review: ·
6Evaluate (a) \(\displaystyle\lim_{x\to 3^+}\frac{x + 1}{x - 3}\), (b) \(\displaystyle\lim_{x\to 3^-}\frac{x + 1}{x - 3}\) and (c) \(\displaystyle\lim_{x\to 3}\frac{x + 1}{(x - 3)^2}\). Answer \(\infty\), \(-\infty\) or a number.
Solution
At \(x = 3\) the numerator is \(4\) (not zero) and the denominator is \(0\). A nonzero number over a quantity shrinking to \(0\) blows up; the only question is the sign.
(a) For \(x\) slightly bigger than 3, \(x - 3\) is a small positive number, so the fraction is a positive number over a tiny positive number:
\[\lim_{x\to 3^+}\frac{x + 1}{x - 3} = +\infty.\](b) For \(x\) slightly less than 3, \(x - 3\) is a small negative number, and \(4\) divided by a tiny negative number is hugely negative:
\[\lim_{x\to 3^-}\frac{x + 1}{x - 3} = -\infty.\](c) \((x - 3)^2\) is positive on both sides of 3, so both one-sided limits are \(+\infty\) and therefore
\[\lim_{x\to 3}\frac{x + 1}{(x - 3)^2} = +\infty.\]In every case \(x = 3\) is a vertical asymptote. Writing \(\infty\) describes how the function fails to have a finite limit; it is not a number the function reaches.
(a) \(+\infty\); (b) \(-\infty\); (c) \(+\infty\)
Review:
7Find the value of \(k\) that makes \[f(x) = \begin{cases} kx^2 - 2 & \text{if } x \le 2 \\ 3x + k & \text{if } x \gt 2 \end{cases}\] continuous at \(x = 2\).
Solution
Each piece is a polynomial, so the only place continuity can fail is the seam \(x = 2\). Continuity there means the left limit, the right limit and the value \(f(2)\) all agree.
From the left (and this is also \(f(2)\), since the first piece includes \(x = 2\)):
\[\lim_{x\to 2^-} f(x) = k(2)^2 - 2 = 4k - 2.\]From the right:
\[\lim_{x\to 2^+} f(x) = 3(2) + k = 6 + k.\]Set them equal and solve:
\[4k - 2 = 6 + k\] \[\Longrightarrow\ 3k = 8\] \[\Longrightarrow\ k = \frac{8}{3}.\]Check: with \(k = 8/3\) both sides give \(\dfrac{32}{3} - 2 = \dfrac{26}{3}\) and \(6 + \dfrac{8}{3} = \dfrac{26}{3}\). The pieces meet.
\(k = \dfrac{8}{3}\)
Review:
8Let \(f(x) = x^3 - 3x - 5\). (a) Compute \(f(2)\) and \(f(3)\), and explain why the Intermediate Value Theorem guarantees a solution of \(f(x) = 0\) in \((2, 3)\). (b) Compute \(f(2.5)\) and decide which half of the interval, \((2, 2.5)\) or \((2.5, 3)\), must contain a root.
Solution
(a) Evaluate at the endpoints:
\[f(2) = 8 - 6 - 5 = -3\] \[f(3) = 27 - 9 - 5 = 13.\]\(f\) is a polynomial, so it is continuous on \([2, 3]\). Since \(f(2) \lt 0 \lt f(3)\), the number \(0\) lies between \(f(2)\) and \(f(3)\), and the Intermediate Value Theorem says a continuous function takes every value between its endpoint values. So there is some \(c\) in \((2, 3)\) with \(f(c) = 0\).
(b) Test the midpoint:
\[f(2.5) = 15.625 - 7.5 - 5 = 3.125 \gt 0.\]Now the sign change is between \(f(2) = -3\) and \(f(2.5) = 3.125\), so the IVT applied to \([2, 2.5]\) places a root in \((2, 2.5)\). On \([2.5, 3]\) both values are positive, so the IVT says nothing there. Repeating this halving is the bisection method.
(a) \(f(2) = -3\), \(f(3) = 13\); (b) \(f(2.5) = 3.125 \gt 0\), so the root is in \((2, 2.5)\)
Review:
9Let \(f(x) = \dfrac{x^2 - 1}{x^2 - 3x + 2}\). (a) Find \(\displaystyle\lim_{x\to 1} f(x)\). (b) Classify the discontinuity at \(x = 1\) as removable, jump or infinite. (c) Classify the discontinuity at \(x = 2\).
Solution
Factor first; the denominator is zero at \(x = 1\) and \(x = 2\), so those are the only candidates for discontinuities.
\[f(x) = \frac{(x - 1)(x + 1)}{(x - 1)(x - 2)} = \frac{x + 1}{x - 2} \quad (x \ne 1).\](a) After cancelling, substitute \(x = 1\):
\[\lim_{x\to 1} f(x) = \frac{1 + 1}{1 - 2} = -2.\](b) The limit at \(x = 1\) exists and is finite, but \(f(1)\) is undefined. That is a removable discontinuity: a hole at \((1, -2)\) that could be filled by defining \(f(1) = -2\).
(c) At \(x = 2\) the simplified form \(\dfrac{x + 1}{x - 2}\) has numerator \(3 \ne 0\) and denominator \(0\), so \(f(x) \to -\infty\) from the left and \(+\infty\) from the right. That is an infinite discontinuity (a vertical asymptote at \(x = 2\)).
(a) \(-2\); (b) removable (a hole at \((1, -2)\)); (c) infinite (vertical asymptote)
Review: ·
10(a) Suppose \(2x \le g(x) \le x^4 - x^2 + 2\) for all \(x\). Find \(\displaystyle\lim_{x\to 1} g(x)\). (b) Use the same idea to find \(\displaystyle\lim_{x\to 0} x^2\sin\!\left(\frac{1}{x}\right)\).
Solution
Both parts use the Squeeze Theorem: if \(h(x) \le g(x) \le k(x)\) near \(a\) and the outer functions have the same limit \(L\) at \(a\), then \(g\) is forced to have limit \(L\) too.
(a) Take the limits of the two bounds:
\[\lim_{x\to 1} 2x = 2\] \[\lim_{x\to 1}\left(x^4 - x^2 + 2\right) = 1 - 1 + 2 = 2.\]They agree, so \(\lim_{x\to 1} g(x) = 2\). Nothing else about \(g\) is needed.
(b) \(\sin(1/x)\) oscillates wildly near 0 and has no limit, but it is always between \(-1\) and \(1\). Multiply that inequality by \(x^2 \ge 0\):
\[-x^2 \le x^2\sin\!\left(\frac{1}{x}\right) \le x^2.\]Both bounds tend to \(0\) as \(x \to 0\), so the middle expression does too:
\[\lim_{x\to 0} x^2\sin\!\left(\frac{1}{x}\right) = 0.\]Note that the product rule for limits does not apply here, because \(\lim_{x\to 0}\sin(1/x)\) does not exist. The squeeze is what makes the argument work.
(a) \(2\); (b) \(0\)
Review:
11Suppose \(\displaystyle\lim_{x\to 3} f(x) = 4\) and \(\displaystyle\lim_{x\to 3} g(x) = -2\). Use the limit laws to find (a) \(\displaystyle\lim_{x\to 3}\frac{2f(x) - 3g(x)}{[g(x)]^2}\), (b) \(\displaystyle\lim_{x\to 3}\frac{\sqrt{f(x) + 5}}{g(x)}\) and (c) \(\displaystyle\lim_{x\to 3}\,[x + f(x)]\,g(x)\).
Solution
The limit laws say that sums, differences, products, quotients (with nonzero denominator limit) and roots of limits can be computed piece by piece. In effect, substitute the known limits.
(a)
\[\lim_{x\to 3}\frac{2f(x) - 3g(x)}{[g(x)]^2} = \frac{2(4) - 3(-2)}{(-2)^2} = \frac{8 + 6}{4} = \frac{14}{4} = \frac{7}{2}.\](b) The root law applies because \(f(x) + 5 \to 9 \gt 0\), and the quotient law because \(g(x) \to -2 \ne 0\):
\[\lim_{x\to 3}\frac{\sqrt{f(x) + 5}}{g(x)} = \frac{\sqrt{4 + 5}}{-2} = -\frac{3}{2}.\](c) Here \(\lim_{x\to 3} x = 3\) is also needed:
\[\lim_{x\to 3}\,[x + f(x)]\,g(x) = (3 + 4)(-2) = -14.\](a) \(\dfrac{7}{2}\); (b) \(-\dfrac{3}{2}\); (c) \(-14\)
Review:
12Evaluate \(\displaystyle\lim_{h\to 0}\frac{(2 + h)^3 - 8}{h}\).
Solution
At \(h = 0\) this is \(\dfrac{8 - 8}{0} = \dfrac{0}{0}\). Expand the cube:
\[(2 + h)^3 = 8 + 12h + 6h^2 + h^3.\]The 8 cancels, and every remaining term has a factor of \(h\):
\[\frac{(2 + h)^3 - 8}{h} = \frac{12h + 6h^2 + h^3}{h} = 12 + 6h + h^2 \quad (h \ne 0).\] \[\lim_{h\to 0}\left(12 + 6h + h^2\right) = 12.\]Worth noticing: this is the definition of the derivative \(f'(2)\) for \(f(x) = x^3\), and indeed \(f'(x) = 3x^2\) gives \(f'(2) = 12\).
\(12\)
Review: ·
13Let \(f(x) = \dfrac{|x + 2|}{x^2 - 4}\). Find (a) \(\displaystyle\lim_{x\to -2^-} f(x)\), (b) \(\displaystyle\lim_{x\to -2^+} f(x)\) and (c) \(\displaystyle\lim_{x\to -2} f(x)\) (write DNE if it does not exist).
Solution
An absolute value is a piecewise function, so split at the point where the inside changes sign: \(|x + 2| = x + 2\) for \(x \gt -2\) and \(|x + 2| = -(x + 2)\) for \(x \lt -2\). Also factor the denominator: \(x^2 - 4 = (x + 2)(x - 2)\).
(a) For \(x \lt -2\):
\[f(x) = \frac{-(x + 2)}{(x + 2)(x - 2)} = \frac{-1}{x - 2} \longrightarrow \frac{-1}{-4} = \frac{1}{4}.\](b) For \(x \gt -2\):
\[f(x) = \frac{x + 2}{(x + 2)(x - 2)} = \frac{1}{x - 2} \longrightarrow \frac{1}{-4} = -\frac{1}{4}.\](c) The one-sided limits are \(\tfrac{1}{4}\) and \(-\tfrac{1}{4}\). They differ, so the two-sided limit does not exist. The graph has a jump at \(x = -2\) even though both pieces are perfectly tame there.
(a) \(\dfrac{1}{4}\); (b) \(-\dfrac{1}{4}\); (c) DNE
Review: ·
14Evaluate \(\displaystyle\lim_{x\to 3}\frac{\dfrac{1}{x} - \dfrac{1}{3}}{x - 3}\).
Solution
This is a \(0/0\) form with a complex fraction on top. Combine the numerator over a common denominator:
\[\frac{1}{x} - \frac{1}{3} = \frac{3 - x}{3x}.\]So the whole expression is
\[\frac{\dfrac{3 - x}{3x}}{x - 3} = \frac{3 - x}{3x(x - 3)} = \frac{-(x - 3)}{3x(x - 3)} = -\frac{1}{3x} \quad (x \ne 3).\]The sign flip \(3 - x = -(x - 3)\) is where most mistakes happen. Now substitute:
\[\lim_{x\to 3}\left(-\frac{1}{3x}\right) = -\frac{1}{9}.\]Check: this limit is the derivative of \(1/x\) at \(x = 3\), and \(\dfrac{d}{dx}\dfrac{1}{x} = -\dfrac{1}{x^2}\) gives \(-\dfrac{1}{9}\).
\(-\dfrac{1}{9}\)
Review:
15Evaluate \(\displaystyle\lim_{x\to\infty}\left(\sqrt{x^2 + 6x} - x\right)\).
Solution
Both terms grow without bound, so this is an \(\infty - \infty\) form and cannot be read off directly. Multiply by the conjugate over itself to turn the difference into a quotient:
\[\sqrt{x^2 + 6x} - x = \frac{\left(\sqrt{x^2 + 6x} - x\right)\left(\sqrt{x^2 + 6x} + x\right)}{\sqrt{x^2 + 6x} + x} = \frac{(x^2 + 6x) - x^2}{\sqrt{x^2 + 6x} + x}\] \[= \frac{6x}{\sqrt{x^2 + 6x} + x}.\]Now divide top and bottom by \(x\) (positive, since \(x \to \infty\), so \(x = \sqrt{x^2}\)):
\[\frac{6x}{\sqrt{x^2 + 6x} + x} = \frac{6}{\sqrt{1 + 6/x} + 1} \longrightarrow \frac{6}{1 + 1} = 3.\]Sanity check with a large number: at \(x = 1000\), \(\sqrt{1{,}006{,}000} \approx 1002.996\), and the difference is about \(2.996\).
\(3\)
Review:
16Let \(f(x) = \dfrac{3x^2 + 1}{x^2 - 4}\). (a) Find \(\displaystyle\lim_{x\to\infty} f(x)\) (the horizontal asymptote). (b) Find all vertical asymptotes. (c) Find \(\displaystyle\lim_{x\to 2^-} f(x)\).
Solution
(a) Numerator and denominator have the same degree, so the limit is the ratio of leading coefficients:
\[\lim_{x\to\infty}\frac{3x^2 + 1}{x^2 - 4} = \lim_{x\to\infty}\frac{3 + 1/x^2}{1 - 4/x^2} = 3.\]The horizontal asymptote is \(y = 3\) (the same limit holds as \(x \to -\infty\)).
(b) Vertical asymptotes occur where the denominator is zero and the numerator is not: \(x^2 - 4 = (x - 2)(x + 2) = 0\) gives \(x = 2\) and \(x = -2\). The numerator \(3x^2 + 1\) is never zero, so nothing cancels and both are genuine asymptotes.
(c) As \(x \to 2^-\), the numerator tends to \(13 \gt 0\). For the denominator, \(x - 2\) is a small negative number and \(x + 2 \approx 4\) is positive, so \(x^2 - 4\) is a small negative number. Positive over tiny negative:
\[\lim_{x\to 2^-}\frac{3x^2 + 1}{x^2 - 4} = -\infty.\](a) \(3\); (b) \(x = -2\) and \(x = 2\); (c) \(-\infty\)
Review: ·
17Find the constants \(a\) and \(b\) that make \[f(x) = \begin{cases} x^2 + a & \text{if } x \le 1 \\ bx + 2 & \text{if } 1 \lt x \lt 3 \\ 4x - 1 & \text{if } x \ge 3 \end{cases}\] continuous everywhere.
Solution
Every piece is a polynomial, so continuity can only fail at the seams \(x = 1\) and \(x = 3\). Match the one-sided limits at each seam. Start at \(x = 3\), where only \(b\) appears.
At \(x = 3\): left limit \(3b + 2\), right limit (and value) \(4(3) - 1 = 11\):
\[3b + 2 = 11\] \[\Longrightarrow\ b = 3.\]At \(x = 1\): left limit (and value) \(1 + a\), right limit \(b(1) + 2 = 3 + 2 = 5\):
\[1 + a = 5\] \[\Longrightarrow\ a = 4.\]Check the seams with \(a = 4\), \(b = 3\): at \(x = 1\), \(1 + 4 = 5\) and \(3 + 2 = 5\); at \(x = 3\), \(9 + 2 = 11\) and \(12 - 1 = 11\). Both seams close.
\(a = 4\), \(b = 3\)
Review:
18A population of fish in a lake is modelled by \(P(t) = \dfrac{2000}{1 + 9e^{-0.3t}}\), where \(t\) is in years. (a) Find the initial population \(P(0)\). (b) Find \(\displaystyle\lim_{t\to\infty} P(t)\). (c) Which statement correctly interprets the limit in (b)?
Solution
(a) Substitute \(t = 0\), using \(e^0 = 1\):
\[P(0) = \frac{2000}{1 + 9(1)} = \frac{2000}{10} = 200 \text{ fish}.\](b) As \(t \to \infty\), the exponent \(-0.3t \to -\infty\), so \(e^{-0.3t} \to 0\). The denominator tends to \(1 + 0 = 1\):
\[\lim_{t\to\infty} P(t) = \frac{2000}{1 + 0} = 2000.\](c) The limit describes the long-run behaviour: the population grows (from 200) but levels off, approaching 2000 fish without ever exceeding it. In a logistic model this ceiling is called the carrying capacity of the lake. The line \(P = 2000\) is a horizontal asymptote of the graph.
(a) \(200\); (b) \(2000\); (c) the population levels off at 2000 (the carrying capacity)
Review: ·
19Evaluate \(\displaystyle\lim_{x\to 0}\frac{1 - \cos x}{x\sin x}\).
Solution
Direct substitution gives \(\dfrac{1 - 1}{0} = \dfrac{0}{0}\). The expression \(1 - \cos x\) pairs with its conjugate \(1 + \cos x\) to produce \(\sin^2 x\):
\[\frac{1 - \cos x}{x\sin x}\cdot\frac{1 + \cos x}{1 + \cos x} = \frac{1 - \cos^2 x}{x\sin x\,(1 + \cos x)} = \frac{\sin^2 x}{x\sin x\,(1 + \cos x)} = \frac{\sin x}{x}\cdot\frac{1}{1 + \cos x}.\]Now take the limit of each factor, using \(\displaystyle\lim_{x\to 0}\frac{\sin x}{x} = 1\) and \(\cos 0 = 1\):
\[\lim_{x\to 0}\frac{\sin x}{x}\cdot\frac{1}{1 + \cos x} = 1\cdot\frac{1}{1 + 1} = \frac{1}{2}.\]Alternative: write it as \(\dfrac{1 - \cos x}{x^2}\cdot\dfrac{x}{\sin x}\) and use the standard limit \(\dfrac{1 - \cos x}{x^2} \to \dfrac{1}{2}\).
\(\dfrac{1}{2}\)
Review:
20(a) Find the value of \(k\) for which \(\displaystyle\lim_{x\to 2}\frac{x^2 + kx - 10}{x - 2}\) exists. (b) With that value of \(k\), evaluate the limit.
Solution
As \(x \to 2\) the denominator tends to \(0\). If the numerator tended to anything other than \(0\), the quotient would blow up and the limit could not exist. So the numerator must vanish at \(x = 2\):
\[2^2 + 2k - 10 = 0\] \[\Longrightarrow\ 2k = 6\] \[\Longrightarrow\ k = 3.\]With \(k = 3\) the numerator is \(x^2 + 3x - 10 = (x + 5)(x - 2)\), and the factor \(x - 2\) cancels:
\[\lim_{x\to 2}\frac{(x + 5)(x - 2)}{x - 2} = \lim_{x\to 2}(x + 5) = 7.\]The lesson: a finite limit of a \(\dfrac{\text{something}}{0}\) form is only possible when the top is also \(0\), and then the common factor can be removed.
\(k = 3\); the limit is \(7\)
Review: ·
Set 2: derivative rules, implicit differentiation and related rates
Calculus 1 · Practice problems 21 to 50
Problems 21 to 50
One hundred Calculus 1 problems: limits and continuity, derivative rules and related rates, applications of the derivative, the Fundamental Theorem and u-substitution, and applications of integrals. Each opens to a full worked solution with the answer highlighted; try it on paper first.
21Let \(f(x) = x^2 - 3x\). (a) Use the limit definition of the derivative to find \(f'(x)\). (b) Find \(f'(2)\).
Solution
(a) The definition is \(f'(x) = \displaystyle\lim_{h\to 0}\frac{f(x + h) - f(x)}{h}\). First compute \(f(x + h)\) carefully:
\[f(x + h) = (x + h)^2 - 3(x + h) = x^2 + 2xh + h^2 - 3x - 3h.\]Subtract \(f(x) = x^2 - 3x\); the terms without \(h\) cancel:
\[f(x + h) - f(x) = 2xh + h^2 - 3h = h(2x + h - 3).\]Divide by \(h\) and let \(h \to 0\):
\[f'(x) = \lim_{h\to 0}\frac{h(2x + h - 3)}{h} = \lim_{h\to 0}(2x + h - 3) = 2x - 3.\](b) \(f'(2) = 2(2) - 3 = 1\). The tangent line at \(x = 2\) has slope 1. (The power rule confirms \(f'(x) = 2x - 3\).)
(a) \(f'(x) = 2x - 3\); (b) \(f'(2) = 1\)
Review: ·
22Let \(f(x) = \dfrac{1}{x + 1}\). (a) Use the limit definition of the derivative to find \(f'(x)\). (b) Give the slope of the tangent line to the graph at \(x = 1\).
Solution
Set up the difference quotient and combine the two fractions in the numerator:
\[\frac{f(x + h) - f(x)}{h} = \frac{1}{h}\left(\frac{1}{x + h + 1} - \frac{1}{x + 1}\right) = \frac{1}{h}\cdot\frac{(x + 1) - (x + h + 1)}{(x + h + 1)(x + 1)}.\]The numerator simplifies to \(-h\), which cancels the \(h\) in front:
\[\frac{1}{h}\cdot\frac{-h}{(x + h + 1)(x + 1)} = \frac{-1}{(x + h + 1)(x + 1)}.\]Now let \(h \to 0\):
\[f'(x) = \lim_{h\to 0}\frac{-1}{(x + h + 1)(x + 1)} = -\frac{1}{(x + 1)^2}.\]At \(x = 1\) the slope is \(f'(1) = -\dfrac{1}{4}\). As a check, the chain rule on \((x + 1)^{-1}\) gives \(-(x + 1)^{-2}\), the same thing.
\(f'(x) = -\dfrac{1}{(x + 1)^2}\); slope at \(x = 1\) is \(-\dfrac{1}{4}\)
Review:
23Let \(f(x) = 4x^3 - \dfrac{2}{x^2} + 3\sqrt{x} - 7\). (a) Find \(f'(x)\). (b) Find \(f'(1)\).
Solution
(a) Rewrite every term as a power of \(x\) so the power rule applies to each one:
\[f(x) = 4x^3 - 2x^{-2} + 3x^{1/2} - 7.\]Differentiate term by term with \(\dfrac{d}{dx}x^n = nx^{n-1}\); the constant \(-7\) has derivative 0:
\[f'(x) = 12x^2 + 4x^{-3} + \frac{3}{2}x^{-1/2} = 12x^2 + \frac{4}{x^3} + \frac{3}{2\sqrt{x}}.\]Watch the sign on the second term: \(-2\cdot(-2) = +4\).
(b) At \(x = 1\) every power of \(x\) is 1:
\[f'(1) = 12 + 4 + \frac{3}{2} = \frac{35}{2} = 17.5.\](a) \(f'(x) = 12x^2 + \dfrac{4}{x^3} + \dfrac{3}{2\sqrt{x}}\); (b) \(f'(1) = \dfrac{35}{2}\)
Review: ·
24Let \(f(x) = x^2 e^x\). (a) Find \(f'(x)\). (b) Find all \(x\) where the tangent line to the graph is horizontal.
Solution
(a) This is a product of \(u = x^2\) and \(v = e^x\), so use the product rule \((uv)' = u'v + uv'\):
\[f'(x) = 2x\cdot e^x + x^2\cdot e^x = e^x\left(x^2 + 2x\right).\]Factoring out \(e^x\) is worth doing: it makes the next part easy.
(b) A horizontal tangent means \(f'(x) = 0\). Since \(e^x\) is never zero, we need
\[x^2 + 2x = x(x + 2) = 0\] \[\Longrightarrow\ x = 0 \text{ or } x = -2.\]At \(x = 0\) the graph touches the \(x\)-axis (a local minimum, \(f(0) = 0\)); at \(x = -2\) there is a local maximum, \(f(-2) = 4e^{-2} \approx 0.54\).
(a) \(f'(x) = e^x(x^2 + 2x)\); (b) \(x = -2\) and \(x = 0\)
Review: ·
25Let \(g(x) = \dfrac{2x + 1}{x^2 + 3}\). (a) Find \(g'(x)\), simplified. (b) Find \(g'(1)\).
Solution
(a) Quotient rule, with top \(u = 2x + 1\) and bottom \(v = x^2 + 3\):
\[g'(x) = \frac{u'v - uv'}{v^2} = \frac{2(x^2 + 3) - (2x + 1)(2x)}{(x^2 + 3)^2}.\]Expand the numerator only; leave the denominator squared:
\[2x^2 + 6 - 4x^2 - 2x = -2x^2 - 2x + 6\] \[g'(x) = \frac{-2x^2 - 2x + 6}{(x^2 + 3)^2} = \frac{-2(x^2 + x - 3)}{(x^2 + 3)^2}.\](b)
\[g'(1) = \frac{-2 - 2 + 6}{(1 + 3)^2} = \frac{2}{16} = \frac{1}{8}.\]The order in the numerator matters: it is (derivative of top)(bottom) minus (top)(derivative of bottom).
(a) \(g'(x) = \dfrac{-2x^2 - 2x + 6}{(x^2 + 3)^2}\); (b) \(g'(1) = \dfrac{1}{8}\)
Review:
26Differentiate (a) \(y = (3x^2 - 5)^4\) and (b) \(y = \dfrac{1}{(2x - 1)^3}\).
Solution
Both are compositions: an outside function applied to an inside function. The chain rule says to differentiate the outside, keep the inside unchanged, then multiply by the derivative of the inside.
(a) Outside: \(u^4\), inside: \(u = 3x^2 - 5\) with \(u' = 6x\).
\[\frac{dy}{dx} = 4(3x^2 - 5)^3\cdot 6x = 24x\,(3x^2 - 5)^3.\](b) Rewrite with a negative exponent: \(y = (2x - 1)^{-3}\). Outside: \(u^{-3}\), inside: \(u = 2x - 1\) with \(u' = 2\).
\[\frac{dy}{dx} = -3(2x - 1)^{-4}\cdot 2 = -\frac{6}{(2x - 1)^4}.\]The most common slip is forgetting the inside derivative (the \(6x\) in (a), the \(2\) in (b)).
(a) \(24x(3x^2 - 5)^3\); (b) \(-\dfrac{6}{(2x - 1)^4}\)
Review:
27Let \(f(x) = x\sin x + \cos x\). (a) Find and simplify \(f'(x)\). (b) Find \(f'(\pi)\).
Solution
(a) The first term is a product, so use the product rule; the second term is a standard derivative:
\[\frac{d}{dx}\left[x\sin x\right] = 1\cdot\sin x + x\cos x\] \[\frac{d}{dx}\left[\cos x\right] = -\sin x.\]Add them; the \(\sin x\) terms cancel:
\[f'(x) = \sin x + x\cos x - \sin x = x\cos x.\](b) \(\cos\pi = -1\), so
\[f'(\pi) = \pi\cos\pi = -\pi.\]This function is built so that its derivative is tidy; it is the antiderivative of \(x\cos x\), which shows up again in Calculus 2.
(a) \(f'(x) = x\cos x\); (b) \(f'(\pi) = -\pi\)
Review:
28Differentiate (a) \(y = \tan 3x\) and (b) \(y = \sin^3(2x)\).
Solution
(a) The derivative of \(\tan u\) is \(\sec^2 u\cdot u'\). With \(u = 3x\), \(u' = 3\):
\[\frac{dy}{dx} = 3\sec^2(3x).\](b) \(\sin^3(2x)\) means \((\sin 2x)^3\): three layers. Outermost is the cube, then the sine, then \(2x\). Peel them one at a time:
\[\frac{dy}{dx} = 3(\sin 2x)^2\cdot\cos 2x\cdot 2 = 6\sin^2(2x)\cos(2x).\]Read it as: power rule on the cube, times derivative of sine (cosine of the same thing), times derivative of \(2x\).
(a) \(3\sec^2(3x)\); (b) \(6\sin^2(2x)\cos(2x)\)
Review: ·
29(a) Find \(f'(x)\) for \(f(x) = xe^{-2x}\) and the \(x\)-value where the graph has a horizontal tangent. (b) Find \(g'(x)\) for \(g(x) = 3^{2x}\).
Solution
(a) Product rule with \(u = x\), \(v = e^{-2x}\). By the chain rule \(v' = -2e^{-2x}\):
\[f'(x) = 1\cdot e^{-2x} + x\cdot(-2e^{-2x}) = e^{-2x}(1 - 2x).\]Since \(e^{-2x} \gt 0\) always, \(f'(x) = 0\) exactly when \(1 - 2x = 0\), i.e. at \(x = \dfrac{1}{2}\). (That is the maximum of \(f\); \(f(1/2) = \dfrac{1}{2e}\).)
(b) For a base other than \(e\), \(\dfrac{d}{dx}a^u = a^u\ln a\cdot u'\). With \(a = 3\) and \(u = 2x\):
\[g'(x) = 3^{2x}\ln 3\cdot 2 = 2\ln 3\cdot 3^{2x}.\]Equivalently, \(3^{2x} = 9^x\), whose derivative is \(9^x\ln 9 = 2\ln 3\cdot 9^x\), the same thing.
(a) \(f'(x) = e^{-2x}(1 - 2x)\), horizontal tangent at \(x = \tfrac{1}{2}\); (b) \(g'(x) = 2\ln 3\cdot 3^{2x}\)
Review: ·
30Differentiate (a) \(y = \ln(x^2 + 1)\), (b) \(y = x^2\ln x\) and (c) \(y = \ln(\cos x)\).
Solution
The key fact is \(\dfrac{d}{dx}\ln u = \dfrac{u'}{u}\): the derivative of the inside over the inside.
(a) \(u = x^2 + 1\), \(u' = 2x\):
\[\frac{dy}{dx} = \frac{2x}{x^2 + 1}.\](b) Product rule:
\[\frac{dy}{dx} = 2x\ln x + x^2\cdot\frac{1}{x} = 2x\ln x + x = x(2\ln x + 1).\](c) \(u = \cos x\), \(u' = -\sin x\):
\[\frac{dy}{dx} = \frac{-\sin x}{\cos x} = -\tan x.\]Part (c) is the reason \(\int\tan x\,dx = -\ln|\cos x| + C\).
(a) \(\dfrac{2x}{x^2 + 1}\); (b) \(2x\ln x + x\); (c) \(-\tan x\)
Review:
31Let \(f(x) = x^3 - 4x + 1\). Find the equation of (a) the tangent line and (b) the normal line to the graph at \(x = 2\). Write each in the form \(y = mx + b\).
Solution
A line needs a point and a slope. The point is \((2, f(2))\):
\[f(2) = 8 - 8 + 1 = 1.\]The slope of the tangent is the derivative at 2:
\[f'(x) = 3x^2 - 4\] \[f'(2) = 12 - 4 = 8.\](a) Point-slope form, then solve for \(y\):
\[y - 1 = 8(x - 2)\] \[\Longrightarrow\ y = 8x - 15.\](b) The normal line is perpendicular to the tangent, so its slope is the negative reciprocal, \(-\dfrac{1}{8}\):
\[y - 1 = -\frac{1}{8}(x - 2)\] \[\Longrightarrow\ y = -\frac{1}{8}x + \frac{5}{4}.\](a) \(y = 8x - 15\); (b) \(y = -\dfrac{1}{8}x + \dfrac{5}{4}\)
Review:
32Let \(f(x) = 2x^3 - 3x^2 - 12x + 5\). (a) Find all \(x\) at which the graph has a horizontal tangent line. (b) Find the equation of the tangent line at \(x = 0\).
Solution
(a) Horizontal tangent means slope zero, so solve \(f'(x) = 0\):
\[f'(x) = 6x^2 - 6x - 12 = 6(x^2 - x - 2) = 6(x - 2)(x + 1).\]So \(f'(x) = 0\) at \(x = -1\) and \(x = 2\). (The corresponding points are \((-1, 12)\) and \((2, -15)\), a local maximum and a local minimum.)
(b) At \(x = 0\): \(f(0) = 5\) and \(f'(0) = -12\).
\[y - 5 = -12(x - 0)\] \[\Longrightarrow\ y = -12x + 5.\]Check that \(-12\) is between the two zeros of \(f'\): the graph is falling at \(x = 0\), as it should be between a local max at \(-1\) and a local min at \(2\).
(a) \(x = -1\) and \(x = 2\); (b) \(y = -12x + 5\)
Review: ·
33(a) Find all values of \(a\) for which the tangent line to \(y = x^2\) at the point \((a, a^2)\) passes through \((1, -3)\). Then write the equation of the tangent line, in the form \(y = mx + b\), (b) for the smaller value of \(a\) and (c) for the larger value of \(a\).
Solution
The slope of \(y = x^2\) at \(x = a\) is \(2a\), so the tangent line at \((a, a^2)\) is
\[y - a^2 = 2a(x - a)\] \[\Longrightarrow\ y = 2ax - a^2.\]Require the point \((1, -3)\) to satisfy this equation:
\[-3 = 2a(1) - a^2\] \[\Longrightarrow\ a^2 - 2a - 3 = 0\] \[\Longrightarrow\ (a - 3)(a + 1) = 0.\]So \(a = -1\) or \(a = 3\). Two tangent lines pass through \((1, -3)\), which makes sense: the point lies below the parabola, so there are two lines of sight that just graze it.
With \(a = -1\): \(y = 2(-1)x - 1 = -2x - 1\). With \(a = 3\): \(y = 6x - 9\). Both give \(y = -3\) at \(x = 1\).
\(a = -1\) and \(a = 3\); the lines are \(y = -2x - 1\) and \(y = 6x - 9\)
Review:
34Let \(f(x) = 2x^4 - x^3 + 5x\). (a) Find \(f''(x)\). (b) Find \(f'''(2)\).
Solution
Higher derivatives are found by differentiating repeatedly.
\[f'(x) = 8x^3 - 3x^2 + 5.\](a) Differentiate again:
\[f''(x) = 24x^2 - 6x.\](b) One more time, then substitute:
\[f'''(x) = 48x - 6\] \[f'''(2) = 96 - 6 = 90.\]Each derivative of a polynomial drops the degree by one; the fourth derivative here is the constant \(48\), and the fifth is \(0\).
(a) \(f''(x) = 24x^2 - 6x\); (b) \(f'''(2) = 90\)
Review:
35A particle moves along a line with position \(s(t) = t^3 - 6t^2 + 9t\) metres at time \(t \ge 0\) seconds. (a) At what times is the particle at rest? (b) On what time interval is the particle moving to the left (negative direction)? (c) Find the acceleration at \(t = 4\).
Solution
Velocity is the derivative of position and acceleration is the derivative of velocity:
\[v(t) = s'(t) = 3t^2 - 12t + 9 = 3(t^2 - 4t + 3) = 3(t - 1)(t - 3)\] \[a(t) = v'(t) = 6t - 12.\](a) At rest means \(v(t) = 0\): \(t = 1\) s and \(t = 3\) s.
(b) Moving left means \(v(t) \lt 0\). The factored form \(3(t - 1)(t - 3)\) is negative exactly when \(t\) is between the roots. Check \(t = 2\): \(v(2) = 3(1)(-1) = -3 \lt 0\). So the particle moves left on \((1, 3)\), and right on \([0, 1)\) and \((3, \infty)\).
(c)
\[a(4) = 6(4) - 12 = 12 \text{ m/s}^2.\]At \(t = 4\) both \(v(4) = 9\) and \(a(4) = 12\) are positive, so the particle is moving right and speeding up.
(a) \(t = 1\) and \(t = 3\); (b) \((1, 3)\); (c) \(12\) m/s\(^2\)
Review:
36The curve \(x^2 + xy + y^2 = 7\) passes through \((1, 2)\). (a) Use implicit differentiation to find \(\dfrac{dy}{dx}\) in terms of \(x\) and \(y\). (b) Find the slope of the curve at \((1, 2)\).
Solution
(a) Differentiate both sides with respect to \(x\), remembering that \(y\) is a function of \(x\): every \(y\) term produces a factor \(y'\) by the chain rule, and \(xy\) needs the product rule.
\[2x + \left(1\cdot y + x\,y'\right) + 2y\,y' = 0.\]Collect the \(y'\) terms on one side and factor:
\[y'(x + 2y) = -(2x + y)\] \[\Longrightarrow\ \frac{dy}{dx} = -\frac{2x + y}{x + 2y}.\](b) First confirm the point is on the curve: \(1 + 2 + 4 = 7\). Then substitute:
\[\left.\frac{dy}{dx}\right|_{(1, 2)} = -\frac{2 + 2}{1 + 4} = -\frac{4}{5}.\](a) \(\dfrac{dy}{dx} = -\dfrac{2x + y}{x + 2y}\); (b) \(-\dfrac{4}{5}\)
Review:
37The point \((2, 4)\) lies on the curve \(x^3 + y^3 = 9xy\). (a) Find the slope of the curve at \((2, 4)\). (b) Write the equation of the tangent line there in the form \(y = mx + b\).
Solution
(a) Check the point: \(8 + 64 = 72\) and \(9(2)(4) = 72\). Now differentiate implicitly (product rule on the right):
\[3x^2 + 3y^2\,y' = 9y + 9x\,y'.\]Gather the \(y'\) terms:
\[3y^2\,y' - 9x\,y' = 9y - 3x^2\] \[\Longrightarrow\ y' = \frac{9y - 3x^2}{3y^2 - 9x} = \frac{3y - x^2}{y^2 - 3x}.\]Substitute \(x = 2\), \(y = 4\):
\[y' = \frac{12 - 4}{16 - 6} = \frac{8}{10} = \frac{4}{5}.\](b) Point-slope form through \((2, 4)\):
\[y - 4 = \frac{4}{5}(x - 2)\] \[\Longrightarrow\ y = \frac{4}{5}x + \frac{12}{5}.\]It is usually easier to plug in the point before simplifying the formula for \(y'\); here \(3(4) + 3(16)y' = 36 + 18y'\) gives \(30y' = 24\) directly.
(a) \(\dfrac{4}{5}\); (b) \(y = \dfrac{4}{5}x + \dfrac{12}{5}\)
Review: ·
38The curve \(e^y + xy = e\) passes through \((0, 1)\). (a) Find \(\dfrac{dy}{dx}\) in terms of \(x\) and \(y\). (b) Find \(\dfrac{dy}{dx}\) at \((0, 1)\).
Solution
(a) Differentiate with respect to \(x\). The derivative of \(e^y\) is \(e^y\,y'\) by the chain rule, \(xy\) needs the product rule, and the constant \(e\) has derivative 0:
\[e^y\,y' + y + x\,y' = 0.\]Solve for \(y'\):
\[y'\left(e^y + x\right) = -y\] \[\Longrightarrow\ \frac{dy}{dx} = -\frac{y}{e^y + x}.\](b) The point checks: \(e^1 + 0 = e\). Substituting \(x = 0\), \(y = 1\):
\[\left.\frac{dy}{dx}\right|_{(0, 1)} = -\frac{1}{e + 0} = -\frac{1}{e} \approx -0.368.\](a) \(\dfrac{dy}{dx} = -\dfrac{y}{e^y + x}\); (b) \(-\dfrac{1}{e} \approx -0.368\)
Review: ·
39For the circle \(x^2 + y^2 = 25\), find (a) \(\dfrac{dy}{dx}\) and (b) \(\dfrac{d^2y}{dx^2}\) at the point \((3, 4)\).
Solution
(a) Differentiate implicitly:
\[2x + 2y\,y' = 0\] \[\Longrightarrow\ y' = -\frac{x}{y}.\]At \((3, 4)\): \(y' = -\dfrac{3}{4}\). (The radius to \((3, 4)\) has slope \(4/3\), and the tangent is perpendicular to it.)
(b) Differentiate \(y' = -x/y\) with the quotient rule, remembering \(y\) depends on \(x\):
\[y'' = -\frac{1\cdot y - x\,y'}{y^2} = -\frac{y - x\left(-\dfrac{x}{y}\right)}{y^2} = -\frac{y + \dfrac{x^2}{y}}{y^2} = -\frac{y^2 + x^2}{y^3}.\]On the circle \(x^2 + y^2 = 25\), so \(y'' = -\dfrac{25}{y^3}\). At \((3, 4)\):
\[y'' = -\frac{25}{64}.\]The negative sign says the upper half of the circle is concave down, as expected.
(a) \(-\dfrac{3}{4}\); (b) \(-\dfrac{25}{64}\)
Review:
40Let \(y = x^x\) for \(x \gt 0\). (a) Use logarithmic differentiation to find \(\dfrac{dy}{dx}\). (b) Find the slope of the graph at \(x = 1\). (c) Find the \(x\)-value where the tangent is horizontal.
Solution
Neither the power rule nor the exponential rule applies: the base and the exponent both contain \(x\). Take the natural log of both sides first.
(a)
\[\ln y = \ln\left(x^x\right) = x\ln x.\]Differentiate both sides with respect to \(x\) (chain rule on the left, product rule on the right):
\[\frac{1}{y}\,\frac{dy}{dx} = \ln x + x\cdot\frac{1}{x} = \ln x + 1.\] \[\frac{dy}{dx} = y(\ln x + 1) = x^x(\ln x + 1).\](b) At \(x = 1\): \(1^1(\ln 1 + 1) = 1\cdot(0 + 1) = 1\).
(c) \(x^x \gt 0\), so the derivative is zero only when \(\ln x + 1 = 0\), i.e. \(\ln x = -1\), \(x = e^{-1} = \dfrac{1}{e} \approx 0.368\). This is where \(x^x\) reaches its minimum value, about \(0.692\).
(a) \(\dfrac{dy}{dx} = x^x(\ln x + 1)\); (b) \(1\); (c) \(x = \dfrac{1}{e}\)
Review: ·
41Let \(y = \dfrac{(x + 1)^2\sqrt{x^2 + 3}}{(2x - 1)^3}\). (a) Use logarithmic differentiation to find \(\dfrac{y'}{y}\) as a sum of simple fractions. (b) Find \(y'(1)\).
Solution
Products, quotients and powers all become sums, differences and multiples after taking a logarithm, which avoids a nested product and quotient rule.
(a) Take \(\ln\) of both sides and expand with the log rules:
\[\ln y = 2\ln(x + 1) + \tfrac{1}{2}\ln\left(x^2 + 3\right) - 3\ln(2x - 1).\]Differentiate each term with \((\ln u)' = u'/u\):
\[\frac{y'}{y} = \frac{2}{x + 1} + \frac{1}{2}\cdot\frac{2x}{x^2 + 3} - 3\cdot\frac{2}{2x - 1} = \frac{2}{x + 1} + \frac{x}{x^2 + 3} - \frac{6}{2x - 1}.\](b) \(y' = y\cdot\dfrac{y'}{y}\). At \(x = 1\):
\[y(1) = \frac{(2)^2\sqrt{4}}{(1)^3} = \frac{4\cdot 2}{1} = 8\] \[\left.\frac{y'}{y}\right|_{x=1} = \frac{2}{2} + \frac{1}{4} - \frac{6}{1} = -\frac{19}{4}.\] \[y'(1) = 8\cdot\left(-\frac{19}{4}\right) = -38.\](a) \(\dfrac{y'}{y} = \dfrac{2}{x + 1} + \dfrac{x}{x^2 + 3} - \dfrac{6}{2x - 1}\); (b) \(y'(1) = -38\)
Review:
42Find the constants \(a\) and \(b\) so that \[f(x) = \begin{cases} x^2 & \text{if } x \le 1 \\ ax + b & \text{if } x \gt 1 \end{cases}\] is differentiable at \(x = 1\).
Solution
Differentiable at 1 requires two things: the function must be continuous there (the pieces meet), and the slopes from the two sides must agree (no corner).
Continuity at \(x = 1\): the left piece gives \(1^2 = 1\) and the right piece gives \(a + b\):
\[a + b = 1.\]Matching slopes: the derivative of \(x^2\) at 1 is \(2(1) = 2\), and the derivative of \(ax + b\) is \(a\):
\[a = 2.\]Then \(b = 1 - 2 = -1\). So the line \(y = 2x - 1\) continues the parabola smoothly: it is exactly the tangent line to \(y = x^2\) at \((1, 1)\), which is why the join has no corner.
\(a = 2\), \(b = -1\)
Review: ·
43Two differentiable functions \(f\) and \(g\) have the following values at \(x = 1\) and \(x = 2\): \(f(1) = 2\), \(f'(1) = -3\), \(g(1) = 2\), \(g'(1) = 6\); and \(f(2) = 5\), \(f'(2) = 4\), \(g(2) = 1\), \(g'(2) = -2\). Find (a) \(h'(1)\) where \(h(x) = f(g(x))\), (b) \(k'(2)\) where \(k(x) = f(x)g(x)\), and (c) \(q'(1)\) where \(q(x) = \dfrac{f(x)}{g(x)}\).
Solution
No formulas are given, so apply the rules symbolically and then substitute the given values.
(a) Chain rule: \(h'(x) = f'(g(x))\cdot g'(x)\). At \(x = 1\), \(g(1) = 2\), so we need \(f'\) at 2, not at 1:
\[h'(1) = f'(g(1))\cdot g'(1) = f'(2)\cdot 6 = 4\cdot 6 = 24.\](b) Product rule at \(x = 2\):
\[k'(2) = f'(2)g(2) + f(2)g'(2) = (4)(1) + (5)(-2) = 4 - 10 = -6.\](c) Quotient rule at \(x = 1\):
\[q'(1) = \frac{f'(1)g(1) - f(1)g'(1)}{[g(1)]^2} = \frac{(-3)(2) - (2)(6)}{2^2} = \frac{-6 - 12}{4} = -\frac{9}{2}.\](a) \(24\); (b) \(-6\); (c) \(-\dfrac{9}{2}\)
Review:
44A cup of coffee cools according to \(T(t) = 20 + 70e^{-0.1t}\), where \(T\) is the temperature in degrees Celsius and \(t\) is the time in minutes. (a) Find \(T'(t)\). (b) Find \(T'(10)\) to three decimals. (c) Which statement correctly interprets \(T'(10)\)?
Solution
(a) The constant 20 differentiates to 0, and the chain rule handles the exponential:
\[T'(t) = 70\cdot(-0.1)e^{-0.1t} = -7e^{-0.1t}.\](b)
\[T'(10) = -7e^{-1} = -\frac{7}{e} \approx -2.575.\](c) \(T'(10)\) is a rate: degrees per minute. Its units and sign say that at the 10-minute mark the temperature is falling at about \(2.6^\circ\)C per minute. It is not the temperature itself (that is \(T(10) \approx 45.8^\circ\)C) and it is not a total change. The rate is smaller than at \(t = 0\), when \(T'(0) = -7\): cooling slows as the coffee approaches the room temperature of \(20^\circ\)C.
(a) \(T'(t) = -7e^{-0.1t}\); (b) \(T'(10) = -7/e \approx -2.575\); (c) at \(t = 10\) the temperature is falling at about \(2.6^\circ\)C per minute
Review: ·
45A 13-foot ladder leans against a vertical wall. The bottom of the ladder slides away from the wall at 2 ft/s. How fast is the top of the ladder sliding down the wall when the bottom is 5 feet from the wall? Give the rate at which the height decreases, as a positive number.
Solution
Let \(x\) be the distance from the wall to the bottom of the ladder and \(y\) the height of the top, both functions of time. The ladder is the hypotenuse of a right triangle, so at every moment
\[x^2 + y^2 = 13^2 = 169.\]Differentiate with respect to \(t\) (chain rule on each variable):
\[2x\,\frac{dx}{dt} + 2y\,\frac{dy}{dt} = 0\] \[\Longrightarrow\ \frac{dy}{dt} = -\frac{x}{y}\,\frac{dx}{dt}.\]Only now substitute the values at the instant in question. When \(x = 5\), \(y = \sqrt{169 - 25} = 12\), and \(dx/dt = 2\):
\[\frac{dy}{dt} = -\frac{5}{12}(2) = -\frac{5}{6} \text{ ft/s}.\]The negative sign means \(y\) is decreasing: the top slides down at \(\dfrac{5}{6} \approx 0.83\) ft/s. Substituting \(x = 5\) and \(y = 12\) before differentiating would wrongly give \(0 = 0\); the relation must be differentiated while the quantities are still variables.
The top slides down at \(\dfrac{5}{6} \approx 0.83\) ft/s (\(dy/dt = -5/6\))
Review:
46Water is pumped into an inverted conical tank (vertex at the bottom) at 10 cubic feet per minute. The tank is 12 feet tall and 6 feet in radius at the top. How fast is the water level rising when the water is 4 feet deep? Give an exact answer and a decimal to two places.
Solution
Let \(h\) be the depth of the water and \(r\) the radius of its surface, both changing with time. The water forms a cone similar to the tank, so
\[\frac{r}{h} = \frac{6}{12}\] \[\Longrightarrow\ r = \frac{h}{2}.\]Use this to write the volume in terms of \(h\) alone:
\[V = \frac{1}{3}\pi r^2 h = \frac{1}{3}\pi\left(\frac{h}{2}\right)^2 h = \frac{\pi h^3}{12}.\]Differentiate with respect to \(t\):
\[\frac{dV}{dt} = \frac{\pi}{12}\cdot 3h^2\,\frac{dh}{dt} = \frac{\pi h^2}{4}\,\frac{dh}{dt}.\]Substitute \(dV/dt = 10\) and \(h = 4\):
\[10 = \frac{\pi(16)}{4}\,\frac{dh}{dt} = 4\pi\,\frac{dh}{dt}\] \[\Longrightarrow\ \frac{dh}{dt} = \frac{10}{4\pi} = \frac{5}{2\pi} \approx 0.80 \text{ ft/min}.\]Eliminating \(r\) first is essential: with two changing variables the volume formula alone is not enough.
\(\dfrac{dh}{dt} = \dfrac{5}{2\pi} \approx 0.80\) ft/min
Review:
47A spherical balloon is inflated so that its volume increases at a constant 100 cm\(^3\)/s. How fast is the radius increasing when the radius is 5 cm? Give an exact answer and a decimal to three places.
Solution
The volume of a sphere is \(V = \dfrac{4}{3}\pi r^3\). Both \(V\) and \(r\) change with time, so differentiate with respect to \(t\):
\[\frac{dV}{dt} = 4\pi r^2\,\frac{dr}{dt}.\](Notice that \(4\pi r^2\) is the surface area: the volume grows by the surface area times the thickness added.) Solve for the unknown rate and substitute \(dV/dt = 100\), \(r = 5\):
\[\frac{dr}{dt} = \frac{dV/dt}{4\pi r^2} = \frac{100}{4\pi(25)} = \frac{100}{100\pi} = \frac{1}{\pi} \approx 0.318 \text{ cm/s}.\]The radius grows more slowly as the balloon gets bigger, because the same 100 cm\(^3\) is spread over a larger surface.
\(\dfrac{dr}{dt} = \dfrac{1}{\pi} \approx 0.318\) cm/s
Review:
48Two cars approach an intersection along perpendicular roads. Car A is 0.3 miles from the intersection travelling toward it at 50 mph; car B is 0.4 miles from the intersection travelling toward it at 60 mph. At that instant, how fast is the distance between the cars changing? (A negative answer means the distance is decreasing.)
Solution
Put the intersection at the origin, car A at distance \(x\) along one road and car B at distance \(y\) along the other. The distance \(z\) between them satisfies
\[z^2 = x^2 + y^2.\]Both cars are moving toward the intersection, so their distances are decreasing: \(dx/dt = -50\) and \(dy/dt = -60\). Differentiate:
\[2z\,\frac{dz}{dt} = 2x\,\frac{dx}{dt} + 2y\,\frac{dy}{dt}\] \[\Longrightarrow\ \frac{dz}{dt} = \frac{x\,\dfrac{dx}{dt} + y\,\dfrac{dy}{dt}}{z}.\]At this instant \(z = \sqrt{0.3^2 + 0.4^2} = \sqrt{0.25} = 0.5\) miles (a 3-4-5 triangle), so
\[\frac{dz}{dt} = \frac{(0.3)(-50) + (0.4)(-60)}{0.5} = \frac{-15 - 24}{0.5} = -78 \text{ mph}.\]The cars are closing in on each other at 78 mph. Dropping the minus signs on the velocities is the usual mistake; the signs carry the direction of travel.
\(\dfrac{dz}{dt} = -78\) mph (the cars are closing at 78 mph)
Review:
49A street light is at the top of a 15-foot pole. A person 6 feet tall walks away from the pole at 5 ft/s. (a) How fast is the length of the person’s shadow increasing? (b) How fast is the tip of the shadow moving?
Solution
Let \(x\) be the person’s distance from the pole and \(s\) the length of the shadow. The light, the top of the person’s head and the tip of the shadow are in a straight line, giving two similar right triangles: the big one (pole, ground to shadow tip) and the small one (person, person to shadow tip).
\[\frac{s}{6} = \frac{x + s}{15}\] \[\Longrightarrow\ 15s = 6x + 6s\] \[\Longrightarrow\ 9s = 6x\] \[\Longrightarrow\ s = \frac{2}{3}x.\](a) Differentiate the relation with respect to \(t\):
\[\frac{ds}{dt} = \frac{2}{3}\,\frac{dx}{dt} = \frac{2}{3}(5) = \frac{10}{3} \approx 3.33 \text{ ft/s}.\](b) The tip of the shadow is at distance \(x + s\) from the pole, so its speed is
\[\frac{d}{dt}(x + s) = \frac{dx}{dt} + \frac{ds}{dt} = 5 + \frac{10}{3} = \frac{25}{3} \approx 8.33 \text{ ft/s}.\]Neither answer depends on how far the person is from the pole: the shadow relationship is linear, so the rates are constant.
(a) \(\dfrac{10}{3} \approx 3.33\) ft/s; (b) \(\dfrac{25}{3} \approx 8.33\) ft/s
Review:
50A kite is flying at a constant height of 100 feet and moving horizontally away from the person holding the string at 8 ft/s. Let \(\theta\) be the angle between the string and the ground. Find \(\dfrac{d\theta}{dt}\), in radians per second, at the moment when 200 feet of string are out. (Assume the string is straight.)
Solution
Let \(x\) be the horizontal distance from the person to the point directly below the kite. The height is fixed at 100 ft, so the right triangle gives
\[\tan\theta = \frac{100}{x}.\]Differentiate with respect to \(t\), using the chain rule on both sides:
\[\sec^2\theta\,\frac{d\theta}{dt} = -\frac{100}{x^2}\,\frac{dx}{dt}.\]Now find the values at the given instant. The string is the hypotenuse: \(x = \sqrt{200^2 - 100^2} = \sqrt{30{,}000} = 100\sqrt{3}\) ft, so \(x^2 = 30{,}000\). Also \(\sin\theta = \dfrac{100}{200} = \dfrac{1}{2}\), so \(\theta = \dfrac{\pi}{6}\) and \(\sec^2\theta = \dfrac{1}{\cos^2\theta} = \dfrac{1}{3/4} = \dfrac{4}{3}\). With \(dx/dt = 8\):
\[\frac{4}{3}\,\frac{d\theta}{dt} = -\frac{100}{30{,}000}(8) = -\frac{2}{75}\] \[\Longrightarrow\ \frac{d\theta}{dt} = -\frac{2}{75}\cdot\frac{3}{4} = -\frac{1}{50} \text{ rad/s}.\]The angle is decreasing at \(0.02\) rad/s: as the kite drifts away, the string flattens toward the ground.
\(\dfrac{d\theta}{dt} = -\dfrac{1}{50} = -0.02\) rad/s (the angle is decreasing)
Review: ·
Set 3: applications of the derivative
Calculus 1 · Practice problems 51 to 70
Problems 51 to 70
One hundred Calculus 1 problems: limits and continuity, derivative rules and related rates, applications of the derivative, the Fundamental Theorem and u-substitution, and applications of integrals. Each opens to a full worked solution with the answer highlighted; try it on paper first.
51Let \(f(x) = 2x^3 + 3x^2 - 12x - 1\). (a) Find all critical numbers of \(f\). (b) Use the first derivative test to find the local maximum value of \(f\). (c) Find the local minimum value of \(f\).
Solution
Critical numbers are the \(x\)-values in the domain where \(f'(x) = 0\) or where \(f'(x)\) does not exist. A polynomial is differentiable everywhere, so only the first case can happen here.
\[f'(x) = 6x^2 + 6x - 12 = 6(x^2 + x - 2) = 6(x + 2)(x - 1).\](a) \(f'(x) = 0\) exactly when \(x = -2\) or \(x = 1\). These are the two critical numbers.
(b) Test the sign of \(f'\) on each piece of the number line: \(f'(-3) = 6(-1)(-4) = 24 \gt 0\), \(f'(0) = 6(2)(-1) = -12 \lt 0\) and \(f'(2) = 6(4)(1) = 24 \gt 0\). So \(f\) increases up to \(x = -2\), decreases between \(-2\) and \(1\), then increases again. At \(x = -2\) the derivative changes from positive to negative, which makes it a local maximum:
\[f(-2) = 2(-8) + 3(4) - 12(-2) - 1 = -16 + 12 + 24 - 1 = 19.\](c) At \(x = 1\) the derivative changes from negative to positive, so \(f\) has a local minimum there:
\[f(1) = 2 + 3 - 12 - 1 = -8.\]Read the question carefully: it asks for the values \(19\) and \(-8\), not the locations \(x = -2\) and \(x = 1\).
(a) \(x = -2\) and \(x = 1\); (b) local maximum \(f(-2) = 19\); (c) local minimum \(f(1) = -8\)
Review: ·
52Find (a) the absolute maximum and (b) the absolute minimum of \(f(x) = x^3 - 12x + 5\) on the closed interval \([-1, 4]\). Give each as a point \((x, f(x))\).
Solution
On a closed interval a continuous function attains its extreme values either at a critical number inside the interval or at an endpoint, so the closed interval method is: find the critical numbers, evaluate \(f\) at the ones inside the interval and at the endpoints, and compare.
\[f'(x) = 3x^2 - 12 = 3(x^2 - 4) = 3(x - 2)(x + 2).\]The critical numbers are \(x = -2\) and \(x = 2\), but only \(x = 2\) lies in \([-1, 4]\); \(x = -2\) is outside the interval and plays no part. Evaluate \(f\) at \(x = 2\) and at the two endpoints:
\[f(-1) = -1 + 12 + 5 = 16\] \[f(2) = 8 - 24 + 5 = -11\] \[f(4) = 64 - 48 + 5 = 21.\]The largest value is \(21\), at the endpoint \(x = 4\), and the smallest is \(-11\), at the critical number \(x = 2\). The maximum is not at a critical number at all, which is exactly why the endpoints must always be in the comparison. Two common slips: leaving the endpoints out, and using a critical number such as \(x = -2\) that is not in the interval.
(a) absolute maximum \((4, 21)\); (b) absolute minimum \((2, -11)\)
Review:
53Consider \(f(x) = x - 2\sin x\) on \([0, \pi]\). (a) At what \(x\) does the absolute minimum of \(f\) on this interval occur? (b) What is the absolute minimum value (to three decimals)? (c) What is the absolute maximum value?
Solution
Start with the critical numbers:
\[f'(x) = 1 - 2\cos x = 0\] \[\Longrightarrow\ \cos x = \tfrac12.\]On \([0, \pi]\) the only solution is \(x = \pi/3\). (The other solution of \(\cos x = \tfrac12\), namely \(x = 5\pi/3\), lies outside the interval and is ignored.) Now compare the value at the critical number with the values at the endpoints:
\[f(0) = 0 - 0 = 0\] \[f\!\left(\tfrac{\pi}{3}\right) = \frac{\pi}{3} - 2\cdot\frac{\sqrt3}{2} = \frac{\pi}{3} - \sqrt3 \approx -0.685\] \[f(\pi) = \pi - 2\sin\pi = \pi \approx 3.142.\](a) The smallest value occurs at \(x = \pi/3\). (b) The absolute minimum value is \(\pi/3 - \sqrt3 \approx -0.685\). (c) The absolute maximum value is \(\pi\), attained at the endpoint \(x = \pi\). Notice that the maximum is at an endpoint, not at a critical number; that is exactly why the endpoints are part of the method.
(a) \(x = \pi/3\); (b) \(\pi/3 - \sqrt3 \approx -0.685\); (c) \(\pi \approx 3.142\), at \(x = \pi\)
Review: ·
54Let \(f(x) = x^{2/3}(x - 5)\). (a) Find all critical numbers of \(f\). (b) Find the absolute maximum value of \(f\) on \([-1, 4]\). (c) Find the absolute minimum value of \(f\) on \([-1, 4]\).
Solution
Multiply out before differentiating so that each term is a single power: \(f(x) = x^{5/3} - 5x^{2/3}\).
\[f'(x) = \frac{5}{3}x^{2/3} - \frac{10}{3}x^{-1/3} = \frac{5}{3}x^{-1/3}(x - 2) = \frac{5(x - 2)}{3\sqrt[3]{x}}.\](a) \(f'(x) = 0\) when \(x = 2\). But \(f'(x)\) is undefined at \(x = 0\) (division by zero), while \(f(0) = 0\) is perfectly well defined, so \(x = 0\) is in the domain of \(f\) and is also a critical number. The critical numbers are \(x = 0\) and \(x = 2\). Forgetting the second kind of critical number is the classic mistake on this problem.
(b), (c) Compare \(f\) at the critical numbers and the endpoints. Recall that \((-1)^{2/3} = \big(\sqrt[3]{-1}\big)^2 = 1\).
\[f(-1) = 1\cdot(-6) = -6\] \[f(0) = 0\] \[f(2) = 2^{2/3}(-3) = -3\sqrt[3]{4} \approx -4.762\] \[f(4) = 4^{2/3}(-1) \approx -2.520.\]The absolute maximum value is \(0\), at \(x = 0\): the graph has a sharp cusp there, a point with no tangent line that is nevertheless the highest point on the interval. The absolute minimum value is \(-6\), at the endpoint \(x = -1\).
(a) \(x = 0\) and \(x = 2\); (b) maximum \(0\) at \(x = 0\); (c) minimum \(-6\) at \(x = -1\)
Review:
55Let \(f(x) = x^3 - x\) on \([0, 2]\). Find the value of \(c\) guaranteed by the Mean Value Theorem, that is, the number \(c\) in \((0, 2)\) with \(f'(c) = \dfrac{f(2) - f(0)}{2 - 0}\). Give the exact value.
Solution
\(f\) is a polynomial, so it is continuous on \([0, 2]\) and differentiable on \((0, 2)\): the hypotheses of the Mean Value Theorem hold. The slope of the secant line is
\[\frac{f(2) - f(0)}{2 - 0} = \frac{(8 - 2) - 0}{2} = 3.\]The theorem promises a \(c\) where the tangent has that same slope:
\[f'(c) = 3c^2 - 1 = 3\] \[\Longrightarrow\ c^2 = \frac{4}{3}\] \[\Longrightarrow\ c = \pm\frac{2}{\sqrt3}.\]Only the positive root lies in \((0, 2)\), so
\[c = \frac{2}{\sqrt3} = \frac{2\sqrt3}{3} \approx 1.155.\]At this point the tangent line is parallel to the chord joining \((0, 0)\) and \((2, 6)\).
\(c = \dfrac{2}{\sqrt3} = \dfrac{2\sqrt3}{3} \approx 1.155\)
Review:
56A car passes a toll booth at 1:00 pm and a second booth 90 miles down the same highway at 2:15 pm. The speed limit is 65 mph. (a) What was the car’s average speed over the trip, in mph? (b) Which conclusion does the Mean Value Theorem justify? (i) The car’s speed was 72 mph for the whole trip. (ii) At some instant the speedometer read exactly 72 mph, so the driver exceeded the limit. (iii) The car never went faster than 72 mph. (iv) The theorem does not apply, because the car’s speed is not a continuous function.
Solution
Let \(s(t)\) be the car’s position in miles, with \(t\) in hours after 1:00 pm. The trip lasts 1 hour 15 minutes, which is \(1.25\) hours, and \(s(1.25) - s(0) = 90\).
(a)
\[\text{average speed} = \frac{s(1.25) - s(0)}{1.25 - 0} = \frac{90 \text{ mi}}{1.25 \text{ h}} = 72 \text{ mph}.\](b) The position of a moving car is continuous and has a derivative (its velocity), so the Mean Value Theorem applies: there is some time \(c\) between 1:00 and 2:15 with \(s'(c) = 72\). At that instant the car was travelling at exactly 72 mph, which is over the 65 mph limit. The theorem says nothing about the rest of the trip: it does not claim the speed was 72 throughout, and it does not rule out going faster at other moments. So (i) and (iii) are wrong, (iv) is wrong, and (ii) is the correct conclusion.
(a) 72 mph; (b) statement (ii): at some instant the speed was exactly 72 mph
Review:
57Let \(f(x) = \sqrt{x}\) on \([1, 9]\). (a) Find the average rate of change of \(f\) over \([1, 9]\). (b) Find the number \(c\) in \((1, 9)\) that satisfies the conclusion of the Mean Value Theorem.
Solution
(a) The average rate of change is the slope of the secant line:
\[\frac{f(9) - f(1)}{9 - 1} = \frac{3 - 1}{8} = \frac14.\](b) \(f\) is continuous on \([1, 9]\) and differentiable on \((1, 9)\), with \(f'(x) = \dfrac{1}{2\sqrt{x}}\). Set the derivative equal to the secant slope:
\[\frac{1}{2\sqrt{c}} = \frac14\] \[\Longrightarrow\ 2\sqrt{c} = 4\] \[\Longrightarrow\ \sqrt{c} = 2\] \[\Longrightarrow\ c = 4.\]\(c = 4\) is inside \((1, 9)\), as the theorem requires. Check: the tangent at \((4, 2)\) has slope \(1/4\), the same as the chord from \((1, 1)\) to \((9, 3)\).
(a) \(\tfrac14\); (b) \(c = 4\)
Review: ·
58Let \(f(x) = x^4 - 4x^3\). (a) On what interval is \(f\) increasing? (b) On what interval is \(f\) decreasing? (c) Find the local minimum value of \(f\).
Solution
Differentiate and factor completely:
\[f'(x) = 4x^3 - 12x^2 = 4x^2(x - 3).\]The critical numbers are \(x = 0\) and \(x = 3\). They cut the line into three pieces; test a point in each:
\[f'(-1) = 4(1)(-4) = -16 \lt 0\] \[f'(1) = 4(1)(-2) = -8 \lt 0\] \[f'(4) = 4(16)(1) = 64 \gt 0.\](a), (b) \(f\) is decreasing on \((-\infty, 3)\) and increasing on \((3, \infty)\). The derivative is negative on both sides of \(x = 0\): the factor \(4x^2\) touches zero there without changing sign, so \(f\) only flattens out for an instant on its way down. \(x = 0\) is a critical number but not a local extremum.
(c) The only sign change is at \(x = 3\), from negative to positive, so \(f\) has a local minimum there:
\[f(3) = 81 - 108 = -27.\]Because \(f\) decreases everywhere before \(3\) and increases everywhere after, \(-27\) is in fact the absolute minimum of \(f\).
(a) \((3, \infty)\); (b) \((-\infty, 3)\); (c) \(-27\), at \(x = 3\)
Review:
59Let \(f(x) = x^4 - 6x^2 + 5\). (a) Find the interval(s) on which \(f\) is concave up. (b) Find the interval on which \(f\) is concave down. (c) Find the \(x\)-coordinates of all inflection points of \(f\).
Solution
Concavity is decided by the second derivative:
\[f'(x) = 4x^3 - 12x\] \[f''(x) = 12x^2 - 12 = 12(x - 1)(x + 1).\]\(f''(x) = 0\) at \(x = -1\) and \(x = 1\). Test the sign of \(f''\) on the three resulting intervals:
\[f''(-2) = 36 \gt 0\] \[f''(0) = -12 \lt 0\] \[f''(2) = 36 \gt 0.\](a) \(f\) is concave up on \((-\infty, -1) \cup (1, \infty)\). (b) \(f\) is concave down on \((-1, 1)\).
(c) An inflection point is a point on the graph where the concavity actually changes. The sign of \(f''\) flips at both \(x = -1\) and \(x = 1\), so both are inflection points. Their heights are \(f(\pm 1) = 1 - 6 + 5 = 0\), giving the points \((-1, 0)\) and \((1, 0)\). A zero of \(f''\) is not automatically an inflection point; the sign test in the middle step is what justifies the answer.
(a) \((-\infty, -1) \cup (1, \infty)\); (b) \((-1, 1)\); (c) \(x = -1\) and \(x = 1\) (the points \((-1, 0)\) and \((1, 0)\))
Review:
60Let \(f(x) = x^2 e^{-x}\). (a) On what interval is \(f\) increasing? (b) Find the local maximum value of \(f\) (to three decimals). (c) Find the \(x\)-coordinates of the inflection points of \(f\).
Solution
Use the product rule and factor out the exponential:
\[f'(x) = 2x e^{-x} - x^2 e^{-x} = x(2 - x)e^{-x}.\]Since \(e^{-x} \gt 0\) for every \(x\), the sign of \(f'\) is the sign of \(x(2 - x)\): negative for \(x \lt 0\), positive for \(0 \lt x \lt 2\), negative for \(x \gt 2\).
(a) \(f\) is increasing on \((0, 2)\).
(b) At \(x = 2\) the derivative changes from positive to negative, so the local maximum value is
\[f(2) = 4e^{-2} = \frac{4}{e^2} \approx 0.541.\](At \(x = 0\) the sign goes from negative to positive: a local minimum with value \(f(0) = 0\).)
(c) Differentiate \(f'(x) = (2x - x^2)e^{-x}\) with the product rule again:
\[f''(x) = (2 - 2x)e^{-x} - (2x - x^2)e^{-x} = (x^2 - 4x + 2)e^{-x}.\]Set the quadratic factor to zero and use the quadratic formula:
\[x^2 - 4x + 2 = 0\] \[\Longrightarrow\ x = \frac{4 \pm\sqrt{16 - 8}}{2} = 2 \pm\sqrt2\]about \(0.586\) and \(3.414\). The quadratic has two simple roots, so \(f''\) changes sign at each of them, and both are inflection points.
(a) \((0, 2)\); (b) \(f(2) = 4/e^2 \approx 0.541\); (c) \(x = 2 \pm\sqrt2 \approx 0.586,\ 3.414\)
Review: ·
61Suppose the derivative of a function is \(f'(x) = (x - 1)^2(x + 2)\). (a) On what interval is \(f\) increasing? (b) Which statement about \(x = 1\) is correct? (i) \(f\) has a local maximum at \(x = 1\). (ii) \(f\) has a local minimum at \(x = 1\). (iii) \(f\) has neither, because \(f'\) does not change sign at \(x = 1\). (iv) Nothing can be said without a formula for \(f\). (c) Find the \(x\)-coordinates of the inflection points of \(f\).
Solution
You are given \(f'\), not \(f\). Increasing and decreasing come from the sign of \(f'\) directly; concavity comes from the sign of \(f''\), which means differentiating the given formula once.
(a) The factor \((x - 1)^2\) is never negative, so apart from the single point \(x = 1\) (where \(f' = 0\)) the sign of \(f'\) is the sign of \(x + 2\): negative for \(x \lt -2\), positive for \(x \gt -2\). Hence \(f\) is decreasing on \((-\infty, -2)\) and increasing on \((-2, \infty)\), with a local minimum at \(x = -2\).
(b) \(f'(0) = (1)(2) = 2 \gt 0\) and \(f'(2) = (1)(4) = 4 \gt 0\): the derivative is positive on both sides of \(x = 1\). The graph has a horizontal tangent there but keeps climbing, so there is no local extremum. Statement (iii) is correct; (iv) is wrong because the sign of \(f'\) is all the first derivative test needs.
(c) Differentiate \(f'\) with the product rule and factor:
\[f''(x) = 2(x - 1)(x + 2) + (x - 1)^2 = (x - 1)\big[2(x + 2) + (x - 1)\big] = (x - 1)(3x + 3) = 3(x - 1)(x + 1).\]\(f''\) is zero at \(x = \pm 1\), and \(f''(-2) = 9 \gt 0\), \(f''(0) = -3 \lt 0\), \(f''(2) = 9 \gt 0\), so the sign changes at both. The inflection points are at \(x = -1\) and \(x = 1\). In particular \(x = 1\) is an inflection point with a horizontal tangent, which is exactly the situation in (b).
(a) \((-2, \infty)\); (b) (iii), neither; (c) \(x = -1\) and \(x = 1\)
Review:
62A farmer has 600 m of fencing and wants to enclose a rectangular field that borders a straight river. No fence is needed along the river. (a) How long should each of the two sides perpendicular to the river be? (b) How long should the side parallel to the river be? (c) What is the largest area that can be enclosed, in square metres?
Solution
Let \(x\) be the length of each side perpendicular to the river and \(y\) the length of the side parallel to it. Three sides are fenced:
\[2x + y = 600\] \[\Longrightarrow\ y = 600 - 2x.\]The area to maximize, written in one variable, is
\[A(x) = xy = x(600 - 2x) = 600x - 2x^2\] \[0 \le x \le 300.\] \[A'(x) = 600 - 4x = 0\] \[\Longrightarrow\ x = 150.\]\(A''(x) = -4 \lt 0\), so this critical number is a maximum (the endpoints \(x = 0\) and \(x = 300\) both give zero area, confirming it). Then \(y = 600 - 2(150) = 300\) and
\[A(150) = 150 \times 300 = 45{,}000 \text{ m}^2.\]Notice the shape of the answer: half the fence (300 m) runs parallel to the river and the other half is split between the two perpendicular sides.
(a) 150 m; (b) 300 m; (c) \(45{,}000\) m\(^2\)
Review:
63An open-top box is made from a 16 in by 10 in sheet of cardboard by cutting equal squares of side \(x\) from the four corners and folding up the sides. (a) What value of \(x\) gives the box of largest volume? (b) What is that maximum volume, in cubic inches?
Solution
After the corners are removed and the flaps folded up, the base measures \((16 - 2x)\) by \((10 - 2x)\) and the height is \(x\). For a real box we need \(0 \lt x \lt 5\) (the shorter side must survive the two cuts).
\[V(x) = x(16 - 2x)(10 - 2x) = 4x^3 - 52x^2 + 160x.\] \[V'(x) = 12x^2 - 104x + 160 = 4(3x^2 - 26x + 40) = 4(3x - 20)(x - 2).\]The critical numbers are \(x = 2\) and \(x = 20/3 \approx 6.67\). The second is outside \((0, 5)\): cutting squares that big would remove more than the 10-inch side, so it is rejected. For \(x = 2\), \(V''(x) = 24x - 104\) gives \(V''(2) = -56 \lt 0\), a maximum.
(a) \(x = 2\) in. (b)
\[V(2) = 2\,(16 - 4)(10 - 4) = 2 \times 12 \times 6 = 144 \text{ in}^3\]a box measuring 12 in by 6 in by 2 in.
(a) \(x = 2\) in; (b) 144 in\(^3\) (a 12 by 6 by 2 box)
Review:
64A closed cylindrical can must hold 500 cm\(^3\). Find the radius \(r\) and the height \(h\), in cm to two decimals, that minimize the amount of metal used, that is, the total surface area \(S = 2\pi r^2 + 2\pi r h\).
Solution
The volume constraint \(\pi r^2 h = 500\) lets us eliminate \(h\):
\[h = \frac{500}{\pi r^2}.\]Substitute into the surface area to get a function of \(r\) alone:
\[S(r) = 2\pi r^2 + 2\pi r\cdot\frac{500}{\pi r^2} = 2\pi r^2 + \frac{1000}{r}\] \[r \gt 0.\] \[S'(r) = 4\pi r - \frac{1000}{r^2} = 0\] \[\Longrightarrow\ 4\pi r^3 = 1000\] \[\Longrightarrow\ r^3 = \frac{250}{\pi}\] \[\Longrightarrow\ r = \sqrt[3]{\frac{250}{\pi}} \approx 4.30 \text{ cm}.\]\(S''(r) = 4\pi + 2000/r^3 \gt 0\) for all \(r \gt 0\), so this is the minimum. For the height, use \(r^3 = 250/\pi\) to simplify:
\[h = \frac{500}{\pi r^2} = \frac{500\,r}{\pi r^3} = \frac{500\,r}{250} = 2r \approx 8.60 \text{ cm}.\]The most economical can is exactly as tall as it is wide (height equals diameter). Its surface area is about \(348.7\) cm\(^2\).
\(r = \sqrt[3]{250/\pi} \approx 4.30\) cm and \(h = 2r \approx 8.60\) cm
Review:
65Find the point on the parabola \(y = x^2\) that is closest to the point \((3, 0)\). (a) Give the point. (b) Give the exact minimum distance.
Solution
A point on the parabola has the form \((x, x^2)\). Its distance to \((3, 0)\) is \(\sqrt{(x - 3)^2 + x^4}\). The square root is an increasing function, so the distance is smallest exactly where the squared distance is smallest, and the squared distance is much easier to differentiate:
\[D(x) = (x - 3)^2 + x^4.\] \[D'(x) = 2(x - 3) + 4x^3 = 4x^3 + 2x - 6 = 2(2x^3 + x - 3).\]Try small integers: \(x = 1\) gives \(2 + 1 - 3 = 0\), so \(x = 1\) is a root. Dividing by \((x - 1)\),
\[2x^3 + x - 3 = (x - 1)(2x^2 + 2x + 3)\]and the quadratic factor has discriminant \(4 - 24 \lt 0\), so it has no real roots. The only critical number is \(x = 1\), and \(D''(x) = 12x^2 + 2 \gt 0\) confirms a minimum.
(a) The closest point is \((1, 1)\). (b) The distance is
\[\sqrt{(1 - 3)^2 + 1^2} = \sqrt{4 + 1} = \sqrt5 \approx 2.236.\](a) \((1, 1)\); (b) \(\sqrt5 \approx 2.236\)
Review:
66A theatre sells 400 tickets per show at $20 each. A survey shows that each $1 decrease in the price brings in 40 more customers. (a) What ticket price maximizes revenue? (b) What is the maximum revenue?
Solution
Let \(x\) be the number of $1 price cuts. Then the price is \(20 - x\) dollars and the attendance is \(400 + 40x\) people, so the revenue is
\[R(x) = (20 - x)(400 + 40x) = 8000 + 800x - 400x - 40x^2 = 8000 + 400x - 40x^2.\] \[R'(x) = 400 - 80x = 0\] \[\Longrightarrow\ x = 5.\]\(R''(x) = -80 \lt 0\), so five price cuts maximize revenue.
(a) The price should be \(20 - 5 = \$15\). (b) At that price \(400 + 40(5) = 600\) tickets sell, so
\[R(5) = 15 \times 600 = \$9{,}000\]compared with \(20 \times 400 = \$8{,}000\) at the current price. Lowering the price raises revenue here because the extra customers more than make up for the smaller price per ticket.
(a) $15; (b) $9,000
Review:
67(a) Find the linearization \(L(x)\) of \(f(x) = \sqrt[3]{x}\) at \(a = 27\). (b) Use it to estimate \(\sqrt[3]{28}\). (c) Use it to estimate \(\sqrt[3]{26.5}\). Give (b) and (c) to four decimal places.
Solution
The linearization is the tangent line at \(a\), written as a function: \(L(x) = f(a) + f'(a)(x - a)\). With \(f(x) = x^{1/3}\),
\[f'(x) = \tfrac13 x^{-2/3}\] \[f(27) = 3\] \[f'(27) = \frac{1}{3\cdot 27^{2/3}} = \frac{1}{3\cdot 9} = \frac{1}{27}.\](a)
\[L(x) = 3 + \frac{1}{27}(x - 27).\](b) \(28\) is \(1\) unit past \(27\):
\[\sqrt[3]{28} \approx L(28) = 3 + \frac{1}{27} = \frac{82}{27} \approx 3.0370.\](c) \(26.5\) is half a unit before \(27\):
\[\sqrt[3]{26.5} \approx L(26.5) = 3 - \frac{0.5}{27} = 3 - \frac{1}{54} = \frac{161}{54} \approx 2.9815.\]The true values are \(3.0366\) and \(2.9814\). Both estimates are slightly high because the cube-root graph is concave down near \(27\), so its tangent line lies above the curve.
(a) \(L(x) = 3 + \dfrac{x - 27}{27}\); (b) \(\approx 3.0370\); (c) \(\approx 2.9815\)
Review:
68The radius of a sphere is measured as 10 cm with a possible error of \(\pm 0.1\) cm. (a) Use differentials to estimate the maximum error in the computed volume \(V = \tfrac43\pi r^3\), in cm\(^3\) to one decimal. (b) Estimate the relative error \(dV/V\) in the volume.
Solution
A small change \(dr\) in the radius produces approximately the change \(dV = V'(r)\,dr\) in the volume.
(a)
\[dV = 4\pi r^2\,dr = 4\pi(10)^2(0.1) = 40\pi \approx 125.7 \text{ cm}^3.\]So an error of a tenth of a centimetre in the radius can throw the volume off by about \(126\) cm\(^3\). (The exact change \(V(10.1) - V(10) \approx 126.9\) cm\(^3\) is very close.)
(b) Divide by the volume:
\[\frac{dV}{V} = \frac{4\pi r^2\,dr}{\tfrac43\pi r^3} = 3\,\frac{dr}{r} = 3\cdot\frac{0.1}{10} = 0.03.\]A 1% error in the radius becomes roughly a 3% error in the volume, because volume scales like the cube of the radius. The factor 3 is the exponent.
(a) \(dV = 40\pi \approx 125.7\) cm\(^3\); (b) \(0.03\), i.e. about 3%
Review:
69Evaluate \(\displaystyle\lim_{x\to 0}\frac{e^{2x} - 1 - 2x}{x^2}\).
Solution
At \(x = 0\) the numerator is \(1 - 1 - 0 = 0\) and the denominator is \(0\): an indeterminate form \(0/0\), so l’Hôpital’s rule applies. Differentiate the top and the bottom separately:
\[\lim_{x\to 0}\frac{e^{2x} - 1 - 2x}{x^2} = \lim_{x\to 0}\frac{2e^{2x} - 2}{2x}.\]Check the form again: \(2 - 2 = 0\) over \(0\), still \(0/0\), so apply the rule a second time:
\[= \lim_{x\to 0}\frac{4e^{2x}}{2} = \frac{4}{2} = 2.\]Always re-check the form before each application. After the second step the limit is no longer indeterminate, so substitute and stop; a third application would be wrong (it would give \(8e^{2x}/0\), nonsense).
\(2\)
Review: ·
70Evaluate (a) \(\displaystyle\lim_{x\to 1}\frac{\ln x}{x^2 - 1}\) and (b) \(\displaystyle\lim_{x\to\infty}\left(1 + \frac{3}{x}\right)^{x}\). Give (b) exactly.
Solution
(a) \(\ln 1 = 0\) and \(1^2 - 1 = 0\), so the form is \(0/0\) and l’Hôpital’s rule applies:
\[\lim_{x\to 1}\frac{\ln x}{x^2 - 1} = \lim_{x\to 1}\frac{1/x}{2x} = \lim_{x\to 1}\frac{1}{2x^2} = \frac12.\](b) As \(x \to \infty\) the base \(1 + 3/x \to 1\) and the exponent \(\to \infty\): the form \(1^\infty\), which is indeterminate. Take the logarithm to bring the exponent down. Let \(y = (1 + 3/x)^x\); then
\[\ln y = x\ln\!\left(1 + \frac{3}{x}\right) = \frac{\ln(1 + 3/x)}{1/x}\]which is \(0/0\) as \(x \to \infty\). Apply l’Hôpital’s rule (the derivative of \(\ln(1 + 3/x)\) is \(\dfrac{-3/x^2}{1 + 3/x}\) by the chain rule, and the derivative of \(1/x\) is \(-1/x^2\)):
\[\lim_{x\to\infty}\frac{\ln(1 + 3/x)}{1/x} = \lim_{x\to\infty}\frac{\dfrac{-3/x^2}{1 + 3/x}}{-1/x^2} = \lim_{x\to\infty}\frac{3}{1 + 3/x} = 3.\]So \(\ln y \to 3\), and therefore \(y \to e^3 \approx 20.09\). The final exponentiation is easy to forget: the limit of \(\ln y\) is \(3\), but the limit asked for is \(e^3\).
(a) \(\tfrac12\); (b) \(e^3 \approx 20.09\)
Review: ·
Set 4: antiderivatives, the Fundamental Theorem and substitution
Calculus 1 · Practice problems 71 to 90
Problems 71 to 90
One hundred Calculus 1 problems: limits and continuity, derivative rules and related rates, applications of the derivative, the Fundamental Theorem and u-substitution, and applications of integrals. Each opens to a full worked solution with the answer highlighted; try it on paper first.
71Find the antiderivative of \(f(x) = 3\sqrt{x} - \dfrac{2}{x^2} + 5\) with constant 0.
Solution
Rewrite every term as a power of \(x\) so the power rule \(\displaystyle\int x^n\,dx = \frac{x^{n+1}}{n+1}\) applies: \(f(x) = 3x^{1/2} - 2x^{-2} + 5\).
\[\int 3x^{1/2}\,dx = 3\cdot\frac{x^{3/2}}{3/2} = 2x^{3/2}\] \[\int -2x^{-2}\,dx = -2\cdot\frac{x^{-1}}{-1} = \frac{2}{x}\] \[\int 5\,dx = 5x.\]Putting the pieces together with constant 0,
\[F(x) = 2x^{3/2} + \frac{2}{x} + 5x.\]Check by differentiating: \(F'(x) = 3x^{1/2} - 2x^{-2} + 5\), which is \(f(x)\). Watch the sign of the middle term: \(-2\) divided by \(-1\) is \(+2\).
\(F(x) = 2x^{3/2} + \dfrac{2}{x} + 5x\)
Review: ·
72Find the antiderivative of \(f(x) = 3\sec^2 x - 2\sin x + 5e^{x}\) with constant 0.
Solution
Each term is the derivative of a basic function: \(\dfrac{d}{dx}\tan x = \sec^2 x\), \(\dfrac{d}{dx}\cos x = -\sin x\) (so \(\int \sin x\,dx = -\cos x\)) and \(\dfrac{d}{dx}e^x = e^x\).
\[\int 3\sec^2 x\,dx = 3\tan x\] \[\int -2\sin x\,dx = -2(-\cos x) = 2\cos x\] \[\int 5e^x\,dx = 5e^x.\] \[F(x) = 3\tan x + 2\cos x + 5e^x.\]The sign on the cosine term is the usual trap. Check it by differentiating: \((2\cos x)' = -2\sin x\), as required.
\(F(x) = 3\tan x + 2\cos x + 5e^x\)
Review: ·
73Find the antiderivative of \(f(x) = \dfrac{x^3 - 4x + 2}{x^2}\) for \(x \gt 0\), with constant 0.
Solution
There is no quotient rule for integrals. Since the denominator is a single term, divide it into each term of the numerator first:
\[\frac{x^3 - 4x + 2}{x^2} = x - \frac{4}{x} + \frac{2}{x^2} = x - 4x^{-1} + 2x^{-2}.\]The first and last terms follow the power rule. The middle term is the one exception to the power rule: \(\displaystyle\int x^{-1}\,dx = \ln|x|\), which is \(\ln x\) here because \(x \gt 0\).
\[F(x) = \frac{x^2}{2} - 4\ln x + 2\cdot\frac{x^{-1}}{-1} = \frac{x^2}{2} - 4\ln x - \frac{2}{x}.\]Check: \(F'(x) = x - \dfrac{4}{x} + \dfrac{2}{x^2}\), which matches \(f(x)\).
\(F(x) = \dfrac{x^2}{2} - 4\ln x - \dfrac{2}{x}\)
Review: ·
74Find \(f(x)\) given that \(f'(x) = 3x^2 - 2x + 1\) and \(f(1) = 4\).
Solution
First find the general antiderivative, keeping the constant:
\[f(x) = x^3 - x^2 + x + C.\]Then use the given value to pin down \(C\):
\[f(1) = 1 - 1 + 1 + C = 1 + C = 4\] \[\Longrightarrow\ C = 3.\] \[f(x) = x^3 - x^2 + x + 3.\]Check: \(f(1) = 1 - 1 + 1 + 3 = 4\) and \(f'(x) = 3x^2 - 2x + 1\). The \(+C\) is not optional in an initial value problem: without it there is no way to satisfy the condition.
\(f(x) = x^3 - x^2 + x + 3\)
Review: ·
75A ball is thrown upward from the roof of a building 160 ft high with initial velocity 48 ft/s. Its acceleration is \(a(t) = -32\) ft/s\(^2\). (a) Find the height \(s(t)\) of the ball above the ground after \(t\) seconds. (b) What is the maximum height reached? (c) When does the ball hit the ground?
Solution
Integrate the acceleration to get the velocity, using \(v(0) = 48\) to find the constant:
\[v(t) = \int -32\,dt = -32t + C_1\] \[v(0) = C_1 = 48\] \[v(t) = -32t + 48.\]Integrate again to get the position, using \(s(0) = 160\):
\[s(t) = \int (-32t + 48)\,dt = -16t^2 + 48t + C_2\] \[s(0) = C_2 = 160.\](a) \(s(t) = -16t^2 + 48t + 160\).
(b) The ball is highest when its velocity is zero: \(-32t + 48 = 0\) gives \(t = 1.5\) s, and
\[s(1.5) = -16(2.25) + 48(1.5) + 160 = -36 + 72 + 160 = 196 \text{ ft}.\](c) The ball hits the ground when \(s(t) = 0\). Divide by \(-16\):
\[t^2 - 3t - 10 = 0\] \[\Longrightarrow\ (t - 5)(t + 2) = 0\] \[\Longrightarrow\ t = 5 \text{ s}\]rejecting the negative root. Two constants, two conditions: each integration needs its own.
(a) \(s(t) = -16t^2 + 48t + 160\); (b) 196 ft, at \(t = 1.5\) s; (c) \(t = 5\) s
Review: ·
76Find \(f(x)\) given that \(f'(x) = 3\cos x - 2\sin x\) and \(f(\pi/2) = 1\).
Solution
Antidifferentiate each term: \(\int\cos x\,dx = \sin x\) and \(\int\sin x\,dx = -\cos x\), so
\[f(x) = 3\sin x + 2\cos x + C.\]Apply the condition at \(x = \pi/2\), where \(\sin(\pi/2) = 1\) and \(\cos(\pi/2) = 0\):
\[f\!\left(\tfrac{\pi}{2}\right) = 3(1) + 2(0) + C = 3 + C = 1\] \[\Longrightarrow\ C = -2.\] \[f(x) = 3\sin x + 2\cos x - 2.\]Check: \(f'(x) = 3\cos x - 2\sin x\). The minus sign in front of \(2\sin x\) and the minus sign in \(\int\sin x\,dx = -\cos x\) cancel to give \(+2\cos x\).
\(f(x) = 3\sin x + 2\cos x - 2\)
Review: ·
77Let \(f(x) = x^2\) on \([0, 2]\), divided into \(n = 4\) subintervals of equal width. (a) Compute the right-endpoint Riemann sum \(R_4\). (b) Compute the left-endpoint Riemann sum \(L_4\). (c) Which statement is correct? (i) \(L_4\) underestimates and \(R_4\) overestimates \(\displaystyle\int_0^2 x^2\,dx\). (ii) \(L_4\) overestimates and \(R_4\) underestimates it. (iii) Both overestimate it. (iv) Nothing can be said without computing the integral.
Solution
The width of each subinterval is \(\Delta x = \dfrac{2 - 0}{4} = 0.5\), and the partition points are \(0,\ 0.5,\ 1,\ 1.5,\ 2\).
(a) The right endpoints are \(0.5, 1, 1.5, 2\):
\[R_4 = \Delta x\,[f(0.5) + f(1) + f(1.5) + f(2)] = 0.5\,[0.25 + 1 + 2.25 + 4] = 0.5(7.5) = 3.75.\](b) The left endpoints are \(0, 0.5, 1, 1.5\):
\[L_4 = 0.5\,[f(0) + f(0.5) + f(1) + f(1.5)] = 0.5\,[0 + 0.25 + 1 + 2.25] = 0.5(3.5) = 1.75.\](c) \(f(x) = x^2\) is increasing on \([0, 2]\). On each subinterval the left endpoint therefore gives the smallest value of \(f\) and the right endpoint the largest, so every left rectangle sits below the curve and every right rectangle pokes above it: \(L_4 \le \int_0^2 x^2\,dx \le R_4\). Statement (i) is correct. (The exact value, \(8/3 \approx 2.667\), does lie between \(1.75\) and \(3.75\).)
(a) \(3.75\); (b) \(1.75\); (c) (i): \(L_4\) is an underestimate and \(R_4\) an overestimate (the exact value is \(8/3\))
Review: ·
78(a) Use the midpoint rule with \(n = 4\) to approximate \(\displaystyle\int_1^3 \frac{1}{x}\,dx\), to three decimals. (b) Find the exact value of the integral (to three decimals) and compare.
Solution
(a) \(\Delta x = \dfrac{3 - 1}{4} = 0.5\). The subintervals are \([1, 1.5], [1.5, 2], [2, 2.5], [2.5, 3]\), with midpoints \(1.25, 1.75, 2.25, 2.75\).
\[M_4 = 0.5\left[\frac{1}{1.25} + \frac{1}{1.75} + \frac{1}{2.25} + \frac{1}{2.75}\right] = 0.5\,[0.8000 + 0.5714 + 0.4444 + 0.3636] = 0.5(2.1795) \approx 1.090.\](b) By the Fundamental Theorem, with antiderivative \(\ln x\),
\[\int_1^3 \frac{1}{x}\,dx = \ln 3 - \ln 1 = \ln 3 \approx 1.099.\]The midpoint estimate is low by about \(0.009\). That is typical: \(1/x\) is concave up, and for a concave-up function the midpoint rule always underestimates (each midpoint rectangle has the same area as a tangent trapezoid, which lies below the curve).
(a) \(M_4 \approx 1.090\); (b) \(\ln 3 \approx 1.099\)
Review: ·
79The velocity of a car accelerating from rest is recorded every 2 seconds: at \(t = 0, 2, 4, 6, 8\) s the readings are \(v = 0, 12, 20, 25, 28\) ft/s. (a) Estimate the distance travelled during the 8 seconds using a left-endpoint Riemann sum with \(n = 4\). (b) Repeat with a right-endpoint sum.
Solution
Distance travelled is the integral of velocity, \(\displaystyle\int_0^8 v(t)\,dt\) (the velocity is never negative here). We do not have a formula for \(v\), only five readings, so approximate the integral with Riemann sums of width \(\Delta t = 2\).
(a) Left endpoints use the readings at \(t = 0, 2, 4, 6\):
\[L_4 = 2\,[v(0) + v(2) + v(4) + v(6)] = 2\,[0 + 12 + 20 + 25] = 2(57) = 114 \text{ ft}.\](b) Right endpoints use the readings at \(t = 2, 4, 6, 8\):
\[R_4 = 2\,[v(2) + v(4) + v(6) + v(8)] = 2\,[12 + 20 + 25 + 28] = 2(85) = 170 \text{ ft}.\]The velocity is increasing, so the true distance lies between the two estimates. Their average, \(142\) ft (which is the trapezoidal estimate), would be a sensible single answer.
(a) 114 ft; (b) 170 ft
Review: ·
80Evaluate (a) \(\displaystyle\int_1^4\left(2\sqrt{x} + \frac{1}{\sqrt{x}}\right)dx\) and (b) \(\displaystyle\int_0^{\pi/3}\left(\sec^2 x - \sin x\right)dx\). Give exact values.
Solution
(a) Write the integrand as \(2x^{1/2} + x^{-1/2}\). An antiderivative is \(\tfrac43 x^{3/2} + 2x^{1/2}\). By the Fundamental Theorem,
\[\int_1^4\left(2\sqrt{x} + \frac{1}{\sqrt{x}}\right)dx = \Big[\tfrac43 x^{3/2} + 2x^{1/2}\Big]_1^4 = \left(\tfrac43\cdot 8 + 2\cdot 2\right) - \left(\tfrac43 + 2\right) = \frac{44}{3} - \frac{10}{3} = \frac{34}{3}.\](At \(x = 4\): \(4^{3/2} = 8\) and \(4^{1/2} = 2\), so the bracket is \(32/3 + 4 = 44/3\).) The value is about \(11.33\).
(b) The antiderivative of \(\sec^2 x\) is \(\tan x\) and the antiderivative of \(-\sin x\) is \(+\cos x\):
\[\int_0^{\pi/3}\left(\sec^2 x - \sin x\right)dx = \Big[\tan x + \cos x\Big]_0^{\pi/3} = \left(\sqrt3 + \tfrac12\right) - (0 + 1) = \sqrt3 - \tfrac12 \approx 1.232.\](a) \(\tfrac{34}{3}\); (b) \(\sqrt3 - \tfrac12 \approx 1.232\)
Review: ·
81Evaluate \(\displaystyle\int_{-1}^{3}|x - 1|\,dx\).
Solution
An absolute value has to be removed before integrating. By definition \(|x - 1| = 1 - x\) when \(x \lt 1\) and \(|x - 1| = x - 1\) when \(x \ge 1\), so split the integral at \(x = 1\):
\[\int_{-1}^{3}|x - 1|\,dx = \int_{-1}^{1}(1 - x)\,dx + \int_{1}^{3}(x - 1)\,dx.\] \[\int_{-1}^{1}(1 - x)\,dx = \Big[x - \tfrac{x^2}{2}\Big]_{-1}^{1} = \left(1 - \tfrac12\right) - \left(-1 - \tfrac12\right) = \tfrac12 + \tfrac32 = 2\] \[\int_{1}^{3}(x - 1)\,dx = \Big[\tfrac{x^2}{2} - x\Big]_{1}^{3} = \left(\tfrac92 - 3\right) - \left(\tfrac12 - 1\right) = \tfrac32 + \tfrac12 = 2.\]The integral is \(2 + 2 = 4\). Geometric check: the graph of \(|x - 1|\) is a V with its vertex at \((1, 0)\), and the region under it from \(-1\) to \(3\) is two right triangles, each with base \(2\) and height \(2\), so each has area \(2\).
\(4\)
Review: ·
82Suppose \(\displaystyle\int_0^5 f(x)\,dx = 8\), \(\displaystyle\int_0^3 f(x)\,dx = 5\) and \(\displaystyle\int_3^5 g(x)\,dx = -2\). Find (a) \(\displaystyle\int_3^5 f(x)\,dx\), (b) \(\displaystyle\int_3^5 \big(2f(x) - 3g(x)\big)\,dx\) and (c) \(\displaystyle\int_5^3 f(x)\,dx\).
Solution
(a) Integrals add over adjacent intervals: \(\displaystyle\int_0^5 f = \int_0^3 f + \int_3^5 f\). Therefore
\[\int_3^5 f(x)\,dx = 8 - 5 = 3.\](b) Integration is linear, so constants come out and sums split:
\[\int_3^5 \big(2f(x) - 3g(x)\big)\,dx = 2\int_3^5 f(x)\,dx - 3\int_3^5 g(x)\,dx = 2(3) - 3(-2) = 6 + 6 = 12.\](c) Swapping the limits of integration changes the sign:
\[\int_5^3 f(x)\,dx = -\int_3^5 f(x)\,dx = -3.\](a) \(3\); (b) \(12\); (c) \(-3\)
Review: ·
83Let \(\displaystyle F(x) = \int_0^{x^3}\sqrt{1 + t^2}\,dt\). Find \(F'(x)\).
Solution
Part 1 of the Fundamental Theorem says that \(\dfrac{d}{dx}\displaystyle\int_a^x g(t)\,dt = g(x)\): differentiating undoes integrating. Here the upper limit is \(x^3\) rather than \(x\), so the chain rule is needed as well. Let \(G(u) = \displaystyle\int_0^u\sqrt{1 + t^2}\,dt\), so that \(G'(u) = \sqrt{1 + u^2}\) and \(F(x) = G(x^3)\). Then
\[F'(x) = G'(x^3)\cdot\frac{d}{dx}(x^3) = \sqrt{1 + (x^3)^2}\cdot 3x^2 = 3x^2\sqrt{1 + x^6}.\]There is no need (and no elementary way) to compute the integral itself. The recipe is: substitute the upper limit for \(t\) in the integrand, then multiply by the derivative of that upper limit.
\(F'(x) = 3x^2\sqrt{1 + x^6}\)
Review: ·
84Let \(\displaystyle G(x) = \int_{2x}^{x^2}\cos(t^2)\,dt\). Find \(G'(x)\).
Solution
Both limits depend on \(x\). Split the integral at a constant (0 is convenient) so that each piece has a constant lower limit:
\[G(x) = \int_0^{x^2}\cos(t^2)\,dt - \int_0^{2x}\cos(t^2)\,dt.\]Now apply Part 1 of the Fundamental Theorem with the chain rule to each piece: substitute the upper limit into the integrand and multiply by the derivative of that limit.
\[G'(x) = \cos\big((x^2)^2\big)\cdot 2x - \cos\big((2x)^2\big)\cdot 2 = 2x\cos(x^4) - 2\cos(4x^2).\]The general rule is \(\dfrac{d}{dx}\displaystyle\int_{a(x)}^{b(x)} g(t)\,dt = g(b(x))\,b'(x) - g(a(x))\,a'(x)\); the lower limit contributes with a minus sign.
\(G'(x) = 2x\cos(x^4) - 2\cos(4x^2)\)
Review: ·
85Let \(\displaystyle g(x) = \int_0^x (4 - 2t)\,dt\) for \(0 \le x \le 4\). (a) Find \(g(4)\). (b) Find \(g'(1)\). (c) At what value of \(x\) does \(g\) have its maximum on \([0, 4]\)?
Solution
Think of \(g(x)\) as the net area under the line \(y = 4 - 2t\) from \(0\) to \(x\). The line is positive for \(t \lt 2\) and negative for \(t \gt 2\).
(a)
\[g(4) = \int_0^4 (4 - 2t)\,dt = \Big[4t - t^2\Big]_0^4 = 16 - 16 = 0.\]Geometrically, the triangle above the axis on \([0, 2]\) has area \(4\) and the triangle below the axis on \([2, 4]\) has signed area \(-4\); they cancel.
(b) By Part 1 of the Fundamental Theorem, \(g'(x)\) is simply the integrand with \(t\) replaced by \(x\): \(g'(x) = 4 - 2x\), so \(g'(1) = 2\). (Integrating first gives \(g(x) = 4x - x^2\) and \(g'(x) = 4 - 2x\), the same thing.)
(c) \(g'(x) = 4 - 2x\) is positive for \(x \lt 2\) and negative for \(x \gt 2\), so \(g\) increases until \(x = 2\) and decreases afterwards: the maximum is at \(x = 2\), where \(g(2) = 8 - 4 = 4\). In words, \(g\) keeps accumulating area while the integrand is positive and starts losing it as soon as the integrand turns negative.
(a) \(0\); (b) \(2\); (c) \(x = 2\), where \(g(2) = 4\)
Review: ·
86Find \(\displaystyle\int x^2 (x^3 + 4)^5\,dx\) with constant 0.
Solution
The derivative of the inside function \(x^3 + 4\) is \(3x^2\), which is the other factor up to a constant. That is the signal for substitution. Let
\[u = x^3 + 4\] \[du = 3x^2\,dx\] \[\Longrightarrow\ x^2\,dx = \tfrac13\,du.\] \[\int x^2(x^3 + 4)^5\,dx = \int u^5\cdot\tfrac13\,du = \frac13\cdot\frac{u^6}{6} = \frac{u^6}{18} = \frac{(x^3 + 4)^6}{18}.\]Check by the chain rule: \(\dfrac{d}{dx}\dfrac{(x^3 + 4)^6}{18} = \dfrac{6(x^3 + 4)^5\cdot 3x^2}{18} = x^2(x^3 + 4)^5\). The factor \(\tfrac13\) that comes from \(du\) is easy to drop; the check catches it.
\(\dfrac{(x^3 + 4)^6}{18}\)
Review: ·
87Find, with constant 0, (a) \(\displaystyle\int x e^{-x^2}\,dx\) and (b) \(\displaystyle\int \tan^3 x\,\sec^2 x\,dx\).
Solution
(a) Let \(u = -x^2\), so \(du = -2x\,dx\) and \(x\,dx = -\tfrac12\,du\):
\[\int x e^{-x^2}\,dx = -\frac12\int e^{u}\,du = -\frac12 e^{u} = -\frac12 e^{-x^2}.\](b) Let \(u = \tan x\), so \(du = \sec^2 x\,dx\), which is exactly the leftover factor:
\[\int \tan^3 x\,\sec^2 x\,dx = \int u^3\,du = \frac{u^4}{4} = \frac{\tan^4 x}{4}.\]Check (b) with the chain rule: \(\dfrac{d}{dx}\dfrac{\tan^4 x}{4} = \tan^3 x\cdot\sec^2 x\). If you had chosen \(u = \sec x\) instead you would get \(\tfrac14\sec^4 x - \tfrac12\sec^2 x\), which differs from \(\tfrac14\tan^4 x\) by the constant \(\tfrac14\) (because \(\tan^2 x = \sec^2 x - 1\)); both are correct antiderivatives.
(a) \(-\tfrac12 e^{-x^2}\); (b) \(\tfrac14\tan^4 x\)
Review: ·
88Evaluate \(\displaystyle\int_0^{\sqrt3} x\sqrt{x^2 + 1}\,dx\).
Solution
Let \(u = x^2 + 1\), so \(du = 2x\,dx\) and \(x\,dx = \tfrac12\,du\). For a definite integral, convert the limits to \(u\) as well: when \(x = 0\), \(u = 1\); when \(x = \sqrt3\), \(u = 3 + 1 = 4\).
\[\int_0^{\sqrt3} x\sqrt{x^2 + 1}\,dx = \frac12\int_1^4 u^{1/2}\,du = \frac12\cdot\frac23 u^{3/2}\Big|_1^4 = \frac13\left(4^{3/2} - 1^{3/2}\right) = \frac13(8 - 1) = \frac73.\]Once the limits have been converted, evaluate in \(u\) and never plug the original \(x\)-limits into the \(u\)-antiderivative. (Alternatively, convert back to \(\tfrac13(x^2 + 1)^{3/2}\) and use the \(x\)-limits \(0\) and \(\sqrt3\); the result is the same \(\tfrac13(8 - 1)\).)
\(\tfrac73\)
Review: ·
89Evaluate (a) \(\displaystyle\int_1^{e}\frac{\ln x}{x}\,dx\) and (b) \(\displaystyle\int_0^{\pi/2}\cos x\,(1 + \sin x)^3\,dx\).
Solution
(a) Let \(u = \ln x\), so \(du = \dfrac{dx}{x}\), which is exactly the remaining factor. Limits: \(x = 1\) gives \(u = 0\); \(x = e\) gives \(u = 1\).
\[\int_1^e \frac{\ln x}{x}\,dx = \int_0^1 u\,du = \frac{u^2}{2}\Big|_0^1 = \frac12.\](b) Let \(u = 1 + \sin x\), so \(du = \cos x\,dx\). Limits: \(x = 0\) gives \(u = 1\); \(x = \pi/2\) gives \(u = 2\).
\[\int_0^{\pi/2}\cos x\,(1 + \sin x)^3\,dx = \int_1^2 u^3\,du = \frac{u^4}{4}\Big|_1^2 = \frac{16 - 1}{4} = \frac{15}{4}.\]In both parts the substitution is chosen so that \(du\) uses up the factor that is not part of the composite function.
(a) \(\tfrac12\); (b) \(\tfrac{15}{4}\)
Review: ·
90Evaluate \(\displaystyle\int_0^4 \frac{x}{\sqrt{2x + 1}}\,dx\).
Solution
Let \(u = 2x + 1\), so \(du = 2\,dx\) and \(dx = \tfrac12\,du\). This time an \(x\) is left over in the numerator, so solve the substitution for \(x\) as well: \(x = \dfrac{u - 1}{2}\). Limits: \(x = 0\) gives \(u = 1\); \(x = 4\) gives \(u = 9\).
\[\int_0^4 \frac{x}{\sqrt{2x + 1}}\,dx = \int_1^9 \frac{(u - 1)/2}{\sqrt{u}}\cdot\frac{du}{2} = \frac14\int_1^9 \frac{u - 1}{u^{1/2}}\,du = \frac14\int_1^9\left(u^{1/2} - u^{-1/2}\right)du.\] \[= \frac14\left[\frac23 u^{3/2} - 2u^{1/2}\right]_1^9 = \frac14\left[(18 - 6) - \left(\tfrac23 - 2\right)\right] = \frac14\left[12 + \tfrac43\right] = \frac14\cdot\frac{40}{3} = \frac{10}{3}.\](At \(u = 9\): \(\tfrac23\cdot 27 = 18\) and \(2\cdot 3 = 6\).) Rewriting the leftover \(x\) in terms of \(u\) is the step that makes this substitution work; everything inside the integral must be in terms of \(u\) before integrating.
\(\tfrac{10}{3}\)
Review: ·
Set 5: applications of integrals
Calculus 1 · Practice problems 91 to 100
Problems 91 to 100
One hundred Calculus 1 problems: limits and continuity, derivative rules and related rates, applications of the derivative, the Fundamental Theorem and u-substitution, and applications of integrals. Each opens to a full worked solution with the answer highlighted; try it on paper first.
91Let \(f(x) = x^2 - 4\) on \([0, 3]\). (a) Compute \(\displaystyle\int_0^3 f(x)\,dx\), the net signed area. (b) Find the total area between the graph of \(f\) and the \(x\)-axis on \([0, 3]\).
Solution
(a) The definite integral counts area below the axis as negative:
\[\int_0^3 (x^2 - 4)\,dx = \Big[\tfrac{x^3}{3} - 4x\Big]_0^3 = 9 - 12 = -3.\]It is negative because most of the graph on \([0, 3]\) lies below the axis.
(b) For total area every piece counts as positive. \(f(x) = 0\) at \(x = 2\); \(f \lt 0\) on \([0, 2)\) and \(f \gt 0\) on \((2, 3]\). Split there and flip the sign of the negative piece:
\[\int_0^2 (4 - x^2)\,dx = \Big[4x - \tfrac{x^3}{3}\Big]_0^2 = 8 - \tfrac83 = \tfrac{16}{3}\] \[\int_2^3 (x^2 - 4)\,dx = \Big[\tfrac{x^3}{3} - 4x\Big]_2^3 = (9 - 12) - \left(\tfrac83 - 8\right) = -3 + \tfrac{16}{3} = \tfrac73.\] \[\text{total area} = \tfrac{16}{3} + \tfrac73 = \tfrac{23}{3} \approx 7.667.\]Consistency check: the net value is \(-\tfrac{16}{3} + \tfrac73 = -3\), which agrees with (a).
(a) \(-3\); (b) \(\tfrac{23}{3}\)
Review: ·
92Let \(f(x) = \sin x\) on \([0, 3\pi/2]\). (a) Compute \(\displaystyle\int_0^{3\pi/2}\sin x\,dx\). (b) Find the total area between the curve and the \(x\)-axis on this interval. (c) Which statement correctly interprets the answer to (a)? (i) The region between the curve and the axis has area equal to that value. (ii) The area above the axis exceeds the area below it by that value. (iii) The curve lies above the axis for the whole interval. (iv) The integral is meaningless because \(\sin x\) changes sign.
Solution
(a) The antiderivative of \(\sin x\) is \(-\cos x\):
\[\int_0^{3\pi/2}\sin x\,dx = \Big[-\cos x\Big]_0^{3\pi/2} = -\cos\tfrac{3\pi}{2} + \cos 0 = 0 + 1 = 1.\](b) \(\sin x \ge 0\) on \([0, \pi]\) and \(\sin x \le 0\) on \([\pi, 3\pi/2]\). Compute the two pieces separately:
\[\int_0^{\pi}\sin x\,dx = \Big[-\cos x\Big]_0^{\pi} = 1 + 1 = 2\] \[\int_{\pi}^{3\pi/2}\sin x\,dx = \Big[-\cos x\Big]_{\pi}^{3\pi/2} = 0 - 1 = -1.\]The total area is \(2 + |{-1}| = 3\).
(c) The net value \(1\) is \(2 - 1\): the area above the axis minus the area below it. Statement (ii) is the correct reading. The integral is perfectly meaningful when the function changes sign; it just stops being the same thing as the geometric area.
(a) \(1\); (b) \(3\); (c) (ii)
Review: ·
93Find the area of the region bounded by \(y = x^2\) and \(y = 2x + 3\).
Solution
First find where the curves meet:
\[x^2 = 2x + 3\] \[\Longrightarrow\ x^2 - 2x - 3 = 0\] \[\Longrightarrow\ (x - 3)(x + 1) = 0\] \[\Longrightarrow\ x = -1,\ 3.\]Between the intersections decide which curve is on top: at \(x = 0\) the line gives \(3\) and the parabola gives \(0\), so the line is on top. The area is the integral of (top minus bottom):
\[A = \int_{-1}^{3}\big[(2x + 3) - x^2\big]dx = \Big[x^2 + 3x - \tfrac{x^3}{3}\Big]_{-1}^{3}.\] \[= (9 + 9 - 9) - \left(1 - 3 + \tfrac13\right) = 9 - \left(-\tfrac53\right) = \tfrac{32}{3}.\]The area is \(\tfrac{32}{3} \approx 10.67\). Subtracting in the wrong order would give \(-\tfrac{32}{3}\); a negative area is the signal that top and bottom were swapped.
\(\tfrac{32}{3}\)
Review: ·
94The curves \(y = x^3\) and \(y = x\) intersect at three points and enclose two regions. (a) Find the \(x\)-coordinates of the intersection points. (b) Find the total area enclosed by the two curves.
Solution
(a)
\[x^3 = x\] \[\Longrightarrow\ x^3 - x = 0\] \[\Longrightarrow\ x(x - 1)(x + 1) = 0\] \[\Longrightarrow\ x = -1,\ 0,\ 1.\](b) The curves cross at \(x = 0\), so the top curve changes there. On \((0, 1)\) the line is on top: at \(x = \tfrac12\), \(x = \tfrac12\) is bigger than \(x^3 = \tfrac18\). On \((-1, 0)\) the cubic is on top: at \(x = -\tfrac12\), \(x^3 = -\tfrac18\) is bigger than \(x = -\tfrac12\). Both functions are odd, so the two regions are mirror images and have equal area. Compute the right-hand one and double it:
\[A = 2\int_0^1 (x - x^3)\,dx = 2\Big[\tfrac{x^2}{2} - \tfrac{x^4}{4}\Big]_0^1 = 2\left(\tfrac12 - \tfrac14\right) = \tfrac12.\]Integrating \(x - x^3\) straight from \(-1\) to \(1\) would give \(0\), because the two regions cancel. Whenever the curves cross inside the interval, split the integral at the crossing.
(a) \(x = -1, 0, 1\); (b) \(\tfrac12\)
Review: ·
95Find the area of the region bounded by the parabola \(x = y^2\) and the line \(x = y + 2\). (Integrate with respect to \(y\).)
Solution
Both curves are given as \(x\) in terms of \(y\), so slice the region horizontally and integrate in \(y\). Intersections:
\[y^2 = y + 2\] \[\Longrightarrow\ y^2 - y - 2 = 0\] \[\Longrightarrow\ (y - 2)(y + 1) = 0\] \[\Longrightarrow\ y = -1,\ 2.\]For \(y\) between \(-1\) and \(2\) the line is the right-hand boundary: at \(y = 0\) the line gives \(x = 2\) while the parabola gives \(x = 0\). Integrate (right minus left):
\[A = \int_{-1}^{2}\big[(y + 2) - y^2\big]dy = \Big[\tfrac{y^2}{2} + 2y - \tfrac{y^3}{3}\Big]_{-1}^{2}.\] \[= \left(2 + 4 - \tfrac83\right) - \left(\tfrac12 - 2 + \tfrac13\right) = \tfrac{10}{3} - \left(-\tfrac76\right) = \tfrac{20}{6} + \tfrac76 = \tfrac{27}{6} = \tfrac92.\]Integrating in \(x\) instead would need two separate integrals, because the lower boundary switches from the parabola’s bottom half to the line at \(x = 1\). Choosing the variable well is half the problem.
\(\tfrac92\)
Review: ·
96Find the area between \(y = \sin x\) and \(y = \cos x\) for \(0 \le x \le \pi/2\). Give the exact value.
Solution
The curves cross where \(\sin x = \cos x\), that is, at \(x = \pi/4\). On \([0, \pi/4]\) the cosine is on top (at \(x = 0\): \(\cos 0 = 1 \gt \sin 0 = 0\)); on \([\pi/4, \pi/2]\) the sine is on top. So the area needs two integrals:
\[A = \int_0^{\pi/4}(\cos x - \sin x)\,dx + \int_{\pi/4}^{\pi/2}(\sin x - \cos x)\,dx.\] \[\int_0^{\pi/4}(\cos x - \sin x)\,dx = \Big[\sin x + \cos x\Big]_0^{\pi/4} = \left(\tfrac{\sqrt2}{2} + \tfrac{\sqrt2}{2}\right) - (0 + 1) = \sqrt2 - 1\] \[\int_{\pi/4}^{\pi/2}(\sin x - \cos x)\,dx = \Big[-\cos x - \sin x\Big]_{\pi/4}^{\pi/2} = (0 - 1) - \left(-\tfrac{\sqrt2}{2} - \tfrac{\sqrt2}{2}\right) = \sqrt2 - 1.\]The two pieces are equal by the symmetry of the picture about \(x = \pi/4\), and
\[A = 2(\sqrt2 - 1) = 2\sqrt2 - 2 \approx 0.828.\]\(2\sqrt2 - 2 \approx 0.828\)
Review: ·
97(a) Find the average value of \(f(x) = \sqrt{x}\) on \([0, 4]\). (b) Find the value \(c\) in \([0, 4]\) at which \(f(c)\) equals this average, as promised by the Mean Value Theorem for integrals.
Solution
(a) The average value of \(f\) on \([a, b]\) is \(\dfrac{1}{b - a}\displaystyle\int_a^b f(x)\,dx\):
\[f_{\text{avg}} = \frac{1}{4 - 0}\int_0^4 \sqrt{x}\,dx = \frac14\Big[\tfrac23 x^{3/2}\Big]_0^4 = \frac14\cdot\frac23\cdot 8 = \frac43.\](At \(x = 4\), \(4^{3/2} = 8\).) The average height of the curve over \([0, 4]\) is \(\tfrac43\), which sensibly lies between the smallest value \(0\) and the largest value \(2\).
(b) Solve \(f(c) = \tfrac43\):
\[\sqrt{c} = \frac43\] \[\Longrightarrow\ c = \frac{16}{9} \approx 1.78.\]This \(c\) is in \([0, 4]\), as the theorem guarantees for a continuous function. Geometrically, the rectangle of height \(\tfrac43\) on \([0, 4]\) has the same area, \(\tfrac{16}{3}\), as the region under the curve.
(a) \(\tfrac43\); (b) \(c = \tfrac{16}{9}\)
Review: ·
98The temperature in a greenhouse during a 12-hour daytime period is modelled by \(T(t) = 70 + 10\sin\!\left(\dfrac{\pi t}{12}\right)\) degrees Fahrenheit for \(0 \le t \le 12\) hours. Find the average temperature over the 12 hours, to two decimals.
Solution
Average value over \([0, 12]\):
\[T_{\text{avg}} = \frac{1}{12}\int_0^{12}\left(70 + 10\sin\frac{\pi t}{12}\right)dt = \frac{1}{12}\int_0^{12} 70\,dt + \frac{10}{12}\int_0^{12}\sin\frac{\pi t}{12}\,dt.\]The first integral is \(70 \cdot 12\), so the first term is just \(70\). For the second, the antiderivative of \(\sin(\pi t/12)\) is \(-\dfrac{12}{\pi}\cos(\pi t/12)\) (the chain rule factor \(\pi/12\) is divided out):
\[\int_0^{12}\sin\frac{\pi t}{12}\,dt = \left[-\frac{12}{\pi}\cos\frac{\pi t}{12}\right]_0^{12} = -\frac{12}{\pi}\left(\cos\pi - \cos 0\right) = -\frac{12}{\pi}(-1 - 1) = \frac{24}{\pi}.\] \[T_{\text{avg}} = 70 + \frac{10}{12}\cdot\frac{24}{\pi} = 70 + \frac{20}{\pi} \approx 76.37^\circ\text{F}.\]Sense check: the temperature starts at \(70\), peaks at \(80\) at \(t = 6\) and returns to \(70\), so an average a bit above \(76\) is reasonable (a sine arch is fuller than a triangle, which would average \(75\)).
\(70 + \dfrac{20}{\pi} \approx 76.37^\circ\)F
Review: ·
99A particle moves along a line with velocity \(v(t) = t^2 - 6t + 8\) metres per second for \(0 \le t \le 5\). (a) Find the displacement of the particle over \([0, 5]\). (b) Find the total distance it travels over \([0, 5]\).
Solution
(a) Displacement is the integral of velocity:
\[\int_0^5 (t^2 - 6t + 8)\,dt = \Big[\tfrac{t^3}{3} - 3t^2 + 8t\Big]_0^5 = \tfrac{125}{3} - 75 + 40 = \tfrac{20}{3} \text{ m}.\](b) Distance is the integral of speed, \(|v(t)|\), so find where the velocity changes sign: \(v(t) = (t - 2)(t - 4)\) is positive on \([0, 2)\), negative on \((2, 4)\) and positive on \((4, 5]\). With \(F(t) = \tfrac{t^3}{3} - 3t^2 + 8t\) we have \(F(0) = 0\), \(F(2) = \tfrac83 - 12 + 16 = \tfrac{20}{3}\), \(F(4) = \tfrac{64}{3} - 48 + 32 = \tfrac{16}{3}\) and \(F(5) = \tfrac{20}{3}\), so
\[\int_0^2 v\,dt = \tfrac{20}{3}\] \[\int_2^4 v\,dt = \tfrac{16}{3} - \tfrac{20}{3} = -\tfrac43\] \[\int_4^5 v\,dt = \tfrac{20}{3} - \tfrac{16}{3} = \tfrac43.\] \[\text{distance} = \tfrac{20}{3} + \left|-\tfrac43\right| + \tfrac43 = \tfrac{28}{3} \text{ m}.\]The particle moves forward \(\tfrac{20}{3}\) m, backs up \(\tfrac43\) m, then moves forward \(\tfrac43\) m again: it ends \(\tfrac{20}{3} \approx 6.67\) m from where it started but has covered \(\tfrac{28}{3} \approx 9.33\) m of ground.
(a) \(\tfrac{20}{3}\) m; (b) \(\tfrac{28}{3}\) m
Review: ·
100A particle moves along a straight line with velocity \(v(t) = 6 - 2t\) metres per second, and its position at \(t = 0\) is \(s(0) = 2\) m. (a) Find its position at \(t = 5\). (b) Find the displacement over \([0, 5]\). (c) Find the total distance travelled over \([0, 5]\).
Solution
(b) first, since (a) follows from it. The displacement over \([0, 5]\) is
\[\int_0^5 (6 - 2t)\,dt = \Big[6t - t^2\Big]_0^5 = 30 - 25 = 5 \text{ m}.\](a) By the net change theorem, final position equals initial position plus displacement:
\[s(5) = s(0) + \int_0^5 v(t)\,dt = 2 + 5 = 7 \text{ m}.\](c) The velocity is zero at \(t = 3\), positive before and negative after, so split there:
\[\int_0^3 (6 - 2t)\,dt = \Big[6t - t^2\Big]_0^3 = 18 - 9 = 9\] \[\int_3^5 (6 - 2t)\,dt = (30 - 25) - (18 - 9) = -4.\] \[\text{distance} = 9 + |{-4}| = 13 \text{ m}.\]The particle travels \(9\) m forward, turns around at \(t = 3\), and comes back \(4\) m. Net progress \(5\) m, ground covered \(13\) m.
(a) \(7\) m; (b) \(5\) m; (c) \(13\) m
Review: ·