PDFreactor mathjax
Usage of MathJAX inside PDFreactor rendering MathML samples
Repository files
PDF files
| Converter | Status | PDF Preview |
|---|---|---|
| PDFreactor |
|
HTML input
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta
http-equiv="Content-Type"
content="text/html; charset=UTF-8"
></meta>
<link
href="styles.css"
rel="stylesheet"
type="text/css"
></link>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
jax: ["input/MathML", "output/SVG"],
extensions: ["mml2jax.js"],
MathML: { extensions: ["content-mathml.js"] },
SVG: { blacker: 0 }
});
</script>
<script
type="text/javascript"
src="mathjax/MathJax.js"
></script>
</head>
<body>
<p>
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
</p>
<div class="mathmlcontainer flexcontainer">
<div>
<math>
<mtable columnalign="left">
<mtr>
<mtd>
<mrow>
<mrow>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mi>a</mi>
<mo></mo>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow>
<mo>+</mo>
<mi>b</mi>
<mo></mo>
<mi>x</mi>
</mrow>
<mo>+</mo>
<mi>c</mi>
</mrow>
<mo>=</mo>
<mn>0</mn>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mi>a</mi>
<mo></mo>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow>
<mo>+</mo>
<mi>b</mi>
<mo></mo>
<mi>x</mi>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
</mrow>
<mo>=</mo>
<mo>-</mo>
<mi>c</mi>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow>
<mo>+</mo>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mi>a</mi>
</mfrac>
<mo></mo>
<mi>x</mi>
</mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mo>=</mo>
<mfrac>
<mrow>
<mo>-</mo>
<mi>c</mi>
</mrow>
<mi>a</mi>
</mfrac>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
>
Divide out leading coefficient.
</mtext>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow>
<mo>+</mo>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mi>a</mi>
</mfrac>
<mo></mo>
<mi>x</mi>
<mo>+</mo>
<msup>
<mfenced>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
</mfenced>
<mn>2</mn>
</msup>
</mrow>
<mo>=</mo>
<mfrac>
<mrow>
<mo>-</mo>
<mi>c</mi>
<mo>(</mo>
<mn>4</mn>
<mi>a</mi>
<mo>)</mo>
</mrow>
<mrow>
<mi>a</mi>
<mo>(</mo>
<mn>4</mn>
<mi>a</mi>
<mo>)</mo>
</mrow>
</mfrac>
</mrow>
<mo>+</mo>
<mfrac>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
</mrow>
<mrow>
<mn>4</mn>
<msup>
<mi>a</mi>
<mn>2</mn>
</msup>
</mrow>
</mfrac>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
>Complete the square.</mtext>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
<mo>)</mo>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
<mo>)</mo>
<mo>=</mo>
<mfrac>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</mrow>
<mrow>
<mn>4</mn>
<msup>
<mi>a</mi>
<mn>2</mn>
</msup>
</mrow>
</mfrac>
</mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
>Discriminant revealed.</mtext>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<msup>
<mrow>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
<mo>=</mo>
<mfrac>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</mrow>
<mrow>
<mn>4</mn>
<msup>
<mi>a</mi>
<mn>2</mn>
</msup>
</mrow>
</mfrac>
</mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
></mtext>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mrow>
<mi>x</mi>
<mo>+</mo>
<mfrac>
<mrow>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
</mrow>
<mo>=</mo>
<msqrt>
<mfrac>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</mrow>
<mrow>
<mn>4</mn>
<msup>
<mi>a</mi>
<mn>2</mn>
</msup>
</mrow>
</mfrac>
</msqrt>
</mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
></mtext>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mrow>
<mi>x</mi>
</mrow>
<mo>=</mo>
<mfrac>
<mrow>
<mo>-</mo>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
<mo>±</mo>
<mrow>
<mo>{</mo>
<mi>C</mi>
<mo>}</mo>
</mrow>
<msqrt>
<mfrac>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</mrow>
<mrow>
<mn>4</mn>
<msup>
<mi>a</mi>
<mn>2</mn>
</msup>
</mrow>
</mfrac>
</msqrt>
</mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
>There's the vertex formula.</mtext>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2.5ex"
></mspace>
<mrow>
<mi>x</mi>
</mrow>
<mo>=</mo>
<mfrac>
<mrow>
<mo>-</mo>
<mi>b</mi>
<mo>±</mo>
<mrow>
<mo>{</mo>
<mi>C</mi>
<mo>}</mo>
</mrow>
<msqrt>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
</mrow>
<mspace
depth="1ex"
height="0.5ex"
width="2ex"
></mspace>
<mrow>
<mtext
mathcolor="red"
mathsize="10pt"
></mtext>
</mrow>
</mrow>
</mtd>
</mtr>
</mtable>
</math>
</div>
<div>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<matrix>
<matrixrow>
<cn>0</cn>
<cn>1</cn>
<cn>0</cn>
</matrixrow>
<matrixrow>
<cn>0</cn>
<cn>0</cn>
<cn>1</cn>
</matrixrow>
<matrixrow>
<cn>1</cn>
<cn>0</cn>
<cn>0</cn>
</matrixrow>
</matrix>
</math>
</div>
<div>
<math>
<apply>
<plus></plus>
<cn type="real">4.56</cn>
<cn type="integer">4.56</cn>
<cn type="rational">
4
<sep></sep>
5
</cn>
<cn type="complex-cartesian">
4
<sep></sep>
5
</cn>
<cn type="complex-polar">
4.56
<sep></sep>
4.56
</cn>
<cn type="constant">π</cn>
<cn>ⅇ</cn>
<cn>ⅇ</cn>
<cn>ⅈ</cn>
<cn>ⅈ</cn>
<cn>γ</cn>
<cn>∞</cn>
</apply>
</math>
</div>
<div>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<in></in>
<cn type="complex-cartesian">
17
<sep></sep>
29
</cn>
<complexes></complexes>
</apply>
</math>
</div>
<div>
<math>
<munderover>
<mo largeop="true">∫</mo>
<mn>0</mn>
<mn>1</mn>
</munderover>
<mfrac>
<mrow>
<mi>dx</mi>
</mrow>
<mrow>
<mo>(</mo>
<mi>a</mi>
<mo>+</mo>
<mn>1</mn>
<mo>)</mo>
<msqrt>
<mi>x</mi>
</msqrt>
</mrow>
</mfrac>
<mo>=</mo>
<mo>π</mo>
</math>
</div>
<div>
<math>
<msub>
<mo largeop="true">∫</mo>
<mn>E</mn>
</msub>
<mo>(</mo>
<mi>α</mi>
<mi>f</mi>
<mo>+</mo>
<mi>β</mi>
<mi>g</mi>
<mo>)</mo>
<mo>d</mo>
<mi>μ</mi>
<mo>=</mo>
<mi>α</mi>
<mi> </mi>
<msub>
<mo largeop="true">∫</mo>
<mn>E </mn>
</msub>
<mi>f</mi>
<mi> </mi>
<mo>d</mo>
<mi>μ</mi>
<mo>+</mo>
<mi>β</mi>
<mi> </mi>
<msub>
<mo largeop="true">∫</mo>
<mn>E </mn>
</msub>
<mi>g</mi>
<mi> </mi>
<mo>d</mo>
<mi>μ</mi>
</math>
</div>
<div>
<math>
<mi>A</mi>
<mo>=</mo>
<mo>(</mo>
<mtable>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>4</mn>
</mtd>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>5</mn>
</mtd>
</mtr>
</mtable>
<mo>)</mo>
<mtext> or </mtext>
<mi>A</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>4</mn>
</mtd>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>5</mn>
</mtd>
</mtr>
</mtable>
<mo>]</mo>
</math>
</div>
<div>
<math>
<mo>[</mo>
<mtable>
<mtr>
<mtd>
<msub>
<mi>a</mi>
<mn>11</mn>
</msub>
<mo>−</mo>
<mi>λ</mi>
</mtd>
<mtd>
<mtext>⋯</mtext>
</mtd>
<mtd>
<msub>
<mi>a</mi>
<mn>1n</mn>
</msub>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>⋮</mtext>
</mtd>
<mtd>
<mtext>⋱</mtext>
</mtd>
<mtd>
<mtext>⋮</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<msub>
<mi>a</mi>
<mn>n1</mn>
</msub>
</mtd>
<mtd>
<mtext>⋯</mtext>
</mtd>
<mtd>
<msub>
<mi>a</mi>
<mn>nn</mn>
</msub>
<mo>−</mo>
<mi>λ</mi>
</mtd>
</mtr>
</mtable>
<mo>]</mo>
<mtext> </mtext>
<mo>[</mo>
<mtable>
<mtr>
<msub>
<mi>x</mi>
<mn>1</mn>
</msub>
</mtr>
<mtr>
<mtext>⋮</mtext>
</mtr>
<mtr>
<msub>
<mi>x</mi>
<mn>n</mn>
</msub>
</mtr>
</mtable>
<mo>]</mo>
<mo>=</mo>
<mn>0</mn>
</math>
</div>
<div>
<math>
<msqrt>
<mi>x</mi>
<mo>−</mo>
<mn>3</mn>
</msqrt>
<mo>+</mo>
<msqrt>
<mn>3</mn>
<mi>x</mi>
</msqrt>
<mo>+</mo>
<msqrt>
<mfrac>
<mrow>
<msqrt>
<mn>3</mn>
<mi>x</mi>
</msqrt>
</mrow>
<mrow>
<mi>x</mi>
<mo>−</mo>
<mn>3</mn>
</mrow>
</mfrac>
</msqrt>
<mo>+</mo>
<mi>i</mi>
<mfrac>
<mrow>
<mi>y</mi>
</mrow>
<mrow>
<msqrt>
<mn>2</mn>
<mo>(</mo>
<mi>r</mi>
<mo>+</mo>
<mi>x</mi>
<mo>)</mo>
</msqrt>
</mrow>
</mfrac>
</math>
</div>
<div>
<math>
<munderover>
<mo moveablelimits="false">∑</mo>
<mrow>
<mi>n</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mi>t</mi>
</munderover>
<mi>f</mi>
<mn>(</mn>
<mn>2</mn>
<mi>n</mi>
<mn>)</mn>
<mo>+</mo>
<munderover>
<mo moveablelimits="false">∑</mo>
<mrow>
<mi>n</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mi>t</mi>
</munderover>
<mi>f</mi>
<mn>(</mn>
<mn>2</mn>
<mi>n</mi>
<mo>+</mo>
<mn>1</mn>
<mn>)</mn>
<mo>=</mo>
<munderover>
<mo moveablelimits="false">∑</mo>
<mrow>
<mi>n</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mrow>
<mn>2</mn>
<mi>t</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</munderover>
<mi>f</mi>
<mn>(</mn>
<mi>n</mi>
<mn>)</mn>
</math>
</div>
<div>
<math>
<msqrt>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</msqrt>
<mo>=</mo>
<mo stretchy="false">|</mo>
<mi>x</mi>
<mo stretchy="false">|</mo>
<mo>=</mo>
<mo>{</mo>
<mtable>
<mtr>
<mi>+x</mi>
<mtext>, if</mtext>
<mi>x</mi>
<mo>></mo>
<mn>0</mn>
</mtr>
<mtr>
<mn>0</mn>
<mtext>, if</mtext>
<mi>x</mi>
<mo>=</mo>
<mn>0</mn>
</mtr>
<mtr>
<mi>−x</mi>
<mtext>, if</mtext>
<mi>x</mi>
<mo><</mo>
<mn>0</mn>
</mtr>
</mtable>
</math>
</div>
<div>
<math>
<mi>H</mi>
<mo stretchy="false">(</mo>
<mi>j</mi>
<mi>ω</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mo>{</mo>
<mtable>
<mtr>
<msup>
<mi>x</mi>
<msub>
<mrow>
<mo>−</mo>
<mi>j</mi>
<mi>ω</mi>
<mi>σ</mi>
</mrow>
<mn>0</mn>
</msub>
</msup>
<mtext>for</mtext>
<mo>|</mo>
<mi>ω</mi>
<mo>|</mo>
<mo><</mo>
<msub>
<mi>ω</mi>
<mi>σ</mi>
</msub>
</mtr>
<mtr>
<mn>0</mn>
<mtext>for</mtext>
<mo>|</mo>
<mi>ω</mi>
<mo>|</mo>
<mo></mo>
<msub>
<mi>ω</mi>
<mi>σ</mi>
</msub>
</mtr>
</mtable>
</math>
</div>
<div>
<math>
<mrow>
<mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mrow>
<mo>-</mo>
<mi>b</mi>
</mrow>
<mo>±</mo>
<msqrt>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mrow>
<mn>4</mn>
<mo></mo>
<mi>a</mi>
<mo></mo>
<mi>c</mi>
</mrow>
</mrow>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mo></mo>
<mi>a</mi>
</mrow>
</mfrac>
</mrow>
</math>
</div>
<div>
<math>
<mi>f</mi>
<mo>'</mo>
<mn>(</mn>
<mi>a</mi>
<mn>)</mn>
<mo>=</mo>
<munder>
<mo moveablelimits="false">lim</mo>
<mi>h→0</mi>
</munder>
<mfrac>
<mrow>
<mi>f</mi>
<mo>(</mo>
<mi>a</mi>
<mi>+</mi>
<mi>h</mi>
<mo>)</mo>
<mo>−</mo>
<mi>f</mi>
<mo>(</mo>
<mi>a</mi>
<mo>)</mo>
</mrow>
<mi>h</mi>
</mfrac>
</math>
</div>
<div>
<math>
<mstyle displaystyle="true">
<mn>1</mn>
<mo>+</mo>
<munderover>
<mo moveablelimits="false">∑</mo>
<mrow>
<mi>k</mi>
<mo>=</mo>
<mn>1</mn>
</mrow>
<mn>∞</mn>
</munderover>
<mfrac>
<mrow>
<msup>
<mi>q</mi>
<msup>
<mrow>
<mi>k</mi>
<mo>+</mo>
<mi>k</mi>
</mrow>
<mn>2</mn>
</msup>
</msup>
</mrow>
<mrow>
<mo>(</mo>
<mn>1</mn>
<mo>−</mo>
<mi>q</mi>
<mo>)</mo>
<mo>(</mo>
<mn>1</mn>
<mo>−</mo>
<msup>
<mi>q</mi>
<mn>2</mn>
</msup>
<mo>)</mo>
<mtext>…</mtext>
<mo>(</mo>
<mn>1</mn>
<mo>−</mo>
<msup>
<mi>q</mi>
<mn>k</mn>
</msup>
<mo>)</mo>
</mrow>
</mfrac>
<mo>=</mo>
<munderover>
<mo moveablelimits="false">∏</mo>
<mrow>
<mi>j</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mn>∞</mn>
</munderover>
<mfrac>
<mrow>
<mn>1</mn>
</mrow>
<mrow>
<mo>(</mo>
<mn>1</mn>
<mo>−</mo>
<msup>
<mi>q</mi>
<mrow>
<mn>5</mn>
<mi>j</mi>
<mo>+</mo>
<mn>2</mn>
</mrow>
</msup>
<mo>)</mo>
<mo>(</mo>
<mn>1</mn>
<mo>−</mo>
<msup>
<mi>q</mi>
<mrow>
<mn>5</mn>
<mi>j</mi>
<mo>+</mo>
<mn>3</mn>
</mrow>
</msup>
<mo>)</mo>
</mrow>
</mfrac>
<mtext>, for </mtext>
<mtext>|</mtext>
<mi>q</mi>
<mtext>|</mtext>
<mo><</mo>
<mn>1</mn>
</mstyle>
</math>
</div>
</div>
</body>
</html>
Stylesheet
@import url("../styles/a5.css");
.flexcontainer {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
align-items: baseline;
}
div {
margin-bottom: 2em;
}