Quick Revision
Compressed notes for fast review.
- Root exists in [a,b] if f(x) is continuous on [a,b] and f(a)f(b)<0.
- Linear eqn: highest power of variable is 1.
- Nonlinear eqn: power >1 or curve-type relation.
- Plot y=f(x).
- Root = point where graph cuts x-axis.
- For
x3−2x−5=0
sign changes:
f(2)=−1,f(3)=16
and
f(2.09)≈−0.0507,f(2.10)≈0.061
- Approx root:
x≈2.09
Conditions:
- Continuous function
- Opposite signs at endpoints
Formula:
c=2a+b
Rule:
- If f(a)f(c)<0, new interval [a,c]
- Otherwise new interval [c,b]
Stopping:
2b−a<TOL
Exam result:
x3−7=0⇒x≈1.910
Write
x=g(x)
Iteration:
xn+1=g(xn)
Good exam form:
x=36−x
For
x3+x−6=0
with x0=1.5:
x≈1.6346
Formula:
xn+1=xn−f(xn)−f(xn−1)f(xn)(xn−xn−1)
No derivative needed.
For
x3−4x−9=0
use
x0=2,x1=3
After 5 iterations:
x≈2.706528
Formula:
xn+1=xn−f′(xn)f(xn)
Stopping:
∣xn+1−xn∣<εor∣f(xn+1)∣<ε
For
f(x)=x3−2x2+3
f′(x)=3x2−4x
Iteration form:
xn+1=xn−3xn2−4xnxn3−2xn2+3
With x0=−1.5:
x≈−1
Steps:
- Write augmented matrix.
- Make zeros below pivots.
- Convert to upper triangular form.
- Use back substitution.
Exam result for
3x+y−z2x−4y+5zx+2y+3z=4=−3=10
x=0.84,y=2.72,z=1.24
Use when pivot is zero or very small.
Why:
- avoids division by tiny number
- reduces round-off error
- improves stability
Exam trigger:
- first pivot 0.2 too small, so swap rows first
Exam result:
x≈−0.8491,y≈4.6415,z≈−5.7547
Use when:
- system is diagonally dominant
- iterative approx acceptable
Rearrange each equation:
x=1011−y+z,y=1012−2x−z,z=1014+2x−3y
Diagonal dominance check:
∣10∣>2,∣10∣>3,∣10∣>5
Start with
x0=y0=z0=0
After 4 iterations:
x≈1.15493,y≈0.83090,z≈1.38172
- Sign-change test
- Bisection interval update
- Fixed-point form choice
- Secant formula
- Newton-Raphson derivative + iteration
- Augmented matrix
- Upper triangular form
- Partial pivoting row swap
- Diagonal dominance test
- Gauss-Seidel iteration table
IUS Preps - Your Academic Success Partner