Skip to content
On this page

Signature app

Signature app

Downhill, downhill, and still a pass

A surface everyone instantly sees as a pass. Yet in the x and the y direction it falls equally steeply, as on a peak. A knife cuts through the flat point, turns, and suddenly goes green on the diagonal: there the surface rises.

Prof. Dr. Dirk Schieborn

AI, mathematics and data science · Reutlingen University · co-founder of heyprof

Expedition film

Downhill, Downhill, and Still a Pass

A guided film on top of the live app. You choose whether it explains for children, beginners or experts, and you can pause at any time, step in yourself and ask questions.

The app

How it works

  • Drag P onto the pass in the middle, (0 | 0).
  • Watch the knife turn: green uphill, red downhill.
  • In the Hesse panel, drag the rose to choose the direction yourself.

A surface everyone instantly sees as a pass. Yet in the x and the y direction it falls equally steeply, as on a peak. A knife cuts through the flat point, turns, and suddenly goes green on the diagonal: there the surface rises.

Background

What the subject is about

A stationary point of a function of two variables is a point where both partial derivatives vanish: the tangent plane is horizontal. Whether it is a peak, a valley or a pass depends on the curvature. The obvious move is to look only in the x and y directions, at fxxf_{xx} and fyyf_{yy}.

For f=−x2−y2+3xyf = -x^2 - y^2 + 3xy that is misleading. Both values are −2-2; along both axes the surface falls. The curvature in direction θ\theta, however, is fθθ=fxxcos⁡2θ+2fxycos⁡θsin⁡θ+fyysin⁡2θ=−2+3sin⁡2θf_{\theta\theta} = f_{xx} \cos^2\theta + 2 f_{xy} \cos\theta \sin\theta + f_{yy} \sin^2\theta = -2 + 3 \sin 2\theta. On the diagonal y=xy = x it is +1+1, on y=−xy = -x it is −5-5. Setting x=y=tx = y = t leaves f=t2f = t^2: there the mixed term 3xy3xy outweighs the two negative terms.

The Hessian shows it at a glance: D=fxxfyy−fxy2=4−9=−5D = f_{xx} f_{yy} - f_{xy}^2 = 4 - 9 = -5 is negative, so a saddle point. +1+1 and −5-5 are its eigenvalues, the diagonals its eigendirections. The app shows this as a turning cut, green uphill, red downhill, and as a curvature rose for all directions at once.

In use

How Prof. Dr. Dirk Schieborn uses the app

Dirk Schieborn uses the app in his HM2 mathematics lecture, in the chapter on extrema of functions of two variables. The trap comes right after the rule with D: at first many believe two negative curvatures make a peak, then the cut turns.

It comes with the expedition film “Downhill, downhill, and still a pass”. It explains the trap for children, for students or for experts, and you can step in at any time, turn the cut yourself and ask questions.

The model

What the app takes from Prof. Dr. Dirk Schieborn

  1. The trap from his HM2 mathematics lecture (slide set “Functions of two variables”): f(x,y)=−x2−y2+3xyf(x, y) = -x^2 - y^2 + 3xy with fxx=fyy=−2f_{xx} = f_{yy} = -2, fxy=3f_{xy} = 3 and D=−5D = -5.
  2. His question to the students: are the curvatures in the x and y directions enough to decide?
  3. The other examples from the slides in the same app: peaks, valleys and passes, profit maximisation and the effect of taxes.

The person

Portrait of Prof. Dr. Dirk Schieborn

Prof. Dr. Dirk Schieborn

AI, mathematics and data science · Reutlingen University · co-founder of heyprof

Dirk Schieborn teaches artificial intelligence, mathematics and data science at Reutlingen University, where he is dean of studies for the international industrial engineering – operations programme. He studied mathematics and computer science in Tübingen and at the Australian National University in Canberra and earned his doctorate in Tübingen.

He then spent eight years as a senior manager at Ernst & Young and today heads the AI & Data Analytics Hub at msg for banking ag. Together with Volker Reichenberger he founded heyprof; he builds many of the apps himself.

The quote

“Two directions are not all directions. Once you have seen the cut turn, you never forget it.”

Prof. Dr. Dirk Schieborn

AI, mathematics and data science · Reutlingen University · co-founder of heyprof

Translated from German

Your model. As an app with your signature.

You teach something that moves, calculates or branches? Send us your slides, exercises or demo. We build an app from it, you check it for accuracy and sign it.