Dove's LibraryDove's Library

4.5 - Implicitly Defined Functions

Overview

Most functions so far were written explicitly, like y=x2+1y = x^2 + 1, with yy alone on one side. Many important curves, like circles, come from equations where xx and yy are mixed together, like x2+y2=25x^2 + y^2 = 25. These equations implicitly describe one or more functions. This topic covers how to graph them, how to pull functions out of them, and how xx and yy change together along the curve.

Explicit vs. implicit

  • Explicit: one variable is written as a function of the other, like y=xy = \sqrt{x} or x=y2−4x = y^2 - 4.
  • Implicit: an equation involving two variables where neither one is isolated, like x2+y2=25x^2 + y^2 = 25 or x2+xy+y2=3x^2 + xy + y^2 = 3.
An equation involving two variables can implicitly describe one or more functions:
  • xy=4xy = 4 describes one function, y=4xy = \frac{4}{x}.
  • x2+y2=25x^2 + y^2 = 25 describes two functions of xx: y=25−x2y = \sqrt{25 - x^2} (the top half of a circle) and y=−25−x2y = -\sqrt{25 - x^2} (the bottom half).
The whole graph of x2+y2=25x^2 + y^2 = 25 fails the vertical line test, so it isn't a function of xx. But it's made of pieces that are. Functions that come out of an equation this way are called implicitly defined functions.

Graphing by finding solutions

The graph of an equation in two variables is the set of all ordered pairs (x,y)(x, y) that make the equation true. So you can graph it by finding solutions:
  1. Pick a value for one variable (often xx).
  1. Substitute it and solve for the other variable. There may be zero, one, or several solutions.
  1. Plot every solution you find, then repeat with more values.
  1. Connect the points smoothly, using any symmetry or extreme points you notice.
For example, in x2+y2=25x^2 + y^2 = 25, choosing x=3x = 3 gives y2=16y^2 = 16, so y=4y = 4 or y=−4y = -4: two points, (3,4)(3, 4) and (3,−4)(3, -4). Choosing x=6x = 6 gives y2=−11y^2 = -11, which has no real solution, so the graph has no points with x=6x = 6.

Solving for one variable

Solving the equation for one of the variables defines a function whose graph is part or all of the graph of the equation.
  • Solving x2+y2=25x^2 + y^2 = 25 for yy gives y=±25−x2y = \pm\sqrt{25 - x^2}. Each sign is its own function, and each graph is half of the circle.
  • Solving the same equation for xx gives x=±25−y2x = \pm\sqrt{25 - y^2}: two functions of yy, the right half and the left half.
  • Solving xy=4xy = 4 for yy gives y=4xy = \frac{4}{x}, whose graph is all of the equation's graph.
4.5 - Implicitly Defined Functions
This is also how you graph an implicit equation on a calculator that only accepts y=y = functions: solve for yy and enter each piece, like Y1 =25−x2= \sqrt{25 - x^2} and Y2 =−25−x2= -\sqrt{25 - x^2}. Graphing apps like Desmos can graph the original equation directly.

How xx and yy change together

Along the graph of an implicitly defined function, xx and yy vary together. Take two points on the graph that are close together and compare the change in yy to the change in xx:
If the ratio ΔyΔx\frac{\Delta y}{\Delta x} is...
then...
positive
xx and yy increase together, or decrease together
negative
as one variable increases, the other decreases
This is the sign of a slope, read locally, one small piece of the curve at a time. Different parts of the same curve can behave in opposite ways.

Where the graph is horizontal or vertical

The rate of change can also be zero:
  • If the rate of change of yy with respect to xx is 00, then yy isn't changing while xx changes. The graph is horizontal there, like the top or bottom of a circle.
  • If the rate of change of xx with respect to yy is 00, then xx isn't changing while yy changes. The graph is vertical there, like the leftmost or rightmost point of a circle.

Example 1: The circle

Use the equation x2+y2=25x^2 + y^2 = 25. (a) Make a table of solutions and identify two functions the equation implicitly defines. (b) Near (3,4)(3, 4) and near (3,−4)(3, -4), describe how yy changes as xx increases. (c) Where is the graph horizontal, and where is it vertical?
(a) Solve for yy: y=±25−x2y = \pm\sqrt{25 - x^2}. Some solutions:
xx
−5-5
−4-4
−3-3
00
33
44
55
yy
00
±3\pm 3
±4\pm 4
±5\pm 5
±4\pm 4
±3\pm 3
00
Answer: The equation implicitly defines y=25−x2y = \sqrt{25 - x^2} (the top half) and y=−25−x2y = -\sqrt{25 - x^2} (the bottom half), each on −5≤x≤5-5 \le x \le 5.
(b) Move xx from 33 to 3.13.1 and find yy on each half:
top: y=25−3.12=15.39≈3.923,ΔyΔx≈3.923−40.1=−0.77\text{top: } y = \sqrt{25 - 3.1^2} = \sqrt{15.39} \approx 3.923, \qquad \frac{\Delta y}{\Delta x} \approx \frac{3.923 - 4}{0.1} = -0.77bottom: y=−15.39≈−3.923,ΔyΔx≈−3.923−(−4)0.1=0.77\text{bottom: } y = -\sqrt{15.39} \approx -3.923, \qquad \frac{\Delta y}{\Delta x} \approx \frac{-3.923 - (-4)}{0.1} = 0.77
Answer: Near (3,4)(3, 4) the ratio is negative, so yy decreases as xx increases. Near (3,−4)(3, -4) the ratio is positive, so yy increases as xx increases. Same xx-value, opposite behavior, because the two points are on different implicitly defined functions.
(c) Near the top, (0,5)(0, 5), move xx from 00 to 0.10.1: y=24.99≈4.999y = \sqrt{24.99} \approx 4.999, so ΔyΔx≈4.999−50.1=−0.01\frac{\Delta y}{\Delta x} \approx \frac{4.999 - 5}{0.1} = -0.01. That's already close to 00, and it gets closer as the step gets smaller. Near the right side, (5,0)(5, 0), swap roles and move yy from 00 to 0.10.1: x=24.99≈4.999x = \sqrt{24.99} \approx 4.999, so ΔxΔy≈−0.01\frac{\Delta x}{\Delta y} \approx -0.01, again close to 00. The bottom and the left side work the same way.
Answer: The graph is horizontal at (0,5)(0, 5) and (0,−5)(0, -5), where the rate of change of yy with respect to xx is 00. It's vertical at (5,0)(5, 0) and (−5,0)(-5, 0), where the rate of change of xx with respect to yy is 00.

