Example Data Table
| Example |
First equation |
Second equation |
Starting x |
Starting y |
Expected result |
| Circle and line |
x^2 + y^2 - 25 |
x - y - 1 |
4 |
3 |
Near x = 4, y = 3 |
| Curve intersection |
x^2 + y - 10 |
x - y^2 + 2 |
3 |
1 |
Depends on the starting guess |
| Trigonometric system |
sin(x) + y - 1 |
x^2 + y^2 - 4 |
1 |
1 |
Numerical root near the guess |
Formula Used
The calculator solves two equations in zero form:
f(x,y) = 0 and g(x,y) = 0.
Newton correction uses the Jacobian matrix:
J = [[fx, fy], [gx, gy]].
The update is found from J · [dx, dy] = -[f, g].
Then xnew = x + damping · dx.
Also, ynew = y + damping · dy.
Partial derivatives are estimated numerically.
For example, fx ≈ [f(x+h,y)-f(x-h,y)] / 2h.
How to Use This Calculator
- Enter two nonlinear equations.
- Use zero form, or use one equals sign.
- Choose a starting x and starting y value.
- Set tolerance, iteration limit, and damping.
- Press Calculate to view the answer and work steps.
- Use CSV or PDF export for records.
What This Calculator Does
A nonlinear system has two or more equations with curved behavior.
The unknowns may be squared, multiplied, placed inside roots, or used inside trigonometric functions.
This calculator focuses on two unknowns, x and y.
It solves f(x,y)=0 and g(x,y)=0 by using a numerical Newton method.
It also shows each iteration, so the path is clear.
Why Showing Work Matters
Nonlinear systems can have more than one solution.
They can also fail when the starting guess is poor.
A visible work table helps you inspect the process.
You can see the current guess, function values, Jacobian terms, correction size, determinant, and error.
These details make the answer easier to trust.
They also help students compare manual steps with computed work.
Numerical Method
The solver estimates the Jacobian matrix with central finite differences.
This avoids symbolic differentiation.
It then solves a small linear system for the Newton correction.
Damping can reduce the step size.
This is helpful when equations are steep or unstable.
The method stops when the correction and residual are below the selected tolerance, or when the iteration limit is reached.
Best Input Practice
Use explicit multiplication, such as 2*x instead of 2x.
Enter equations in zero form.
For example, write x^2+y^2-25 instead of x^2+y^2=25.
Choose a starting point near the expected intersection.
Try several guesses when the system has multiple roots.
Small changes in the initial guess can lead to different answers.
Reading the Result
The result gives the estimated x and y values.
It also reports the residual size.
A smaller residual means the equations are closer to zero at the solution.
The work table shows whether the process converged smoothly.
Large jumps, tiny determinants, or growing residuals suggest a weak starting point.
In that case, adjust the guess, increase damping, or rewrite the equations.
Exporting Work
CSV export is useful for spreadsheet checks.
PDF export is useful for reports.
Both exports include inputs, final values, and iteration notes.
Keep the exported work with homework, tutoring notes, or engineering estimates.
Always confirm important results with context and judgment.
For classroom use, record the chosen tolerance and starting point.
For applied work, compare units and limits before using the result in final decisions later.
FAQs
What is a nonlinear system?
A nonlinear system contains equations where variables are not only in simple linear form. Powers, products, roots, logarithms, or trigonometric functions can make a system nonlinear.
Does this calculator show work?
Yes. It lists each Newton iteration. The table includes x, y, function values, derivative estimates, determinant, correction values, error, and residual size.
Why does the starting point matter?
Nonlinear systems may have several roots. Newton’s method follows the local shape near your starting guess. A different guess can lead to another root.
What does residual mean?
The residual measures how close both equations are to zero at the current point. A small residual usually means the computed solution is accurate.
What if the calculator does not converge?
Try another starting point. You can also reduce damping, increase maximum iterations, or rewrite the equations in a smoother zero form.
Can I enter equations with equals signs?
Yes. The calculator accepts one equals sign. It converts left equals right into left minus right equals zero before solving.
Which functions are supported?
Common functions are supported, including sin, cos, tan, sqrt, abs, log, log10, exp, pow, round, floor, ceil, deg2rad, and rad2deg.
Are CSV and PDF exports included?
Yes. CSV is useful for spreadsheets. PDF is useful for printable reports. Both include inputs, final results, and iteration work.