« previous | Thursday, February 27, 2014 | next »
Exam Review
Section 2.1: Bisection
(#10)
Find root in
using bisection:
- f(-1.5) < 0
- f(2.5) > 0
- f(0.5) > 0
- f(-0.5) < 0
- f(0) = 0 ← stop
Section 2.2: Fixed Point
for
Find
and take
and recursively find
for
- for any
, we need ![{\displaystyle g(x)\in [a,b]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9ee3264662d5c50cdba46072d54ce0049fa3cbba)
![{\displaystyle (\max _{x\in [a,b]}\left|g'(x)\right|=k)<1}](https://wikimedia.org/api/rest_v1/media/math/render/svg/486fd1f1f49ca185294d3742d1a38b4fae42e93b)
In our case, we take
:


Find the number of iterations needed to get accuracy
:
Choose
, now
Therefore take
Newton's Method
,
If
is concave-up, choose right endpoint: Newton's method works best when
and
In our example above,
Chapter 3: Interpolation
Given
, interpolate
as a polynomial
Lagrange
Newton
Example: (9th ed: 124 #7): Find polynomial that interpolates at 0, 1, 2, 3 at the point
(that is, find
) given:
(the line through
and
)
(the line through
and
)
(the parabola through
,
, and
has value
at 
We know the lines through f(0)
x f(x)
--------
0 1
2
1 3 -1
0 (a-1)/6
2 3 (a-3)/2
a-3
3 a
Now
, hence
and
.
Therefore, our interpolating polynomial
is
and evaluated at
, we get
Hermite
A tomato is launched at a height of 10 ft with an initial speed of 10 ft/s. The tomato hits a person standing 50 ft away and has a final speed of -20 ft/s
x f(x) f'(x)
0 10
10
0 10 -51/250
-1/5 -12/3125
50 0 -99/250
-20
50 0
Whoa! The trajectory of an object is parabolic (disregarding friction or air resistance), and given only two points with derivatives (positions and velocities), we can reconstruct the entire trajectory exactly. The same can be done with three points, since three points uniquely defines a parabola.
Section 4.1: Differentiation
(9th ed. #22) Approximate
using
,
,
,
to accuracy
Taylor series around
:
Multiply equations by
,
, and
, respectively and solve for:
.
We get the following system of equations
Alternatively, we can find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P_3'(x_0)}
via the interpolating polynomial above, but that usually involves more work.
Sections 4.3 and 4.7: Integration
(9th ed. #20)
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{0}^{1} f(x) \,\mathrm{d}x \approx \frac{1}{2} \, f(x_0) + c_1 \, f(x_1)}
Find the rule with best DAC (which will be the Gaussian rule since scaling factor is 1/2)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{0}^{1} 1 \,\mathrm{d}x = 1 = \frac{1}{2} + c_1}
, so Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c_1 = \frac{1}{2}}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{0}^{1} x \,\mathrm{d}x = \frac{1}{2} = \frac{1}{2} \, x_0 + \frac{1}{2} \, x_1 }
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{0}^{1} x^2 \,\mathrm{d}x = \frac{1}{3} = \frac{1}{2} \, x_0^2 + \frac{1}{2} \, x_1^2}
Solve for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_0, x_1 = \frac{1}{2} \pm \frac{\sqrt{3}}{6}}
.
Degree of accuracy is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2 \cdot 2 - 1 = 3}
.
Note: Every Gaussian rule is symmetric
(9th ed. #13)
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int_{0}^{2} f(x) \, \mathrm{d}x \approx 4}
by trapezoid and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \approx 2}
by simpson's rule. Find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(1)}
.
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{cases} \frac{2}{2} \, \left( f(0) + f(2) \right) &= 4 \\ \frac{2}{6} \, \left( f(0) + 4f(1) + f(2) \right) &= 2 \end{cases} \quad \implies \quad 4 + 4f(1) = 6 \quad \implies \quad f(1) = \frac{1}{2}}