←
Class 12 Mathematics
5. Continuity and Differentiability · 5 / 13
⌕
Chapter 5 of 13

5. Continuity and Differentiability

10 sections · 13,961 words

5.1 Chapter Opener: Introduction and Intuition of Continuity

882 words · 4 min read

Chapter 5

Continuity and Differentiability

Big idea: a curve with no breaks can be drawn without lifting the pen, and a curve with no sharp corners has a well-defined slope at every point. This chapter turns those two pictures into exact tests.

A speedometer needle slides smoothly from one reading to the next. It never jumps from 40 to 60 without passing through 50. That sliding, with no jumps, is the everyday picture of continuity. But smoothness is stricter: the path of a ball that bounces off a wall has no gap, yet at the bounce point it turns suddenly, so no single direction fits there. That sudden turn is the everyday picture of a point where a function is continuous but not differentiable.

This chapter makes both ideas exact. First you will test continuity with left-hand and right-hand limits, and use the test to find missing constants. Then you will build the derivative as the limit of secant slopes, see why a corner breaks it, and learn the rules that compute derivatives fast: the chain rule, and the derivatives of implicit, inverse trigonometric, exponential, logarithmic and parametric forms. The chapter closes with the second derivative, which measures how the slope itself changes.

  • 5.1 sketches the two guiding pictures: no breaks, and no sharp corners.
  • 5.2 turns "no breaks" into a three-part limit test, with holes, jumps and missing constants.
  • 5.3 builds the derivative from secant lines, explains corners, and proves that a differentiable function must be continuous.
  • 5.4 to 5.6 compute derivatives for exponential, logarithmic, implicit, inverse trigonometric and parametric forms.
  • 5.7 differentiates twice, and reads velocity and acceleration from the two derivatives.
How to study this chapter. Every new word is defined in plain language first. Work each example with a pen: copy the formula, do the algebra step, then check the answer. Draw the small graphs yourself. Each section ends with checks whose answers explain the step you may have missed.

Think about the charge level of a phone battery during the day. It never jumps from 80 percent to 40 percent in one instant. It slides down through every value in between. We say the battery level is a continuous function of time.

Now think about the postage for a parcel. A parcel up to 500 grams costs 20 units, and a heavier parcel up to 1000 grams costs 35 units. The price graph below has a step at 500 grams: just below it the price is 20, just above it the price is 35, with nothing in between. The price jumps, so it is not continuous at 500 grams.

A jump at 500 grams. The price just below is 20 and just above is 35, so the pen must lift: the function is not continuous there.

Read the figure. The left piece ends at height 20 with an open circle, which means that value is not taken. The right piece starts at the filled point 35. Because the two heights differ, no single curve can pass through both: the pen must lift. That lift is the visible sign of discontinuity.

A quick test for a graph: can you draw it without lifting your pen? If yes, it is continuous. If you must lift the pen, there is a break. The smooth curve below passes the test everywhere, and it has something extra: no sharp corner anywhere.

A continuous and smooth curve. The pen never leaves the paper, and the curve has no sharp corner.

Continuity is about no breaks. Differentiability is about no sharp corners. A function that is differentiable at a point has a clear tangent line there, and the slope of that tangent is the derivative. Every differentiable function is continuous, but as the bounced-ball picture shows, the reverse is false: a corner is unbroken yet has no single slope.

In this chapter you will learn: how to test continuity at a point; how to find a missing constant so that a function is continuous; the meaning of the derivative; the chain rule; derivatives of implicit, inverse trigonometric, exponential, logarithmic and parametric functions; logarithmic differentiation; and the second derivative.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] A temperature sensor records 21.0, 21.1, 21.2 degrees through the morning, never jumping. Is the temperature reading continuous in time? What would a jump look like on its graph?
Try answering before revealing!
Question 2
[HOTS] On the postage graph above, what are the prices just below and just above 500 grams? Why does that force the pen to lift?
Try answering before revealing!

5.2 Continuity and Algebra of Continuous Functions

2,142 words · 10 min read

The pen test is good for pictures, but we also need a test that works from a formula. A function ff is continuous at a point x=cx = c when three things are true:

  1. [Concept] f(c)f(c) exists (the function has a value at cc);
  2. [Board Standard] the limit lim⁡x→cf(x)\lim_{x \to c} f(x) exists. This means the left-hand limit (coming from smaller xx) and the right-hand limit (coming from larger xx) are equal;
  3. [HOTS] that limit is equal to f(c)f(c).

In one line: left-hand limit = right-hand limit = f(c)f(c). If any one of the three fails, the function is discontinuous at cc.

CheckPassFail means
f(c)f(c) existsA dot is drawn at x=cx = cA hole: nothing drawn at cc
Left limit equals right limitBoth sides head to one heightA jump: the sides head to different heights
That height equals f(c)f(c)The drawn dot sits on the approaching curveA mismatch: the dot floats off the curve

Read the table row by row. Each row is one of the three conditions. The middle column says what passing looks like, and the last column names the failure you see on a graph. All three rows must pass for continuity at the point.

Does f(c) exist?Left limit = right limit?Limit value = f(c)?Continuous at cno: hole/jumpno: mismatchRead it top to bottom. Any "no" stops the test: the function is discontinuous.
The three-question continuity test. One "no" anywhere means discontinuous.

Read the diagram from the top. It asks the three conditions in order. A "no" at the first box means a hole, a "no" at the second means a jump, and a "no" at the third means the drawn point floats off the curve. Only three "yes" answers in a row earn the label continuous.

In simple words: as xx gets close to cc from either side, the graph must head to the same height, and that height must be the point that is actually drawn at cc.

Is f(x)=3x2−2x+1f(x) = 3 x^{2} - 2 x + 1 continuous at x=2x = 2?

Solution. The value is f(2)=3(2)2−2(2)+1=9f(2) = 3(2)^2 - 2(2) + 1 = 9. From the left, x=1.5x = 1.5 gives 4.754.75, x=1.75x = 1.75 gives 6.68756.6875, and x=1.9x = 1.9 gives 8.038.03: the values climb toward 9$. From the right, x=2.5x = 2.5 gives 14.7514.75, x=2.25x = 2.25 gives 11.687511.6875, and x=2.1x = 2.1 gives 10.0310.03: they fall toward 9$. So left limit = right limit = f(2)=9f(2) = 9, and ff is continuous at 2. (The same works at every point: a polynomial is continuous everywhere.)

Both sides approach the same height 9, which is also the drawn value f(2): the function is continuous at 2.

Read the figure. The blue curve is the graph near x=2x = 2. The orange dots on each side are the computed values from the solution, and they march toward the dashed line at height 9. The orange dot exactly on the curve at (2,9)(2, 9) is the drawn value. Because both sides and the dot agree, the test passes.

Let g(x)=x2−9x−3g(x) = \frac{x^{2} - 9}{x - 3} for x≠3x \neq 3. At x=3x = 3 the formula gives 00\frac{0}{0}, so g(3)g(3) does not exist. But for every x≠3x \neq 3 we can cancel: x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3), so g(x)=x+3g(x) = x + 3. As xx approaches 3, g(x)g(x) approaches 66.

The graph of g(x) = (x squared minus 9) over (x minus 3). The open circle at (3, 6) is a hole: the function has no value at x = 3.

The limit exists (it is 6), but g(3)g(3) does not exist, so condition 1 fails and gg is discontinuous at 3. This is called a removable discontinuity: if we decide that g(3)=6g(3) = 6, the hole is filled and the function becomes continuous.

