@@ -209,8 +209,8 @@ $\mathrm{sgn}(\nabla f(a), -\nabla f(b))=(\pm,\pm)$. Note that the sign of 0 is
209209taken as positive in this discussion.
210210
211211If $f$ is differentiable at the interval bounds, then there are two possible
212- sign combinations since $  \nabla  f(a)  \leq m  \lt 0  $ where $m$ is the gradient
213- of  the chord.
212+ sign combinations since $\nabla{ f(a)} \leq{m} \lt{0} $ where $m$ is the gradient of 
213+ the chord.
214214
215215-  $\mathrm{sgn}(\nabla f(a), -\nabla f(b))=(−,+)$, then the minimum must lie at
216216  $x=b$, i.e., $f(x)\geq{f(b)}$.
@@ -266,7 +266,7 @@ f(b+\epsilon) \lt -\nabla f(b-\epsilon) \leq -m \lt 0$.
266266
267267In the case that $f(a)=f(b)$, the function must either be constant and the
268268minimum is $f(a)=f(b)$. Or the minimum again lies at the interior. If
269- $\mathrm{sgn}(\nabla f(a))=+$, then $\nabla  f(a) =  0$ else this violates
269+ $\mathrm{sgn}(\nabla f(a))=+$, then $\nabla{ f(a)}= 0$ else this violates
270270convexity since $f(a)=f(b)$. Similar is true for $-\mathrm{sgn}(\nabla f(b))=+$.
271271In this case, all sign combinations are possible owing to possible
272272non-differentiability of $f$ at the interval bounds:
@@ -321,7 +321,7 @@ discussed later.
321321An important property of convex functions in n-dimensions is that every
3223221-dimension restriction also defines a convex function. This is easily seen from
323323the definition. Define $g:\mathbb{R}\rightarrow\mathbb{R}$ as $g(t)
324- =f(t\hat{n})$ where $ \hat{n}$ is some unit vector in $\mathbb{R}^n$. Then, by
324+ =f(t\hat{n})$ where $ ` \hat{n} ` $ is some unit vector in $\mathbb{R}^n$. Then, by
325325definition of convexity of $f$, letting $x=t\hat{n}$ and $y=t'\hat{n}$, it
326326follows that,
327327
@@ -370,7 +370,7 @@ along an edge. Figure 6 summarizes this construction on a cube.
370370</figure >
371371
372372Analogous to the 1-dimensional case, analyze the signatures of the derivatives
373- at the vertices. The notation $(\pm,...,\pm)_ v  $ denotes the overall sign of
373+ at the vertices. The notation $(\pm,...,\pm)_ v$ denotes the overall sign of
374374$−\mathrm{sgn}(v_i)\nabla_i f(v)$ at $v$ for each $i$, and is used in the rest
375375of this article.
376376
@@ -382,7 +382,7 @@ minimum value of *f* over the hypercube.
382382** Proof** :
383383
384384For any point $z \in H_n$, construct the line containing $w$ and $z$, given by
385- $L=\{ w+t\hat{n}|t \in \mathbb{R}\} $, where $\hat{n}$ is a unit vector in
385+ $L=\{ w+t\hat{n}|t \in \mathbb{R}\} $, where $` \hat{n} ` $ is a unit vector in
386386direction $z-w$. Since the directional derivatives at $w$ pointing inwards are
387387all positive, and $f$ is differentiable, the derivative along the line at $w$,
388388pointing inwards, is given by,
@@ -430,7 +430,7 @@ Figure 7.
430430</figure >
431431
432432As depicted in figure 7, the vertices $w$ of the square (hypercube of dimension
433- two, $V_2 =  \{ \pm 1,\pm 1\} $), have directional derivatives of zero and thus
433+ two, $V_2= \{ \pm 1,\pm 1\} $), have directional derivatives of zero and thus
434434signature $(+,+)$. But the derivative along any direction bisecting these
435435directional derivatives, into the interior of the square, has a negative
436436gradient. This is because the vertex is at the intersection of two planes and is
0 commit comments