Program: English — B20 · Bahasa Indonesia — B20 · Mathematics Program home · Beranda Program Matematika · Original source — Original authors’ website — CLP-1 textbook, problems and PDFs · Open related page · Open related page Mathematics program — English Program — Bahasa Indonesia Original authors’ website ↗ Book contents
Skip to main content
Contents
Dark Mode Prev Up Next
\(\require{cancel}\newcommand{\dee}[1]{\mathrm{d}#1}
\newcommand{\half}{ \frac{1}{2} }
\newcommand{\ds}{\displaystyle}
\newcommand{\ts}{\textstyle}
\newcommand{\es}{ {\varnothing}}
\newcommand{\st}{ {\mbox{ s.t. }} }
\newcommand{\pow}[1]{ \mathcal{P}\left(#1\right) }
\newcommand{\set}[1]{ \left\{#1\right\} }
\newcommand{\lin}{{\text{LIN}}}
\newcommand{\quot}{{\text{QR}}}
\newcommand{\simp}{{\text{SMP}}}
\newcommand{\diff}[2]{ \frac{\mathrm{d}#1}{\mathrm{d}#2}}
\newcommand{\bdiff}[2]{ \frac{\mathrm{d}}{\mathrm{d}#2} \left( #1 \right)}
\newcommand{\ddiff}[3]{ \frac{\mathrm{d}^#1#2}{\mathrm{d}{#3}^#1}}
\renewcommand{\neg}{ {\sim} }
\newcommand{\limp}{ {\;\Rightarrow\;} }
\newcommand{\nimp}{ {\;\not\Rightarrow\;} }
\newcommand{\liff}{ {\;\Leftrightarrow\;} }
\newcommand{\niff}{ {\;\not\Leftrightarrow\;} }
\newcommand{\De}{\Delta}
\newcommand{\bbbn}{\mathbb{N}}
\newcommand{\bbbr}{\mathbb{R}}
\newcommand{\bbbp}{\mathbb{P}}
\newcommand{\cI}{\mathcal{I}}
\newcommand{\cR}{\mathcal{R}}
\newcommand{\cV}{\mathcal{V}}
\newcommand{\Si}{\Sigma}
\newcommand{\arccsc}{\mathop{\mathrm{arccsc}}}
\newcommand{\arcsec}{\mathop{\mathrm{arcsec}}}
\newcommand{\arccot}{\mathop{\mathrm{arccot}}}
\newcommand{\erf}{\mathop{\mathrm{erf}}}
\newcommand{\smsum}{\mathop{{\ts \sum}}}
\newcommand{\atp}[2]{ \genfrac{}{}{0in}{}{#1}{#2} }
\newcommand{\ave}{\mathrm{ave}}
\newcommand{\llt}{\left \lt }
\newcommand{\rgt}{\right \gt }
\newcommand{\YEaxis}[2]{\draw[help lines] (-#1,0)--(#1,0) node[right]{$x$};\draw[help lines] (0,-#2)--(0,#2) node[above]{$y$};}
\newcommand{\YEaaxis}[4]{\draw[help lines] (-#1,0)--(#2,0) node[right]{$x$};\draw[help lines] (0,-#3)--(0,#4) node[above]{$y$};}
\newcommand{\YEtaxis}[4]{\draw[help lines] (-#1,0)--(#2,0) node[right]{$t$};\draw[help lines] (0,-#3)--(0,#4) node[above]{$y$};}
\newcommand{\YEtaaxis}[4]{\draw[help lines] (-#1,0)--(#2,0) node[right]{$t$}; \draw[help lines] (0,-#3)--(0,#4) node[above]{$y$};}
\newcommand{\YExcoord}[2]{\draw (#1,.2)--(#1,-.2) node[below]{$#2$};}
\newcommand{\YEycoord}[2]{\draw (.2,#1)--(-.2,#1) node[left]{$#2$};}
\newcommand{\YEnxcoord}[2]{\draw (#1,-.2)--(#1,.2) node[above]{$#2$};}
\newcommand{\YEnycoord}[2]{\draw (-.2,#1)--(.2,#1) node[right]{$#2$};}
\newcommand{\YEstickfig}[3]{
\draw (#1,#2) arc(-90:270:2mm);
\draw (#1,#2)--(#1,#2-.5) (#1-.25,#2-.75)--(#1,#2-.5)--(#1+.25,#2-.75) (#1-.2,#2-.2)--(#1+.2,#2-.2);}
\newcommand{\IBP}[7]{
\begin{array}{|c | l | l |}
\hline
\color{red}{\text{Option 1:}}
& u=#2
&\color{red}{\dee{u}=#3 ~ \dee{#1}}
\\
& \dee{v}=#5~\dee{#1}
&\color{red}{v=#7}
\\
\hline
\color{blue}{\text{Option 2:}}
& u=#5
&\color{blue}{\dee{u}=#6 ~ \dee{#1}}
\\
&\dee{v}=#2 \dee{#1}
&\color{blue}{v=#4}
\\
\hline
\end{array}
}
\renewcommand{\textcolor}[2]{{\color{#1}{#2}}}
\newcommand{\trigtri}[4]{
\begin{tikzpicture}
\draw (-.5,0)--(2,0)--(2,1.5)--cycle;
\draw (1.8,0) |- (2,.2);
\draw[double] (0,0) arc(0:30:.5cm);
\draw (0,.2) node[right]{$#1$};
\draw (1,-.5) node{$#2$};
\draw (2,.75) node[right]{$#3$};
\draw (.6,1.1) node[rotate=30]{$#4$};
\end{tikzpicture}}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section C.3 The false position (regula falsi) method
Let
\(f(x)\) be a continuous function and let
\(a_1\lt b_1\) with
\(f(a_1)\) and
\(f(b_1)\) being of opposite sign.
As we have seen, the bisection method generates a sequence of intervals
\(I_n=[a_n,b_n]\text{,}\) \(n=1,2,3,\cdots\) with, for each
\(n\text{,}\) \(f(a_n)\) and
\(f(b_n)\) having opposite sign (so that, by continuity,
\(f\) has a root in
\(I_n\) ). Once we have
\(I_n\text{,}\) we choose
\(I_{n+1}\) based on the sign of
\(f\) at the midpoint,
\(\frac{a_n+b_n}{2}\text{,}\) of
\(I_n\text{.}\) Since we always test the midpoint, the possible error decreases by a factor of 2 each step.
The false position method tries to make the whole procedure more efficient by testing the sign of
\(f\) at a point that is closer to the end of
\(I_n\) where the magnitude of
\(f\) is smaller. To be precise, we approximate
\(y=f(x)\) by the equation of the straight line through
\(\big(a_n,f(a_n)\big)\) and
\(\big(b_n,f(b_n)\big)\text{.}\)
The equation of that straight line is
\begin{equation*}
y = F(x) = f(a_n) + \frac{f(b_n)-f(a_n)}{b_n-a_n}(x-a_n)
\end{equation*}
Then the false position method tests the sign of \(f(x)\) at the value of \(x\) where \(F(x)=0\text{.}\)
\begin{align*}
\amp F(x) = f(a_n) + \frac{f(b_n)-f(a_n)}{b_n-a_n}(x-a_n)
=0 \\
\amp \iff x= a_n - \frac{b_n-a_n}{f(b_n)-f(a_n)} f(a_n)
= \frac{a_n f(b_n) - b_n f(a_n) }{f(b_n)-f(a_n)}
\end{align*}
So once we have the interval \(I_n\text{,}\) the false position method generates the interval \(I_{n+1}\) by the following rule.
Equation C.3.1 . false position method.
Set \(c_n=\frac{a_n f(b_n) - b_n f(a_n) }{f(b_n)-f(a_n)}\text{.}\) If \(f(c_n)\) has the same sign as \(f(a_n)\text{,}\) then
\begin{equation*}
I_{n+1}=[a_{n+1},b_{n+1}]\quad\text{with}\quad
a_{n+1}=c_n,\ b_{n+1}=b_n
\end{equation*}
and if \(f(c_n)\) and \(f(a_n)\) have opposite signs, then
\begin{equation*}
I_{n+1}=[a_{n+1},b_{n+1}]\quad\text{with}\quad
a_{n+1}=a_n,\ b_{n+1}=c_n
\end{equation*}
Mathematics program — English Program — Bahasa Indonesia Original authors’ website ↗ Book contents Program: English — B20 · Bahasa Indonesia — B20 · Mathematics Program home · Beranda Program Matematika · Original source — Original authors’ website — CLP-1 textbook, problems and PDFs · Open related page · Open related page