9.3.1: Equation Formatting Conventions
For each of the following exercises, fix the LaTeX and formatting as described in the Tutorial.
1. Equation numbering
Note that this equation is not automatically numbered since it is inline.
\(f(x) = x^2 + y^2\)
Remove the equation number from this equation while keeping it in display mode.
\[f(x) = x^2 + y^2\]
Remove the aut\nonumbering on this aligned equation by adding asterisks.
\[\begin{align} f'(x) &= 3\cdot(x^2 + 1)^2\cdot 2x \\[4pt] &=6x(x^2+1)^2 \end{align}\]
2. Aligning equal signs over multiple lines using begin{align*} and end{align*}
Format this chain equality using begin(align*} and end{align*} commands. Also fix other issues with the trig functions and powers.
Example 1:
\(\displaystyle \frac{1}{12}(cos(3x)−9cosx)=\frac{1}{12}(cos(x+2x)−9cosx)\)
\(\displaystyle =\frac{1}{12}(\cos (x)cos(2x)−\sin(x)\sin(2x)−9cosx)\)
\(\displaystyle =\frac{1}{12}(\cos x(2cos^2x−1)−\sin x(2sinxcosx)−9cosx)\)
\(\displaystyle =\frac{1}{12}(2\cos_3x−\cos x−2\cos x(1−cos^2x)−9cosx)\)
\(\displaystyle =\frac{1}{12}(4\cos_3x−12\cos x)\)
\(\displaystyle =\frac{1}{3}\cos_3x−\cos x.\)
Format this chain equality with explanations using begin(align*} and end{align*} commands.
Example 2:
Thus,
\(∫\dfrac{\sqrt{4−x^2}}{x}dx=∫\dfrac{\sqrt{4−(2\sin θ)^2}}{2\sin θ}2\cos θ \, dθ\) Substitute \(x=2\sin θ\) and \(=2\cos θ\,dθ.\)
\(=∫\dfrac{2\cos^2θ}{\sin θ}\,dθ\) Substitute \(\cos^2θ=1−\sin^2θ\) and simplify.
\(=∫\dfrac{2(1−\sin^2θ)}{\sin θ}\,dθ\) Substitute \(\sin 2θ=1−\cos^2θ\).
\(=∫ (2\csc θ−2\sin θ)\,dθ\) Separate the numerator, simplify, and use \(\csc θ=\dfrac{1}{\sin θ}\).
\(=2 ln |\csc θ−\cot θ|+2\cos θ+C\) Evaluate the integral.
\(=2 ln \left|\dfrac{2}{x}−\dfrac{\sqrt{4−x^2}}{x}\right|+\sqrt{4−x^2}+C.\) Use the reference triangle to rewrite the expression in terms of \(x\) and simplify.
3. Formatting functions correctly: sin x, cos x, ln x, arctan x, etc.
If you have not already done so, fix the functions in part 2 above.
4. Proper use of displaystyle
First consider #2 above, to determine whether \displaystyle is needed there.
Add \(\displaystyle\) where it is needed in the examples below and remove it where it is not. Also consider spacing of the differential in integrals.
\[(\displaystyle ∫^5_0(5+2t)\,dt. \nonumber\]
\(\displaystyle (\int_0^2 (x^2+1)dx\)
\(\displaystyle \sum_{n=1}^\infty a_n\)
\(\displaystyle \lim_{x\to 3} f(x) = 9\)
Note that \( \lim_{n\to \infty} \sum_{i=1}^n f(x_i)\,\Delta x_i = \int_a^b f(x) \, dx\).
5. Using \left and \right, \big, \Big, \bigg, and \Bigg to size grouping symbols appropriately.
Fix the alignment in the following problem, and also address the size of the grouping symbols and the evaluation bar.
\[ \begin{align*} ∫^5_010+\cos(\frac{π}{2}t)\,dt = (10t+\frac{2}{π} \sin (\frac{π}{2}t))|^5_0 \\[4pt] =(50+\frac{2}{π})−(0−\frac{2}{π} \sin 0)≈50.6. \end{align*}\]