IB Analysis and Approaches HL · Differential calculus · Section 2 of 14

Differentiability and continuity; operations with derivatives

3 worked examples · By Álvaro López

Key idea

Being differentiable at a point is more demanding than being continuous: the graph must not only "not break", it must also be smooth. With this idea you solve the piecewise-function exercises with parameters, which are very common in the IB, and you justify the rules for differentiating sums, products and quotients.

Differentiable implies continuous

The reason: for you can write As , the first factor tends to , which is a number, and the second tends to . The product tends to , that is, .

The converse is false: there are continuous functions that are not differentiable. What is used a lot is the contrapositive: if is not continuous at , it is not differentiable at . There is no need to look at any derivative if there is already a jump.

Points where there is no derivative

The derivative does not exist at a point when one of these three things happens:

  • Discontinuity: the graph jumps, or is not defined at .
  • Corner point (a "corner"): is continuous but ; there are two different one-sided tangents. The basic example is at : the gradient is on the left and on the right.
  • Vertical tangent: is continuous and the quotient grows without bound. This happens with at .

Continuous function with a corner point at (2,1): one-sided tangents with gradients 2 and -1

Piecewise functions

A function with several formulas can be differentiable at the point where it changes formula, but only if it joins up properly and has no corner.

If the function is not continuous at , step 2 is no longer needed.

Operations with differentiable functions

If and are differentiable at a point, so are their sum, their product and their quotient (the latter, if there).

The sum and constant-multiple rules follow directly from the limit. For the product, it is enough to add and subtract in the numerator of the definition: and as we get (it uses the fact that , being differentiable, is continuous, so ). The quotient rule follows by applying the product rule to .

The derivative of a product is not the product of the derivatives: that is why the rule must be used. In the next section these rules are applied to the usual functions.

Worked examples

Example 1 Basic

A corner in an absolute value

Let .

a) Calculate .

b) Calculate .

c) Is differentiable at ? Answer "yes" or "no".

Solution

Write piece by piece: if , and if . It is continuous at , because both pieces are there.

a) On the left , and its derivative is : .

b) On the right , and its derivative is : .

c) The one-sided derivatives do not agree (): the graph has a corner and it is not differentiable at .

Example 2 Medium

Rules with a table of values

Two differentiable functions and have the following data at :

a) Calculate the derivative of at .

b) Calculate the derivative of at .

c) Calculate the derivative of at .

d) Find the equation of the tangent to the graph of at , in the form .

Solution

a) .

b) .

c) .

d) The point is and the gradient is :

Example 3 Hard

Parameters so that a piecewise function is differentiable

Let with .

a) For , calculate and .

b) For , calculate the limit of and in terms of and .

c) Find the values of and for which is differentiable at .

d) With those values, find the equation of the tangent to the graph at .

Solution

a) For , , so . Its derivative is , and .

b) For , : . Its derivative is , and .

c) For it to be differentiable it must be continuous and have equal one-sided derivatives: Subtracting, , and then .

d) At we are on the piece : and . The tangent is

In the exam: write the two conditions separately (continuity and one-sided derivatives) and say which is which. Many people set up only one of them and are left with an undetermined parameter.

Common mistakes

Summary

  • Differentiable at continuous at . The converse is false ( at ).
  • There is no derivative at a point if there is a discontinuity, a corner point () or a vertical tangent.
  • Piecewise function: differentiable at if it is continuous at and the one-sided derivatives agree; with parameters, each condition gives an equation.
  • , , , .
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp