Skip to lesson content

Lesson 8 of 8

Continuity and Differentiability · Lesson 8 of 8

Chapter Summary and Practice

“Connect continuity, derivative methods, domains, and second derivatives through a complete chapter review and substantial mixed problems.”

Learning Objectives

• Connect the continuity test with the existence of finite derivatives. • Choose appropriate rules for explicit, implicit, composite, logarithmic, and parametric expressions. • Use domains and principal ranges to justify calculations rather than only simplify formulas. • Combine first and second derivatives in multi-step problems and identities. • Recognise when a compact derivative formula needs an exceptional-point check. • Solve mixed chapter problems and explain why the selected methods work.

A connected picture of the chapter

The chapter begins with the behaviour of function values and ends with relationships involving repeated derivatives. These ideas fit into one workflow: establish where a function is defined, check continuity or differentiability when necessary, identify how the expression is built, and then apply the appropriate rules. A correct derivative includes both its calculation and the conditions that make it valid.

Continuity compares a limiting output with an assigned output. Differentiability compares limiting slopes and is a stronger requirement: a derivative guarantees continuity, but a continuous corner can have no derivative. Once differentiability is available, the form of the function guides the calculation. Arithmetic combinations use arithmetic rules, compositions use the chain rule, and implicit or parametric descriptions require us to account for how one variable depends on another.

Chapter ideaRelationship to rememberDecision or condition
Continuity at an interior pointLeft limit = right limit = f(c).Check the assigned branch and both approaches.
Continuity on a domainContinuity holds at each domain input.Excluded inputs are not silently assigned values; endpoints use the available side.
Algebra and composition of continuous functionsSums, differences, products, valid quotients and compositions preserve continuity.A quotient denominator must be nonzero; the outer function must accept the inner output.
Derivative definitionf′(c)=lim[f(c+h)−f(c)]/h.The finite limit must exist; interior one-sided derivatives must agree.
Continuity and differentiabilityDifferentiable implies continuous.The converse fails, as |x| at zero shows.
Product and quotient rules(uv)′=u′v+uv′; (u/v)′=(u′v−uv′)/v².Keep both terms and the quotient numerator’s order.
Chain ruleA rate factor comes from each layer.Evaluate each outer derivative at the relevant inner expression.
Implicit differentiationDifferentiate the equation with y=y(x).Include y′ in y-dependent terms and check any coefficient divided by.
Inverse trigonometric derivativesarcsin: 1/√(1−x²); arccos: its negative; arctan: 1/(1+x²).Finite derivative domains and principal ranges matter.
Exponential and logarithm graphsbˣ and log_b x are inverse functions for b>1.Their domains and ranges are exchanged and their graphs reflect in y=x.
Logarithm lawsProducts become sums, quotients differences, and powers factors.Check positive arguments; there is no corresponding law for a sum.
Natural exponential and logarithm derivatives(eᵘ)′=eᵘu′; (log u)′=u′/u.The logarithmic argument must be positive.
Logarithmic differentiationFor y=uᵛ, y′=uᵛ[v′log u+vu′/u].Use a positive base; distinguish fixed and changing exponents.
Parametric first derivativesdy/dx=(dy/dt)/(dx/dt).The horizontal coordinate rate must be nonzero for this ratio.
Second derivativesy″ is the derivative of y′.It is not (y′)²; apply the rules again.
Differential identitiesRearrange a first derivative or substitute y,y′,y″.Show cancellations and state derivative intervals.
Mixed strategyDomain → structure → calculation → check.An algebraic simplification must not expand the original domain.

Begin with the type of question

Before differentiating, decide whether the problem asks about continuity, existence of a derivative, or the value of a derivative that is already known to exist on an interval. These are related questions, but they require different arguments. A limit comparison is not replaced by an ordinary derivative formula at a troublesome joining point.

Example — A continuous function with exactly two corners

