Tutorials › AP Calculus › Testing Whether a Relation Defines y Locally

Implicit Differentiation · Tutorial 195 of 999

Testing Whether a Relation Defines y Locally

Use the implicit function theorem to determine when an equation defines one differentiable y-value near a point, and understand why the nonzero y-derivative matters.

Intermediate 10 min read

What You'll Learn

  • State the hypotheses needed to guarantee a unique local function y = g(x).
  • Explain how a nonzero partial derivative with respect to y ensures local uniqueness.
  • Derive the derivative formula for a branch guaranteed by the theorem.
  • Apply the theorem at specific points and verify the resulting slopes.
  • Recognize that a zero y-derivative makes the test inconclusive.
  • Identify why the theorem cannot be applied when the defining function is not continuously differentiable.

Why Check Whether an Equation Defines One Local Branch?

An equation \(F(x,y)=0\) describes a set of points in the plane. Near a particular point on that set, we may want to treat \(y\) as a function of \(x\). That requires more than being able to differentiate the equation formally: there must actually be one suitable \(y\)-value for each nearby \(x\), and those values must vary differentiably.

The key test is the partial derivative with respect to \(y\). When it is nonzero, and \(F\) has continuous first partial derivatives near the point, the implicit function theorem guarantees a unique differentiable local branch. Both parts of this condition matter.

