Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Learn through experiments

Shrink an interval without dividing by zero

When does an average rate become a unique local rate?

Entering midway? An interval slope is output change divided by input change. A derivative is a limit of these slopes.

1 · Try

Start with a concrete question

Compare x² with |x| using left and right secants. The second function has a corner at zero.

Try the initial inputs, then write a prediction before changing one setting. All calculations run locally on your CPU.

Go directly to the experiment · Review prerequisite mathematics and return here

2 · Predict

What do you expect?

Will a continuous graph always have a derivative?

3 · Experiment

Change one thing. Inspect what happens.

  1. For x² at x=1, shrink h and compare the two interval slopes with 2.
  2. Set h=0 and explain why the quotient is undefined rather than zero.
  3. Choose |x| at x=0; compare left and right slopes.
  4. Explain why averaging those opposite slopes would not prove a derivative exists.
Experiment inputs
Inputs
Your settings
Mechanism
Calculation below
Evidence
Compare outcomes
Function at x1
Exact derivative2 output/input
Left interval slope1.5 output/input
Right interval slope2.5 output/input

Curve, interval slopes and tangent where defined

Horizontal: Input x. Vertical: Function output.

-3-104.5310Left secant: (0.5, 0.25)Left secant: (1, 1)Right secant: (1, 1)Right secant: (1.5, 2.25)Local tangent: (0.5, 0)Local tangent: (1.5, 2)
  • 1. Function (solid line)
  • 2. Left secant (dashed line)
  • 3. Right secant (dashed line)
  • 4. Local tangent (dashed line)

Axes use the displayed ranges.

Read plotted values as a table
SeriesInput xFunction output
Function-39
Function-2.958.703
Function-2.98.41
Function-2.858.123
Function-2.87.84
Function-2.757.563
Function-2.77.29
Function-2.657.022
Function-2.66.76
Function-2.556.502
Function-2.56.25
Function-2.456.003
Function-2.45.76
Function-2.355.523
Function-2.35.29
Function-2.255.063
Function-2.24.84
Function-2.154.622
Function-2.14.41
Function-2.054.202
Function-24
Function-1.953.802
Function-1.93.61
Function-1.853.423
Function-1.83.24
Function-1.753.063
Function-1.72.89
Function-1.652.722
Function-1.62.56
Function-1.552.403
Function-1.52.25
Function-1.452.103
Function-1.41.96
Function-1.351.823
Function-1.31.69
Function-1.251.563
Function-1.21.44
Function-1.151.322
Function-1.11.21
Function-1.051.103
Function-11
Function-0.950.9025
Function-0.90.81
Function-0.850.7225
Function-0.80.64
Function-0.750.5625
Function-0.70.49
Function-0.650.4225
Function-0.60.36
Function-0.550.3025
Function-0.50.25
Function-0.450.2025
Function-0.40.16
Function-0.350.1225
Function-0.30.09
Function-0.250.0625
Function-0.20.04
Function-0.150.0225
Function-0.10.01
Function-0.050.0025
Function00
Function0.050.0025
Function0.10.01
Function0.150.0225
Function0.20.04
Function0.250.0625
Function0.30.09
Function0.350.1225
Function0.40.16
Function0.450.2025
Function0.50.25
Function0.550.3025
Function0.60.36
Function0.650.4225
Function0.70.49
Function0.750.5625
Function0.80.64
Function0.850.7225
Function0.90.81
Function0.950.9025
Function11
Function1.051.102
Function1.11.21
Function1.151.323
Function1.21.44
Function1.251.563
Function1.31.69
Function1.351.822
Function1.41.96
Function1.452.103
Function1.52.25
Function1.552.402
Function1.62.56
Function1.652.723
Function1.72.89
Function1.753.063
Function1.83.24
Function1.853.422
Function1.93.61
Function1.953.803
Function24
Function2.054.202
Function2.14.41
Function2.154.623
Function2.24.84
Function2.255.063
Function2.35.29
Function2.355.522
Function2.45.76
Function2.456.003
Function2.56.25
Function2.556.502
Function2.66.76
Function2.657.023
Function2.77.29
Function2.757.563
Function2.87.84
Function2.858.122
Function2.98.41
Function2.958.703
Function39
Left secant0.50.25
Left secant11
Right secant11
Right secant1.52.25
Local tangent0.50
Local tangent1.52

Follow the calculation

  1. Function f(x)=x² has derivative 2x.
  2. Current x=1, h=0.5.
  3. Left slope = (1.00000−0.25000)/0.5=1.50000.
  4. Right slope = (2.25000−1.00000)/0.5=2.50000.

A derivative is the limiting local rate. A nonzero-width secant is an interval average and can differ from it.

Captures keep your inputs, prediction and observation. Results are recalculated from those inputs. Resetting inputs keeps your captures and challenge history.

4 · Understand

Explain the mechanism

Start with the meaning

An interval slope is output change divided by input change. A derivative is a limit of these slopes.

Compare x² with |x| using left and right secants. The second function has a corner at zero.

A worked explanation

For f(x)=x², the right difference quotient is ((x+h)²−x²)/h=2x+h when h≠0. Its limit is 2x.

At x=1 and h=0.5, left and right slopes are 1.5 and 2.5. Both approach 2 as h tends to zero, giving a unique tangent.

For |x| at zero, the left slope is −1 and the right +1. The curve is continuous but has no unique tangent slope there. A central difference returns zero and can hide this failure.

Symbols and relationship

f′(x)=lim h→0 [f(x+h)−f(x)]/h when the two-sided limit exists. Finite h gives an approximation, not the definition at h=0.

Use the graph and trace together

The graph and calculations use your current inputs. Read axis labels and units before comparing positions or slopes. Change one input, predict the effect, and use the numerical trace to verify the plotted behavior. A displayed curve is an illustration; the formula and its assumptions determine which conclusions are justified.

Scope and edge cases

  • Only two elementary functions; analytic derivatives establish correctness here.
  • Zero h is explicitly undefined for the quotient; floating-point cancellation for extremely tiny h is avoided by bounded controls.

Return to the course and cumulative project

5 · Apply

Try a fresh case

For f(x)=x² at x=2, what is the right interval slope with h=0.5?

This is a public practice check. Retries support learning; matching a number does not certify independent proficiency.

Take the investigation further

Choose any extension. These are project prompts for you to carry out; they are not automatically assessed.

School investigation

Sketch a tangent and two secants, labeling their different meanings.

College investigation

Compare forward and central differences on smooth functions and nondifferentiable counterexamples.

Workplace investigation

Specify differentiability and step-size assumptions before using a numerical sensitivity estimate.

6 · Continue

Keep the evidence, choose your next step

Completion records your own decision that you have worked through this investigation. Practice checks and independent project evidence are separate.