Interactive MATLAB GUI for exploring extreme values in bivariate functions

Authors

  • M. Y. Tufail NED University of Engineering & Technology
  • S. Gul NED University of Engineering & Technology
  • S. A. A Hashmi NED University of Engineering & Technology

DOI:

https://doi.org/10.31349/RevMexFisE.23.010212

Keywords:

GUI; teaching mathematics and physics; extreme values; bivariate functions

Abstract

This paper presents the development of a graphical user interface (GUI) in MatLab designed to assist in the
identification and classification of extreme values and saddle points of functions of two variables. Aimed at
supporting mathematics and Physics education for university students and instructors, the tool integrates
symbolic differentiation and the second derivative test to provide an interactive learning experience.
Through three representative examples, the GUI demonstrates its ability to detect multiple critical points and
visually convey their nature, enhancing conceptual understanding. While the method is effective in most cases,
it is limited when the discriminant D equals zero, rendering the second derivative test inconclusive.
Furthermore, the current implementation supports only two-variable functions; adapting it to higher dimensions
would require further development. Overall, the GUI serves as a valuable educational aid for teaching and
learning multivariable calculus concepts.

References

L. J. Farrugia, ORTEP-3 for Windows-a version of ORTEPIII with a Graphical User Interface (GUI), Journal of Applied Crystallography 30 (1997) 565, https://doi.org/10.1107/S0021889897003117

B. H. Toby, EXPGUI, a graphical user interface for GSAS, Journal of applied crystallography 34 (2001) 210, https://doi.org/10.1107/S0021889801002242

B. Buchberger, Mathematica: A system for doing mathematics by computer?, In Design and Implementation of Symbolic Computation Systems: International Symposium,DISCO’93 Gmunden, Austria, September 15–17, 1993 Proceedings (Springer, 1993) pp. 1–1, https://doi.org/10.1007/BFb0013163.

A. Oulasvirta, et al., Combinatorial optimization of graphical user interface designs, Proceedings of the IEEE

(2020) 434, https://doi.org/10.1109/JPROC. 2020.2969687

E. Potterton, et al., A graphical user interface to the CCP4 program suite, Acta Crystallographica Section D: Biological

Crystallography 59 (2003) 1131, https://doi.org/10.1107/s0907444903008126

A.-R. Allouche, Gabedit—A graphical user interface for computational chemistry softwares, Journal of computational

chemistry 32 (2011) 174, https://doi.org/10.1002/jcc.21600

P. Roßberger and K. von Luck, Iterative design of tabletop GUIs using physics simulation, Mensch & Computer 2009:

Grenzenlos frei!? (2009), https://dblp.org/rec/conf/mc/RossbergerL09

M. Y. Tufail and S. Gul, GUI of Complex plane on Ex-cel spreadsheets, Revista Mexicana de Física E 22 (2025)

, https://doi.org/10.31349/RevMexFisE.22.010208

I. E. Sutherland, Sketch pad a man-machine graphical communication system, In Proceedings of the SHARE design automation

workshop (1964) pp. 6–329, https://doi.org/10.1177/0037549764002005.

C. Mulyawati, et al., Teaching media development of mathematic in the materials trigonometry sum and two angles difference

by using GUI Matlab, Jurnal Natural 17 (2017) 69,https://doi.org/10.24815/jn.v17i2.7032

O. Petrov, et al., Mathematical modeling of the operating process in LS hydraulic drive using MatLab GUI tools, In Advances

in Design, Simulation and Manufacturing III: Proceedings of the 3rd International Conference on Design, Simulation,

Manufacturing: The Innovation Exchange, DSMIE-2020, June 9-12, 2020, Kharkiv, Ukraine–Volume 2: Mechanical and

Chemical Engineering (Springer, 2020) pp. 52–62, https://doi.org/10.1007/978-3-030-50491-5_6.

S. Gul and M. Y. Tufail, GUI for conic sections: parabola, ellipse and hyperbola, Revista Mexicana de Física E 21 (2024)

, https://doi.org/10.31349/RevMexFisE.21.010203

M. Ciotti, et al., The COVID-19 pandemic, Critical reviews in clinical laboratory sciences 57 (2020) 365, https://doi.org/10.1080/10408363.2020.1783198

S. J. Daniel, Education and the COVID-19 pandemic, Prospects 49 (2020) 91, https://doi.org/10.1007/s11125-020-09464-3

S. Pokhrel and R. Chhetri, A literature review on impact of COVID-19 pandemic on teaching and learning, Higher education

for the future 8 (2021) 133, https://doi.org/10.1177/2347631120983481

Downloads

Published

2026-01-01

How to Cite

[1]
M. Y. Tufail, S. GUL, and S. A. A. Hashmi, “Interactive MATLAB GUI for exploring extreme values in bivariate functions”, Rev. Mex. Fis. E, vol. 23, no. 1, pp. 010212 1–, Jan. 2026.

Issue

Section

02 Education in Physics