AI engineering glossary · Calculus optimisation

What is first-order condition?

First-order condition: The necessary requirement that the gradient of a differentiable function equals zero at an unconstrained optimum. It identifies candidate points but cannot by itself say whether each is a minimum, maximum or saddle.

Level: intermediateTopic: Calculus optimisation

First-order condition: an example

For f(x, y) = x^2 + y^2 - 4x, setting the gradient (2x - 4, 2y) to zero gives the candidate point (2, 0).

Related terms

More Calculus optimisation terms

Where you learn it

First-order condition is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.