You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newton's method does not always work but, in situations where it does,
48
+
convergence is often very fast when compared to other methods.
49
+
50
+
The lecture will apply Newton's method in one-dimensional and
51
+
multi-dimensional settings to solve fixed-point and root-finding problems.
32
52
33
53
We first consider an easy, one-dimensional fixed point problem where we know the solution and solve it using both successive approximation and Newton's method.
34
54
35
55
Then we generalize Newton's method to multi-dimensional settings to solve market equilibrium with multiple goods.
36
56
57
+
At the end of the lecture we leverage the power of JAX and automatic
58
+
differentiation to solve a very high-dimensional equilibrium problem.
59
+
37
60
In each step, we will refine and improve our implementation and compare our results to alternative methods.
In this section, we will solve the fixed point of the law of motion for capital under the Solow model.
77
+
In this section, we will solve the fixed point of the law of motion for capital in the setting of the [Solow growth model](https://en.wikipedia.org/wiki/Solow%E2%80%93Swan_model).
55
78
56
79
We will inspect the fixed point visually, solve it by successive approximation, and then apply Newton's method to achieve faster convergence.
57
80
58
81
(solow)=
59
82
### The Solow Model
60
83
61
-
Assuming Cobb-Douglas production technology, the law of motion for capital is
84
+
In the Solow growth model, assuming Cobb-Douglas production technology and
85
+
zero population growth, the law of motion for capital is
62
86
63
87
```{math}
64
88
:label: motion_law
@@ -73,8 +97,13 @@ where
73
97
74
98
In this example, we will try to calculate the fixed point for the law of motion for capital.
75
99
100
+
In other words, we seek a $k^*$ such that $g(k^*)=k^*$, where $g(k) :=
101
+
sAk^\alpha + (1-\delta)k$.
102
+
103
+
* $k^*$ is called a [steady state](https://en.wikipedia.org/wiki/Steady_state)
104
+
because $k_t = k^*$ implies $k_{t+1} = k^*$.
76
105
77
-
Since we will use these parameters in many functions for this example, let's store our parameters in [`namedtuple`](https://docs.python.org/3/library/collections.html#collections.namedtuple) to help us keep our code clean and concise.
106
+
Let's store our parameters in [`namedtuple`](https://docs.python.org/3/library/collections.html#collections.namedtuple) to help us keep our code clean and concise.
0 commit comments