using Newton's method for three -dimensional system in matlab

Find the Jacobian matrix $J(x, y, z)$ for the functions

$f(x, y, z) = x^2 + y^2 + z^2 − 9 = 0,$

$g(x, y, z) = xyz − 1 = 0,$

$h(x, y, z) = x + y − z^2 = 0.$

Then using Newton’s method for nonlinear systems, starting with different initial guesses, find four solutions of the above nonlinear set of equations with the accuracy of four decimal places. To find the solutions write a Matlab script to do Newton iteration for this as a three-dimensional system.

-

3
What have you tried? I have no interest in this system, so I have no desire to find the Jacobian or solve it. However, I'd be more than happy to direct you along the right path if you enlighten me as to where you are having issues. – Arkamis Oct 22 '12 at 17:09

1 Answer

I think this can answer part 1 of your question: http://www.mathworks.nl/help/symbolic/jacobian.html

Of course it will require the Matlab symbolic toolbox.

-

I guess this is the best solution, strictly speaking, if the user is not at all interesting in knowing how to do the math and is using MATLAB... It's a bit of a shame though if this is the case... – rschwieb Oct 23 '12 at 12:25
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 4, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9162487983703613, "perplexity_flag": "head"}