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

Change one input while holding another fixed

How does a two-input function have more than one local rate?

Entering midway? A derivative measures local change in one variable. Holding another variable fixed turns a two-input function into a one-input slice.

1 · Try

Start with a concrete question

Inspect slices of F(x,y)=x²+y²+cxy, with a coupling parameter c. The plot shows two slices, not a perspective surface.

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 the x and y partial derivatives be equal at every point?

3 · Experiment

Change one thing. Inspect what happens.

  1. Keep y fixed and vary x; identify which terms change.
  2. Compare the x and y slices at an asymmetric point such as (1,−2).
  3. Set coupling zero, then restore it and explain why one coordinate affects the other partial.
  4. Predict a small two-coordinate change using both partials and state why it is only a local estimate.
Experiment inputs
Inputs
Your settings
Mechanism
Calculation below
Evidence
Compare outcomes
Surface value3
Partial derivative in x3
Partial derivative in y3

Two one-variable slices of the same surface

Horizontal: Varied coordinate t (other held fixed). Vertical: Surface value.

-2-406216Selected slice points: (1, 3)Selected slice points: (1, 3)
  • 1. Vary x, y=1 (solid line)
  • 2. Vary y, x=1 (dashed line)
  • 3. Selected slice points (points)

Axes use the displayed ranges.

Read plotted values as a table
SeriesVaried coordinate t (other held fixed)Surface value
Vary x, y=1-23
Vary x, y=1-1.952.853
Vary x, y=1-1.92.71
Vary x, y=1-1.852.573
Vary x, y=1-1.82.44
Vary x, y=1-1.752.313
Vary x, y=1-1.72.19
Vary x, y=1-1.652.072
Vary x, y=1-1.61.96
Vary x, y=1-1.551.853
Vary x, y=1-1.51.75
Vary x, y=1-1.451.653
Vary x, y=1-1.41.56
Vary x, y=1-1.351.473
Vary x, y=1-1.31.39
Vary x, y=1-1.251.313
Vary x, y=1-1.21.24
Vary x, y=1-1.151.172
Vary x, y=1-1.11.11
Vary x, y=1-1.051.052
Vary x, y=1-11
Vary x, y=1-0.950.9525
Vary x, y=1-0.90.91
Vary x, y=1-0.850.8725
Vary x, y=1-0.80.84
Vary x, y=1-0.750.8125
Vary x, y=1-0.70.79
Vary x, y=1-0.650.7725
Vary x, y=1-0.60.76
Vary x, y=1-0.550.7525
Vary x, y=1-0.50.75
Vary x, y=1-0.450.7525
Vary x, y=1-0.40.76
Vary x, y=1-0.350.7725
Vary x, y=1-0.30.79
Vary x, y=1-0.250.8125
Vary x, y=1-0.20.84
Vary x, y=1-0.150.8725
Vary x, y=1-0.10.91
Vary x, y=1-0.050.9525
Vary x, y=101
Vary x, y=10.051.052
Vary x, y=10.11.11
Vary x, y=10.151.172
Vary x, y=10.21.24
Vary x, y=10.251.313
Vary x, y=10.31.39
Vary x, y=10.351.473
Vary x, y=10.41.56
Vary x, y=10.451.653
Vary x, y=10.51.75
Vary x, y=10.551.852
Vary x, y=10.61.96
Vary x, y=10.652.072
Vary x, y=10.72.19
Vary x, y=10.752.313
Vary x, y=10.82.44
Vary x, y=10.852.573
Vary x, y=10.92.71
Vary x, y=10.952.853
Vary x, y=113
Vary x, y=11.053.152
Vary x, y=11.13.31
Vary x, y=11.153.472
Vary x, y=11.23.64
Vary x, y=11.253.813
Vary x, y=11.33.99
Vary x, y=11.354.173
Vary x, y=11.44.36
Vary x, y=11.454.553
Vary x, y=11.54.75
Vary x, y=11.554.952
Vary x, y=11.65.16
Vary x, y=11.655.372
Vary x, y=11.75.59
Vary x, y=11.755.813
Vary x, y=11.86.04
Vary x, y=11.856.273
Vary x, y=11.96.51
Vary x, y=11.956.753
Vary x, y=127
Vary y, x=1-23
Vary y, x=1-1.952.853
Vary y, x=1-1.92.71
Vary y, x=1-1.852.573
Vary y, x=1-1.82.44
Vary y, x=1-1.752.313
Vary y, x=1-1.72.19
Vary y, x=1-1.652.072
Vary y, x=1-1.61.96
Vary y, x=1-1.551.853
Vary y, x=1-1.51.75
Vary y, x=1-1.451.653
Vary y, x=1-1.41.56
Vary y, x=1-1.351.473
Vary y, x=1-1.31.39
Vary y, x=1-1.251.313
Vary y, x=1-1.21.24
Vary y, x=1-1.151.172
Vary y, x=1-1.11.11
Vary y, x=1-1.051.052
Vary y, x=1-11
Vary y, x=1-0.950.9525
Vary y, x=1-0.90.91
Vary y, x=1-0.850.8725
Vary y, x=1-0.80.84
Vary y, x=1-0.750.8125
Vary y, x=1-0.70.79
Vary y, x=1-0.650.7725
Vary y, x=1-0.60.76
Vary y, x=1-0.550.7525
Vary y, x=1-0.50.75
Vary y, x=1-0.450.7525
Vary y, x=1-0.40.76
Vary y, x=1-0.350.7725
Vary y, x=1-0.30.79
Vary y, x=1-0.250.8125
Vary y, x=1-0.20.84
Vary y, x=1-0.150.8725
Vary y, x=1-0.10.91
Vary y, x=1-0.050.9525
Vary y, x=101
Vary y, x=10.051.052
Vary y, x=10.11.11
Vary y, x=10.151.172
Vary y, x=10.21.24
Vary y, x=10.251.313
Vary y, x=10.31.39
Vary y, x=10.351.473
Vary y, x=10.41.56
Vary y, x=10.451.653
Vary y, x=10.51.75
Vary y, x=10.551.852
Vary y, x=10.61.96
Vary y, x=10.652.072
Vary y, x=10.72.19
Vary y, x=10.752.313
Vary y, x=10.82.44
Vary y, x=10.852.573
Vary y, x=10.92.71
Vary y, x=10.952.853
Vary y, x=113
Vary y, x=11.053.152
Vary y, x=11.13.31
Vary y, x=11.153.472
Vary y, x=11.23.64
Vary y, x=11.253.813
Vary y, x=11.33.99
Vary y, x=11.354.173
Vary y, x=11.44.36
Vary y, x=11.454.553
Vary y, x=11.54.75
Vary y, x=11.554.952
Vary y, x=11.65.16
Vary y, x=11.655.372
Vary y, x=11.75.59
Vary y, x=11.755.813
Vary y, x=11.86.04
Vary y, x=11.856.273
Vary y, x=11.96.51
Vary y, x=11.956.753
Vary y, x=127
Selected slice points13
Selected slice points13

