Introduction to Numerical Methods
- 137Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is a numerical method?
A mathematical procedure for finding an approximate solution to a problem.
Or swipe the card
137 cards
What is a numerical method?
A mathematical procedure for finding an approximate solution to a problem.
When are numerical methods especially useful?
When an exact analytical solution is impossible, unavailable, or would take too long to calculate.
How does an analytical method differ from a numerical method?
An analytical method follows steps that produce an exact solution; a numerical method estimates a solution through computation.
What is the basic process used by many numerical methods?
Choose input values, evaluate the output, assess how close it is to the desired solution, adjust the inputs, and repeat.
What trade-off do numerical methods commonly involve?
Computation time versus accuracy: more computation can often produce a closer approximation.
Can an iterative numerical method generally guarantee an exact answer after a finite number of iterations?
No. It usually produces an approximation that can be made sufficiently accurate by continuing the iterations.
How might a numerical method approach the solution of x+1=0?
Try values for x, evaluate x+1, and refine the guesses until the output is close to zero; the solution is near x=−1.
Why are computers useful for numerical methods?
They can perform the many repeated calculations required to approximate solutions to complicated problems.
What is a system of linear equations?
A collection of related linear equations that share variables and are treated together.
What does it mean for equations in a system to be independent?
One equation cannot be derived from another using basic mathematical operations.
Why do two equations that are algebraic rearrangements of each other not provide independent equations?
They express the same relationship and therefore do not add a new independent constraint.
What makes an equation linear?
Each term is a constant or a constant multiplied by a variable; variables are not raised to powers or otherwise combined nonlinearly.
Why is y=mx+b linear?
m and b are constants, and the variable x appears only as a constant multiple.
Is a1x1+a2x2+b=0 linear when the ai and b values are constants?
Yes. Each term is a constant or a constant multiplied by a variable.
What does it mean to solve a system of linear equations?
Find and assign values to the unknown variables so that all equations in the system are satisfied.
What is the solution set of a system of linear equations?
The complete set of variable values that satisfies the system.
What are the three possible solution counts for a linear system?
No solutions, exactly one unique solution, or infinitely many solutions.
Geometrically, when does a system of linear equations have a unique solution?
When all the represented lines or planes intersect at one point.
Geometrically, what does it mean for a system to have no solution?
There is no point shared by all the lines or planes represented by the equations.
Geometrically, how can a system have infinitely many solutions?
Its equations can describe coincident lines or other overlapping constraints, so infinitely many points satisfy them.
What is the matrix form of a linear system?
Ax=b, where A contains coefficients, x is the vector of unknowns, and b is the vector of constants.
How are the dimensions of the coefficient matrix A determined?
Its rows correspond to equations, and its columns correspond to variables.
What does the vector x represent in Ax=b?
The column vector of unknown variables.
What does the vector b represent in Ax=b?
The column vector of constant terms from the equations.
What is an augmented matrix?
A compact representation of a linear system that places the coefficient matrix beside the constants, separated by a divider.
What is a square matrix?
A matrix with the same number of rows and columns.
What is a singular matrix?
A square matrix that is not invertible.
What does a singular coefficient matrix imply about the system Ax=b?
The system does not have a unique solution; depending on the constants, it may have no solution or infinitely many.
How can the determinant be used to test whether a square matrix is singular?
A square matrix is singular exactly when its determinant is zero.
What geometric interpretation does the determinant have in two dimensions?
It describes the area-scaling factor of a linear transformation.
What geometric interpretation does the determinant have in three dimensions?
It describes the volume-scaling factor of a linear transformation.
What does a zero determinant mean geometrically?
The transformation collapses area or volume to zero, indicating that the matrix is singular.
For a triangular matrix, how is its determinant calculated?
Multiply the entries on its main diagonal.
How can the diagonal of a triangular matrix quickly reveal singularity?
If any diagonal entry is zero, the product of the diagonal entries is zero, so the matrix is singular.
What is an identity matrix?
A matrix with ones on the main diagonal and zeros elsewhere; in a system with this coefficient matrix, each unknown equals its corresponding constant.
What defines a diagonal matrix?
All entries outside the main diagonal are zero.
How can a system with a diagonal coefficient matrix be solved?
Divide each equation's constant by its corresponding diagonal coefficient.
What defines an upper triangular matrix?
Every entry below the main diagonal is zero.
What defines a lower triangular matrix?
Every entry above the main diagonal is zero.
What is backward substitution?
Solve an upper triangular system starting from the last row and then work upward, substituting each solved variable into earlier rows.
What is forward substitution?
Solve a lower triangular system starting from the first row and then work downward, substituting each solved variable into later rows.
Why are triangular matrices often preferred over diagonal or identity matrices in practice?
They can be solved in one pass using substitution and are generally less work to obtain than diagonal or identity form.
What is Gaussian elimination?
A direct method that transforms a linear system into upper triangular form and then solves it by backward substitution.
What is the first step of Gaussian elimination?
Write the system as an augmented matrix.
What is the goal of the elimination steps in Gaussian elimination?
Use row operations to make entries below the main diagonal zero.
How is a target entry below a pivot eliminated?
Subtract a suitable multiple of the pivot row from the target row, applying the operation to the whole row.
How is the elimination scaling factor for a target entry calculated?
Divide the target entry by the pivot entry in the same column.
In Gaussian elimination, when do you move to the next pivot?
After eliminating the entries below the current pivot, move one row and one column diagonally down and repeat.
Why may equations be swapped during Gaussian elimination?
A row swap can move a zero away from the pivot position and avoid division by zero.
What should be done if a pivot on the main diagonal is zero?
Try swapping its row with another row that has a nonzero entry in that column.
What is the final step after Gaussian elimination produces an upper triangular matrix?
Use backward substitution to solve for the unknowns.
Why must a row operation be applied to every entry in the row?
The coefficients and constant in the equation must be transformed together so the row continues to represent an equivalent equation.
What solution is given for the system 2x+3y=4, 4x+9y=6?
x=3 and y=−32.
How can a computed solution to a linear system be checked?
Substitute the values into the original equations and verify that both sides of every equation agree.
What is LU factorization?
A factorization of a matrix as A=LU, where L is lower triangular and U is upper triangular.
What information is stored in the lower triangular matrix L during LU factorization?
The elimination scaling factors used to transform the original matrix into upper triangular form.
How is L constructed while performing Gaussian elimination?
Record each elimination scaling factor in its corresponding position below the diagonal of L.
After factoring A=LU, how can the system Ax=b be solved?
First solve Lc=b by forward substitution, then solve Ux=c by backward substitution.
Why is LU factorization useful when A stays fixed but b changes?
Factor A once, then use the factors to solve efficiently for each new constant vector.
Why does LU factorization save work compared with repeating Gaussian elimination for each new b?
The computationally intensive elimination of A only needs to be performed once.
How can the determinant of A=LU be calculated?
det(A)=det(L)det(U); for triangular factors, each determinant is the product of that factor's diagonal entries.
What is a direct numerical method?
A method that follows a prescribed finite sequence of steps to obtain a solution, such as Gaussian elimination or LU factorization.
Why can direct methods be inefficient for very large systems?
They require substantial matrix computation, which can become costly as the system grows.
What is an iterative numerical method?
A method that repeatedly improves an estimate and can be stopped when its accuracy is sufficient.
How do direct and iterative methods differ in when they can be stopped?
A direct method must complete its prescribed steps; an iterative method can stop after any iteration once the desired accuracy is reached.
Why are iterative methods often preferred for large systems?
They break the problem into repeated smaller calculations rather than carrying out a large direct matrix solution.
Why are iterative methods needed for nonlinear systems?
The direct matrix methods discussed for linear systems cannot generally solve nonlinear systems.
What is the general row-wise idea behind an iterative linear solver?
Rearrange each equation to solve for one variable, use current estimates of the other variables, and repeat to improve the estimates.
What is the remainder or residual of an estimated solution to Ax=b?
The mismatch between the constant vector and the product of the coefficient matrix with the estimated variables, b−Ax.
What is the goal of an iterative method when viewed through the residual?
Reduce the residual toward zero so that the estimated variables satisfy the equations more closely.
How does an initial guess affect an iterative solver?
A guess closer to the true solution can reduce the number of iterations needed.
What does diagonal dominance mean for a matrix?
In every row, the absolute value of the diagonal entry is at least the sum of the absolute values of the other entries, with strict inequality in at least one row.
How do you test diagonal dominance?
For each row separately, compare the absolute diagonal entry with the sum of the absolute values of the off-diagonal entries.
What if every row's diagonal magnitude equals the sum of its off-diagonal magnitudes?
The matrix fails the stated diagonal-dominance condition because no row is strictly dominant.
What convergence guarantee does the content associate with diagonal dominance?
For the discussed iterative methods on linear systems, diagonal dominance guarantees convergence to a unique solution.
Does a matrix that is not diagonally dominant necessarily diverge under iteration?
No. It may still converge, but convergence is not guaranteed; a better initial guess may be needed, or the system may lack a unique solution.
What is Jacobi iteration?
An iterative method that rearranges each equation to solve for one variable and computes updated variables from the previous iteration's values.
What initial guess is commonly used for Jacobi iteration when no additional information is available?
A zero vector for all unknown variables.
What is the key update rule of Jacobi iteration?
Compute every variable in the new iteration using only values from the previous iteration.
How can convergence of a Jacobi approximation be checked?
Substitute the current variable estimates into the original equations and check whether each equation's residual is within the accepted tolerance.
What is Gauss–Seidel iteration?
An iterative linear solver that updates variables sequentially and uses newly computed values immediately within the same iteration.
How does Gauss–Seidel differ from Jacobi iteration?
Jacobi uses only the preceding iteration's values; Gauss–Seidel uses the latest available values as soon as they are computed.
Why can Gauss–Seidel converge in fewer iterations than Jacobi?
It incorporates newly updated variable estimates immediately rather than waiting for the next full iteration.
What is a root of a function?
An input where the function's output is zero; graphically, a point where the graph meets the x-axis.
What are the two broad categories of numerical root-finding methods?
Closed methods and open methods.
What information does a closed root-finding method require?
A lower and upper boundary that enclose a root.
How can opposite signs at two interval boundaries indicate a root between them?
If f(a) and f(b) have opposite signs, the function crosses zero somewhere between the boundaries, assuming it is continuous.
What does a negative product f(a)f(b) indicate for a closed root-finding interval?
The endpoint outputs have opposite signs, indicating at least one root in the interval for a continuous function.
Why should a closed-method interval ideally contain exactly one root?
Multiple roots in one interval can make it unclear which root the method is locating and can interfere with its procedure.
What is a limitation of closed root-finding methods?
A suitable interval must be found, and the method may fail to identify a particular root if the interval contains none or multiple roots.
What information does an open root-finding method require?
An initial guess for where a root may be; it does not require two enclosing boundaries.
What is a common advantage of open methods over closed methods?
They can locate roots faster.
What is a common risk of open methods?
They can diverge and move away from the root, especially with an unsuitable initial guess or poorly behaved function.
What is the bisection method?
A closed root-finding method that repeatedly halves a sign-changing interval and keeps the half that contains the root.
How is the bisection method's midpoint calculated?
c=2a+b.
How does the bisection method choose which half-interval to keep?
Keep the half whose endpoint function values have opposite signs; test products such as f(a)f(c) and f(b)f(c).
What is a common bisection error measure?
The interval width, ∣b−a∣.
What is the false position method?
A closed root-finding method that estimates a new point using the secant line through the two interval endpoint values.
How is the false-position estimate c calculated?
c=b−f(a)−f(b)f(b)(a−b).
How does false position decide which interval boundary to replace?
Evaluate f(c) and keep the subinterval whose endpoint function values have opposite signs.
How does false position differ from bisection?
Bisection chooses the interval midpoint; false position uses the intersection of the endpoint secant line with the x-axis.
Why can false position require fewer iterations than bisection?
Its secant-line estimate can move closer to the root than the interval midpoint.
What is Newton's method?
An open root-finding method that repeatedly uses the tangent at the current estimate to produce a new estimate.
What is the Newton update formula?
xn+1=xn−f′(xn)f(xn).
What geometric construction motivates Newton's method?
Draw the tangent at the current estimate; its intersection with the x-axis gives the next estimate.
How is Newton's method related to a first-order Taylor approximation?
It sets the first-order Taylor approximation about the current estimate equal to zero and solves for the next estimate.
Why can Newton's method be fast?
For suitable functions and starting guesses, tangent-based updates can approach a root rapidly.
Why can Newton's method fail on a step function?
A tangent may not be defined at the relevant points, so the method cannot produce its tangent-based update.
What is the secant method?
An open root-finding method that uses a secant line through two recent function points to estimate the next root location.
What is the secant-method update formula?
xn+1=xn−f(xn)f(xn)−f(xn−1)xn−xn−1.
What is the main difference between Newton's method and the secant method?
Newton's method uses a derivative and one current estimate; the secant method uses two estimates to approximate the slope.
What trade-off does the secant method make compared with Newton's method?
It avoids requiring the derivative but typically may be slightly slower.
How many initial estimates does the secant method require?
Two.
What is the fixed-point method?
An open iterative method that rewrites a root problem as x=g(x) and repeatedly updates with xn+1=g(xn).
How can a root equation f(x)=0 be converted to fixed-point form?
Rearrange it into an equivalent equation x=g(x).
Why can a single equation f(x)=0 produce multiple possible fixed-point functions?
It may be rearranged algebraically in more than one way to isolate x.
What condition on g′(x) ensures local convergence of fixed-point iteration near a fixed point?
The magnitude ∣g′(x)∣ must remain below 1 in an interval around the fixed point.
What happens to fixed-point iteration when ∣g′(x∗)∣>1 at the fixed point?
The iteration is not locally convergent there and typically diverges from the fixed point.
How is error commonly monitored in fixed-point iteration?
Compare successive estimates, for example using ∣xn+1−xn∣, and stop when the change is within the chosen tolerance.
What is interpolation?
Constructing a function from known data points so it can estimate outputs at inputs between those points.
Why is interpolation used with discrete data?
It estimates missing intermediate values without needing measurements at every possible input.
What is a Lagrange polynomial used for?
Interpolating a set of discrete data points with a polynomial that passes through them.
What degree Lagrange polynomial is used for n data points?
A polynomial of degree at most n−1.
How many terms are included in the Lagrange interpolation formula for n data points?
One term for each data point, for a total of n terms.
What property must an interpolating polynomial satisfy at every supplied data point?
At each known input xi, it must return the corresponding output yi.
Why does the Lagrange product for data point j omit the factor with k=j?
Including that factor would make the product zero at xj, preventing the polynomial from returning the required value yj.
What polynomial degree is needed to interpolate two distinct data points?
At most first degree, so the interpolant is a line.
What polynomial degree is needed to interpolate three distinct data points?
At most second degree.
What are Newton interpolation polynomials used for?
They provide a polynomial representation that passes through a set of discrete data points.
What are divided differences?
Coefficients used in Newton interpolation polynomials, calculated from differences among the data values and inputs.
What is the first divided difference between two data points?
f[x0,x1]=x1−x0y1−y0.
In a Newton divided-difference table, what does the first divided difference represent?
The slope between a pair of data points.
How are higher-order divided differences formed?
By taking differences of lower-order divided differences and dividing by the corresponding span in the input values.
What is the zeroth divided-difference coefficient in Newton interpolation?
The first data output, f[x0]=y0.
Which divided differences are used as coefficients for an nth-degree Newton polynomial?
The leading entries from successive orders of the divided-difference table, beginning with f[x0].
What is the recursive advantage of Newton interpolation?
A new data point can be added as an additional polynomial term without recomputing the entire existing interpolant.
How many data points are needed for an nth-order Newton interpolating polynomial?
n+1 data points.

Ask anything
We've read this whole study set, so questions about it get the best answers.