Tutorials › Calculus I › Implicit Solution Curves

Slope Fields and Separable Equations · Tutorial 1364 of 1495

Implicit Solution Curves

Learn how an implicit relation describes solution curves and how to verify those curves by implicit differentiation.

Intermediate 9 min read

What You'll Learn

  • Interpret the constant in an implicit relation as labeling a family of curves.
  • Differentiate a relation involving both x and y to recover a differential equation.
  • Identify where the implicit calculation is valid and where division is not allowed.
  • Distinguish solutions omitted by separation from members of the separated family.
  • Check a curve and its slope against the differential equation.

What an Implicit Solution Says

An equation for a solution does not always give \(y\) directly as a formula in \(x\). It may instead relate \(x\) and \(y\). For example, a family of curves can be described by

$$ \ln|y|+y=x^2+C. $$

Here \(C\) is a constant, so different choices of \(C\) describe different curves. The equation specifies which points \((x,y)\) belong to a particular curve without isolating \(y\). Such a relation is called an implicit solution when its differentiable branches satisfy the differential equation under consideration.

Definition: An implicit solution relation is an equation involving \(x\), \(y\), and possibly a constant parameter, whose differentiable graph branches satisfy a specified differential equation wherever the equation and the required derivatives are defined.

The qualification about branches matters. A relation describes a set of points; a solution to an equation \(y'=f(x,y)\) is a differentiable function \(y(x)\) on an interval. To test a branch, regard \(y\) as depending on \(x\), differentiate the relation using the chain rule, and compare the resulting derivative with the differential equation.

From a Separable Equation to an Implicit Family

Consider the differential equation

$$ \frac{dy}{dx}=\frac{2xy}{y+1}. $$

The original equation is defined when \(y\ne-1\), and it also admits the solution \(y=0\). On a solution where \(y\ne0\), separation and integration lead to the implicit relation above. In brief, separating gives \((1/y+1)\,dy=2x\,dx\); integrating gives \(\ln|y|+y=x^2+C\).

This derivation involved dividing by \(y\), so the integrated family describes solutions with \(y\ne0\). It does not describe every solution of the original equation. In particular, \(y(x)=0\) is a solution of the original equation: its derivative is zero, and the right-hand side is \(2x(0)/(0+1)=0\). The original equation excludes \(y=-1\), but it does not exclude \(y=0\).

Important distinction: The implicit family \(\ln|y|+y=x^2+C\) requires \(y\ne0\). The original differential equation requires \(y\ne-1\) and includes \(y=0\) as a solution. The restriction caused by division during separation must not be mistaken for a restriction in the original equation.

Why Implicit Differentiation Recovers the Equation

Suppose a differentiable branch satisfies \(\ln|y|+y=x^2+C\). The logarithm is defined for \(y\ne0\). Differentiating each side with respect to \(x\), and using the chain rule on terms involving \(y\), gives

$$ \frac{1}{y}\frac{dy}{dx}+\frac{dy}{dx}=2x. $$

Factoring out the derivative gives

$$ \left(\frac{1}{y}+1\right)\frac{dy}{dx}=2x. $$

When \(y\ne0\) and \(y\ne-1\), the coefficient of \(dy/dx\) is nonzero, so division is permitted. Since \(\frac{1}{y}+1=\frac{y+1}{y}\), rearranging yields

$$ \frac{dy}{dx} =\frac{2x}{(y+1)/y} =\frac{2xy}{y+1}. $$

This is exactly the original differential equation. The argument explains why each differentiable branch of the implicit family, wherever \(y\ne0,-1\), satisfies the equation. The condition \(y\ne-1\) is needed both because the original equation is undefined there and because the coefficient being divided by would be zero.

Derivation: Differentiating an implicit relation produces an equation for the slope of its graph. If the coefficient of \(dy/dx\) is nonzero, solve for the slope and compare it with the differential equation. This verifies the relation on the stated domain.

Worked Examples

Worked Example: Recover the Differential Equation

Suppose a family of differentiable curves is given by \(\ln|y|+y=x^2+C\). Find the differential equation satisfied by its branches and state the restrictions.

First, \(\ln|y|\) requires \(y\ne0\). Differentiate the relation with respect to \(x\), treating \(C\) as constant:

$$ \frac{1}{y}\frac{dy}{dx}+\frac{dy}{dx}=2x. $$

Factor the derivative:

$$ \left(\frac{1+y}{y}\right)\frac{dy}{dx}=2x. $$

For \(y\ne-1\), divide by \((1+y)/y\):

$$ \frac{dy}{dx} =2x\frac{y}{1+y} =\frac{2xy}{y+1}. $$

Thus the branches satisfy \(dy/dx=2xy/(y+1)\) where \(y\ne0,-1\). The calculation is checked by substituting the result into the differentiated relation:

$$ \left(\frac{1}{y}+1\right)\frac{2xy}{y+1} =\frac{y+1}{y}\frac{2xy}{y+1} =2x. $$

The relation excludes \(y=0\) because of the logarithm. The differential equation itself excludes \(y=-1\); these are distinct restrictions.

Worked Example: Use an Initial Point to Select a Curve

Find the constant \(C\) for the implicit-family member passing through \((0,2)\), then calculate its slope at that point.

Substitute \(x=0\) and \(y=2\) into the relation:

$$ \ln|2|+2=0^2+C, \qquad \ln 2+2=C. $$

The selected curve is therefore

$$ \ln|y|+y=x^2+\ln 2+2. $$

Implicit differentiation gives \((1/y+1)\,dy/dx=2x\). At \((0,2)\), the coefficient is \(1/2+1=3/2\), and the right-hand side is \(2(0)=0\). Therefore

$$ \frac{3}{2}\frac{dy}{dx}=0, \qquad \frac{dy}{dx}=0. $$

Check against the differential equation: \(2xy/(y+1)=2(0)(2)/(2+1)=0\), which agrees with the calculated slope. The point also satisfies the selected relation because its left side is \(\ln 2+2\), equal to its right side at \(x=0\).

Worked Example: Check a Negative-\(y\) Point

Select a member of the family passing through \((1,-2)\), and verify the slope there. This example also checks how the absolute value in the logarithm is used.

At the point, \(\ln|-2|=\ln 2\). Substitution into the relation gives

$$ \ln 2-2=1^2+C, \qquad C=\ln 2-3. $$

The corresponding relation is \(\ln|y|+y=x^2+\ln 2-3\). Differentiating it gives \((1/y+1)\,dy/dx=2x\). At \(x=1,\ y=-2\), the coefficient on the left is \(1/(-2)+1=1/2\), so

$$ \frac{1}{2}\frac{dy}{dx}=2, \qquad \frac{dy}{dx}=4. $$

Check using the differential equation: \(2xy/(y+1)=2(1)(-2)/(-2+1)=(-4)/(-1)=4\). The relation is also satisfied at the point: its left side is \(\ln 2-2\), and its right side is \(1+\ln 2-3=\ln 2-2\). The negative value of \(y\) causes no problem because \(|y|=2>0\).

What the Constant and the Relation Tell You

For a fixed value of \(C\), the relation selects one implicit curve or portions of a curve. Changing \(C\) changes the level of the relation and generally selects a different member of the family. When an initial point is supplied, substituting that point determines the constant for any member of this family that passes through it.

The relation need not describe a single graph over every possible \(x\)-value. It may have branches, and a branch only counts as a solution on an interval where it is differentiable and where the differential equation is defined. In this example the logarithm also requires \(y\ne0\), while the original equation has a denominator requiring \(y\ne-1\). For verifying a branch of the separated family, both restrictions apply.

Implicit form is useful because it can state a solution family exactly even when isolating \(y\) is inconvenient. To verify the family, it is enough to differentiate its relation and check that the resulting slope agrees with the differential equation wherever the calculation is valid. The relation itself is not a license to divide at a value where the divisor is zero.

A Common Differentiation Mistake

A frequent error is to differentiate \(\ln|y|\) as though \(y\) were the independent variable, forgetting that \(y\) depends on \(x\). The incorrect calculation would be

$$ \frac{d}{dx}\ln|y| \ \text{incorrectly written as}\ \frac{1}{y}, \qquad \frac{1}{y}+\frac{dy}{dx}=2x. $$

This loses the chain-rule factor \(dy/dx\). Since \(y=y(x)\), the correct derivative is \(\frac{1}{y}\frac{dy}{dx}\). Thus the correct line is

$$ \frac{1}{y}\frac{dy}{dx}+\frac{dy}{dx}=2x. $$

Factoring and solving then gives \(\frac{dy}{dx}=2xy/(y+1)\), provided \(y\ne0,-1\). A useful check is to differentiate every term involving \(y\) with the chain rule before attempting to isolate the derivative.

Summary

An implicit solution family relates \(x\) and \(y\) without necessarily expressing \(y\) alone. For the family \(\ln|y|+y=x^2+C\), implicit differentiation yields \((1/y+1)\,dy/dx=2x\), and hence the differential equation \(dy/dx=2xy/(y+1)\) where \(y\ne0,-1\). The logarithm restriction \(y\ne0\) belongs to the separated family; it does not remove the solution \(y=0\) from the original differential equation.

Check Your Understanding

Use implicit differentiation and the stated restrictions to answer these questions.

  1. Differentiate \(\ln|y|+y=x^2+C\) with respect to \(x\), showing the chain-rule factor.
  2. Why is \(y=0\) excluded from the implicit family, and is it excluded from the original differential equation \(dy/dx=2xy/(y+1)\)?
  3. For the member passing through \((0,3)\), find \(C\) and the slope at that point.
  4. For the member passing through \((1,-2)\), verify that the slope is \(4\).
  5. Which values of \(y\) must be excluded when using this implicit family to verify a branch of the original equation, and why?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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