Return to computing page for the first course APMA0330
Return to computing page for the second course APMA0340
Return to Mathematica tutorial for the second course APMA0340
Return to the main page for the course APMA0330
Return to the main page for the course APMA0340
Return to Part III of the course APMA0330
in the interval I = [a, b], we consider the homotopy
\[
H(x,p) = p\, f(x) + \left( 1- p \right) g(x) , \qquad x\in I, \quad p \in [0,1],
\]
which is a mapping I × [0,1] ↦ I. Here g(x) is an auxiliary function for which we know the solution g(x) = 0, and p is an embedding parameter. Usually, the function g is chosen in two forms:
g(x) is a linear function, quadratic function, and so on;
Obviously, the first iteration formula is the well-known Newton's iteration formula.
In order to avoid computing derivatives, we replace
\( f'\left( x_n \right) \) and
\( f'' \left( x_n \right) \) by the centered differences
respectively, where \( h = \alpha\, f\left( x_n \right) \) is a step size and α ≠ 0 is a parameter. So we get the following second-order iterative method:
Example:
Suppose that we need to solve the rtanscendent equation
\[
e^{\cos x} -1-x =0 , \qquad x\in [0,1].
\]
Of course, Mathematica can find its root:
FindRoot[Exp[Cos[x]] == 1 + x, {x, 1}]
{x -> 0.884511}
which is an approximation to 0.8845106161658526.
■
Example:
Solve the polynomial equation
\[
x^9 = 1+x \quad\mbox{in the interval} \quad [1,2].
\]
FindRoot[x^9 == 1 + x, {x, 1}]
{x -> 1.08507}
which is an approximation to 1.085070245491451.
■
Chun, C., Ham, Y.M., Some fourth-order modifications of Newton’s method, Applied Mathematics and Computation, 2008, Vol. 197, pp. 654--658.
Feng, X.L., He, Y.N., High order iterative methods without derivatives for solving nonlinear equations, Applied Mathematics and Computation, 2007, Vol. 186, pp. 1617--1623.
He, J.H., A new iterative method for solving algebraic equations, Applied Mathematics and Computation, 2003, Vol. 135, pp. 81--84. https://doi.org/10.1016/S0096-3003(01)00313-7
Ide, N.A.D., Some new iterative algorithms by using homotopy pertubation method for solving nonlinear algebraic equations, Asean Journal of Mathematics and Compute Research, No 2395-4205 (online), Vol. 5, Issue 3.
2015.
Return to Mathematica page
Return to the main page (APMA0330)
Return to the Part 1 (Plotting)
Return to the Part 2 (First Order ODEs)
Return to the Part 3 (Numerical Methods)
Return to the Part 4 (Second and Higher Order ODEs)
Return to the Part 5 (Series and Recurrences)
Return to the Part 6 (Laplace Transform)
Return to the Part 7 (Boundary Value Problems)