Example 2: A tilted curve

Consider the equation x2+xy+y2=3x^2 + xy + y^2 = 3. (a) Find all solutions with x=−2,−1,0,1,2x = -2, -1, 0, 1, 2, and sketch the graph. (b) Solve for yy to find the functions this equation implicitly defines. (c) Where is the graph horizontal, and where is it vertical? (d) On the upper function, how does yy change as xx increases from −2-2 to 22?
(a) Substitute each xx-value and solve the quadratic in yy:
  • x=0x = 0: y2=3y^2 = 3, so y=±3≈±1.73y = \pm\sqrt{3} \approx \pm 1.73.
  • x=1x = 1: 1+y+y2=31 + y + y^2 = 3, so y2+y−2=0y^2 + y - 2 = 0, which factors as (y+2)(y−1)=0(y + 2)(y - 1) = 0. So y=1y = 1 or y=−2y = -2.
  • x=−1x = -1: 1−y+y2=31 - y + y^2 = 3, so y2−y−2=0y^2 - y - 2 = 0, which factors as (y−2)(y+1)=0(y - 2)(y + 1) = 0. So y=2y = 2 or y=−1y = -1.
  • x=2x = 2: 4+2y+y2=34 + 2y + y^2 = 3, so y2+2y+1=0y^2 + 2y + 1 = 0, which is (y+1)2=0(y + 1)^2 = 0. Only one solution: y=−1y = -1.
  • x=−2x = -2: 4−2y+y2=34 - 2y + y^2 = 3, so (y−1)2=0(y - 1)^2 = 0. Only one solution: y=1y = 1.
Plot the eight points and connect them smoothly. The graph is an oval tilted along the line y=−xy = -x.
4.5 - Implicitly Defined Functions
(b) Treat the equation as a quadratic in yy: y2+xy+(x2−3)=0y^2 + xy + (x^2 - 3) = 0. The quadratic formula gives
y=−x±x2−4(x2−3)2=−x±12−3x22y = \frac{-x \pm \sqrt{x^2 - 4(x^2 - 3)}}{2} = \frac{-x \pm \sqrt{12 - 3x^2}}{2}
Answer: The equation implicitly defines two functions on −2≤x≤2-2 \le x \le 2: the upper function y=−x+12−3x22y = \frac{-x + \sqrt{12 - 3x^2}}{2} and the lower function y=−x−12−3x22y = \frac{-x - \sqrt{12 - 3x^2}}{2}. Their graphs meet at x=−2x = -2 and x=2x = 2, where the square root is 00.
(c) The square root needs 12−3x2≥012 - 3x^2 \ge 0, so −2≤x≤2-2 \le x \le 2. The graph has no points left of x=−2x = -2 or right of x=2x = 2, and at those two xx-values there's only one yy. So the leftmost and rightmost points, (−2,1)(-2, 1) and (2,−1)(2, -1), are where the graph turns vertical. The equation stays the same if you swap xx and yy, so the same reasoning gives −2≤y≤2-2 \le y \le 2, with the highest point at (−1,2)(-1, 2) and the lowest at (1,−2)(1, -2).
Answer: The graph is vertical at (−2,1)(-2, 1) and (2,−1)(2, -1), where the rate of change of xx with respect to yy is 00. It's horizontal at (−1,2)(-1, 2) and (1,−2)(1, -2), where the rate of change of yy with respect to xx is 00. The short red segments in the graph mark these four spots.
(d) Read the upper function from left to right using the points (−2,1)(-2, 1), (−1,2)(-1, 2), (0,3)(0, \sqrt{3}), (1,1)(1, 1), and (2,−1)(2, -1). From x=−2x = -2 to x=−1x = -1, yy rises from 11 to 22, so ΔyΔx>0\frac{\Delta y}{\Delta x} > 0. From x=−1x = -1 to x=2x = 2, yy falls from 22 to −1-1, so ΔyΔx<0\frac{\Delta y}{\Delta x} < 0.
Answer: On the upper function, xx and yy increase together for −2<x<−1-2 < x < -1. For −1<x<2-1 < x < 2, yy decreases as xx increases. The switch happens at the highest point, (−1,2)(-1, 2), where the graph is horizontal.

Common mistakes

  • Dropping the ±\pm. Solving y2=25−x2y^2 = 25 - x^2 gives two functions. Writing only y=25−x2y = \sqrt{25 - x^2} graphs half the curve.
  • Calling the whole curve a function. The graph of the equation usually isn't a function of xx. The pieces you get by solving are.
  • Mixing up horizontal and vertical. A rate of change of yy with respect to xx of 00 means horizontal. A rate of change of xx with respect to yy of 00 means vertical.
  • Using points that are far apart. The sign of ΔyΔx\frac{\Delta y}{\Delta x} tells you how xx and yy vary together only for points that are close together on the same piece of the graph.
  • Missing solutions. For a chosen xx, an implicit equation can have zero, one, or several yy-values. Find all of them.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.