Partial Derivative Calculator
Computes every first and second partial derivative of f(x, y) or f(x, y, z) with steps, then the gradient, directional derivative and tangent plane at a point.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Enter the function
Type f in x and y (or x, y and z), for example x^2 y + sin(x y).
- 2Read the partials
The Partials tab lists the first and second partial derivatives and the Clairaut check.
- 3Show the steps
Choose a variable under Show the steps to see the rules used while the others stay constant.
- 4Evaluate at a point
In At a point enter the coordinates and a direction to get the gradient, directional derivative and tangent plane.
- 5Look at the surface
Open 3D surface and drag to turn it; the red mesh is the tangent plane.
- 6Practise
Practice asks for ∂f/∂x or ∂f/∂y of generated functions and checks equivalent answers.
Informazioni su questo strumento
A partial derivative measures how a function of several variables changes when only one variable moves. This calculator takes any function of up to four variables and returns all first partials and the full table of second partials, including the mixed ones f_xy and f_yx, with a note on whether Clairaut's theorem holds. Step lists for each variable show the rules used while the other variables are held constant. At a chosen point it evaluates the gradient vector and its length, the directional derivative in any direction you give, the tangent plane equation and, where the gradient is zero, the second-derivative test with the discriminant D = f_xx f_yy - f_xy^2 to classify a minimum, maximum or saddle. A rotatable 3D wireframe shows the surface z = f(x, y), the point and the tangent plane, which makes the meaning of each number visible.
Partial derivatives in one sentence
To find ∂f/∂x, pretend every other letter is a number and differentiate as usual. For f = x^2 y + sin(xy), ∂f/∂x = 2xy + y cos(xy), because y is a constant factor in x^2 y and the chain rule gives y as the inner derivative of sin(xy).
Second partials and Clairaut's theorem
Differentiating twice gives f_xx, f_yy and the mixed partials f_xy and f_yx. For functions whose second partials are continuous, the mixed partials are equal. The tool compares them numerically; a mismatch points to a function that is not smooth at some point.
Gradient, direction and tangent plane
The gradient ∇f = (f_x, f_y) points in the direction of fastest increase, and its length is that fastest rate. The directional derivative along a vector u is ∇f · u/|u|, so it is zero along level curves. The tangent plane at (a, b) is z = f(a, b) + f_x(a, b)(x - a) + f_y(a, b)(y - b), drawn as a red mesh on the surface.
Worked example
For f(x, y) = x^2 y + sin(xy) at (1, 2): f_x = 2xy + y cos(xy) = 4 + 2cos 2 ≈ 3.1677 and f_y = x^2 + x cos(xy) = 1 + cos 2 ≈ 0.5839. The gradient length is about 3.2210. In the direction u = (3, 4) the directional derivative is (3.1677·3 + 0.5839·4)/5 ≈ 2.3677.
Limits
The surface view samples a grid and clips very large values, so poles and steep walls look flattened. The second-derivative test is only offered for two variables, and a zero discriminant means the test is inconclusive. Answers are not always in their simplest algebraic form, though they are mathematically equal to the textbook result.
Esempio svolto
f = x^2 y + sin(xy) at (1, 2): f_x ≈ 3.1677, f_y ≈ 0.5839, |∇f| ≈ 3.2210, D_u f ≈ 2.3677 for u = (3, 4).
In breve
- Categoria: Matematica e scienze
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: OpenStax Calculus Volume 3, sections 4.3 to 4.7: partial derivatives, tangent planes, directional derivatives and the second derivative test
Domande frequenti
How do I take a partial derivative by hand?
Hold every variable except one constant and differentiate with the ordinary rules. The step list shows this for the variable you choose.
Why are f_xy and f_yx usually equal?
Clairaut's (Schwarz's) theorem: if the second partials are continuous near the point, the order of differentiation does not matter.
What does the gradient tell me?
Its direction is where the function rises fastest and its length is the rate of that rise. It is perpendicular to the level curve through the point.
How is a saddle point detected?
At a point where the gradient is zero, D = f_xx f_yy - f_xy^2 is computed. D < 0 means a saddle, D > 0 with f_xx > 0 a minimum, and D > 0 with f_xx < 0 a maximum.
Can I use three variables?
Yes. Partials, the gradient and the steps work for x, y and z; the 3D view then shows the surface with z fixed at the chosen value.
How do I rotate the 3D view?
Drag on the picture with a mouse or finger, or press Rotate. Reset angle returns to the starting view.