Problem
Construct a function continuous everywhere but not differentiable at exactly two real inputs.

  1. 1.Take f(x)=|x|+|x−1|. Each modulus function is continuous everywhere, so their sum is continuous everywhere.
  2. 2.For x<0 the expression is −x+(1−x)=1−2x and its slope is −2. For 0<x<1 it is x+(1−x)=1 and its slope is 0.
  3. 3.For x>1 it is x+(x−1)=2x−1 and its slope is 2.
  4. 4.At zero the left and right slopes are −2 and 0; at 1 they are 0 and 2. The derivatives fail at these two inputs.
  5. 5.All other inputs lie in an open interval where the function is linear. Thus zero and 1 are exactly the two nondifferentiable points, and continuity holds even there.
Example — A modulus power that is twice differentiable

Problem
For f(x)=|x|³, find f″(x) for all real x, including zero.

  1. 1.For x>0, f=x³, so f′=3x² and f″=6x. For x<0, f=−x³, so f′=−3x² and f″=−6x.
  2. 2.At zero the first difference quotient is |h|³/h. Its magnitude is h², which tends to zero, so f′(0)=0.
  3. 3.For h≠0, f′(h)=3h|h|. The difference quotient for f′ at zero is [f′(h)−f′(0)]/h=3|h|, which also tends to zero.
  4. 4.Therefore f″(0)=0 and f″(x)=6|x| for every real x. The modulus itself has a corner, but cubing its magnitude changes the behaviour enough to allow two derivatives.

Combine the basic rules and preserve the domain

A mixed expression may require several familiar rules in a short calculation. Roots become powers for differentiation, a logarithm to a different base can be changed to natural logarithms, and an outer function can impose a stricter domain than its inner one. Each step should keep these conditions visible.

Example — A root and a reciprocal root

Problem
Differentiate y=√(3x+2)+1/√(2x²+4).

  1. 1.The second square-root denominator is always positive. The first root requires 3x+2≥0, so the function domain is x≥−2/3.
  2. 2.Write y=(3x+2)⁽¹⁄²⁾+(2x²+4)⁽⁻¹⁄²⁾. The power form makes the chain-rule multipliers explicit.
  3. 3.Differentiating gives y′=(1/2)(3x+2)⁽⁻¹⁄²⁾·3−(1/2)(2x²+4)⁽⁻³⁄²⁾·4x.
  4. 4.Hence y′=3/[2√(3x+2)]−2x/(2x²+4)⁽³⁄²⁾, valid for x>−2/3. The left endpoint belongs to the function domain but not to this finite derivative domain.
Example — Changing base before differentiating

Problem
Differentiate y=log₇(log x).

  1. 1.The inner logarithm requires x>0, and the outer logarithm requires log x>0. Together these give x>1.
  2. 2.Change base: y=log(log x)/log7. The denominator log7 is a nonzero constant.
  3. 3.Differentiate the numerator using the logarithmic chain rule: d[log(log x)]/dx=1/[x log x].
  4. 4.Thus y′=1/[x log7 log x] for x>1. Neither a base-7 logarithm nor a repeated logarithm requires a new differentiation principle.

Principal values are part of inverse trigonometric reasoning

Trigonometric identities may hold at all real angles, but inverse trigonometric functions return only their principal values. A simplification such as cos⁻¹(cos θ)=θ is valid only when θ is in the inverse-cosine range. This is especially important in the mixed examples, where an apparently simple cancellation can change the derivative’s sign.

Example — An inverse cosine of a sine

Problem
Differentiate f(x)=cos⁻¹(sin x) on its differentiable intervals.

  1. 1.The function is defined for every real x because sin x lies in [−1,1]. At points where cos x≠0, the chain rule gives f′=−cos x/√(1−sin²x).
  2. 2.Since √(cos²x)=|cos x|, the derivative is −cos x/|cos x|.
  3. 3.On −π/2<x<π/2, cosine is positive, so f′=−1 and f(x)=π/2−x. On π/2<x<3π/2, cosine is negative, so f′=1 and f(x)=x−π/2.
  4. 4.The pattern repeats with period 2π. At x=π/2+kπ the one-sided slopes disagree, giving corners and no two-sided derivative.
  5. 5.Thus −1 is a correct derivative on particular intervals, not a global answer for this function.
Example — A half-angle simplification with a branch shift

Problem
Differentiate f(x)=tan⁻¹[sin x/(1+cos x)].

  1. 1.The denominator excludes x=(2k+1)π. On the remaining intervals, sin x/(1+cos x)=tan(x/2).
  2. 2.For −π<x<π, x/2 lies in (−π/2,π/2), so f(x)=x/2 and f′=1/2.
  3. 3.More generally on (2k−1)π<x<(2k+1)π, the principal value is f(x)=x/2−kπ. The constant shift changes the value but not the derivative.
  4. 4.Therefore f′=1/2 at every allowed input. The values cannot be identified globally with x/2, and the excluded inputs remain excluded.
Example — A positive argument whose inverse sine turns at zero

Problem
Differentiate f(x)=sin⁻¹[2ˣ⁺¹/(1+4ˣ)].

  1. 1.Put z=2ˣ>0. The argument is 2z/(1+z²), which is at most 1 because (z−1)²≥0, and is positive. Thus f is defined for every real x.
  2. 2.Let θ=tan⁻¹z, so 0<θ<π/2 and the argument is sin2θ. If x≤0 then z≤1 and 2θ≤π/2, giving f=2tan⁻¹(2ˣ).
  3. 3.If x≥0, 2θ≥π/2. Inverse sine returns the reflected principal angle, giving f=π−2tan⁻¹(2ˣ). The two expressions agree at x=0 with value π/2.
  4. 4.For x<0, f′=2ˣ⁺¹log2/(1+4ˣ). For x>0, f′=−2ˣ⁺¹log2/(1+4ˣ).
  5. 5.At zero the left derivative is log2 and the right derivative is −log2. The function is continuous there but has no two-sided derivative. This connects principal values directly to the continuity–differentiability distinction.
The principal-value derivative on each side of zeroLaTeX
The function is continuous at zero but its two one-sided slopes are log2 and −log2, so there is no derivative at zero.
An inverse trigonometric function returns its principal valuexy-33123arccos(sin x)Slope alternates between +1 and −1.xy-2-1121arcsin(2ˣ⁺¹/(1+4ˣ))Rises to x = 0, then falls.
Two principal-value checks— The slope changes are consequences of the inverse functions’ ranges, not breaks in the underlying trigonometric or exponential formulas.
Do not cancel an inverse outside its principal range

The identities used inside an inverse function can be correct while the cancellation of the inverse is not. First identify the angle being produced, then check its range. In particular, √(cos²x)=|cos x|, and sin⁻¹(sin2θ) may equal π−2θ rather than 2θ.

Choose the differentiation method from the expression

A changing exponent suggests logarithms, while a changing inner argument suggests a chain rule. Some functions contain both. Positive-base checks make the logarithmic step valid; a product rule inside that step accounts for simultaneous changes in the base and exponent.

Example — A sine raised to itself

Problem
Find f′(x) for f(x)=(sin x)⁽ˢⁱⁿ ˣ⁾, 0<x<π.

  1. 1.On this interval sin x>0, so the function is positive and log f=sin x·log(sin x).
  2. 2.Differentiate: f′/f=cos x log(sin x)+sin x·[cos x/sin x].
  3. 3.Simplify the second term to cos x, giving f′/f=(1+log(sin x))cos x.
  4. 4.Thus f′=(sin x)⁽ˢⁱⁿ ˣ⁾(1+log(sin x))cos x. The stated interval justifies all logarithms; it is not valid to claim a real variable-power definition for every positive x without checking the sine base.
Sine raised to itselfLaTeX
The positive sine base on this interval permits the logarithmic differentiation used above.