Follow the calculation

  1. F(x,y)=x²+y²+1xy; at (1,1), F=3.
  2. Holding y=1 fixed, the x slice is t²+1+(1)t. Its slope at t=1 is 2×1+1×1=3.
  3. Holding x=1 fixed, the y slice is 1+t²+(1)t. Its slope at t=1 is 2×1+1×1=3.
  4. The gradient collects both partials: (3, 3). For a small proposed change (Δx,Δy), ΔF≈3Δx+3Δy.

A partial derivative changes one input while holding the others fixed. Different slices through the same point can have different slopes.

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

A derivative measures local change in one variable. Holding another variable fixed turns a two-input function into a one-input slice.

Inspect slices of F(x,y)=x²+y²+cxy, with a coupling parameter c. The plot shows two slices, not a perspective surface.

A worked explanation

The partial derivative in x treats y as a constant. For this function, ∂F/∂x=2x+cy and ∂F/∂y=2y+cx.

At (1,1) and c=1, F=3 and both partials equal 3. At (1,−2), the x partial is zero and y partial is −3, despite belonging to the same surface.

The gradient is the vector of partial derivatives. Dotting it with a small change vector predicts first-order output change. Higher-order terms remain for finite changes.

Symbols and relationship

∇F=(2x+cy,2y+cx); ΔF≈(∂F/∂x)Δx+(∂F/∂y)Δy. ∂ means vary one input while holding others fixed.

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

  • A smooth quadratic surface with bounded coupling, not an empirical cost model.
  • The two plotted horizontal axes both use t but hold different other coordinates fixed; they are slices, not two optimization paths.

Return to the course and cumulative project

5 · Apply

Try a fresh case

For G(x,y)=x²+3xy at (2,4), what is ∂G/∂x?

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

Evaluate nearby points changing only one coordinate at a time.

College investigation

Derive the Hessian and compare the exact quadratic remainder with the first-order approximation.

Workplace investigation

Document which inputs are held fixed in a two-factor sensitivity analysis.

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.