Define hh by h(x)={x+2x<12x+3x≥1h(x) = \begin{cases} x + 2 & x < 1 \\ 2 x + 3 & x \ge 1 \end{cases} At x=1x = 1: the value is h(1)=5h(1) = 5. From the left, h(x)=x+2h(x) = x + 2 approaches 3$. From the right, h(x)=2x+3h(x) = 2x + 3 approaches 5.Thetwolimitsaredifferent(3. The two limits are different (3 \neq 5$), so no single limit exists and hh is discontinuous at 1.

A jump discontinuity: the left piece ends near height 3, but the function starts again at height 5.

Read the figure. Follow the left piece with your eye: it climbs toward height 3 but the end circle is open, so 3 is never drawn. The right piece starts at the filled dot at height 5. The vertical gap between 3 and 5 is the jump, and it is why condition 2 fails.

Common mistake: "the limit exists, so the function is continuous." Not so. The limit must also be equal to the value f(c)f(c). In Example 2 the limit exists but there is no value.

Take the function from Example 2 but now set the missing value badly: g(x)=(x2−9)/(x−3)g(x) = (x^2 - 9)/(x - 3) for x≠3x \neq 3, and g(3)=5g(3) = 5. The limit as x→3x \to 3 is still 66, because limits only look at nearby points, not at x=3x = 3 itself. But g(3)=5≠6g(3) = 5 \neq 6, so condition 3 fails and gg is discontinuous at 3. The drawn dot at (3,5)(3, 5) floats off the line. A limit ignores the value at the point; continuity does not.

For which value of aa is f(x)={ax+2x≤23x2−4x>2f(x) = \begin{cases} a x + 2 & x \le 2 \\ 3 x^{2} - 4 & x > 2 \end{cases} continuous at x=2x = 2?

Solution. From the right, 3x2−43x^2 - 4 approaches 3(2)2−4=83(2)^2 - 4 = 8. From the left (and at x=2x = 2), ax+2ax + 2 equals 2a+22a + 2. For continuity these must be equal: 2a+2=82a + 2 = 8, so 2a=62a = 6 and a=3a = 3. Check: with a=3a = 3 the left limit is 3(2)+2=83(2) + 2 = 8, the right limit is 88 and f(2)=8f(2) = 8.

A function is continuous on an interval if it is continuous at every point of the interval. We usually do not check each point. We use these known facts:

  • [Concept] Polynomials are continuous everywhere.
  • [Board Standard] Rational functions (a polynomial divided by a polynomial) are continuous everywhere except where the denominator is 0.
  • [Board Standard] ∣x∣|x|, sin⁡x\sin x, cos⁡x\cos x and exe^x are continuous everywhere. ln⁡x\ln x is continuous for x>0x > 0.
  • [HOTS] tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x} is continuous except where cos⁡x=0\cos x = 0.

Example 6. Is ∣x−5∣|x - 5| continuous at 5? The value is ∣5−5∣=0|5 - 5| = 0. From the left the limit is 00 and from the right it is 00. All three agree, so ∣x−5∣|x - 5| is continuous at 5. It has a corner there, but no break. Corners break smoothness, not continuity.

Example 7. Let f(x)=sin⁡xxf(x) = \frac{\sin x}{x} for x≠0x \neq 0. We can show that lim⁡x→0f(x)=1\lim_{x \to 0} f(x) = 1 (a famous limit). So to make ff continuous at 0 we must define f(0)=1f(0) = 1. This fills the hole exactly as in Example 2.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Find the left and right limits of x2+1x^{2} + 1 at x=3x = 3. Is it continuous at 3?
Try answering before revealing!
Question 2
[Board Standard] What value should be given to x2−25x−5\frac{x^2 - 25}{x - 5} at x=5x = 5 to make it continuous there?
Try answering before revealing!
Question 3
[HOTS] The left limit at a point is 4 and the right limit is 4, but the function value there is 7. Is the function continuous at that point? Which example above does this match?
Try answering before revealing!

Big functions are built from small ones. The next rules tell us that if the small parts are continuous, so is the big function. They save us from checking limits point by point.

If ff and gg are continuous at cc, then these are also continuous at cc:

  • [Concept] f+gf + g and f−gf - g;
  • [Board Standard] k⋅fk \cdot f for any number kk;
  • [Board Standard] f⋅gf \cdot g;
  • [HOTS] fg\frac{f}{g}, provided g(c)≠0g(c) \neq 0;
  • [HOTS] the composite f(g(x))f(g(x)), provided gg is continuous at cc and ff is continuous at g(c)g(c) ("a continuous function of a continuous function").

These rules are true because limits behave well: the limit of a sum is the sum of the limits, the limit of a product is the product of the limits, and so on.

FunctionContinuous whereWhy
x2+3x−1x^2 + 3x - 1EverywherePolynomial
x+1x2−5x+6\frac{x + 1}{x^2 - 5x + 6}All xx except 2 and 3Bottom is 0 at x=2x = 2 and x=3x = 3
3x2−16\frac{3}{x^2 - 16}All xx except 4 and −4-4Bottom is 0 at x=4x = 4 and x=−4x = -4
sin⁡(x2+1)\sin(x^2 + 1)EverywhereSine of a polynomial (composite rule)
e2x−1e^{2x - 1}EverywhereExponential of a polynomial (composite rule)
ln⁡(x2+1)\ln(x^2 + 1)EverywhereLog of a quantity that is always at least 1

Read the table as a toolkit. The first column names a family, the second says exactly where it is safe, and the third gives the one-line reason. When you meet a new formula, match it to a row instead of computing limits.

Is f(x)=(x2+1)(2x−3)f(x) = \left(x^{2} + 1\right) \left(2 x - 3\right) continuous at x=2x = 2? Both x2+1x^2 + 1 and 2x−32x - 3 are polynomials, so both are continuous. Their product is continuous. Check by value: f(2)=(4+1)(4−3)=5f(2) = (4 + 1)(4 - 3) = 5, and the limit as x→2x \to 2 is also 55.

Is g(x)=x+4x−1g(x) = \frac{x + 4}{x - 1} continuous at x=3x = 3? The denominator is 3−1=23 - 1 = 2, which is not 0, so yes. Its value there is 72=3.5\frac{7}{2} = 3.5. At x=1x = 1 the denominator is 0, so gg is not defined and not continuous at 1.

Let f(x)=x+1x2−5x+6f(x) = \frac{x + 1}{x^2 - 5x + 6}. The top is a polynomial, so the only trouble is where the bottom is 0. Since x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3), this happens at x=2x = 2 and x=3x = 3 (check: the bottom equals 0$ and 0$ there). So ff is continuous everywhere except at x=2x = 2 and x=3x = 3.

Is sin⁡(x2+1)\sin(x^2 + 1) continuous for all xx? The inside, x2+1x^2 + 1, is a polynomial, so it is continuous. The outside, sin⁡\sin, is continuous. A continuous function of a continuous function is continuous, so yes, for every real xx.

Is e2x−1e^{2x - 1} continuous at x=12x = \frac{1}{2}? The exponent 2x−12x - 1 is a polynomial, hence continuous, and the exponential function is continuous, so the composite is continuous everywhere. Its value at x=12x = \frac{1}{2} is e0=1e^0 = 1, and the limit is also 11.

Common mistake: for a quotient, checking only the top. You must always check where the bottom is 0.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Where is 3x2−16\frac{3}{x^2 - 16} discontinuous?
Try answering before revealing!
Question 2
[Board Standard] Is x2sin⁡xx^2 \sin x continuous for all real xx?
Try answering before revealing!
Question 3
[HOTS] A student says "ln⁡(x2+1)\ln(x^2 + 1) is discontinuous because log needs positive inputs." What is wrong with this claim?
Try answering before revealing!

5.3 Exercise 5.1: Continuity and Point Discontinuity

789 words · 4 min read

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Show that f(x)=2x2−3x+7f(x) = 2 x^{2} - 3 x + 7 is continuous at x=−1x = -1.
Try answering before revealing!
Question 2
[Concept] The function f(x)=x2−16x−4f(x) = \frac{x^{2} - 16}{x - 4} is defined for x≠4x \neq 4. What value should be given to f(4)f(4) so that ff is continuous at 4?
Try answering before revealing!
Question 3
[Concept] Is f(x)={3x−1x<25x=2x2+1x>2f(x) = \begin{cases} 3 x - 1 & x < 2 \\ 5 & x = 2 \\ x^{2} + 1 & x > 2 \end{cases} continuous at x=2x = 2?
Try answering before revealing!
Question 4
[Concept] Is f(x)={x+3x≤15x−3x>1f(x) = \begin{cases} x + 3 & x \le 1 \\ 5 x - 3 & x > 1 \end{cases} continuous at x=1x = 1?
Try answering before revealing!
Question 5
[Concept] Find the value of kk for which f(x)={kx2x≤23x>2f(x) = \begin{cases} k x^{2} & x \le 2 \\ 3 & x > 2 \end{cases} is continuous at x=2x = 2.
Try answering before revealing!
Question 6
[Concept] Find aa and bb so that f(x)={4x≤1ax+b1<x<310x≥3f(x) = \begin{cases} 4 & x \le 1 \\ a x + b & 1 < x < 3 \\ 10 & x \ge 3 \end{cases} is continuous everywhere.
Try answering before revealing!
Question 7
[Board Standard] Find all points where f(x)=1x2−9f(x) = \frac{1}{x^2 - 9} is discontinuous.
Try answering before revealing!
Question 8
[Board Standard] Is f(x)=∣x−2∣f(x) = |x - 2| continuous at x=2x = 2?
Try answering before revealing!
Question 9
[Board Standard] Let f(x)=x∣x∣f(x) = \frac{x}{|x|} for x≠0x \neq 0. Find the left and right limits at 0. Can f(0)f(0) be defined so that ff is continuous at 0?
Try answering before revealing!
Question 10
[Board Standard] Where is f(x)=x+2x2−5x+6f(x) = \frac{x + 2}{x^2 - 5x + 6} discontinuous?
Try answering before revealing!
Question 11
[Board Standard] The function f(x)=x3−8x−2f(x) = \frac{x^3 - 8}{x - 2} is defined for x≠2x \neq 2. What value should be given to f(2)f(2) so that ff is continuous at 2?
Try answering before revealing!
Question 12
[Board Standard] Find kk so that f(x)={x+5x≤23x−kx>2f(x) = \begin{cases} x + 5 & x \le 2 \\ 3 x - k & x > 2 \end{cases} is continuous at x=2x = 2.
Try answering before revealing!
Question 13
[Board Standard] Where is f(x)=tan⁡xf(x) = \tan x discontinuous for −π<x<π-\pi < x < \pi? Give a reason using cos⁡x\cos x.
Try answering before revealing!
Question 14
[HOTS] Is f(x)=∣x−5∣f(x) = |x - 5| continuous at x=5x = 5?
Try answering before revealing!
Question 15
[HOTS] Let f(x)=x2−4x−2f(x) = \frac{x^2 - 4}{x - 2} for x≠2x \neq 2, and f(2)=3f(2) = 3. Is ff continuous at 2? If not, which condition fails?
Try answering before revealing!
Question 16
[HOTS] Find all points where f(x)=2x+3x2+x−2f(x) = \frac{2x + 3}{x^2 + x - 2} is discontinuous.
Try answering before revealing!
Question 17
[HOTS] Let f(x)=sin⁡xxf(x) = \frac{\sin x}{x} for x≠0x \neq 0, and f(0)=0f(0) = 0. Is ff continuous at 0? What value of f(0)f(0) would make it continuous?
Try answering before revealing!
Question 18
[HOTS] Is f(x)={x2x≤24x−4x>2f(x) = \begin{cases} x^{2} & x \le 2 \\ 4 x - 4 & x > 2 \end{cases} continuous at x=2x = 2?
Try answering before revealing!

5.4 Differentiability and the Chain Rule for Composite Functions

2,098 words · 10 min read

Take the curve y=x2y = x^2 and the point (1,1)(1, 1) on it. Choose a second point a small step hh to the right: (1+h,(1+h)2)(1 + h, (1 + h)^2). The straight line through the two points is a secant. Its slope is (1+h)2−1h\frac{(1 + h)^2 - 1}{h}. For h=1,0.5,0.25h = 1, 0.5, 0.25 the slopes are 3,2.5,2.253, 2.5, 2.25. As hh shrinks, the second point slides toward the first, and the slopes settle down to 2$. The line through (1,1)(1, 1) with slope 2$ is the tangent line.

Secant lines (slopes 3, 2.5, 2.25) turn into the tangent line (slope 2) as the second point moves toward (1, 1).

Read the figure. The three pale secants use second points further and further to the right, and their slopes drop from 3 toward 2. The dashed orange line is where they settle: the tangent at (1,1)(1, 1). Its slope, 2, is the derivative of x2x^2 at x=1x = 1.

The number that the secant slopes settle down to is the derivative of ff at cc. In symbols:

f′(c)=lim⁡h→0f(c+h)−f(c)hf'(c) = \lim_{h \to 0} \frac{f(c + h) - f(c)}{h}

If this limit exists, we say ff is differentiable at cc. The limit from the right (h>0h > 0) is the right-hand derivative; the limit from the left (h<0h < 0) is the left-hand derivative. The derivative exists exactly when both are equal.

Example 1. For f(x)=x2f(x) = x^2 at c=3c = 3: (3+h)2−9h=9+6h+h2−9h=6h+h2h=6+h\frac{(3 + h)^2 - 9}{h} = \frac{9 + 6h + h^2 - 9}{h} = \frac{6h + h^2}{h} = 6 + h, which approaches 66 as h→0h \to 0. So f′(3)=6f'(3) = 6.

Example 2. For f(x)=1xf(x) = \frac{1}{x} at c=2c = 2: start with one fraction, 12+h−12h=2−(2+h)2(2+h)h=−h2h(2+h)=−12(2+h),\frac{\frac{1}{2 + h} - \frac{1}{2}}{h} = \frac{\frac{2 - (2 + h)}{2(2 + h)}}{h} = \frac{-h}{2h(2 + h)} = \frac{-1}{2(2 + h)}, which approaches −0.25-0.25, that is −14-\frac{1}{4}. So f′(2)=−14f'(2) = -\frac{1}{4}.

Example 3. For f(x)=xf(x) = \sqrt{x} at c=4c = 4: the quotient is 4+h−2h\frac{\sqrt{4 + h} - 2}{h}. Multiply top and bottom by 4+h+2\sqrt{4 + h} + 2: (4+h−2)(4+h+2)h(4+h+2)=(4+h)−4h(4+h+2)=14+h+2,\frac{(\sqrt{4 + h} - 2)(\sqrt{4 + h} + 2)}{h(\sqrt{4 + h} + 2)} = \frac{(4 + h) - 4}{h(\sqrt{4 + h} + 2)} = \frac{1}{\sqrt{4 + h} + 2}, which approaches 0.250.25. So the derivative of x\sqrt{x} at x=4x = 4 is 14\frac{1}{4}.

Look at f(x)=∣x∣f(x) = |x| at 0. The step quotient is ∣h∣−0h=∣h∣h\frac{|h| - 0}{h} = \frac{|h|}{h}. For h>0h > 0 it equals 1, so the right-hand derivative is 11. For h<0h < 0 it equals −1-1, so the left-hand derivative is −1-1. They differ, so ∣x∣|x| is not differentiable at 0.

The graph of |x| has a sharp corner at the origin. The slopes on the two sides are −1 and 1, so there is no single tangent line.

Read the figure. The left arm is a straight line of slope −1-1 and the right arm is a straight line of slope 1. At the origin the two arms meet at a point, so ∣x∣|x| is continuous there, but they point in different directions, so no single tangent line fits. That is why the two one-sided derivatives disagree.

Theorem. If ff is differentiable at cc, then ff is continuous at cc.

Reason in plain words: write the change in ff as a product, f(c+h)−f(c)=f(c+h)−f(c)h⋅hf(c + h) - f(c) = \frac{f(c + h) - f(c)}{h} \cdot h. As h→0h \to 0, the fraction tends to f′(c)f'(c) (which exists) and the factor hh tends to 0, so the whole product tends to f′(c)⋅0=0f'(c) \cdot 0 = 0. That says f(c+h)→f(c)f(c + h) \to f(c): exactly continuity. The reverse is false: ∣x∣|x| is continuous at 0 but not differentiable at 0.

Example 4 (smooth join). Let f(x)=x2f(x) = x^2 for x≤1x \le 1 and f(x)=2x−1f(x) = 2x - 1 for x>1x > 1. Both pieces give 1 at x=1x = 1, so ff is continuous. Left-hand derivative: 2.Right−handderivative:2. Right-hand derivative: 2. They agree, so ff is differentiable at 1 and f′(1)=2f'(1) = 2.

Example 5 (corner). Let g(x)=x2g(x) = x^2 for x≤1x \le 1 and g(x)=3x−2g(x) = 3x - 2 for x>1x > 1. Both pieces give 1 at x=1x = 1, so gg is continuous. But the left-hand derivative is 2$ and the right-hand derivative is 3$. They differ, so gg is not differentiable at 1.

Same value at x = 1, different behaviour. The blue curve has matching slopes (2 and 2) so it stays smooth; the red piece leaves with slope 3 and makes a corner.

Read the figure. Up to x=1x = 1 both functions share the same parabola. After 1, the blue piece continues with the same slope the parabola had (2), so the eye sees one smooth curve. The red piece leaves more steeply (slope 3), so the eye sees a kink at (1,1)(1, 1). Matching value plus matching slope means differentiable; matching value with a different slope means only continuous.

Common mistake: thinking "continuous" is enough for a derivative. A graph can be unbroken and still have a sharp corner.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Use the definition to find f′(1)f'(1) for f(x)=x2+3xf(x) = x^2 + 3x.
Try answering before revealing!
Question 2
[Board Standard] Can a function be differentiable at a point where it is not continuous?
Try answering before revealing!
Question 3
[HOTS] Let g(x)=x2g(x) = x^2 for x≤0x \le 0 and g(x)=xg(x) = x for x>0x > 0. Is gg continuous at 0? Is it differentiable at 0?
Try answering before revealing!

Here are the basic derivatives and rules you will use all through this chapter. Learn the table first, then the four combining rules.

FunctionDerivative
x5x^55x45x^4
sin⁡x\sin xcos⁡x\cos x
cos⁡x\cos x−sin⁡x-\sin x
tan⁡x\tan xsec⁡2x\sec^2 x (which is 1cos⁡2x\frac{1}{\cos^2 x})

Read the table one row at a time. Each row pairs a function with its slope function. The last row writes the derivative of tan⁡x\tan x as sec⁡2x\sec^2 x, which is just shorter for 1cos⁡2x\frac{1}{\cos^2 x}.

RuleFormulaMini exampleNeeds
Sum(u+v)′=u′+v′(u + v)' = u' + v'(x2+sin⁡x)′=2x+cos⁡x(x^2 + \sin x)' = 2x + \cos xu,vu, v differentiable
Product(uv)′=u′v+uv′(uv)' = u'v + uv'(x2sin⁡x)′=2xsin⁡x+x2cos⁡x(x^2 \sin x)' = 2x\sin x + x^2\cos xu,vu, v differentiable
Quotient(uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}(xx2+1)′=1−x2(x2+1)2\left(\frac{x}{x^2+1}\right)' = \frac{1-x^2}{(x^2+1)^2}v≠0v \neq 0
Chain ruledydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}Outside times inside, see Examples 1 to 4Both layers differentiable

Read the table across each row: the name, the formula, a small worked case, and the condition in the last column. The quotient rule is the only one with a denominator condition, v≠0v \neq 0. The chain rule handles functions inside functions.

In simple words (chain rule): differentiate the outside function, leave the inside alone, then multiply by the derivative of the inside.
outer: cubex3(.)^2middle: cosgives -sininner: 2xgives 2Answer: 3cos^2(2x) x (-sin 2x) x 2
The chain rule as layers. Differentiate each layer and multiply.

Read the diagram left to right for the function (cos⁡2x)3(\cos 2x)^3 of Example 4. Each box names one layer and the rate it contributes. The arrows say "then multiply": the answer is the product of the three contributions shown underneath.

y=(3x2+1)4y = \left(3 x^{2} + 1\right)^{4}. Outside: something to the power 4, derivative 4(⋅)34(\cdot)^3. Inside: 3x2+13x^2 + 1, derivative 6x6x. So dydx=4(3x2+1)3⋅6x=24x(3x2+1)3\frac{dy}{dx} = 4(3x^2 + 1)^3 \cdot 6x = 24 x \left(3 x^{2} + 1\right)^{3}

y=sin⁡(5x2)y = \sin\left(5 x^{2}\right). Outside: sin⁡\sin, derivative cos⁡\cos. Inside: 5x25x^2, derivative 10x10x. So dydx=10xcos⁡(5x2)\frac{dy}{dx} = 10 x \cos\left(5 x^{2}\right)

y=x2+4y = \sqrt{x^{2} + 4}. Outside: square root, derivative 12⋅\frac{1}{2\sqrt{\cdot}}. Inside: x2+4x^2 + 4, derivative 2x2x. So dydx=2x2x2+4=xx2+4\frac{dy}{dx} = \frac{2x}{2\sqrt{x^2 + 4}} = \frac{x}{\sqrt{x^{2} + 4}}

y=cos⁡3(2x)y = \cos^{3}\left(2 x\right) means (cos⁡2x)3(\cos 2x)^3. Outside: cube, derivative 3(⋅)23(\cdot)^2. Middle: cos⁡\cos, derivative −sin⁡-\sin. Inside: 2x2x, derivative 2. Multiply all three: dydx=3cos⁡22x⋅(−sin⁡2x)⋅2=−6cos⁡2(2x)sin⁡(2x)\frac{dy}{dx} = 3\cos^2 2x \cdot (-\sin 2x) \cdot 2 = -6 \cos^{2}\left(2 x\right) \sin\left(2 x\right)

Product: y=x2sin⁡xy = x^{2} \sin x. Then y′=(2x)sin⁡x+x2cos⁡x=2xsin⁡x+x2cos⁡xy' = (2x)\sin x + x^2 \cos x = 2 x \sin x + x^{2} \cos x.

Quotient: y=xx2+1y = \frac{x}{x^{2} + 1}. Then y′=1⋅(x2+1)−x⋅2x(x2+1)2=1−x2(x2+1)2y' = \frac{1 \cdot (x^2 + 1) - x \cdot 2x}{(x^2 + 1)^2} = \frac{1 - x^{2}}{\left(x^{2} + 1\right)^{2}}.

y=(x2+1)3y = \left(x^{2} + 1\right)^{3}. Outside: cube, derivative 3(⋅)23(\cdot)^2. Inside: x2+1x^2 + 1, derivative 2x2x. So dydx=3(x2+1)2⋅2x=6x(x2+1)2\frac{dy}{dx} = 3(x^2 + 1)^2 \cdot 2x = 6 x \left(x^{2} + 1\right)^{2} As a check, at x=1x = 1 the formula gives 3(2)2⋅2=243(2)^2 \cdot 2 = 24, and the slope of the curve there is indeed 24.

Common mistake: forgetting the inside derivative. The derivative of sin⁡(5x2)\sin(5x^2) is not cos⁡(5x2)\cos(5x^2); you must multiply by 10x10x.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Differentiate (5x−2)3(5x - 2)^3 with respect to xx.
Try answering before revealing!
Question 2
[HOTS] Differentiate cos⁡(x2)\cos(x^2) with respect to xx. State the inside derivative you multiplied by.
Try answering before revealing!

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Differentiate (4x−5)3\left(4 x - 5\right)^{3} with respect to xx.
Try answering before revealing!
Question 2
[Concept] Differentiate cos⁡(3x+1)\cos\left(3 x + 1\right) with respect to xx.
Try answering before revealing!
Question 3
[Concept] Differentiate 1+x2\sqrt{1 + x^{2}} with respect to xx.
Try answering before revealing!
Question 4
[Concept] Differentiate sin⁡3x\sin^{3} x with respect to xx.
Try answering before revealing!
Question 5
[Concept] Differentiate 2x+1x2+3\frac{2 x + 1}{x^{2} + 3} with respect to xx.
Try answering before revealing!
Question 6
[Concept] Differentiate x3cos⁡xx^{3} \cos x with respect to xx.
Try answering before revealing!
Question 7
[Board Standard] Differentiate sin⁡(cos⁡x)\sin\left(\cos x\right) with respect to xx.
Try answering before revealing!
Question 8
[Board Standard] Differentiate tan⁡(4x)\tan\left(4 x\right) with respect to xx.
Try answering before revealing!
Question 9
[Board Standard] Differentiate (x2+5)7\left(x^{2} + 5\right)^{7} with respect to xx.
Try answering before revealing!
Question 10
[Board Standard] Differentiate e5xe^{5 x} with respect to xx.
Try answering before revealing!
Question 11
[Board Standard] Differentiate ln⁡(2x+7)\ln\left(2 x + 7\right) with respect to xx.
Try answering before revealing!
Question 12
[Board Standard] Differentiate (sin⁡x+cos⁡x)2\left(\sin x + \cos x\right)^{2} with respect to xx.
Try answering before revealing!
Question 13
[Board Standard] Differentiate x2e3xx^{2} e^{3 x} with respect to xx.
Try answering before revealing!
Question 14
[HOTS] Differentiate 4x−1\sqrt{4 x - 1} with respect to xx.
Try answering before revealing!
Question 15
[HOTS] Differentiate (3x+2)5\left(3 x + 2\right)^{5} with respect to xx.
Try answering before revealing!
Question 16
[HOTS] Differentiate tan⁡2x\tan^{2} x with respect to xx.
Try answering before revealing!
Question 17
[HOTS] Differentiate xsin⁡(2x)x \sin\left(2 x\right) with respect to xx.
Try answering before revealing!
Question 18
[HOTS] Differentiate x2−1x2+1\frac{x^{2} - 1}{x^{2} + 1} with respect to xx.
Try answering before revealing!

5.5 Derivatives of Implicit and Inverse Trigonometric Functions

1,733 words · 8 min read

Often xx and yy are tied together by an equation, such as x2+y2=25x^2 + y^2 = 25, and yy is not written alone on one side. We say yy is an implicit function of xx. We can still find dydx\frac{dy}{dx} without solving for yy.

Method.

  1. [Concept] Differentiate both sides with respect to xx. Treat yy as a function of xx, so the derivative of y2y^2 is 2ydydx2y \frac{dy}{dx} (chain rule), and the derivative of xyxy is y+xdydxy + x\frac{dy}{dx} (product rule).
  2. [Board Standard] Collect all terms that contain dydx\frac{dy}{dx} on one side.
  3. [HOTS] Solve for dydx\frac{dy}{dx}.

Find dydx\frac{dy}{dx} for x2+y2=25x^2 + y^2 = 25. Differentiate: 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0. So dydx=−xy\frac{dy}{dx} = \frac{-x}{y}. At the point (3,4)(3, 4), which lies on the circle because 9+16=259 + 16 = 25, the slope is −34-\frac{3}{4} (that is −0.75-0.75).

At the point (3, 4) on the circle, the tangent has slope -0.75. The tangent is at right angles to the radius.

Read the figure. The closed curve is the circle. The orange dot is (3,4)(3, 4), and the dashed line just touches the circle there without crossing it. Its slope, −0.75-0.75, is exactly what implicit differentiation gave. Notice the tangent is at right angles to the radius drawn to (3,4)(3, 4).

Find dydx\frac{dy}{dx} if x2+xy+y2=7x^2 + xy + y^2 = 7. Differentiate each term: 2x+(y+xdydx)+2ydydx=02x + \left(y + x\frac{dy}{dx}\right) + 2y\frac{dy}{dx} = 0. Collect: (x+2y)dydx=−(2x+y)(x + 2y)\frac{dy}{dx} = -(2x + y). So dydx=−(2x+y)x+2y\frac{dy}{dx} = \frac{-\left(2 x + y\right)}{x + 2 y} The point (1,2)(1, 2) is on the curve (1+2+4=71 + 2 + 4 = 7) and the slope there is −0.8-0.8, which is −45-\frac{4}{5}.

For x3+y3=3xyx^3 + y^3 = 3xy: 3x2+3y2dydx=3y+3xdydx3x^2 + 3y^2 \frac{dy}{dx} = 3y + 3x\frac{dy}{dx}. Collect: (y2−x)dydx=y−x2(y^2 - x)\frac{dy}{dx} = y - x^2. So dydx=y−x2y2−x\frac{dy}{dx} = \frac{y - x^{2}}{y^{2} - x} The point (1.5,1.5)(1.5, 1.5) is on the curve (both sides equal 6.75) and the slope there is −1-1.

Find dydx\frac{dy}{dx} for x2+3y2=7x^2 + 3y^2 = 7. Differentiate: 2x+6ydydx=02x + 6y\frac{dy}{dx} = 0. So dydx=−x3y\frac{dy}{dx} = \frac{-x}{3 y} The point (2,1)(2, 1) is on the curve (4+3=74 + 3 = 7) and the slope there is −23-\frac{2}{3} (about −0.6667-0.6667).

The ellipse and its tangent at (2, 1). The tangent slope of about -0.67 comes straight from implicit differentiation.

Read the figure. The blue oval is wider than it is tall, because the y2y^2 coefficient is larger. The dashed line touches it only at (2,1)(2, 1). Substituting x=2x = 2, y=1y = 1 into −x3y-\frac{x}{3y} gives −23-\frac{2}{3}, which matches the drawn slope.

Common mistake: differentiating y2y^2 as 2y2y. Because yy depends on xx, the answer is 2ydydx2y\frac{dy}{dx}.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Find dydx\frac{dy}{dx} for x2+y2=100x^2 + y^2 = 100 at the point (6,8)(6, 8).
Try answering before revealing!
Question 2
[HOTS] Find dydx\frac{dy}{dx} for x2+3y2=7x^2 + 3y^2 = 7 at the point (−2,1)(-2, 1). Should the slope there be positive or negative? Why?
Try answering before revealing!

The function sin⁡−1x\sin^{-1} x answers the question "which angle has sine equal to xx?". It is defined for −1≤x≤1-1 \le x \le 1. Its derivative follows from implicit differentiation.

Why the formula is true. Let y=sin⁡−1xy = \sin^{-1} x. Then x=sin⁡yx = \sin y. Differentiate both sides with respect to xx: 1=cos⁡y⋅dydx1 = \cos y \cdot \frac{dy}{dx}. So dydx=1cos⁡y\frac{dy}{dx} = \frac{1}{\cos y}. For the principal value, cos⁡y≥0\cos y \ge 0, so cos⁡y=1−sin⁡2y=1−x2\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}. The other two formulas follow in the same way.

FunctionDerivativeValid for
sin⁡−1x\sin^{-1} x11−x2\frac{1}{\sqrt{1 - x^{2}}}−1<x<1-1 < x < 1
cos⁡−1x\cos^{-1} x−11−x2\frac{-1}{\sqrt{1 - x^{2}}}−1<x<1-1 < x < 1
tan⁡−1x\tan^{-1} x11+x2\frac{1}{1 + x^{2}}all real xx

Read the table. The first two rows differ only by a minus sign. The third row works for every real xx and its slope is always positive but shrinks as ∣x∣|x| grows.

Memory aid: the derivative of cos⁡−1x\cos^{-1} x is exactly the negative of the derivative of sin⁡−1x\sin^{-1} x. (The two angles always add up to a right angle, so their rates of change cancel.)
The graph of inverse tangent. At the origin its slope is 1, matching the formula 1 over (1 + x squared).

Read the figure. The blue curve climbs steeply through the origin and then flattens on both sides. The dashed orange line y=xy = x touches it exactly at the origin: there the slope is 1, and the formula gives 11+0=1\frac{1}{1 + 0} = 1. Away from the origin the curve is flatter, matching the shrinking values of 11+x2\frac{1}{1+x^2}.

y=tan⁡−1(2x)y = \tan^{-1}(2x). Outside: tan⁡−1\tan^{-1}, derivative 11+(⋅)2\frac{1}{1 + (\cdot)^2}. Inside: 2x2x, derivative 2. So dydx=21+4x2\frac{dy}{dx} = \frac{2}{1 + 4x^2}, that is 21+4x2\frac{2}{1 + 4 x^{2}}.

y=sin⁡−1(x2)y = \sin^{-1}(x^2). The derivative is 11−(x2)2⋅2x=2x1−x4\frac{1}{\sqrt{1 - (x^2)^2}} \cdot 2x = \frac{2 x}{\sqrt{1 - x^{4}}}, valid for −1<x<1-1 < x < 1.

Let y=tan⁡−1(1+x1−x)y = \tan^{-1}\left(\frac{1 + x}{1 - x}\right) for x≠1x \neq 1. The chain rule gives dydx=11+(1+x1−x)2⋅2(1−x)2\frac{dy}{dx} = \frac{1}{1 + \left(\frac{1 + x}{1 - x}\right)^2} \cdot \frac{2}{(1 - x)^2}. Simplify: the bottom of the first fraction is (1−x)2+(1+x)2(1−x)2=2+2x2(1−x)2\frac{(1 - x)^2 + (1 + x)^2}{(1 - x)^2} = \frac{2 + 2x^2}{(1 - x)^2}. So the whole product is 22+2x2=11+x2\frac{2}{2 + 2x^2} = \frac{1}{1 + x^{2}}. This is the same as the derivative of tan⁡−1x\tan^{-1} x. (That is because the two functions differ only by a constant, π4\frac{\pi}{4}, on each side of x=1x = 1.)

y=sin⁡−1(2x+1)y = \sin^{-1}(2x + 1), valid for −1<x<0-1 < x < 0. Outside derivative 11−(⋅)2\frac{1}{\sqrt{1 - (\cdot)^2}}, inside derivative 2. So dydx=21−(2x+1)2\frac{dy}{dx} = \frac{2}{\sqrt{1 - \left(2 x + 1\right)^{2}}} At x=−0.5x = -0.5 the inside is 0 and the slope is 21=2\frac{2}{1} = 2.

Common mistake: mixing up sin⁡−1x\sin^{-1} x with 1sin⁡x\frac{1}{\sin x}. The small −1-1 means "inverse function", not "one over".

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Differentiate sin⁡−1(3x−1)\sin^{-1}(3x - 1). For which xx is your formula valid?
Try answering before revealing!
Question 2
[HOTS] Why is the derivative of tan⁡−1x\tan^{-1} x always positive? What does that say about the graph?
Try answering before revealing!

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find dydx\frac{dy}{dx} if x2+3y2=7x^2 + 3y^2 = 7, and evaluate it at (2,1)(2, 1).
Try answering before revealing!
Question 2
[Concept] Find dydx\frac{dy}{dx} if xy=6xy = 6.
Try answering before revealing!
Question 3
[Concept] Find dydx\frac{dy}{dx} if x2y+y2=x+9x^2 y + y^2 = x + 9, and evaluate it at (0,3)(0, 3).
Try answering before revealing!
Question 4
[Concept] Find dydx\frac{dy}{dx} if x2−y2=5x^2 - y^2 = 5, and evaluate it at (3,2)(3, 2).
Try answering before revealing!
Question 5
[Concept] Find dydx\frac{dy}{dx} if y2=4xy^2 = 4x, and evaluate it at (4,4)(4, 4).
Try answering before revealing!
Question 6
[Concept] Differentiate sin⁡−1(3x)\sin^{-1}\left(3 x\right) with respect to xx.
Try answering before revealing!
Question 7
[Board Standard] Differentiate tan⁡−1(x2)\tan^{-1}\left(x^{2}\right) with respect to xx.
Try answering before revealing!
Question 8
[Board Standard] Differentiate cos⁡−1(x2)\cos^{-1}\left(\frac{x}{2}\right) with respect to xx.
Try answering before revealing!
Question 9
[Board Standard] Differentiate xtan⁡−1xx \tan^{-1} x with respect to xx.
Try answering before revealing!
Question 10
[Board Standard] Differentiate tan⁡−1(1−x1+x)\tan^{-1}\left(\frac{1 - x}{1 + x}\right) with respect to xx.
Try answering before revealing!
Question 11
[Board Standard] Differentiate cos⁡−1(2x+1)\cos^{-1}\left(2 x + 1\right) with respect to xx.
Try answering before revealing!
Question 12
[Board Standard] Differentiate xsin⁡−1xx \sin^{-1} x with respect to xx.
Try answering before revealing!
Question 13
[Board Standard] Differentiate etan⁡−1xe^{\tan^{-1} x} with respect to xx.
Try answering before revealing!
Question 14
[HOTS] Differentiate (sin⁡−1x)2\left(\sin^{-1} x\right)^{2} with respect to xx.
Try answering before revealing!
Question 15
[HOTS] Find dydx\frac{dy}{dx} if x2+4y2=16x^2 + 4y^2 = 16, and evaluate it at (0,2)(0, 2) and (0,−2)(0, -2). What does the answer say about the tangents there?
Try answering before revealing!
Question 16
[HOTS] Differentiate sin⁡−1xx\frac{\sin^{-1} x}{x} with respect to xx.
Try answering before revealing!
Question 17
[HOTS] Differentiate tan⁡−1(1x)\tan^{-1}\left(\frac{1}{x}\right) with respect to xx.
Try answering before revealing!
Question 18
[HOTS] Differentiate x2cos⁡−1xx^{2} \cos^{-1} x with respect to xx.
Try answering before revealing!

5.6 Exponential and Logarithmic Functions and Their Derivatives

1,247 words · 6 min read

Some quantities grow by multiplication: a population that doubles every hour, or money that earns interest on interest. The natural base for this growth is the number ee, which is about 2.718282.71828. The function exe^x is special because its slope at every point equals its height at that point. The table below uses computed values:

xxexe^x (height)slope of exe^x
−1-10.36790.36790.36790.3679
001111
112.71832.71832.71832.7183
227.38917.38917.38917.3891

Read the table down the rows. At x=0x = 0 the height is 1 and the slope is 1. At x=1x = 1 the height is about 2.718 and the slope is the same. Every row repeats the same message: height equals slope. That is why exe^x models anything whose growth rate is proportional to its current size.

In symbols, height equals slope: ddxex=ex\frac{d}{dx} e^x = e^x. The natural logarithm ln⁡x\ln x is the inverse function of exe^x: it answers "what power of ee gives xx?". It is defined only for x>0x > 0.

e^x and ln x are inverse functions, so their graphs are mirror images in the dashed line y = x. Swapping the point (0, 1) gives (1, 0).

Read the figure. The dashed line y=xy = x is the mirror. Every point (a,b)(a, b) on the exe^x curve has a partner (b,a)(b, a) on the ln⁡x\ln x curve: (0,1)(0, 1) swaps to (1,0)(1, 0). If you fold the paper along the dashed line, the two curves land on each other. That folding is what "inverse functions" means geometrically.

FunctionDerivativeNeeds
exe^xexe^xall real xx
ln⁡x\ln x (for x>0x > 0)1x\frac{1}{x}x>0x > 0
axa^x (for a>0a > 0)axln⁡aa^x \ln aa>0a > 0
log⁡ax\log_a x1xln⁡a\frac{1}{x \ln a}x>0x > 0, a>0a > 0, a≠1a \neq 1
ln⁡∣x∣\ln|x| (for x≠0x \neq 0)1x\frac{1}{x}x≠0x \neq 0

Read the table one row at a time and note the condition in the last column. The first row is the height-equals-slope miracle. The second row needs a positive input. The last row extends the log rule to negative xx by wrapping xx in an absolute value.

Why ddxln⁡x=1x\frac{d}{dx}\ln x = \frac{1}{x}: let y=ln⁡xy = \ln x. Then x=eyx = e^y. Differentiate both sides with respect to xx: 1=eydydx1 = e^y \frac{dy}{dx}, so dydx=1ey=1x\frac{dy}{dx} = \frac{1}{e^y} = \frac{1}{x}. This is implicit differentiation doing real work: we never solved for yy as an explicit formula in xx beyond the definition.

Check with a number: the formula for axa^x with a=2a = 2 gives the slope 2xln⁡22^x \ln 2. At x=0x = 0 this is ln⁡2\ln 2, about 0.69310.6931. That is the slope of the curve y=2xy = 2^x where it crosses the yy-axis.

y=e3x2y = e^{3 x^{2}}. Outside: e(⋅)e^{(\cdot)}. Inside: 3x23x^2, derivative 6x6x. So dydx=6xe3x2\frac{dy}{dx} = 6 x e^{3 x^{2}}.

y=ln⁡(x2+1)y = \ln\left(x^{2} + 1\right). Outside: ln⁡(⋅)\ln(\cdot), derivative 1⋅\frac{1}{\cdot}. Inside: x2+1x^2 + 1, derivative 2x2x. So dydx=2xx2+1\frac{dy}{dx} = \frac{2 x}{x^{2} + 1}. Note the inside is always at least 1, so the log is defined for every real xx and there is no domain condition to check.

y=xexy = xe^x. Product rule: y′=1⋅ex+x⋅ex=(x+1)exy' = 1 \cdot e^x + x \cdot e^x = \left(x + 1\right) e^{x}. Factorised, y′=(x+1)exy' = (x + 1)e^x: the slope is 0 at x=−1x = -1, negative before it and positive after it.

y=ln⁡(sin⁡x)y = \ln(\sin x), for xx where sin⁡x>0\sin x > 0. Then dydx=cos⁡xsin⁡x=cos⁡xsin⁡x\frac{dy}{dx} = \frac{\cos x}{\sin x} = \frac{\cos x}{\sin x} (this is cot⁡x\cot x). The condition sin⁡x>0\sin x > 0 matters: the logarithm refuses non-positive inputs.

y=5x2y = 5^{x^2}. Use ddxau=auln⁡a⋅u′\frac{d}{dx}a^u = a^u \ln a \cdot u' with a=5a = 5 and u=x2u = x^2. So dydx=2xln⁡5⋅5x2\frac{dy}{dx} = 2 x \ln 5 \cdot 5^{x^{2}}.

The curve y=exy = e^x crosses the yy-axis at (0,1)(0, 1). Its slope there equals its height, 11, so the tangent line is y=1+xy = 1 + x. The small figure below shows the curve hugging this line near the origin and pulling away further out.

Near x = 0, e^x looks like the straight line 1 + x. The tangent has slope 1, equal to the height e^0 = 1.
Common mistake: differentiating exe^x like a power, giving xex−1x e^{x-1}. The exponent is the variable here, so the power rule does not apply. The answer is exe^x.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] What is the slope of y=2xy = 2^x at x=0x = 0? Use the axa^x rule and the value of ln⁡2\ln 2 above.
Try answering before revealing!
Question 2
[Board Standard] Differentiate e−3xe^{-3x}. Which layer gives the factor −3-3?
Try answering before revealing!
Question 3
[HOTS] A student writes ddxln⁡x=1x\frac{d}{dx} \ln x = \frac{1}{x} for all real xx. What is missing?
Try answering before revealing!

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Differentiate e−xe^{-x} with respect to xx.
Try answering before revealing!
Question 2
[Concept] Differentiate ex2+1e^{x^{2} + 1} with respect to xx.
Try answering before revealing!
Question 3
[Concept] Differentiate ln⁡(3x+2)\ln\left(3 x + 2\right) with respect to xx.
Try answering before revealing!
Question 4
[Concept] Differentiate x2ln⁡xx^{2} \ln x with respect to xx.
Try answering before revealing!
Question 5
[Concept] Differentiate exx\frac{e^{x}}{x} with respect to xx.
Try answering before revealing!
Question 6
[Concept] Differentiate 32x3^{2 x} with respect to xx.
Try answering before revealing!
Question 7
[Board Standard] Differentiate ln⁡(cos⁡x)\ln\left(\cos x\right) with respect to xx.
Try answering before revealing!
Question 8
[Board Standard] Differentiate esin⁡xe^{\sin x} with respect to xx.
Try answering before revealing!
Question 9
[Board Standard] Differentiate e2x+3e^{2 x + 3} with respect to xx.
Try answering before revealing!
Question 10
[Board Standard] Differentiate ln⁡(x2−1)\ln\left(x^{2} - 1\right) with respect to xx.
Try answering before revealing!
Question 11
[Board Standard] Differentiate x3e−xx^{3} e^{-x} with respect to xx.
Try answering before revealing!
Question 12
[Board Standard] Differentiate ln⁡xln⁡7\frac{\ln x}{\ln 7} with respect to xx.
Try answering before revealing!
Question 13
[Board Standard] Differentiate 73x7^{3 x} with respect to xx.
Try answering before revealing!
Question 14
[HOTS] Differentiate exsin⁡xe^{x} \sin x with respect to xx.
Try answering before revealing!
Question 15
[HOTS] Differentiate ex3e^{x^{3}} with respect to xx.
Try answering before revealing!
Question 16
[HOTS] Differentiate ln⁡(5x2+1)\ln\left(5 x^{2} + 1\right) with respect to xx.
Try answering before revealing!
Question 17
[HOTS] Differentiate xln⁡xx \ln x with respect to xx.
Try answering before revealing!
Question 18
[HOTS] Differentiate 2x+3x2^{x} + 3^{x} with respect to xx.
Try answering before revealing!

5.7 Logarithmic Differentiation

1,167 words · 5 min read

Some functions are hard to differentiate directly: a variable raised to a variable power, or a long product and quotient. The logarithm turns powers into multiplication and products into sums. This gives a method called logarithmic differentiation.

Method.

  1. [Concept] Take the natural logarithm of both sides, and use log laws to simplify: ln⁡(ab)=ln⁡a+ln⁡b\ln(ab) = \ln a + \ln b, ln⁡ab=ln⁡a−ln⁡b\ln\frac{a}{b} = \ln a - \ln b and ln⁡(ab)=bln⁡a\ln(a^b) = b\ln a.
  2. [Board Standard] Differentiate both sides with respect to xx. The left side ln⁡y\ln y gives 1ydydx\frac{1}{y}\frac{dy}{dx}.
  3. [HOTS] Multiply by yy and replace yy by its original expression.
When to use it: (a) y=uvy = u^v where both uu and vv contain xx; (b) a long product or quotient of many factors.

Let y=xxy = x^x for x>0x > 0. Then ln⁡y=xln⁡x\ln y = x \ln x. Differentiate: 1ydydx=ln⁡x+x⋅1x=ln⁡x+1\frac{1}{y}\frac{dy}{dx} = \ln x + x \cdot \frac{1}{x} = \ln x + 1. So dydx=xx(ln⁡x+1)\frac{dy}{dx} = x^{x} \left(\ln x + 1\right) At x=1x = 1, the slope is 11(ln⁡1+1)=11^1(\ln 1 + 1) = 1: the tangent line there is y=xy = x, as the figure below shows.

The curve y = x^x with its tangent y = x at (1, 1). The slope there is 1.

Read the figure. The curve falls from the left, bottoms out, then climbs steeply. At (1,1)(1, 1) the dashed line y=xy = x just touches it: slope 1, exactly the value (ln⁡1+1)=1(\ln 1 + 1) = 1 from the formula. Further right the curve outgrows every straight line.

Let y=(sin⁡x)xy = (\sin x)^x where sin⁡x>0\sin x > 0. Then ln⁡y=xln⁡(sin⁡x)\ln y = x \ln(\sin x). Differentiate: 1ydydx=ln⁡(sin⁡x)+x⋅cos⁡xsin⁡x\frac{1}{y}\frac{dy}{dx} = \ln(\sin x) + x \cdot \frac{\cos x}{\sin x}. So dydx=(sin⁡x)x[ln⁡(sin⁡x)+xcot⁡x]\frac{dy}{dx} = (\sin x)^x \left[\ln(\sin x) + x\cot x\right]

Let y=(x+1)2(x−2)3(x+3)4y = \frac{\left(x + 1\right)^{2} \left(x - 2\right)^{3}}{\left(x + 3\right)^{4}}. Take logarithms: ln⁡y=2ln⁡(x+1)+3ln⁡(x−2)−4ln⁡(x+3)\ln y = 2\ln(x + 1) + 3\ln(x - 2) - 4\ln(x + 3). Differentiate: 1ydydx=2x+1+3x−2−4x+3\frac{1}{y}\frac{dy}{dx} = \frac{2}{x + 1} + \frac{3}{x - 2} - \frac{4}{x + 3}. So dydx=y[2x+1+3x−2−4x+3]\frac{dy}{dx} = y\left[\frac{2}{x + 1} + \frac{3}{x - 2} - \frac{4}{x + 3}\right] with yy replaced by the original product. Without logarithms this would need the product and quotient rules applied several times.

Let y=xsin⁡xy = x^{\sin x} for x>0x > 0. Then ln⁡y=sin⁡x⋅ln⁡x\ln y = \sin x \cdot \ln x, so 1ydydx=cos⁡xln⁡x+sin⁡xx\frac{1}{y}\frac{dy}{dx} = \cos x \ln x + \frac{\sin x}{x}. Hence dydx=xsin⁡x(cos⁡xln⁡x+sin⁡xx)\frac{dy}{dx} = x^{\sin x} \left(\cos x \ln x + \frac{\sin x}{x}\right)

Let y=(x+1)xy = (x + 1)^x for x>0x > 0. Then ln⁡y=xln⁡(x+1)\ln y = x\ln(x + 1), so 1ydydx=ln⁡(x+1)+xx+1\frac{1}{y}\frac{dy}{dx} = \ln(x + 1) + \frac{x}{x + 1}. Hence dydx=(x+1)x(ln⁡(x+1)+xx+1)\frac{dy}{dx} = \left(x + 1\right)^{x} \left(\ln\left(x + 1\right) + \frac{x}{x + 1}\right) Both the base and the exponent move with xx, so neither the power rule nor the exponential rule alone would work.

Common mistake: using the power rule on xxx^x to get x⋅xx−1x \cdot x^{x-1}. That is only the part of the answer for the base. The exponent also changes, which gives the extra ln⁡x\ln x term.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Use logarithmic differentiation to find dydx\frac{dy}{dx} for y=x2xy = x^{2x}.
Try answering before revealing!
Question 2
[HOTS] A student differentiates xxx^x as x⋅xx−1x \cdot x^{x-1} and stops. Which moving part did the student forget, and which term in the true answer comes from it?
Try answering before revealing!

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Differentiate x2xx^{2 x} with respect to xx.
Try answering before revealing!
Question 2
[Concept] Differentiate (ln⁡x)x\left(\ln x\right)^{x} with respect to xx.
Try answering before revealing!
Question 3
[Concept] Differentiate xx+2xx^{x} + 2^{x} with respect to xx.
Try answering before revealing!
Question 4
[Concept] Differentiate (x+2)3(2x−1)2(x+5)2\frac{\left(x + 2\right)^{3} \left(2 x - 1\right)^{2}}{\left(x + 5\right)^{2}} with respect to xx.
Try answering before revealing!
Question 5
[Concept] Differentiate xx2x^{x^{2}} with respect to xx.
Try answering before revealing!
Question 6
[Concept] Differentiate (cos⁡x)x\left(\cos x\right)^{x} with respect to xx.
Try answering before revealing!
Question 7
[Board Standard] Differentiate x1xx^{\frac{1}{x}} with respect to xx.
Try answering before revealing!
Question 8
[Board Standard] Differentiate x3e2xx+1\frac{x^{3} e^{2 x}}{\sqrt{x + 1}} with respect to xx.
Try answering before revealing!
Question 9
[Board Standard] Differentiate (2x+1)x\left(2 x + 1\right)^{x} with respect to xx.
Try answering before revealing!
Question 10
[Board Standard] Differentiate x3xx^{3 x} with respect to xx.
Try answering before revealing!
Question 11
[Board Standard] Differentiate exxe^{x^{x}} with respect to xx.
Try answering before revealing!
Question 12
[Board Standard] Differentiate (x−1)2(x+2)3x+4\frac{\left(x - 1\right)^{2} \left(x + 2\right)^{3}}{x + 4} with respect to xx.
Try answering before revealing!
Question 13
[Board Standard] Differentiate x5xx^{5 x} with respect to xx.
Try answering before revealing!
Question 14
[HOTS] Differentiate (x2+1)2x\left(x^{2} + 1\right)^{2 x} with respect to xx.
Try answering before revealing!
Question 15
[HOTS] Differentiate (2x)x\left(2 x\right)^{x} with respect to xx.
Try answering before revealing!
Question 16
[HOTS] Differentiate (x+1)(x+2)(x+3)\left(x + 1\right) \left(x + 2\right) \left(x + 3\right) with respect to xx.
Try answering before revealing!
Question 17
[HOTS] Differentiate (tan⁡x)x\left(\tan x\right)^{x} with respect to xx.
Try answering before revealing!
Question 18
[HOTS] Differentiate xexln⁡x\frac{\sqrt{x} e^{x}}{\ln x} with respect to xx.
Try answering before revealing!

5.8 Parametric Derivatives and Second Order Derivatives

2,374 words · 11 min read

Sometimes xx and yy are both given by a third variable, called a parameter. A common example is time tt: at time tt a point is at the position (x(t),y(t))(x(t), y(t)). As tt changes, the point traces a curve. This way of describing a curve is called parametric form.

To find the slope dydx\frac{dy}{dx} we use the chain rule in this form:

dydx=dy/dtdx/dtprovided dxdt≠0\frac{dy}{dx} = \frac{dy/dt}{dx/dt} \quad \text{provided } \frac{dx}{dt} \neq 0

The condition matters: if dxdt=0\frac{dx}{dt} = 0 at some tt, the curve momentarily stops moving sideways there (it may have a vertical tangent or a sharp point), and the fraction is meaningless.

In simple words: if yy changes 6 units for every 1 unit of tt, and xx changes 2 units for every 1 unit of tt, then yy changes 3 units for every 1 unit of xx. The slope is "rate of yy divided by rate of xx".

x=5cos⁡tx = 5\cos t, y=5sin⁡ty = 5\sin t. Then dxdt=−5sin⁡t\frac{dx}{dt} = -5\sin t and dydt=5cos⁡t\frac{dy}{dt} = 5\cos t. So dydx=5cos⁡t−5sin⁡t=−cos⁡tsin⁡t\frac{dy}{dx} = \frac{5\cos t}{-5\sin t} = \frac{-\cos t}{\sin t} At t=π4t = \frac{\pi}{4} the slope is −1-1. (This agrees with the answer −xy-\frac{x}{y} from the implicit method: at this tt, x=yx = y.)

x=t2x = t^2, y=t3y = t^3. Then dxdt=2t\frac{dx}{dt} = 2t and dydt=3t2\frac{dy}{dt} = 3t^2. For t≠0t \neq 0: dydx=3t22t=3t2\frac{dy}{dx} = \frac{3t^2}{2t} = \frac{3 t}{2} At t=1t = 1, the point is (1,1)(1, 1) and the slope is 1.51.5. At t=0t = 0 both dxdt\frac{dx}{dt} and dydt\frac{dy}{dt} are 0, so the formula does not apply: the curve has a sharp point at the origin.

The curve x = t², y = t³. At t = 1 the tangent has slope 1.5. At t = 0 both dx/dt and dy/dt are 0, and the curve has a sharp point.

Read the figure. For t>0t > 0 the curve climbs to the right; for t<0t < 0 it falls to the right; and the two halves meet at the origin in a sharp point, because sideways motion stops there (dxdt=0\frac{dx}{dt} = 0). Away from the origin the formula works: at t=1t = 1 the dashed tangent has slope 1.5.

A point on the rim of a wheel of radius 1 rolling along the ground moves as x=t−sin⁡tx = t - \sin t, y=1−cos⁡ty = 1 - \cos t, where tt is the angle turned. Then dxdt=1−cos⁡t\frac{dx}{dt} = 1 - \cos t and dydt=sin⁡t\frac{dy}{dt} = \sin t. So dydx=sin⁡t1−cos⁡t\frac{dy}{dx} = \frac{\sin t}{1 - \cos t} This holds when cos⁡t≠1\cos t \neq 1. At t=π2t = \frac{\pi}{2} the slope is 11.

The path of a point on a rolling wheel. At t = π/2 the tangent has slope 1.

Read the figure. Each arch starts and ends on the ground at a sharp point, where dxdt=1−cos⁡t=0\frac{dx}{dt} = 1 - \cos t = 0. Between those points the curve rises and falls smoothly. The dashed tangent at t=π2t = \frac{\pi}{2} climbs at 45 degrees: slope 1.

Let x=4tx = 4t and y=4ty = \frac{4}{t} with t≠0t \neq 0. Then dxdt=4\frac{dx}{dt} = 4 and dydt=−4t2\frac{dy}{dt} = -\frac{4}{t^2}. So dydx=−4/t24=−1t2\frac{dy}{dx} = \frac{-4/t^2}{4} = \frac{-1}{t^{2}} At t=2t = 2 the point is (8,2)(8, 2) and the slope is −0.25-0.25. Check by elimination: t=x4t = \frac{x}{4}, so y=16xy = \frac{16}{x} and dydx=−16x2\frac{dy}{dx} = -\frac{16}{x^2}. At x=8x = 8 this is −1664=−0.25-\frac{16}{64} = -0.25. The parametric answer and the eliminated answer agree.

Common mistake: dividing the wrong way round. It is dydt\frac{dy}{dt} over dxdt\frac{dx}{dt}, not dxdt\frac{dx}{dt} over dydt\frac{dy}{dt}.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If x=t2x = t^2 and y=t3y = t^3, what is dydx\frac{dy}{dx} at t=−1t = -1? What are dxdt\frac{dx}{dt} and dydt\frac{dy}{dt} at t=0t = 0, and why does the slope formula fail there?
Try answering before revealing!
Question 2
[HOTS] A student computes dxdt\frac{dx}{dt} over dydt\frac{dy}{dt} and calls it dydx\frac{dy}{dx}. Use the "rate of yy divided by rate of xx" sentence to explain the error.
Try answering before revealing!

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] If x=3tx = 3t and y=t2y = t^2, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 2
[Concept] If x=2cos⁡tx = 2\cos t and y=3sin⁡ty = 3\sin t, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 3
[Concept] If x=t+1tx = t + \frac{1}{t} and y=t−1ty = t - \frac{1}{t}, find dydx\frac{dy}{dx}, and its value at t=2t = 2.
Try answering before revealing!
Question 4
[Concept] If x=etx = e^t and y=e−ty = e^{-t}, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 5
[Concept] If x=t3−3tx = t^3 - 3t and y=3t2y = 3t^2, find dydx\frac{dy}{dx} (for t≠±1t \neq \pm 1).
Try answering before revealing!
Question 6
[Concept] If x=sin⁡tx = \sin t and y=sin⁡2ty = \sin 2t, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 7
[Board Standard] If x=t2+1x = t^2 + 1 and y=t3−ty = t^3 - t, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 8
[Board Standard] If x=cos⁡2tx = \cos 2t and y=sin⁡2ty = \sin 2t, find dydx\frac{dy}{dx} (where defined).
Try answering before revealing!
Question 9
[Board Standard] If x=tx = \sqrt{t} and y=t2y = t^2 (with t>0t > 0), find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 10
[Board Standard] If x=e2tx = e^{2t} and y=ety = e^t, find dydx\frac{dy}{dx}. Check it by writing yy in terms of xx.
Try answering before revealing!
Question 11
[Board Standard] If x=2t+1x = 2t + 1 and y=t2−3ty = t^2 - 3t, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 12
[Board Standard] If x=t3x = t^3 and y=ty = t (with t≠0t \neq 0), find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 13
[Board Standard] If x=tx = t and y=t2y = t^2, find dydx\frac{dy}{dx}. Check it by writing yy in terms of xx.
Try answering before revealing!
Question 14
[HOTS] If x=e−tx = e^{-t} and y=e2ty = e^{2t}, find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 15
[HOTS] If x=t+2tx = t + \frac{2}{t} and y=t−2ty = t - \frac{2}{t}, find dydx\frac{dy}{dx} (where defined).
Try answering before revealing!
Question 16
[HOTS] If x=sin⁡3tx = \sin 3t and y=cos⁡3ty = \cos 3t (where defined), find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 17
[HOTS] If x=1tx = \frac{1}{t} and y=1t2y = \frac{1}{t^2} (with t≠0t \neq 0), find dydx\frac{dy}{dx}. Check it by writing yy in terms of xx.
Try answering before revealing!
Question 18
[HOTS] If x=t2−tx = t^2 - t and y=t3+ty = t^3 + t, find dydx\frac{dy}{dx} (where defined).
Try answering before revealing!

The derivative f′(x)f'(x) is itself a function, so we can differentiate it again. The result is the second derivative, written f′′(x)f''(x) or d2ydx2\frac{d^2y}{dx^2}. In words: it is the rate of change of the slope. If the first derivative is speed, the second derivative is acceleration.

Careful with notation: d2ydx2\frac{d^2y}{dx^2} means "differentiate twice". It is not the same as (dydx)2\left(\frac{dy}{dx}\right)^2, which means "square the first derivative".

y=x4−3x2+2xy = x^{4} - 3 x^{2} + 2 x. Then y′=4x3−6x+2y' = 4x^3 - 6x + 2 and y′′=12x2−6y'' = 12 x^{2} - 6 Each step uses the power rule term by term: 4x34x^3 gives 12x212x^2, −6x-6x gives −6-6, and the constant 22 gives 0.

y=sin⁡3xy = \sin 3x. Then y′=3cos⁡3xy' = 3\cos 3x and y′′=−9sin⁡(3x)y'' = -9 \sin\left(3 x\right). Notice y′′=−9yy'' = -9y: differentiating twice returns the original function times a constant. This pattern runs through all of wave science.

y=xexy = xe^x. Then y′=(x+1)exy' = (x + 1)e^x and y′′=ex+(x+1)ex=(x+2)exy'' = e^x + (x + 1)e^x = \left(x + 2\right) e^{x}. The second differentiation needs the product rule again: the derivative of (x+1)ex(x+1)e^x is 1⋅ex+(x+1)ex1 \cdot e^x + (x+1)e^x.

y=ln⁡(x2+1)y = \ln(x^2 + 1). Then y′=2xx2+1y' = \frac{2x}{x^2 + 1}. By the quotient rule, y′′=2(x2+1)−2x⋅2x(x2+1)2=2(1−x2)(x2+1)2y'' = \frac{2(x^2 + 1) - 2x \cdot 2x}{(x^2 + 1)^2} = \frac{2 \left(1 - x^{2}\right)}{\left(x^{2} + 1\right)^{2}}

For the upper half of the circle x2+y2=25x^2 + y^2 = 25 we found y′=−xyy' = -\frac{x}{y}. Differentiate again with the quotient rule: y′′=−y−xy′y2=−y+x2yy2=−y2+x2y3y'' = -\frac{y - x y'}{y^2} = -\frac{y + \frac{x^2}{y}}{y^2} = -\frac{y^2 + x^2}{y^3}. Since x2+y2=25x^2 + y^2 = 25, this simplifies to y′′=−25y3y'' = -\frac{25}{y^3} which is the same as −25(25−x2)32\frac{-25}{\left(25 - x^{2}\right)^{\frac{3}{2}}} when y=25−x2y = \sqrt{25 - x^2}. Because y>0y > 0 on the upper half, y′′<0y'' < 0: the arch bends downward.

A cart moves along a straight track. Its distance from the start after tt seconds is s=t3−6t2+9ts = t^{3} - 6 t^{2} + 9 t metres. The first derivative is the velocity v=3t2−12t+9v = 3 t^{2} - 12 t + 9. The second derivative is the acceleration a=6t−12a = 6 t - 12. At t=2t = 2 the acceleration is 00: at that moment the velocity stops decreasing and starts increasing. The velocities at t=0,1,2,3,4t = 0, 1, 2, 3, 4 are 9, 0, -3, 0, 9 metres per second, and the positions are 0, 4, 2, 0, 4 metres.

Position of the cart. At t = 1 and t = 3 the velocity is 0: the cart turns round. Between them it moves backwards.

Read the figure. The cart starts at 0, reaches 4 metres at t=1t = 1, rolls back to 0 at t=3t = 3, then sets off forward again. The marked points are where the curve levels off: slope (velocity) 0. Between t=1t = 1 and t=3t = 3 the curve falls, so the velocity is negative there (-3 at t=2t = 2).

For x=t2x = t^2 and y=t3y = t^3 with t>0t > 0, elimination gives y=x3/2y = x^{3/2}. Then dydx=32x=3t2\frac{dy}{dx} = \frac{3}{2}\sqrt{x} = \frac{3t}{2}, matching the parametric formula, and d2ydx2=34x=34t.\frac{d^2y}{dx^2} = \frac{3}{4\sqrt{x}} = \frac{3}{4t}. At t=1t = 1 the second derivative is 34\frac{3}{4}: the slope itself is increasing there.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Find the second derivative of y=x3y = x^3.
Try answering before revealing!
Question 2
[Board Standard] A student writes (dydx)2\left(\frac{dy}{dx}\right)^2 when they mean d2ydx2\frac{d^2y}{dx^2}. Explain the difference in words.
Try answering before revealing!
Question 3
[HOTS] A ball falls so that its height is s=t2s = t^2 metres after tt seconds. Find its velocity and its acceleration.
Try answering before revealing!

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find the second derivative of x3ln⁡xx^{3} \ln x with respect to xx.
Try answering before revealing!
Question 2
[Concept] Find the second derivative of e2xsin⁡xe^{2 x} \sin x with respect to xx.
Try answering before revealing!
Question 3
[Concept] Find the second derivative of tan⁡−1x\tan^{-1} x with respect to xx.
Try answering before revealing!
Question 4
[Concept] Find the second derivative of x5x^{5} with respect to xx.
Try answering before revealing!
Question 5
[Concept] Find the second derivative of tan⁡x\tan x with respect to xx.
Try answering before revealing!
Question 6
[Concept] If y=3sin⁡x+2cos⁡xy = 3\sin x + 2\cos x, show that y′′+y=0y'' + y = 0.
Try answering before revealing!
Question 7
[Board Standard] Find the second derivative of x4+5x2x^{4} + 5 x^{2} with respect to xx.
Try answering before revealing!
Question 8
[Board Standard] Find the second derivative of e3xe^{3 x} with respect to xx.
Try answering before revealing!
Question 9
[Board Standard] Find the second derivative of ln⁡x\ln x with respect to xx.
Try answering before revealing!
Question 10
[Board Standard] Find the second derivative of cos⁡(2x)\cos\left(2 x\right) with respect to xx.
Try answering before revealing!
Question 11
[Board Standard] Find the second derivative of x2exx^{2} e^{x} with respect to xx.
Try answering before revealing!
Question 12
[Board Standard] If y=e−2xy = e^{-2x}, show that y′′=4yy'' = 4y.
Try answering before revealing!
Question 13
[Board Standard] Find the second derivative of sin⁡2x\sin^{2} x with respect to xx.
Try answering before revealing!
Question 14
[HOTS] Find the second derivative of xln⁡xx \ln x with respect to xx.
Try answering before revealing!
Question 15
[HOTS] Find the second derivative of ex+e−xe^{x} + e^{-x} with respect to xx.
Try answering before revealing!
Question 16
[HOTS] Find the second derivative of x2sin⁡xx^{2} \sin x with respect to xx.
Try answering before revealing!
Question 17
[HOTS] Find the second derivative of x4−2x2x^{4} - 2 x^{2} with respect to xx.
Try answering before revealing!
Question 18
[HOTS] If y=sin⁡2xy = \sin 2x, show that y′′+4y=0y'' + 4y = 0.
Try answering before revealing!

5.9 Miscellaneous Worked Examples and Cumulative Problems

1,151 words · 5 min read

Differentiate y=x2e−xy = x^{2} e^{-x}. Product rule: y′=2x⋅e−x+x2⋅(−e−x)=(2x−x2)e−xy' = 2x \cdot e^{-x} + x^2 \cdot (-e^{-x}) = \left(2 x - x^{2}\right) e^{-x}. Factorised, y′=x(2−x)e−xy' = x(2 - x)e^{-x}: the slope is 0 at x=0x = 0 and x=2x = 2, positive between them and negative outside.

Let f(x)=x2sin⁡1xf(x) = x^2 \sin\frac{1}{x} for x≠0x \neq 0 and f(0)=0f(0) = 0. At 0, the difference quotient is f(h)−f(0)h=hsin⁡1h\frac{f(h) - f(0)}{h} = h \sin\frac{1}{h}. Because sin⁡1h\sin\frac{1}{h} is always between −1-1 and 1, this is squeezed between −∣h∣-|h| and ∣h∣|h|, so it tends to 00. Hence f′(0)=0f'(0) = 0.

For x≠0x \neq 0 the rules give f′(x)=2xsin⁡(1x)−cos⁡(1x)f'(x) = 2 x \sin\left(\frac{1}{x}\right) - \cos\left(\frac{1}{x}\right). As x→0x \to 0, the term cos⁡1x\cos\frac{1}{x} keeps swinging between −1-1 and 1, so f′(x)f'(x) has no limit at 0. The derivative exists at 0 but is not continuous there. Differentiable does not mean continuously differentiable.

The function x²sin(1/x) is trapped between −x² and x², so it is flat (slope 0) at the origin even though its slope nearby swings wildly.

Read the figure. The two pale parabolas are walls: the wiggly blue curve can never escape them. Near the origin the walls pinch together, forcing the curve flat. That pinch is the squeeze argument in picture form, and it is why f′(0)=0f'(0) = 0 even though the slope formulas for x≠0x \neq 0 never settle.

Find the slope of xy2−x2y=6xy^2 - x^2 y = 6 at (1,3)(1, 3) (check: 9−3=69 - 3 = 6). Differentiate: y2+2xyy′−2xy−x2y′=0y^2 + 2xy y' - 2xy - x^2 y' = 0. Collect: y′(2xy−x2)=2xy−y2y'(2xy - x^2) = 2xy - y^2. So y′=−(y2−2xy)2xy−x2y' = \frac{-\left(y^{2} - 2 x y\right)}{2 x y - x^{2}}. At (1,3)(1, 3): y′=−9−66−1=−35y' = -\frac{9 - 6}{6 - 1} = -\frac{3}{5} (that is −0.6-0.6).

If x=etx = e^t and y=e2ty = e^{2t}, then dydx=2e2tet=2et\frac{dy}{dx} = \frac{2e^{2t}}{e^t} = 2 e^{t}. Check: y=x2y = x^2, so dydx=2x=2et\frac{dy}{dx} = 2x = 2e^t. The two methods agree.

Differentiate y=(x2+1)xy = (x^2 + 1)^x. Then ln⁡y=xln⁡(x2+1)\ln y = x \ln(x^2 + 1), so y′y=ln⁡(x2+1)+2x2x2+1\frac{y'}{y} = \ln(x^2 + 1) + \frac{2x^2}{x^2 + 1}. Therefore y′=(x2+1)x(ln⁡(x2+1)+2x2x2+1)y' = \left(x^{2} + 1\right)^{x} \left(\ln\left(x^{2} + 1\right) + \frac{2 x^{2}}{x^{2} + 1}\right)

Differentiate y=ln⁡xxy = \frac{\ln x}{x} for x>0x > 0. Quotient rule with u=ln⁡xu = \ln x and v=xv = x: y′=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2y' = \frac{\frac{1}{x} \cdot x - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^{2}} The slope is 0 when ln⁡x=1\ln x = 1, that is at x=ex = e: the curve climbs before ee and falls after it.

⚡ Quick Check Flashcards20 questions
Question 1
[Concept] Differentiate (2x2−3x+4)6\left(2 x^{2} - 3 x + 4\right)^{6} with respect to xx.
Try answering before revealing!
Question 2
[Concept] Differentiate sin⁡4x+cos⁡4x\sin^{4} x + \cos^{4} x with respect to xx.
Try answering before revealing!
Question 3
[Concept] Differentiate tan⁡−1(x)\tan^{-1}\left(\sqrt{x}\right) with respect to xx.
Try answering before revealing!
Question 4
[Concept] Differentiate ln⁡(x+x2+1)\ln\left(x + \sqrt{x^{2} + 1}\right) with respect to xx.
Try answering before revealing!
Question 5
[Concept] Find dydx\frac{dy}{dx} for x4+y4=17x^4 + y^4 = 17, and evaluate it at (1,2)(1, 2).
Try answering before revealing!
Question 6
[Concept] If x=ln⁡tx = \ln t and y=t2y = t^2 (with t>0t > 0), find dydx\frac{dy}{dx}.
Try answering before revealing!
Question 7
[Concept] For which value of kk is f(x)=1−cos⁡4xx2f(x) = \frac{1 - \cos 4x}{x^2} for x≠0x \neq 0, f(0)=kf(0) = k, continuous at 0?
Try answering before revealing!
Question 8
[Board Standard] Differentiate (sin⁡x)x+xsin⁡x\left(\sin x\right)^{x} + x^{\sin x} with respect to xx.
Try answering before revealing!
Question 9
[Board Standard] Find the second derivative of exsin⁡xe^{x} \sin x with respect to xx.
Try answering before revealing!
Question 10
[Board Standard] Find aa and bb so that f(x)={x2x≤1ax+bx>1f(x) = \begin{cases} x^{2} & x \le 1 \\ a x + b & x > 1 \end{cases} is differentiable at x=1x = 1.
Try answering before revealing!
Question 11
[Board Standard] Find kk so that f(x)=kx+5f(x) = kx + 5 for x≤2x \le 2 and f(x)=x2−1f(x) = x^2 - 1 for x>2x > 2 is continuous at x=2x = 2.
Try answering before revealing!
Question 12
[Board Standard] What value should be given to f(1)f(1) so that f(x)=x3−1x−1f(x) = \frac{x^3 - 1}{x - 1} (for x≠1x \neq 1) is continuous at 1?
Try answering before revealing!
Question 13
[Board Standard] Differentiate 3x+7\sqrt{3 x + 7} with respect to xx.
Try answering before revealing!
Question 14
[Board Standard] Differentiate ex2sin⁡xe^{x^{2}} \sin x with respect to xx.
Try answering before revealing!
Question 15
[Board Standard] Find the slope of x3−y3=9x^3 - y^3 = 9 at (2,−1)(2, -1). First check the point is on the curve.
Try answering before revealing!
Question 16
[HOTS] If x=t2−4x = t^2 - 4 and y=t3+2ty = t^3 + 2t, find dydx\frac{dy}{dx} and its value at t=2t = 2.
Try answering before revealing!
Question 17
[HOTS] Find the second derivative of x3−5xx^{3} - 5 x with respect to xx.
Try answering before revealing!
Question 18
[HOTS] Differentiate x2+5x+6\sqrt{x^{2} + 5 x + 6} with respect to xx.
Try answering before revealing!
Question 19
[HOTS] Is f(x)=∣3x−6∣f(x) = |3x - 6| continuous at x=2x = 2? Justify with one-sided limits.
Try answering before revealing!
Question 20
[HOTS] Differentiate cos⁡−1(x)\cos^{-1}\left(\sqrt{x}\right) with respect to xx.
Try answering before revealing!

5.10 Chapter Summary and Differentiation Rules Matrix

378 words · 2 min read

Continuity asks "is there a break?", differentiability asks "is there a sharp corner?". A corner-free graph is always break-free, but a break-free graph can still have corners. Every rule in this chapter serves one of those two questions.

QuestionToolCondition to check
Continuous at cc?Three-part limit testLeft limit = right limit = f(c)f(c)
Differentiable at cc?Limit of the step quotientLeft and right derivatives equal
Derivative of layers?Chain ruleMultiply by every inside derivative
yy tangled with xx?Implicit differentiationRemember yy depends on xx
x,yx, y from a parameter?dy/dtdx/dt\frac{dy/dt}{dx/dt}dxdt≠0\frac{dx}{dt} \neq 0
Variable power or long product?Logarithmic differentiationLog inputs must be positive
How does the slope change?Second derivativeDo not square the first derivative

Read the table as a repair manual. The first column is the symptom, the second is the tool, and the third is the condition students most often forget. Before any calculation, point to the row you need and say its condition out loud.

  • Continuity at cc: left-hand limit = right-hand limit = f(c)f(c). Polynomials are continuous everywhere; rational functions are continuous wherever the denominator is not 0.
  • Algebra of continuity: sums, differences, products, quotients (denominator not 0) and composites of continuous functions are continuous.
  • Derivative: f′(c)=lim⁡h→0f(c+h)−f(c)hf'(c) = \lim_{h \to 0}\frac{f(c + h) - f(c)}{h}. Differentiable implies continuous; the reverse is false (∣x∣|x| at 0).
  • Rules: sum, product (uv)′=u′v+uv′(uv)' = u'v + uv', quotient (uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}, and the chain rule dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}.
  • Implicit functions: differentiate both sides with respect to xx, treat yy as a function of xx, then solve for dydx\frac{dy}{dx}.
  • Inverse trigonometric: (sin⁡−1x)′=11−x2(\sin^{-1}x)' = \frac{1}{\sqrt{1 - x^2}}, (cos⁡−1x)′=−11−x2(\cos^{-1}x)' = -\frac{1}{\sqrt{1 - x^2}}, (tan⁡−1x)′=11+x2(\tan^{-1}x)' = \frac{1}{1 + x^2}.
  • Exponential and logarithmic: (ex)′=ex(e^x)' = e^x, (ln⁡x)′=1x(\ln x)' = \frac{1}{x}, (ax)′=axln⁡a(a^x)' = a^x\ln a.
  • Logarithmic differentiation: take ln⁡\ln of both sides first; use it for uvu^v and for long products and quotients.
  • Parametric form: dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt} when dxdt≠0\frac{dx}{dt} \neq 0.
  • Second derivative: d2ydx2\frac{d^2y}{dx^2} is the derivative of dydx\frac{dy}{dx}; in motion it is acceleration.
Up next
Continue to the next chapter