MHB How can I correctly write and display df and f' in a recent post?

  • Thread starter Thread starter Math Amateur
  • Start date Start date
AI Thread Summary
The discussion focuses on correcting the formatting of mathematical expressions in a post. The user initially attempted to write df(h) and f'(p) but encountered rendering issues due to incorrect syntax and the use of color codes. Key corrections include using the correct notation for ellipses and brackets, specifically replacing parentheses with curly braces for matrix formatting. The user expresses gratitude for the assistance received in resolving these formatting errors. Proper syntax is essential for clear mathematical communication in posts.
Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
In a recent post i tried to write/state the following ... ... ...

I am most interested in how/why we know that

$$\text{df} (h) = (
\text{df}_1 (h), / ... / ... / ... /
\text{df}_m (h) )
$$


... and also that ...$$f' (p) = \begin(bmatrix) f'_1 (p) \\ f'_2 (p) \\ . \\ . \\ . \\ f'_n (p) \end(bmatrix) $$



... ... ...
BUT ...... the above did not post and display correctly ...
... ... can someone inform me of the errors in the above ...Peter
 
Physics news on Phys.org
First one didn't work because you inserted colour at several places.

Code:
$$\text{df} (h) =  ( [FONT=Tahoma]\text{df}_1 (h), / ... / ... / ... /  [FONT=Tahoma][FONT=Tahoma]\text{df}_m (h) )$$[LEFT][FONT=Tahoma][LEFT][FONT=Tahoma]

You wanted $df(h) = (df_1(h), \ldots, df_m(h))$ which is given by

df(h) = (df_1(h), \ldots, df_m(h))

I used \ldots for the dotting since that's more natural-looking.

The second one didn't render because you used ( instead of {. This

Code:
\displaystyle f' (p) = \begin{bmatrix} f'_1 (p) \\ f'_2 (p) \\ . \\ . \\ . \\ f'_n (p) \end{bmatrix}

$\displaystyle f' (p) = \begin{bmatrix} f'_1 (p) \\ f'_2 (p) \\ . \\ . \\ . \\ f'_m (p) \end{bmatrix}$

HTML:
$\displaystyle\mathbf{f}' (\mathbf{p}) = \begin{bmatrix} f'_1 (p) \\ f'_2 (p) \\  \vdots \\ f'_n (p) \end{bmatrix}$

$\displaystyle\mathbf{f}' (\mathbf{p}) = \begin{bmatrix} f'_1 (\mathbf{p}) \\ f'_2 (\mathbf{p}) \\ \vdots \\ f'_m (\mathbf{p}) \end{bmatrix}$

Using \vdots for the $\vdots$ and \mathbf{p} to write $\mathbf{p}$
 
MountEvariste said:
First one didn't work because you inserted colour at several places.

Code:
$$\text{df} (h) =  ( [FONT=Tahoma]\text{df}_1 (h), / ... / ... / ... /  [FONT=Tahoma][FONT=Tahoma]\text{df}_m (h) )$$[LEFT][FONT=Tahoma][LEFT][FONT=Tahoma]

You wanted $df(h) = (df_1(h), \ldots, df_m(h))$ which is given by
I used \ldots for the dotting since that's more natural-looking.

The second one didn't render because you used ( instead of {. This

Code:
\displaystyle f' (p) = \begin{bmatrix} f'_1 (p) \\ f'_2 (p) \\ . \\ . \\ . \\ f'_n (p) \end{bmatrix}

$\displaystyle f' (p) = \begin{bmatrix} f'_1 (p) \\ f'_2 (p) \\ . \\ . \\ . \\ f'_m (p) \end{bmatrix}$

HTML:
$\displaystyle\mathbf{f}' (\mathbf{p}) = \begin{bmatrix} f'_1 (p) \\ f'_2 (p) \\  \vdots \\ f'_n (p) \end{bmatrix}$

$\displaystyle\mathbf{f}' (\mathbf{p}) = \begin{bmatrix} f'_1 (\mathbf{p}) \\ f'_2 (\mathbf{p}) \\ \vdots \\ f'_m (\mathbf{p}) \end{bmatrix}$

Using \vdots for the $\vdots$ and \mathbf{p} to write $\mathbf{p}$

Thanks for the help MountEvariste ...

Really appreciate your help ...

No idea how the colour codes got there ...

Peter
 
Back
Top