Skip to main content

How to Graph a Circle in Desmos

Circle equations, sliders and intersections

By JasonPublished 5 min read

A student draws a large circle in wet sand with a stick on a string.

Type a circle's equation, for example (x-2)^2+(y+1)^2=9, into an expression line and Desmos draws it. This circle has center (2,−1) and radius 3.

Try the steps below in our Desmos calculator, then practice with Equation of a Circle topic training. For more calculator shortcuts, see key Desmos features.

Start with standard form

The standard form of a circle is

(x−h)2+(y−k)2=r2

The center is (h,k) and the radius is r. To graph the example above:

  1. Type (x-2)^2+(y+1)^2=9 into an expression line.
  2. After each exponent, use the right arrow key to move out of the exponent before typing the next part.
  3. Look at the circle centered at (2,−1), extending 3 units in every direction from its center.

To read the center, set each parenthesis equal to zero: x−2=0 gives x=2, and y+1=0 gives y=−1. The right side is the radius squared, so r=9=3. If a term is just x2, its center coordinate is 0.

Common mistake

Do not read the signs straight from the parentheses or use 9 as the radius. In (x−2)2+(y+1)2=9, the center is (2,−1) and the radius is 3.

If the circle looks like an oval, the axes are using different scales. Open the wrench menu and choose Zoom Square to give the axes the same scale. The equation has not changed, only the display.

Make a circle with sliders

Sliders let you change the center and radius without rewriting the equation. Start with a fresh expression line:

  1. Type (x-h)^2+(y-k)^2=r^2.
  2. Choose to add sliders for h, k and r when Desmos offers them.
  3. Set h=2, k=−1 and r=3 by entering those values on the slider lines. The circle matches the first example.
  4. Drag h to move the center horizontally, k to move it vertically and r to change the radius. Keep r positive when treating it as a radius.

For a circle with center (−4,2) and radius 5, set h=−4, k=2 and r=5. To write its equation, substitute those values into standard form: (x+4)2+(y−2)2=25. The slider picture helps you see the changes; use the given values and the equation for an exact answer.

Graph a circle in general form

An equation can describe a circle without showing its center and radius directly. Try

x2+y2+6x−4y=12

  1. Type x^2+y^2+6x-4y=12 as it stands. Desmos draws the circle.
  2. Select the circle, then click its gray top and bottom points to label them: (−3,7) and (−3,−3). Zoom out if needed to see both.
  3. Find the midpoint. The x-coordinate is −3, and the average of 7 and −3 is 2, so the center is (−3,2). The points are 10 units apart, so the radius is 5.

You can also find the center exactly by completing the square. Group the x and y terms. Half of 6 squared is 9, and half of −4 squared is 4. Add both to each side:

(x2+6x+9)+(y2−4y+4)=12+9+4 (x+3)2+(y−2)2=25

The center is (−3,2) and the radius is 5, as the graph showed. On SAT circle-equation questions, use the graph to read the center or radius, and use completing the square to rewrite the equation. The SAT circle equations guide explains both forms in more detail.

Draw a half circle

A full circle centered at the origin with radius 3 has equation x2+y2=9. If you solve for y, you get two branches: y=9−x2 and y=−9−x2.

  1. Type y=sqrt(9-x^2) to draw the upper half.
  2. On the next line, type y=-sqrt(9-x^2) to draw the lower half.

The square root symbol gives the nonnegative root, so the first equation has y≥0. It leaves out the points below the x-axis. The negative branch supplies those points, and the two halves share the endpoints (−3,0) and (3,0). For a complete circle, entering the original equation is quicker.

Make an oval in Desmos

An ellipse is an oval described by

x2a2+y2b2=1

For example, type x^2/25+y^2/9=1. This ellipse is centered at the origin, extends 5 units left and right, and extends 3 units up and down. The unequal horizontal and vertical distances make it an oval. When the two distances are equal, the graph is a circle. Ellipses are not on the SAT.

Graph a circle and a line together

A line and a circle can have two intersection points, one point or none. Graph both equations to see which applies. For example:

  1. Type x^2+y^2=25 on one line.
  2. Type y=3 on the next line.
  3. Select a graph and click the gray intersection points. Their coordinates are (−4,3) and (4,3), so there are two intersections.

Change the line to y=5 and it touches the circle at just (0,5). That line is tangent to the circle. Change it to y=6 and there are no intersection points. On an SAT tangent or intersection question, count the points and read the requested coordinate; a picture answers the count, but the question can ask for more than the count.

SAT practice with Desmos

Try these circle-equation questions before opening the solutions. In each one, decide what the question asks for before reading the graph.

Practice question · Equation of a Circle

Show the Detailed Explanation

Type the center (5,3) and the endpoint (5,7) in Desmos. They are 4 units apart vertically, so the radius is 4 and r2=16.

Substitute the center and radius into standard form: (x−5)2+(y−3)2=16, choice B. Graph that equation to see it centered on the first point and passing through the second.

Practice question · Equation of a Circle

Show the Detailed Explanation

Type 3x^2-12x+3y^2+6y=40. Select the circle and click its top and bottom gray points. They share x=2 and have y-coordinates of approximately 3.282 and −5.282. Their midpoint is approximately (2,−1), matching choice B.

To check by hand, divide every term by 3 and complete the square: (x−2)2+(y+1)2=55/3. The center is (2,−1).

Practice question · Equation of a Circle

Show the Detailed Explanation

Type (x-3)^2+(y+1)^2=25, then y=3. Click the intersections: (0,3) and (6,3). The question asks for positive c, so c=6.

Check by substitution: (c−3)2+16=25, so c−3=3 or −3. The two values are 6 and 0; only 6 is positive.

Graphing circles in Desmos

  1. Enter the full equation to graph the circle. In standard form, the center is (h,k) and the radius is r.
  2. For general form, graph it as written and use the midpoint of the top and bottom points, or complete the square.
  3. Graph a line with the circle to count intersections and identify a tangent.

Continue with circle equation practice and the guide to SAT circles.

Tutor? Use Resolve Prep with your students