Try it yourself · Class 12 Maths · Continuity and Differentiability

Continuity and differentiability at x = 1: left value, right value and the two slopes

A function is continuous at a point if the left value, the right value and all agree, and differentiable if the left slope and the right slope also agree. The simulation shows both tests for three functions at .

The blue curve is . Green dots sit at and ; the orange dot is . The middle tab has two pieces, for and for , so only changes that tab.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Function tabs: , the two-piece function for and 2 for , and .
  • Value : from -5 to 5 in steps of 0.5 (start at 1); it changes only the middle tab.
  • Gap : from 0.05 to 1 in steps of 0.05 (start at 0.5); it moves the green dots toward .

What to watch

  • at = 0.5: = 0.500, = 0.500, = 0.000; continuous, but the slopes are -1.0 and 1.0, so not differentiable.
  • Two-piece function with = 1: = 6.000 but = 2.000 for every , so it is not continuous at 1.
  • Two-piece function with = -3: = 2.000 and the right side is 2.000, so it is continuous; the slopes are -6.0 and 0.0, so still not differentiable.
  • : continuous and differentiable at 1, with both slopes 0.

The formula

Differentiable at also needs the left slope and right slope at to be equal; differentiable implies continuous, not the reverse.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE

    Prove that the function given by , , is not differentiable at .
    Show the answer
    The left-hand derivative at is and the right-hand derivative is , so is not differentiable at .
  2. CBSE 2020

    Find the value of k, so that the function is continuous at x = 1.
    Show the answer
    -3
  3. CBSE 2024

    Check whether the function is differentiable at or not.
    Show the answer
    Differentiable at x = 0, with f'(0) = 0

More to try in Continuity and Differentiability

Every simulation in the Lab