Trace characteristics from custom initial data. Compute evolving solutions with flexible coefficients and source terms. Inspect curves, export tables, and understand PDE transport behavior.
Enter expressions with variables x, y, u, r, and s. Allowed functions include sin, cos, tan, exp, log, sqrt, abs, pow, min, and max.
Example based on the default setup: a = 1, b = 2, c = 0, x₀(r) = r, y₀(r) = 0, u₀(r) = sin(r).
| r | s | x = r + s | y = 2s | u = sin(r) | Interpretation |
|---|---|---|---|---|---|
| -1.0000 | 1.0000 | 0.0000 | 2.0000 | -0.8415 | Characteristic starting left of the origin. |
| 0.0000 | 1.0000 | 1.0000 | 2.0000 | 0.0000 | This path lands exactly on the sample target. |
| 1.0000 | 1.0000 | 2.0000 | 2.0000 | 0.8415 | Characteristic starting right of the origin. |
| 0.5000 | 0.5000 | 1.0000 | 1.0000 | 0.4794 | Intermediate point before reaching larger y values. |
The calculator handles a first order PDE written as:
a(x, y, u)ux + b(x, y, u)uy = c(x, y, u)
It then traces the characteristic system:
dx/ds = a(x, y, u), dy/ds = b(x, y, u), du/ds = c(x, y, u)
Initial data is supplied through:
x(0) = x₀(r), y(0) = y₀(r), u(0) = u₀(r)
The page numerically advances each characteristic using Euler or fourth order Runge Kutta. It estimates the requested solution by selecting the traced point nearest to the target coordinate.
It supports first order equations written in characteristic form with two independent variables and one dependent variable. The coefficients may depend on x, y, and u.
Not always. The page computes a numerical estimate from traced characteristics. Accuracy improves when the grid of characteristics is dense and the step size is small.
The parameter r labels starting points on the initial curve. The variable s is the marching parameter used to advance each characteristic path through the domain.
RK4 is usually the better default because it is more accurate for smooth problems. Euler is useful for fast testing, but it may need much smaller steps.
The tool traces discrete points rather than a continuous surface. If no traced point lands on the target, it returns the nearest one and reports the distance.
Reduce the step size, increase the number of characteristics, and extend the marching range when needed. These changes improve resolution around the target point.
Crossing characteristics can signal loss of a single valued smooth solution. The calculator still traces paths, but interpretation becomes problem dependent and should be checked carefully.
Yes. You may let c depend on x, y, and u. The same is true for a and b, which makes the traced system fully state dependent.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.