Theorem: Suppose \(F(x,y)\) has continuous first partial derivatives on an open region containing \((a,b)\). If \(F(a,b)=0\) and \(F_y(a,b)\ne 0\), then there are intervals around \(a\) and \(b\) in which the solutions of \(F(x,y)=0\) form the graph of a unique continuously differentiable function \(y=g(x)\). This function satisfies \(g(a)=b\) and \(F(x,g(x))=0\). Its derivative is \(\displaystyle g'(x)=-\frac{F_x(x,g(x))}{F_y(x,g(x))}\) throughout a sufficiently small interval around \(a\).

Here, \(F_x\) and \(F_y\) are the partial derivatives of \(F\) with respect to its first and second variables. A function with continuous first partial derivatives is often called \(C^1\). The theorem requires \(F\) to be \(C^1\) on an open region containing the point, not just to have a nonzero value of \(F_y\) at the point.

What “Locally” and “Uniquely” Mean

The conclusion concerns a small neighborhood of \((a,b)\), not necessarily the entire curve. There is an interval of \(x\)-values around \(a\) and a range of \(y\)-values around \(b\) such that each \(x\) in that interval corresponds to exactly one solution \(y\) in that range. Those solutions make up \(y=g(x)\).

This local qualification matters. A curve could have several \(y\)-values for the same \(x\) far from \((a,b)\) without affecting the theorem’s conclusion near \((a,b)\). The theorem also does not claim that every equation defines a function everywhere, or that the equation can always be rearranged into a simple explicit formula.

Why a Nonzero \(F_y\) Matters

If \(F_y(a,b)\ne 0\), continuity of \(F_y\) means it keeps the same sign in a sufficiently small rectangle around \((a,b)\). For each fixed \(x\) in that rectangle, \(F(x,y)\) therefore changes strictly in one direction as \(y\) changes. It cannot take the value zero at two different \(y\)-values there. This is the source of local uniqueness.

Existence is also needed: for nearby \(x\)-values, the function must actually reach zero between two nearby \(y\)-values. The continuity of \(F\), together with \(F(a,b)=0\) and the consistent direction of change in \(y\), ensures that the values at suitable upper and lower \(y\)-boundaries have opposite signs. The intermediate value theorem then supplies a root between them.

Takeaway: A nonzero \(F_y(a,b)\) is a sufficient test for one differentiable local branch only when \(F\) has continuous first partial derivatives on an open region containing \((a,b)\), and \(F(a,b)=0\).

Deriving the Branch’s Derivative

Once the theorem guarantees that \(y=g(x)\), the equation \(F(x,g(x))=0\) holds for all \(x\) in a small interval. Differentiate this identity using the chain rule. The first input of \(F\) changes with derivative \(1\), while the second input \(g(x)\) changes with derivative \(g'(x)\):

$$ \frac{d}{dx}F(x,g(x)) = F_x(x,g(x))+F_y(x,g(x))g'(x) = 0. $$

Because \(F_y\) remains nonzero in a sufficiently small neighborhood, we can solve for \(g'(x)\):

$$ g'(x)=-\frac{F_x(x,g(x))}{F_y(x,g(x))}. $$

This derivation explains the formula, but it depends on the theorem: we first need an actual differentiable function \(g\) to differentiate. The algebraic formula alone does not establish that the equation defines such a function.

Worked Examples

Worked Example: A Circle Near a Point

Consider \(F(x,y)=x^2+y^2-25\) near \((3,4)\). First check that the point lies on the relation:

$$ F(3,4)=3^2+4^2-25=9+16-25=0. $$

Compute the partial derivative with respect to \(y\):

$$ F_y(x,y)=2y, \qquad F_y(3,4)=2(4)=8\ne 0. $$

The function \(F\) is a polynomial, so its first partial derivatives are continuous. The theorem applies: near \(x=3\) and \(y=4\), the relation defines one continuously differentiable branch \(y=g(x)\).

The derivative of the branch at \(x=3\) is found from \(F_x=2x\):

$$ g'(3) = -\frac{F_x(3,4)}{F_y(3,4)} = -\frac{2(3)}{2(4)} = -\frac{6}{8} = -\frac{3}{4}. $$

As a check, near this point the circle’s upper branch is \(g(x)=\sqrt{25-x^2}\). It gives \(g(3)=\sqrt{25-9}=4\). Differentiating that expression gives \(g'(x)=-x/\sqrt{25-x^2}\), so \(g'(3)=-3/4\), as predicted by the theorem.

Worked Example: A Relation That Is Not Solved Explicitly

Let \(F(x,y)=x+y+y^3\), and test the point \((0,0)\). The relation holds there:

$$ F(0,0)=0+0+0^3=0. $$

The partial derivatives are \(F_x=1\) and \(F_y=1+3y^2\). Thus \(F_y(0,0)=1\ne0\). Since these partial derivatives are continuous, there is a unique differentiable local branch through the point.

Its slope at \(x=0\) is

$$ g'(0) = -\frac{F_x(0,0)}{F_y(0,0)} = -\frac{1}{1} = -1. $$

To check the slope using the differentiated relation, substitute \(x=0\), \(g(0)=0\), and \(g'(0)=-1\) into the chain-rule identity:

$$ F_x(0,0)+F_y(0,0)g'(0) = 1+1(-1) = 0. $$

The equation need not be rearranged into an explicit expression for \(y\) for the local existence and slope conclusions to hold.

Worked Example: A Zero Partial Derivative Does Not Decide the Question

Consider \(F(x,y)=y^3-x^3\) at \((0,0)\). The relation is satisfied, but

$$ F_y(x,y)=3y^2, \qquad F_y(0,0)=0. $$

The theorem’s nonzero-derivative condition does not apply. Nevertheless, this particular relation does define one differentiable function: since the real cube function is one-to-one, \(y^3=x^3\) implies \(y=x\). Hence \(g(x)=x\), \(g(0)=0\), and \(g'(0)=1\).

Check the slope directly in the chain-rule identity. Here \(F_x=-3x^2\) and \(F_y=3y^2\), so at \((0,0)\) with \(g'(0)=1\):

$$ F_x(0,0)+F_y(0,0)g'(0) = 0+0(1) = 0. $$

This example shows that a nonzero \(F_y\) is sufficient for the theorem’s conclusion, not necessary. If \(F_y=0\), the test is inconclusive: other reasoning is needed to decide what the relation does.

A Justification of Local Existence, Uniqueness, and Differentiability

The main ideas behind the theorem can be made precise in the two-variable case. Since \(F_y(a,b)\ne0\) and \(F_y\) is continuous, choose a small rectangle around \((a,b)\) where \(F_y\) keeps its sign. At \(x=a\), the mean value theorem in the \(y\)-direction then shows that \(F(a,y)\) has opposite signs at \(y=b-s\) and \(y=b+s\), for a sufficiently small positive \(s\). By continuity, those opposite signs persist when \(x\) is sufficiently close to \(a\).

1
Existence for each nearby \(x\).
For each such \(x\), the values \(F(x,b-s)\) and \(F(x,b+s)\) have opposite signs. The intermediate value theorem gives at least one \(y\) between them with \(F(x,y)=0\).
2
Uniqueness in the rectangle.
For fixed \(x\), \(F_y\) has one strict sign throughout the rectangle. The mean value theorem implies that \(F(x,y)\) is strictly monotonic in \(y\), so it cannot equal zero at two distinct \(y\)-values there.
3
Continuity of the root.
At a root \(y=g(x)\), choose nearby \(y\)-values just below and above the root. Strict monotonicity gives opposite signs of \(F\) there. Continuity of \(F\) preserves those signs for nearby \(x\), trapping the unique root between the chosen \(y\)-values. Thus \(g(x)\) varies continuously.
4
Derivative of the root.
Compare the equations \(F(x+h,g(x+h))=0\) and \(F(x,g(x))=0\). Apply the one-variable mean value theorem first in the \(x\)-direction and then in the \(y\)-direction. After dividing by \(h\), the resulting difference quotient for \(g\) is a negative ratio of nearby values of \(F_x\) and \(F_y\). As \(h\) approaches zero, continuity of \(g,F_x,F_y\), and the fact that \(F_y\ne0\), give \(g'(x)=-F_x(x,g(x))/F_y(x,g(x))\). This derivative is continuous because the partial derivatives and \(g\) are continuous and the denominator stays nonzero.

These steps account for why the theorem provides a unique \(C^1\) branch, rather than merely a formal slope calculation. The nonzero partial derivative controls how the equation changes in the \(y\)-direction; the continuity assumptions ensure that this control persists near the point.

Common Pitfall: Checking \(F_y\) but Ignoring \(C^1\)

A nonzero value of \(F_y\) at one point does not by itself guarantee a continuous branch. For a concrete example, define \(q(0)=0\) and \(q(x)=1\) for \(x\ne0\), and set \(F(x,y)=y+q(x)\). At \((0,0)\), \(F(0,0)=0\), and the partial derivative with respect to \(y\) is \(F_y=1\). But \(F\) is not continuous near \((0,0)\), so the theorem’s hypotheses are not satisfied.

The equation forces \(y=0\) when \(x=0\), but \(y=-1\) for every \(x\ne0\). Those values cannot be part of a continuous function through \((0,0)\). Thus it would be incorrect to conclude that a differentiable local branch exists just from \(F_y(0,0)\ne0\). Always check all the hypotheses, including continuous first partial derivatives on an open region around the point.

Why This Test Is Useful

Implicit differentiation gives information about how a branch would slope if it exists. The implicit function theorem connects that calculation to the geometry of the relation: it tells us when there really is one smooth local graph whose derivative the formula describes. This is especially useful when solving explicitly for \(y\) would be difficult or would obscure which branch passes through the point.

When applying the test, check the conditions in order: verify that the point satisfies the equation; verify that \(F\) is \(C^1\) on an open region containing it; then evaluate \(F_y\) at the point. If all conditions hold and that value is nonzero, a unique differentiable local branch exists. If \(F_y=0\), do not infer either that a branch exists or that one fails to exist—the test simply does not settle the question.

Check Your Understanding

Use the hypotheses of the implicit function theorem carefully when answering.

  1. For \(F(x,y)=x^2+y^2-10\) at \((1,3)\), verify the point and determine whether the theorem guarantees a unique differentiable local branch.
  2. State the derivative formula for a branch \(y=g(x)\) defined by \(F(x,g(x))=0\), and identify the condition that allows division by \(F_y\).
  3. Why does a nonzero \(F_y\) help establish uniqueness of the nearby \(y\)-value for each \(x\)?
  4. If \(F_y(a,b)=0\), what can and cannot be concluded from this theorem?
  5. In the discontinuous example \(F(x,y)=y+q(x)\), which theorem hypothesis fails, and why can no continuous branch pass through \((0,0)\)?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon