Tutorials › AP Calculus › Finding Concavity from an Implicit Equation

Higher Derivatives and Motion · Tutorial 231 of 999

Finding Concavity from an Implicit Equation

Find the slope and second derivative on an implicit curve, then use the second derivative’s sign to describe the curve’s local bending.

Intermediate 9 min read

What You'll Learn

  • Find the first derivative from an equation relating x and y
  • Obtain a second-derivative equation by differentiating along the curve
  • Calculate y'' at a specified point using the point and its slope
  • Identify the regularity condition needed to solve locally for y as a function of x
  • Interpret positive and negative second derivatives as local bending
  • Check a second-derivative calculation by substitution

Why Concavity on an Implicit Curve Needs Care

An equation involving \(x\) and \(y\) may describe a curve without giving \(y\) explicitly as a formula in \(x\). Even so, near many points on the curve, it is possible to view \(y\) as a function of \(x\). At such a point, implicit differentiation can give both the slope \(y'\) and the second derivative \(y''\).

The second derivative measures how the slope changes as \(x\) changes. Its sign tells us whether the graph bends upward or downward locally, provided that the curve forms a sufficiently smooth function of \(x\) near the point. The essential steps are to find the first derivative, differentiate again, and only then substitute the coordinates and slope of the specified point.

Definition: Suppose a curve is locally the graph of a twice-differentiable function \(y=y(x)\). The graph is concave up on an interval where \(y''(x)>0\), and concave down on an interval where \(y''(x)<0\). At a specified point, the sign of \(y''\) describes the graph’s local bending there.

Implicit Differentiation Along a Curve

Write the curve as \(F(x,y)=0\), where \(F\) is differentiable. If, near a point on the curve, \(y\) depends on \(x\), differentiating the equation with respect to \(x\) gives

$$ F_x+F_y y'=0. $$

Here \(F_x\) and \(F_y\) denote partial derivatives, and the factor \(y'\) appears because \(y\) changes with \(x\). If \(F_y\ne 0\), this equation can be solved for the slope:

$$ y'=-\frac{F_x}{F_y}. $$

The condition \(F_y\ne 0\) matters: it makes this particular equation solvable for \(y'\). It also ensures, under the usual smoothness assumptions, that the curve can locally be represented as a smooth function \(y(x)\). If \(F_y=0\), division by \(F_y\) is not valid, and this formula cannot be used at that point.

Why the Second-Derivative Formula Works

To find \(y''\), differentiate the first-derivative equation along the curve. For a twice continuously differentiable \(F\), differentiating \(F_x+F_y y'=0\) gives

$$ F_{xx}+F_{xy}y'+(F_{yx}+F_{yy}y')y'+F_y y''=0. $$

The first two terms come from differentiating \(F_x\). For \(F_y y'\), the product rule gives \((F_y)'y'+F_y y''\), and the chain rule gives \((F_y)'=F_{yx}+F_{yy}y'\). Since the mixed partial derivatives agree when they are continuous, \(F_{xy}=F_{yx}\), so the equation becomes

$$ F_{xx}+2F_{xy}y'+F_{yy}(y')^2+F_y y''=0. $$

Solving for \(y''\) is valid when \(F_y\ne 0\). This formula is not a new rule separate from implicit differentiation: it follows by applying the chain rule and product rule to the first-derivative equation.

Theorem: If \(F\) has continuous second partial derivatives near \((x_0,y_0)\), \(F(x_0,y_0)=0\), and \(F_y(x_0,y_0)\ne 0\), then the curve is locally a twice-differentiable function \(y(x)\). At points on that local branch, $$ y''=-\frac{F_{xx}+2F_{xy}y'+F_{yy}(y')^2}{F_y}. $$ The value of \(y'\) in this equation is the slope on the same branch.

A Reliable Calculation Sequence

In practical problems, it is often easiest to differentiate the original equation twice and keep the resulting equation in terms of \(x\), \(y\), \(y'\), and \(y''\). Then find \(y'\) at the point and substitute all known values. This avoids substituting the point too early, before the derivative equations have been obtained.

1
Check the point.
Substitute its coordinates into the original equation to confirm it lies on the curve.
2
Find the slope.
Differentiate implicitly once, then use the point to calculate \(y'\).
3
Differentiate again.
Use the product and chain rules, keeping track of every factor of \(y'\).
4
Evaluate and interpret.
Substitute the point and slope to solve for \(y''\), then state what its sign says locally.

Worked Examples

Worked Example: A Circle at a Point in the First Quadrant

Find \(y''\) and describe the local concavity of \(x^2+y^2=25\) at \((3,4)\).

Step 1: Check the point. Substitution gives \(3^2+4^2=9+16=25\), so \((3,4)\) lies on the circle.

Step 2: Find \(y'\). Differentiate both sides with respect to \(x\):

$$ 2x+2y y'=0. $$

Divide by \(2\), then solve for \(y'\): \(x+y y'=0\), so \(y'=-x/y\). At \((3,4)\), \(y'=-3/4\).

Step 3: Find \(y''\). Differentiate \(x+y y'=0\). The product rule gives

$$ 1+(y')^2+y y''=0. $$

Substitute \(y=4\) and \(y'=-3/4\):

$$ 1+\left(-\frac34\right)^2+4y''=0, \qquad 1+\frac9{16}+4y''=0, \qquad \frac{25}{16}+4y''=0. $$

Thus \(4y''=-25/16\), so \(y''=-25/64\). Check by substitution: \(1+9/16+4(-25/64)=25/16-25/16=0\). The second derivative is negative, so this local branch of the circle bends downward at \((3,4)\).

Worked Example: A Curve with Positive Second Derivative

Find the second derivative and local bending of \(xy+y^2=6\) at \((1,2)\).

Step 1: Check the point. \(1\cdot2+2^2=2+4=6\), so the point satisfies the equation.

Step 2: Find \(y'\). Differentiate \(xy+y^2=6\), using the product rule on \(xy\):

$$ y+x y'+2y y'=0. $$

At \((1,2)\), this becomes \(2+y'+4y'=0\), or \(5y'=-2\). Therefore \(y'=-2/5\).

Step 3: Differentiate again. Differentiating each term of the first-derivative equation gives

$$ y'+(y'+x y'')+2\big((y')^2+y y''\big)=0. $$

Collect like terms to obtain \(2y'+2(y')^2+(x+2y)y''=0\). Substitute \(x=1\), \(y=2\), and \(y'=-2/5\):

$$ 2\left(-\frac25\right)+2\left(-\frac25\right)^2+5y''=0, \qquad -\frac45+\frac8{25}+5y''=0. $$

Since \(-4/5+8/25=-20/25+8/25=-12/25\), we get \(5y''=12/25\), and hence \(y''=12/125\). Check: \(2(-2/5)+2(4/25)+5(12/125)=-20/25+8/25+12/25=0\). The second derivative is positive, so the curve bends upward locally at the point.

Worked Example: A Curve with Negative Second Derivative

Find \(y''\) and describe the local bending of \(x^2+xy+y^2=7\) at \((1,2)\).

Step 1: Check the point. \(1^2+(1)(2)+2^2=1+2+4=7\), as required.

Step 2: Find \(y'\). Differentiate each term:

$$ 2x+y+x y'+2y y'=0. $$

Collect the terms containing \(y'\): \(2x+y+(x+2y)y'=0\). At \((1,2)\), this gives \(4+5y'=0\), so \(y'=-4/5\).

Step 3: Find \(y''\). Differentiate the uncollected equation. The derivative of \(xy'\) is \(y'+xy''\), and that of \(2yy'\) is \(2((y')^2+yy'')\). Thus

$$ 2+y'+y'+xy''+2(y')^2+2yy''=0, $$ $$ 2+2y'+2(y')^2+(x+2y)y''=0. $$

Substituting the point and slope gives

$$ 2+2\left(-\frac45\right)+2\left(\frac{16}{25}\right)+5y''=0, \qquad \frac{42}{25}+5y''=0. $$

Therefore \(y''=-42/125\). Check: \(2-8/5+32/25+5(-42/125)=42/25-42/25=0\). The negative second derivative means the local branch bends downward at \((1,2)\).

How to Interpret the Sign Locally

A positive value of \(y''\) at a point means the slope is increasing as \(x\) passes through that point; a negative value means the slope is decreasing there. In the examples above, the positive value \(12/125\) corresponds to upward bending, while the negative values correspond to downward bending.

To assert concavity on an entire interval, the second derivative must have the corresponding sign throughout that interval. For a smooth implicit curve with \(F_y\ne 0\), the local branch has a continuous second derivative. Therefore, if \(y''\) is strictly positive or strictly negative at a point, it retains that sign on some sufficiently small interval around that point. This justifies describing the bending as local. A zero value alone does not determine concavity; the sign may vary on either side.

A Common Sign Error

A frequent mistake is to rearrange the second-derivative equation with the wrong sign. For the circle, the correct equation was \(1+(y')^2+yy''=0\). A mistaken rearrangement might claim

$$ yy''=1+(y')^2, \qquad y''=\frac{1+(y')^2}{y}. $$

At \((3,4)\), that incorrect calculation gives \(y''=25/64\), the opposite sign from the correct value. The error is that the first two terms must be subtracted when isolating \(yy''\):

$$ yy''=-1-(y')^2, \qquad y''=-\frac{1+(y')^2}{y}. $$

Substituting \(y=4\) and \(y'=-3/4\) gives \(y''=-(25/16)/4=-25/64\). Substitution into the original second-derivative equation confirms the correction: \(1+9/16+4(-25/64)=0\). Keeping the equation intact until the final algebra step helps prevent this sign reversal.

Why This Method Matters

Implicit curves arise naturally when a relationship between two variables is known even though \(y\) has not been isolated. Finding \(y''\) reveals how the local slope changes without first solving the equation explicitly for \(y\), which may be difficult or impossible in a useful form.

The method also reinforces a key idea in higher derivatives: every occurrence of \(y\) changes with \(x\). In a second differentiation, product and chain rules produce terms involving both \(y'\) and \(y''\). A dependable calculation therefore identifies the local branch, finds its slope, differentiates carefully, substitutes all known values, and checks that the resulting values satisfy the derivative equation.

Check Your Understanding

For each question, identify the derivative equation needed before substituting numerical values.

  1. For \(x^2+y^2=13\) at \((2,3)\), find \(y'\) and \(y''\), then state the local bending.
  2. Why must the point be checked in the original implicit equation before calculating derivatives there?
  3. What condition allows the formula \(y'=-F_x/F_y\) to be used at a point?
  4. For \(xy+y^2=6\) at \((1,2)\), verify the second-derivative equation using \(y'=-2/5\) and \(y''=12/125\).
  5. If \(y''\) is positive at one point, what additional idea justifies describing the curve as concave up on a nearby interval?

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