A useful mixed check is xˣ+xᵃ+aˣ+aᵃ with fixed a>0 and x>0. The first term has changing base and exponent, the second a fixed exponent, the third a fixed base, and the fourth is constant. Their derivatives are respectively xˣ(1+log x), axᵃ⁻¹, aˣlog a, and zero. An expression’s visual similarity does not make its terms obey the same rule.

The chain rule connects different coordinates and different rates

Parametric differentiation compares two rates with respect to a common parameter. The same reasoning lets us differentiate one function of x with respect to another function of x. For a second derivative in parametric form, we must also convert the rate of change of the first slope back to change with respect to x.

Example — An exponential coordinate and a power coordinate

Problem
For a>0, let y=a⁽ᵗ⁺¹⁄ᵗ⁾ and x=(t+1/t)ᵃ. Find dy/dx using t>0 and t≠1.

  1. 1.The restriction t>0 ensures that t+1/t is positive, so its arbitrary real power a is defined. Write u=t+1/t, with du/dt=1−1/t².
  2. 2.The coordinate derivatives are dy/dt=aᵘlog a·(1−1/t²) and dx/dt=a uᵃ⁻¹(1−1/t²).
  3. 3.For t>0,t≠1, the horizontal rate is nonzero. Dividing gives dy/dx=aᵘlog a/[a uᵃ⁻¹], with u=t+1/t.
  4. 4.At t=1 both rates vanish, so this division does not itself establish the derivative. The relation may instead be examined through the positive variable u. A negative t would make u negative, which is not a valid base for every arbitrary positive real a.
The exponential–power coordinate comparisonLaTeX
For arbitrary real a>0, the calculation here uses t>0 and t≠1 so the base is positive and the horizontal parameter rate is nonzero.
One changing function with respect to anotherLaTeX
Here u and v are functions of the common input x. This is the parametric rate ratio with x acting as the common parameter.
Example — Differentiating with respect to a function

Problem
Differentiate sin²x with respect to exp(cos x), using a point where sin x≠0.

  1. 1.Set u=sin²x and v=exp(cos x). Their derivatives with respect to x are du/dx=2sin x cos x and dv/dx=−sin x·exp(cos x).
  2. 2.Where sin x≠0 the denominator rate is nonzero, so du/dv=(2sin x cos x)/(−sin x·exp(cos x)).
  3. 3.Cancel the nonzero sine factor to obtain du/dv=−2cos x/exp(cos x).
  4. 4.The cancellation records a formula on the inputs where the rate ratio was justified. If an exceptional input is required, examine the relationship between u and v separately rather than divide 0 by 0.

For a parametric second derivative, first compute the slope p(t)=dy/dx. Differentiating p with respect to t gives dp/dt, but the requested second derivative is dp/dx. One more chain-rule conversion therefore divides by dx/dt. It is not obtained by dividing d²y/dt² by d²x/dt².

Second derivative in parametric formLaTeX
Differentiate the first slope with respect to the parameter, then divide by the horizontal coordinate rate once more.
Example — A parametric first and second derivative

Problem
For x=a(cos t+t sin t), y=a(sin t−t cos t), a>0, find y′ and y″ where t≠0 and cos t≠0.

  1. 1.Differentiate the coordinates: dx/dt=a[−sin t+sin t+t cos t]=at cos t, and dy/dt=a[cos t−cos t+t sin t]=at sin t.
  2. 2.The first slope is y′=tan t at the stated parameters.
  3. 3.Differentiate this slope with respect to t to get sec²t.
  4. 4.Convert to differentiation with respect to x: y″=sec²t/(at cos t)=1/(at cos³t). The second division is essential.

Use identities to connect the whole chapter

Mixed identities can bring together implicit differentiation, trigonometric formulas, earlier algebra, and second derivatives. The objective is to show why the relationship follows, not merely to obtain a complicated final expression. Domain and branch conditions remain part of that reasoning.

Example — A circle gives a branch-dependent constant

Problem
For (x−a)²+(y−b)²=c², c>0, examine [1+(y′)²]⁽³⁄²⁾/y″ on a smooth branch with y≠b.

  1. 1.Implicit differentiation gives (x−a)+(y−b)y′=0, hence y′=−(x−a)/(y−b).
  2. 2.Using the circle equation, 1+(y′)²=[(y−b)²+(x−a)²]/(y−b)²=c²/(y−b)².
  3. 3.Differentiate (x−a)+(y−b)y′=0 again: 1+(y′)²+(y−b)y″=0. Thus y″=−c²/(y−b)³.
  4. 4.The numerator [1+(y′)²]⁽³⁄²⁾ is c³/|y−b|³. Dividing gives −c·sign(y−b): it is −c on an upper branch and +c on a lower branch.
  5. 5.The result is constant on each such branch and independent of a,b. If the denominator were |y″| instead, the ratio would be the positive constant c. The absolute value and the branch distinction explain the sign.

Differentiation can also generate a familiar identity. Hold B constant in sin(A+B)=sin A cos B+cos A sin B and differentiate with respect to A. The result is cos(A+B)=cos A cos B−sin A sin B, the cosine addition formula. The step works because the addition formula holds as an identity in the changing variable A.

A connection to determinants uses their linear dependence on one row. Let y be the determinant with first row f(x),g(x),h(x), second row l,m,n, and third row a,b,c, where the last two rows are constant. Expanding along the first row gives y=f(mc−nb)−g(lc−na)+h(lb−ma). The cofactors are constant, so its derivative is f′(mc−nb)−g′(lc−na)+h′(lb−ma), exactly the determinant with only the first row replaced by f′,g′,h′. This rule in this form relies on the other two rows being constant.

Example — An inverse trigonometric exponential identity

Problem
For y=exp(a cos⁻¹x), prove (1−x²)y″−xy′−a²y=0 on −1<x<1.

  1. 1.The chain rule gives y′=−ay/√(1−x²). Rewrite this as √(1−x²)y′=−ay.
  2. 2.Differentiate the rewritten identity: √(1−x²)y″−x y′/√(1−x²)=−ay′.
  3. 3.Multiply by √(1−x²): (1−x²)y″−xy′=−a√(1−x²)y′.
  4. 4.Use the first identity again on the right: −a√(1−x²)y′=a²y. Moving this term to the left proves the result.
  5. 5.Although the original function is defined at x=±1, the derivative-based proof and identity are asserted on the open interval where the inverse-cosine derivative is finite.
Check what the calculation has actually proved

An implicit derivative formula is a necessary relationship on a differentiable branch; it does not by itself prove that such a branch exists. A cancelled parameter factor does not justify division by zero. An identity involving derivatives must be stated where those derivatives exist. These are mathematical conditions, not optional additions to a finished calculation.

Mixed chapter checks

The following questions revisit the entire progression, from continuity and domains to method choice and repeated derivatives. Identify the relevant idea before calculating. More than one method may be possible, but each selected answer should have a complete justification.

Quiz

Quick check

A function has equal finite one-sided limits at c, but their value differs from f(c). What follows?

Quick check

Which function is continuous everywhere and not differentiable at exactly two inputs?

Quick check

What is f″(0) for f(x)=|x|³?

Quick check

For y equal to u(x) raised to v(x), with u>0, which term in y′/y accounts for the changing exponent?

Quick check

What is the domain of log₇(log x)?

Quick check

Where cos x≠0, what is d[cos⁻¹(sin x)]/dx?

Quick check

For f(x)=sin⁻¹[2ˣ⁺¹/(1+4ˣ)], what happens at x=0?

Quick check

If x=f(t), y=g(t), and p(t)=dy/dx, how is y″ found when f′(t)≠0?

Quick check

For fixed a>0, which term in xˣ+xᵃ+aˣ+aᵃ has derivative zero?

Quick check

For the circle identity in this lesson, why can the signed constant be +c or −c?

Practice Problems

Practice Problems
  1. Test continuity at zero for f(x)=sin x/x when x≠0 and f(0)=k. Find k, then explain why this continuity result alone does not prove differentiability.
  2. Compare the domains and continuity of 1/x, log x, sin⁻¹x, and cos⁻¹(eˣ). Separate each function domain from any smaller domain needed for its finite derivative.
  3. Differentiate (3x²−9x+5)⁹ and sin³x+cos⁶x. Identify every inner derivative.
  4. Differentiate (5x)⁽³ᶜᵒˢ⁽²ˣ⁾⁾ on x>0, and sin⁻¹(x√x) on 0<x<1. State the distinction between the variable-power method and the inverse-trigonometric chain rule.
  5. Differentiate cos⁻¹(x/2)/√(2x+7) for −2<x<2. Show the numerator derivative and denominator derivative before combining them.
  6. For 0<x<π/2, simplify and differentiate cot⁻¹[(√(1+sin x)+√(1−sin x))/(√(1+sin x)−√(1−sin x))]. Use the positive half-angle expressions for the square roots.
  7. Differentiate (log x)⁽ˡᵒᵍ ˣ⁾, x>1, and cos(a cos x+b sin x), where a,b are constants.
  8. Differentiate (sin x−cos x)⁽ˢⁱⁿ ˣ⁻ᶜᵒˢ ˣ⁾ on π/4<x<3π/4. Explain why the stated interval permits logarithms.
  9. Differentiate xˣ+xᵃ+aˣ+aᵃ for fixed a>0, x>0. Then differentiate the sum of x raised to (x²−3) and (x−3) raised to x² for x>3.
  10. For y=12(1−cos t), x=10(t−sin t), −π/2<t<π/2, find dy/dx wherever the standard rate ratio applies. Identify the exceptional parameter value.
  11. For 0<x<1, differentiate sin⁻¹x+sin⁻¹√(1−x²). Explain the constant angle sum behind the result.
  12. If x√(1+y)+y√(1+x)=0 with −1<x<1, use s=√(1+x), r=√(1+y) and the factorisation (s+r)(sr−1)=0 to show y′=−1/(1+x)².
  13. Prove the circle ratio [1+(y′)²]⁽³⁄²⁾/y″ is independent of the centre coordinates on a smooth branch. State its sign on each branch and distinguish it from the ratio using |y″|.
  14. If cos y=x cos(a+y) and cos a≠±1, show y′=cos²(a+y)/sin a. Explain why the original equation and sin a≠0 permit the needed division.
  15. For x=a(cos t+t sin t), y=a(sin t−t cos t), a>0, find y″ where t≠0 and cos t≠0. Explain why it is not the ratio of the second parameter derivatives.
  16. Prove f″(x)=6|x| for f(x)=|x|³, including the definition-based checks at zero. Construct a different function continuous everywhere but nondifferentiable at exactly two points.
  17. Differentiate the sine addition identity to obtain the cosine addition identity. Then prove the determinant derivative identity when only the first row depends on x.
  18. For y=exp(a cos⁻¹x), prove (1−x²)y″−xy′−a²y=0 on −1<x<1. Identify the useful first-derivative identity and explain the endpoint restriction.
  19. Find all differentiable intervals and derivative signs of cos⁻¹(sin x) and sin⁻¹[2ˣ⁺¹/(1+4ˣ)]. Explain why a principal-value check changes a naïve global simplification.

Key Takeaways

Key Takeaways

• Continuity concerns approaching values; differentiability concerns approaching slopes and implies continuity. • A function’s domain, inverse principal ranges, and nonzero divisors control where a derivative argument applies. • Choose rules from the structure: arithmetic combinations, compositions, implicit dependencies, positive changing powers, or parametric rates. • Exponential and logarithmic functions are inverses, and their laws support efficient differentiation. • Second derivatives require another complete differentiation and another parameter-to-x conversion when needed. • Mixed problems are best checked through clear intermediate steps, independent identities, and careful treatment of exceptional inputs.