From Burton Tech. Points Wiki
Jump to navigation
Jump to search
|
|
Line 36: |
Line 36: |
| Sometimes it might be necessary to break up and align a long equation: | | Sometimes it might be necessary to break up and align a long equation: |
|
| |
|
| <br><br><br><br>
| |
| <math> | | <math> |
| \begin{align} | | \begin{align} |
Revision as of 16:06, 25 August 2022
To render any math equation, the math equation must be between <math></math>
i.e., <math>f(x)=x^2</math>
gives
.
Common math commands[edit]
Superscript & Subscript[edit]
Superscript: <math>x^{5+y}</math>
gives 
Subscript: <math>x_{5+t}</math>
gives 
Together: <math>x_{5+t}^{5+y}</math>
gives
Fractions, radicals and brackets[edit]
Fractions: <math>\frac{1}{x}</math>
gives 
Normal brackets, parentheses, etc.: <math>(\frac{1}{x})^3</math>
gives
Large brackets, parentheses, etc.: <math>\left(\frac{1}{x}\right)^3</math>
gives
Square root: <math>\sqrt{x+1}</math>
gives 
General radical: <math>\sqrt[3]{64}=4</math>
gives ![{\displaystyle {\sqrt[{3}]{64}}=4}](https://en.wikipedia.org/api/rest_v1/media/math/render/svg/effa65e53d9a386ab42ee44b10d7c4c55a15f0be)
Trig. & Log Functions[edit]
Sin, cos, tan, etc.: <math>\sin{(\theta)}</math>
gives 
Arcsin, arccos, arctan, etc.: <math>\arcsin{(\theta)}</math>
gives 
Log: <math>\log_{5}{5^2}=2</math>
gives 
Ln: <math>\ln{e^3}=3</math>
gives 
Calculus[edit]
Sum: <math>\sum_{i=1}^{n}i=\frac{n(n+1)}{2}</math>
gives 
Limit: <math>\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math>
gives 
Derivative: <math>\frac{d}{dx}\left[\frac{1}{x}\right]=-\frac{1}{x^2}</math>
gives ![{\displaystyle {\frac {d}{dx}}\left[{\frac {1}{x}}\right]=-{\frac {1}{x^{2}}}}](https://en.wikipedia.org/api/rest_v1/media/math/render/svg/799647e05653743182337d6d80a607dbda98d12a)
Integral: <math>\int_{1}^{x+1}\frac{1}{r}dr</math>
gives 
Limit bar: <math>\bigg|_{0}^{1}</math>
gives 
Advanced[edit]
Sometimes it might be necessary to break up and align a long equation: