Economic Analysis with Maxima
Edwin (Ted) Woollett
Economics Software
- --Econ1.mac ( Dec. 22, 2022) : Econ1.mac is a text file of Maxima software for Economic Analysis.
Included are useful functions such as:
- Analyze (expr, critPts), in which expr depends on two variables, which do not have to be x and y.
critPts is either one critical point, such as [x = 2,y = 3] or a list of several critical points of the two variable expression expr. Analyze is designed for unconstrained maxima and minima only. The nature of the
given critical point(s) including the values of the three 2nd derivatives which need to be checked
are returned.
- plotCP (expr, [v1 = v1val, v2 = v2val]) or plotCP (expr, v1, v1val,dv1, v2, v2val, dv2).
plotCP calls wxdraw3d to make a 3d plot of the surface expr as a function of variables v1 and v2 near the critical point (v1val, v2val). Such a plot has meaning for unconstrained optima.
- LPM (amatrix, minorNum) returns the minorNum'th leading principal minor of the square amatrix.
minorNum can be 1, 2, 3, ... , length(amatrix).
- Bhessian (expr, gList, varList) returns the bordered Hessian matrix, given the Lagrangian expression expr, a list of equality constraints gList, and a list of variables varList.
- Msolve (J, X, Z) calls solve for solutions to the matrix equation J . X = Z. The elements of the matrix column vector X contain symbols which stand for the unknowns. J is a square n x n matrix and X and Z are each n dimensional matrix column vectors.
- optimum (func, varL, constraints) handles one or more equality constraints with the syntax
optimum (f,varL) case no equality constraints, calls CPtest
optimum (f,varL, g) case one equality constraint g = 0, calls BHtest
optimum (f, var, [g])
optimum (f, varL, [g1, g2]) where both g1 = 0 and g2 = 0. etc.
optimum defines a global list cp, screens solutions to only accept solns with real non-negative values of the search variables %vL.
- optimumAll(func, varL, constraints) is the same as optimum, but accepts ALL solutions returned by solve even if they are negative or complex.
Included in the Dec. 22, 2022 update are functions developed for the chapters LPsimplex.wxmx, LPduality.wxmx,
and LPmatrix.wxmx such as:
- tableau (tRows), which displays the current simplex tableau, given a list of row-lists,
- tratio(tRows, ncol), which calculates and displays the ratios needed in the minimum ratio test,
given tRows and the column number of the entering variable in the tableau, when using the
top z-row method in LPsimplex.wxmx,
- bratio(tRows, ncol), which calculates and displays the ratios needed in the minimum ratio test,
given tRows and the column number of the entering variable in the tableau, when using the
bottom z-row tableau method as used in LPduality.wxmx,
- b2ratio(tRows, ncol), which calculates and displays the ratios needed in the minimum ratio test,
given tRows and the column number of the entering variable in the tableau, when using the
bottom z-row tableau method with artificial variables, splitting the z-row into two z-rows, as used in LPduality.wxmx,
- pivot1 (tRows, [nrow, ncol] ), which carries out one simplex step toward an optimal solution,
swapping a basic variable with a non-basic variable,
- Mtableau(), which displays the current matrix tableau, using the matrix simplex method
described in LPsimplex.wxmx,
- Mratio(colNum), which displays the ratios needed in the minimum ratio test, given the current matrix
tableau and the column number of the entering variable,
- Mpivot(n_Enter, n_Leave), which carries out one simplex step, swapping a basic variable with a
non-basic variable, and displaying the new matrix tableau,
- toMTab (tRows ), which converts the tableau row lists into a matrix tableau display. The 9/28/2022
update of Econ1.mac corrects an error in the function toMTab by requiring a global matrix column vector c
is defined before the first call to toMTab. Then z = transpose(c) . X is the objective function to
be maximixed.
- Mbtableau(), which displays the current tableau by using parts of the current matrices and creating a simple table, resulting in a simpler display of the results of the matrix simplex method
described in LPsimplex.wxmx,
- Mbpivot(n_Enter, n_Leave), which carries out one simplex step, swapping a basic variable with a
non-basic variable, and displaying the new tableau by calling Mbtableau.
- DMratio(rowNum), which displays the ratios needed in the minimum absolute ratio test used to select
the entering variable in the B/N Dual Simplex Method.
- --Econ1.pdf : A pdf translation of the contents of Econ1.mac, 29 pp. Dec. 22, 2022
- --KKT.mac : KKT.mac is a text file of Maxima software defining the Maxima function
KKT (f(x,y), maxmin, constraint),
in which maxmin is either max or min, and constraint is either a single function g(x,y) or two functions g1(x,y), g2(x,y), which implements the Karush-Kuhn-Tucker method of finding either the maximum or minimum subject to the constraint(s).
In the two constraint case, for example:
for the max search we need g1 >= 0 and g2 >=0 and for the min
search we need g1 <= 0 and g2 <=0.
Similar conditions are used with our gridSearch function defined in Econ1.mac.
Both KKT and gridSearch are used in Dowling Ch. 13B. Aug. 5, 2021
- --KKT.pdf : A pdf translation of the contents of KKT.mac, 28 pp, Aug. 5, 2021
Introduction to Mathematical Economics, Edward T. Dowling
We use Maxima to solve a few of the problems (and draw some of the plots) in some of the chapters of the supplemental text: Introduction to Mathematical Economics, 3rd ed, (Schaum's Outline Series), by Edward T. Dowling (1992, 2001), McGraw-Hill. This modestly priced text is a bargain with many worked out examples, and
is available either in paperback or on Kindle.
You should compare the examples worked out "by hand" in this text with what we do using Maxima. We add
supplemental commentary and examples gleaned from other sources when it seems appropriate.
Dowling Ch. 2, Economic Applications of Graphs and Equations
Dowling, Chapter 2 Topics
- Isocost Lines
- Production Possibilities Curves
- Supply and Demand Analysis
- Income Determination Models
- IS-LM Analysis
- Using wxdraw2d for Economics Plots
- --Dowling02.wxmx : A wxMaxima notebook on Plots and Equations in Economics, April 21, 2022
- --Dowling02fit.pdf : An approximate pdf translation of Dowling02fit.wxmx, an edited version created to allow
"print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F,
50 pages, April 21, 2022
Dowling Ch. 4, Derivatives and Economics
Dowling, Chapter 4 Topics
- Concavity and Convexity
- Relative Extrema
- Inflection Points
- Optimization of Functions
- Successive Derivative Test for Optimization
- Marginal Concepts
- Optimizing Economic Functions
- Relations Among Total, Marginal and Average Functions
- --Dowling04.wxmx : Dowling Ch. 4 problems solved using Maxima, April 25, 2022
- --Dowling04fit.pdf : An approximate pdf translation of Dowling04fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 28 pages,
April 25, 2022
Dowling Ch. 5, Multivariable Functions in Economics, Part I
Dowling, Chapter 5 Topics
- Optimization with No Constraints
- Conditions for a Relative Minimum or Maximum
- Conditions for Saddle or Inflection Points
- Using jacobian for 1st Derivatives
- Using hessian (expr, varList) for 2nd Derivatives
- Analyze (expr, critPts), plotCP (expr, critPt)
- The Maxima mnewton numerical search method for values of (x,y) such that f(x,y) = 0
- Optimization with Equality Constraints
- optimum (f, varList, constraints)
- Plots of Constraint Plus Curves of Constant Objective Function
- Significance of the Lagrange Multiplier
- Total and Partial Derivatives
- Total Derivatives
- Implicit and Inverse Function Rules
- --Dowling05.wxmx : Dowling Ch.5 problems solved using Maxima, April 27, 2022
- --Dowling05fit.pdf : An approximate pdf translation of Dowling05fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 31 pages, April 27, 2022
- Dowling05.wxmx uses the software file Econ1.mac available above.
Dowling Ch. 6, Multivariable Functions in Economics, Part II
Dowling, Chapter 6 Topics
- Marginal Productivity
- Income Determination Multipliers, Comparative Statics
- Income and Cross Price Elasticities of Demand
- Optimizing Economic Functions
- Constrained Optimization in Economics
- The Concept of Economic Utility
- Maximize Utility Subject to a Budget Constraint
- --Dowling06.wxmx : Dowling Ch. 6 problems solved using Maxima, May 6, 2022
- --Dowling06fit.pdf : An approximate pdf translation of Dowling06fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 46 pages,
May 6, 2022
- Dowling06.wxmx uses the software file Econ1.mac available above.
Dowling Ch. 8, Compounding, Discounting, Interest Rates
Dowling, Chapter 8 Topics
- Basic and Natural Exponential Functions
- Exponential Equations
- Plot of a Logarithmic Function
- Series Expansion of ln(1 + x)
- Compounding, Discounting, Interest Rates
- Effective vs Nominal Rates of Interest
- Discounting, Discount Rate
- Converting Basic Exponential to Natural Exponential Functions
- Estimating Growth Rates from Data Points
- --Dowling08.wxmx : Dowling Ch. 8 problems solved using Maxima, May 10, 2022
- --Dowling08fit.pdf : An approximate pdf translation of Dowling08fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 26 pages, May 10, 2022
- Dowling08.wxmx uses the software file Econ1.mac available above.
Dowling Ch. 9, Rate of Growth, Optimal Timing, Present Value
Dowling, Chapter 9 Topics
- Economic Problems: Maximization wrt One Variable
- Economics Rate of Growth Problems
- Optimal Timing Problems - Dowling
- Cobb-Douglas Demand Function
- Optimal Timing Problems - Chiang & Wainwright
- --Dowling09.wxmx : Dowling Ch. 9 problems solved using Maxima, May 19, 2022
- --Dowling09fit.pdf : An approximate pdf translation of Dowling09fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 31 pages,
May 19, 2022
- Dowling09.wxmx uses the software file Econ1.mac available above.
Dowling, Ch.12, Free and Constrained Optimization
Dowling, Ch.12, Topics
- Optimization, PartA (12A)
- Rank of a Matrix, Linear Independence
- The Minors of a Matrix
- Leading Principal Minors of a Matrix
- The Jacobian Matrix, Linear Independence
- Quadratic Forms and the Discriminant Matrix
- Taylor's Theorem and the Hessian Matrix
- Unconstrained Optimization
- Optimization, Part B (12B)
- Optimization with Equality Constraints
- Input-Output Analysis for an Open Economy
- Eigenvalue Tests for Positive or Negative Definiteness
- Binding and Nonbinding Constraints in Economics
- --Dowling12A.wxmx : Optimization, Part A, June 13, 2022
- --Dowling12Afit.pdf : An approximate pdf translation of Dowling12Afit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 39 pages, June 13, 2022
- --Dowling12B.wxmx : Optimization, Part B, June 13, 2022
- --Dowling12Bfit.pdf : An approximate pdf translation of Dowling12Bfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 66 pages, June 13, 2022
Dowling, Ch.13A, Comparative Statics
Dowling, Ch.13A, Topics
- Matrix Methods
- Statics with Unconstrained Optimization
- Statics with Constrained Optimization
- --Dowling13A.wxmx : Symbolic Comparative Statics problems solved using wxMaxima, with an emphasis on matrix methods. July 27, 2021
- --Dowling13Afit.pdf : An approximate pdf translation of Dowling13Afit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 55 pages,
July 27, 2021
LPsimplex:
Optimization with Both Linear Objective and Constraints
The software file Econ1.mac (see at the top of this page) has been updated to provide Maxima functions used in this chapter. An error in the function toMTab(Rows) has been corrected by requiring the
global matix column vector c to be defined before the first call to toMTab. The file LPsimplex.wxmx 11/14/2022 update redefines c as a matrix column vector, so z = transpose(c) . X in the matrix tableau method.
LPsimplex, Topics
- Graphical Methods for 2d LP's
- Use of maximize_lp and minimize_lp from Maxima's simplex package
- Simplex Method with tableau(Rows) and pivot1(Rows,[row,col])
- Matrix Simplex Method with Mdefine(), Mtableau() and Mpivot(Enter, Leave)
- --LPsimplex.wxmx : Simplex Optimization for "Linear Programming
Problems", Nov. 14, 2022
- --LPsimplexfit.pdf : An approximate pdf translation of LPsimplexfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 89 pages, Nov. 14, 2022.
LPduality:
Dual LP Systems
The software file Econ1.mac (see at the top of this page) has been updated to provide Maxima functions used in this chapter.
LPduality, Topics
- Tableau "z-row" on Bottom Convention
- Symmetric Dual LP Systems
- Two Phase Simplex Method
- Complementary Slackness Principle
- Unsymmetric Dual LP Systems
- General Rules for Forming Duals
- --LPduality.wxmx : Dual LP Systems, Nov. 14, 2022
- --LPduality.pdf : An approximate pdf translation of LPdualityfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 74 pages, Nov. 14, 2022.
LPmatrix:
Matrix Simplex Methods
The software file Econ1.mac (see at the top of this page) has been updated to provide Maxima functions used in this chapter.
LPmatrix, Topics
- Functions Mbtableau and Mbpivot "z-row" on Bottom Convention
- Artificial Variable LP's using Matrix Big M or Butenko's Matrix Dual Simplex Method
- The Bronson/Naadimuthu Dual Simplex Method using Matrix Methods
- Use of the Function DMratio(rowNum) with the B/N Dual Simplex Method
- --LPmatrix.wxmx : Matrix Simplex Methods, Dec. 22, 2022
- --LPmatrixfit.pdf : An approximate pdf translation of LPmatrixfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 57 pages, Dec. 22, 2022.
Dowling, Ch.13B, Optimization with Inequality Constraints
Dowling, Ch.13B, Topics
- Graphical Method
- Karush-Kuhn-Tucker (KKT) Method
- Grid Search with Constraints Method
- --Dowling13B.wxmx : Optimization with Inequality Constraints; problems solved using wxMaxima. For each problem, we start with graphical methods, then apply the KKT method and also the grid search method. July 27, 2021
- --Dowling13Bfit.pdf : An approximate pdf translation of Dowling13Bfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 28 pages,
July 27, 2021
Dowling Ch. 14, Integrals and Economics
Dowling, Chapter 14 Topics
- Investment and Capital Formation
- Cost Functions
- Total and Marginal Revenue
- Consumption Function, Marginal Propensity to Consume
- Savings Function, Marginal Propensity to Save
- --Dowling14.wxmx : Dowling Ch.14 problems solved using Maxima, Aug. 27, 2021
- --Dowling14fit.pdf : An approximate pdf translation of Dowling14fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 23 pages,
Aug. 27, 2021
Dowling Ch. 15, The Definite Integral and Economics
Dowling, Chapter 15 Topics
- Consumers' and Producers' Surplus
- Frequency Functions and Probability
- --Dowling15.wxmx : Dowling Ch.15 problems solved using Maxima, Sept. 1, 2021
- --Dowling15fit.pdf : An approximate pdf translation of Dowling15fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 23 pages,
Sept. 1, 2021
Dowling Ch. 16, First Order Ordinary Differential Equations and Economics
Dowling, Chapter 16 Topics
- First Order ODE's: Definitions and Concepts
- First Order Linear ODE's
- First Order Nonlinear ODE's
- Economic Applications
- Direction Field Plots
- Phase Diagram Analysis of Stability
- --Dowling16.wxmx : Dowling Ch.16 problems solved using Maxima, Sept. 14, 2021
- --Dowling16fit.pdf : An approximate pdf translation of Dowling16fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 29 pages,
Sept. 14, 2021
Four jpeg files used with Dowling16.wxmx to show plotdf use, Sept. 14, 2021.
- --pdf01.jpg
- --pdf02.jpg
- --pdf03.jpg
- --pdf04.jpg
Dowling Ch. 17, First Order Difference Equations and Economics
The Dec. 13, 2021 update to Dowling Ch. 17 uses the draw2d function points(xL,yL) instead of fix(t) with
the explicit function. The Nov. 5, 2021 update to Dowling Ch. 17 corrects some errors in Dowling17.wxmx and clarifies the reasoning in some sections. This version makes use of Econ2.mac for the function DE1.
Dowling, Chapter 17 Topics
- First Order Difference Equations: Definitions and Concepts
- General Solution
- Stability with Graphics Illustrations
- Lagged Income Determination Model
- The Cobweb Model
- The Harrod Model
- Other Economic Applications
- Phase Diagram Analysis of Stability
- --Dowling17.wxmx : Dowling Ch.17 problems solved using Maxima, Dec. 13, 2021
- --Dowling17fit.pdf : An approximate pdf translation of Dowling17fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 43 pages,
Dec. 13, 2021
- --Econ2.mac : Maxima code for function DE1, with syntax
DE1(a,b,t,y0), or DE1(a,b,t) which returns y[t] as determined by the linear first order difference equation
y[t] = b*y[t-1] + a, for t = 0,1,2,..., and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 18A, Second Order Ordinary Differential Equations and Economics
Dowling, Chapter 18A Topics
- Fast Track ode2 Method
- Numerical Initial Value Problems
- General Solutions for 2nd Order ODE's
- Market Model with Price Expectations
- ODE's with a Variable term
- Higher Order ODE's using desolve
- --Dowling18A.wxmx : Dowling Ch.18 problems solved using Maxima, Oct. 27, 2021
- --Dowling18Afit.pdf : An approximate pdf translation of Dowling18Afit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 35 pages,
Oct. 27, 2021
- --Econ2.mac : Maxima code for Maxima function Lode2, with syntax
Lode2(y,t,type,A,B,C), where type = real, complex, or double, and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 18B, Second Order Difference Equations and Economics
Dowling, Chapter 18B Topics
- Second Order Difference Equations
- Stability of Solutions
- Using Maxima's solve.rec for Recurrence Relation Equations
- Multiplier-Accelerator Model of National Income
a = acceleration coefficient, b = propensity to consume (MPC)
- Distinct Real Roots
- Double Real Roots
- Complex Roots
- Summary Plot of (a,b) Plane Solution Regions
- Samuelson's Economic Instability Example
- --Dowling18B.wxmx : Dowling Ch.18 problems dealing with second order difference equations solved using Maxima, Dec. 9, 2021
- --Dowling18Bfit.pdf : An approximate pdf translation of Dowling18Bfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 55 pages,
Dec. 9, 2021
- --Econ2.mac : Maxima code for functions ytlist(b1,b2,a,y[0],y[1],tmax),
MAlist (a,b,IaG0,Y[0],Y[1],tmax), makeLists(LL), and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 18C, Inflation and Unemployment Models in
Both Continuous and Discrete Time
Dowling, Chapter 18C Topics
- Inflation and Unemployment Models in Continuous Time
- Time Path of the Expected Inflation Rate
- The Phillips Curve in Context
- Chaotic Inflation-Unemployment Relation Example
- 2nd Order Linear Ordinary Differential Equations with a Variable Term
- Higher Order (> 2nd) ODE's Solution using Dsolve
- Review of Second Order Linear Difference Equations
- Inflation & Unemployment Models in Discrete Time
- The Time Path of the Inflation Rate p[t]
- The Time Path of the Unemployment Rate U[t]
- 2nd Order Linear Difference Equation with a Variable Term
- Higher Order (> 2nd) Linear Difference Equations
- --Dowling18C.wxmx : Models of Inflation and Unemployment in Both
Continuous and Discrete time, Jan. 25, 2022
- --Dowling18Cfit.pdf : An approximate pdf translation of Dowling18Cfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 63 pages,
Jan. 25, 2022
- --Econ2.mac : Maxima code for functions ytlist(b1,b2,a,y[0],y[1],tmax),
and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 19A, Solutions of Sets of First Order Ordinary Differential Equations
Dowling, Chapter 19A Topics
- Solution Methods Using desolve
- Solution Methods Using Runge-Kutta Method rk
- Solution Methods Using Matrix Methods
- Review of Maxima Matrix Functions
- Solving the Matrix Equation dY/dt = A . Y(t) + B
- Using the ODE1S (A, B, Y0) Matrix Method for Set of First Order ODE's
- Using matrixexp (A, t) . Y0
- Stability and Phase Diagram Analysis of Set of Two First Order ODE's
- Inflation and Unemployment Model as a Set of ODE's
- Proof of Convergence of the Inflation-Unemployment Model
- --Dowling19A.wxmx : Solutions of Sets of First Order Ordinary Differential Equations, Feb. 25, 2022
- --Dowling19Afit.pdf : An approximate pdf translation of Dowling19Afit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 47 pages,
Feb. 25, 2022
- --Econ2.mac : Maxima code for functions ODE1S(A,B,Y0) and ODE2S(A1,A2,B,Y0) and
other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 19B, Solutions of Sets of First Order Difference Equations
Dowling, Chapter 19B Topics
- Matrix Solution of Y[t] = A . Y[t-1] + B
- Using Ytlist (A, B, Y0, tmax)
- Using DE1S (A, B, t, Y0)
- Matrix Solution of A1 . Y[t] = A2 . Y[t-1] + B
- Using Ytlist (D, E, Y0, tmax)
- Using DE2S (A1, A2, B, t, Y0)
- Inflation and Unemployment, First Order Difference Eqn. Set Model
- --Dowling19B.wxmx : Solutions of Sets of First Order Difference Equations, Mar. 9, 2022
- --Dowling19Bfit.pdf : An approximate pdf translation of Dowling19Bfit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 32 pages,
Mar. 9, 2022
- --Econ2.mac : Maxima code for functions Ytlist (A,B,Y0,tmax) and DE2S(A1,A2,B,t,Y0) and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 20, Dynamic Optimization
Dowling, Chapter 20 Topics
- Calculus of Variations and Euler's Equations
- Sufficient Conditions for an Optimizing Solution
- Numerical Examples
- Symbolic Economic Applications
- Constrained Optimization
- --Dowling20.wxmx : Dynamic Optimization, April 7, 2022
- --Dowling20fit.pdf : An approximate pdf translation of Dowling20fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 29 pages,
April 7, 2022
- --Econ2.mac : Maxima code for functions Extremal (F(t,x,xp)) and NumSuffCond(F(t,x,xp)), NumDynamic (F(t,x,xp)) and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Dowling Ch. 21, Optimal Control Theory
Dowling, Chapter 21 Topics
- Necessary Conditions for a Maximum with Fixed Endpoint Conditions
- Sufficient Conditions for a Maximum
- Necessary Conditions for a Maximum with x(T) = Free and Unrestricted
- Necessary Conditions for a Maximum with x(T) >= xmin
- The Current-Valued Hamiltonian Hc
- --Dowling21.wxmx : Optimal Control Theory, April 7, 2022
- --Dowling21fit.pdf : An approximate pdf translation of Dowling21fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture all the content; not perfect but is searchable using Ctrl-F, 43 pages, April 7, 2022
- --Econ2.mac : Maxima code for functions ConcaveTest (f,x,y) and Zindef_float(A,B) and other Maxima functions, April 7, 2022
- --Econ2.pdf : A pdf translation of Econ2.mac, 12 pages, April 7, 2022
Microeconomic Theory & Computation, M.R. Hammock & J.W. Mixon
We use Maxima to expand on the topics and treatment of the text: Microeconomic Theory and Computation:
Applying the Maxima Open-Source Computer Algebra System, by Michael R. Hammock and J. Wilson Mixon,
Springer, 2013.
Chapter 2, Simple Models
Hammock & Mixon, Chapter 2 Topics
- Preface
- References
- Numerical Extras
- Production Possibilities
- Competitive Markets
- Elasticities
- Taxes and Efficiency
- --Hammock-Mixon02.wxmx : Hammock and Mixon's Ch. 2 discussed using Maxima, Feb. 17, 2021
- --Hammock-Mixon02TOC.pdf : Table of contents: Hammock-Mixon02.wxmx, 4 pages, Feb. 22, 2021
- --Hammock-Mixon02fit.pdf : An approximate pdf translation of Hammock-Mixon02fit.wxmx, an edited version created to allow "print to pdf" in Windows 10 to capture most of the content; not perfect but is searchable
using Ctrl-F, 96 pages, Mar. 11, 2021
Examples of Using wxdraw2d
- --wxdraw2d.wxmx : Many examples of using wxdraw2d for graphics. Feb 17, 2021
- --wxdraw2d_examples.pdf : An approximate pdf translation of wxdraw2d.wxmx, 33 pages, Feb 22, 2021
Introduction to Maxima for Economics, by Josef Leydold & Martin Petry
Introduction to Maxima for Economics (pdf)