Let $f(x), g(x) : \mathbb{R} \to \mathbb{R}$ be smooth functions and consider the problem of finding the solution to $$ f(x) + g(x) = b.$$
Assume one is given an approximate solution value $x^{n-1}$, derive the formula for the next approximation, $x^n,$ that is obtained by using one step of Newton's method with starting iterate $x^{n-1}$ applied to the problem $$f(x) + g(x^{n-1}) = b.$$
I know Newton's method, $$x^{n} = x^{n-1} - \frac{f(x^{n-1})}{f'(x^{n-1})},$$
but the wording of this problem has me thrown. Specifically how to use the last statement. My guess was to write $f(x) = b - g(x^{n-1}),$ and then the next iterate would be given by $$ x^{n} = x^{n-1} - \frac{b - g(x^{n-1})}{g'(x^{n-1})}. $$
Does anyone know if this is what the question is asking, or have a better grip on what they're intending on asking? Thanks in advance.
I think the problem is asking you to write $F(x)=f(x)+g(x^{n-1})-b$, and find the zero of $F(x)$. So
$$x^n=x^{n-1}-\frac{f(x^{n-1})+g(x^{n-1})-b}{f'(x^{n-1})}.$$