Skip to content
tryhardprep
All lessons

Solving by graphing in Desmos

8 minute read · 9 sections

Read first: Math: how the section works, Desmos basics for the test

0 of 9 sectionsSections

When to open the graph

Graphing is rarely faster than algebra. Where it does win, it's mostly on hard nonlinear equations, hard nonlinear A rule that takes in one number and gives back one number, like f(x) = 5x - 7.Read the lesson questions, and systems of two linear equations. Typing an equation takes about ten seconds before Desmos shows you anything, so graph when the hand work would take longer than that, or when it's algebra you tend to slip on. If you keep dropping minus signs when you clear fractions, those ten seconds of typing will save you points.

Leave the graph closed when:

  • One or two steps finish it by hand, like 4x−7=294x-7=29, or the equation is already factored, like (x−2)(x+9)=0(x-2)(x+9)=0.
  • You don't have an equation yet. Desmos can't read a word problem, so write the equation first. Often the rest is one line.
  • The question asks what a number means in a story, or which equation fits the story.
  • The choices have a letter other than xx with no value given, like 3k+13k+1.
  • It's a figure, a How likely something is, written as a number from 0 to 1, like 1/2 for heads on a coin flip.Read the lesson table or a printed graph. For plain arithmetic, type it on a row and skip the graph.

Solving one equation

Here's an equation with two fractions to clear.

3x−14=x+26+1 \frac{3x-1}{4}=\frac{x+2}{6}+1

What value of xx is the solution to the given equation?

  • A. 87 \frac{8}{7}
  • B. 2514 \frac{25}{14}
  • C. 197 \frac{19}{7}
  • D. 177 \frac{17}{7}

Type it as printed

  1. Read the last line. It asks for xx, so write "x" on your scratch paper.
  2. Type (3x-1)/4 and press the right arrow. After a /, everything you type stays in the bottom of the fraction until you do.
  3. Type =(x+2)/6, press the right arrow again, then type +1.
  4. Desmos draws a vertical line at the solution. Click it, then click the gray dot where it meets the xx-axis. Its first number is a little over 2.7.
  5. Type a choice on a new row, such as 19/7. It prints a value starting 2.714, the only choice that matches the dot, so the answer is C.

If you don't see the line, zoom out. Find the zoom controls once on the practice site.

By hand, you'd multiply every term by 12. Forget to multiply the 1, and you get A. Multiply only the 3x3x by 3, and you get D. When you type the equation as printed, Desmos does that step for you.

You can also put each side on its own row: y=(3x-1)/4 on one, and y=(x+2)/6, right arrow, +1 on the next. The solution is the xx-coordinate where the graphs cross.

Trap: Reading the wrong coordinate

Choice B, 2514 \frac{25}{14} , is about 1.79. That's the second number at the crossing, the value both sides equal there.

What to do: Look at what you wrote on scratch paper. The question asked for x, so read the first number.

Gray dots show rounded decimals and have no fraction button. On a A question where you type your own answer instead of picking one of four.Read the lesson, a long decimal has to fill all five characters, like 2.714 for 197 \frac{19}{7} . If the dot shows fewer digits, finish by hand. Grid-in entry has the rules.

A circle's equation goes in as printed too, with no completing the square. The circles lesson shows how to check its center.

Worked example

0.5(4x+59.2)−0.2(x+3)=1.4(x+24)0.5(4x+59.2)-0.2(x+3)=1.4(x+24)

What value of xx is the solution to the given equation?

  1. A

    49.749.7

  2. B

    17.517.5

  3. C

    11.511.5

  4. D

    8.58.5

Show the answer
  • A

    49.749.7

    This is the common value of both sides when x=11.5x=11.5. It gives the The number a function gives back, like the 13 when f(4) = 13.Read the lesson at the intersection, but the question asks for the value of xx.

  • B

    17.517.5

    This results from multiplying only the xx by 0.20.2 and subtracting the 33 unchanged, so −0.2(x+3)-0.2(x+3) becomes −0.2x−3-0.2x-3. The left side is then 1.8x+26.61.8x+26.6, and 0.4x=70.4x=7 gives x=17.5x=17.5. The −0.2-0.2 multiplies the 33 too, giving −0.6-0.6.

  • C

    11.511.5

    Correct answer

    Distributing gives 1.8x+29=1.4x+33.61.8x+29=1.4x+33.6. Subtracting 1.4x1.4x and 2929 from both sides gives 0.4x=4.60.4x=4.6, so x=11.5x=11.5.

  • D

    8.58.5

    This results from distributing −0.2-0.2 to xx but treating −0.2(3)-0.2(3) as +0.6+0.6. The A number that doesn’t change, like the 7 in 5x + 7, or a letter such as p that stands for one fixed value.Read the lesson term is −0.6-0.6, which makes the left side 1.8x+291.8x+29.

Solution

Distribute each The number multiplying a letter, like the 5 in 5x.Read the lesson:

0.5(4x+59.2)−0.2(x+3)=1.4(x+24)0.5(4x+59.2)-0.2(x+3)=1.4(x+24)

2x+29.6−0.2x−0.6=1.4x+33.62x+29.6-0.2x-0.6=1.4x+33.6. Combine Parts of an expression with the same letter raised to the same power, like 5x and 2x, which you can add together.Read the lesson:

1.8x+29=1.4x+33.61.8x+29=1.4x+33.6. Subtract 1.4x1.4x from both sides and subtract 2929 from both sides:

0.4x=4.60.4x=4.6. Divide both sides by 0.40.4:

x=11.5x=11.5

Two equations at once

For a Two or more equations that all have to be true at the same time.Read the lesson, type each equation on its own row and click where the graphs cross, even for a line and a The U-shaped curve a quadratic draws, opening either up or down.Read the lesson. Type y=x^2+2x-8 and y=2x+1, then click either graph. Gray dots appear at the two crossings, (−3,−5)(-3,-5) and (3,7)(3,7). If the question asks for yy in the solution where xx is positive, the answer is 7.

Desmos needs xx and yy. If a system uses rr and ss, type xx for every rr and yy for every ss, and write "x is r, y is s" on scratch paper so you read the right coordinate. The systems lesson has more on two lines.

The lowest or highest point

What is the minimum value of f(x)=x2+4x−5f(x)=x^2+4x-5?

Type y=x^2+4x-5 and click the curve. Gray dots appear at the The point where a parabola turns, which is its lowest point if it opens up and its highest if it opens down.Read the lesson, (−2,−9)(-2,-9), where it crosses the xx-axis, (−5,0)(-5,0) and (1,0)(1,0), and at the The output when the input is 0, which is where a graph crosses the vertical axis.Read the lesson, (0,−5)(0,-5). The minimum value is the yy-coordinate of the vertex, −9-9.

Trap: The x-coordinate of the vertex

A choice of −2-2 comes from the same dot. It's where the minimum happens, and the question asked for the minimum itself.

What to do: “Minimum value” or “maximum value” asks for y. “For what value of x” asks for x.

Which expression is equivalent

Which Numbers and letters combined with no equals sign, like 5x + 7.Read the lesson is equivalent to 2x2−5x−122x^2-5x-12? Type y=2x^2-5x-12 on the first row and each choice, after y=, on a row below it. The right choice, here y=(2x+3)(x-4), lands exactly on top of the original. A wrong one pulls away somewhere, so look across the whole screen.

Trap: A choice that drew nothing

A choice typed with a slip can draw no graph at all. You still see one curve on the screen, and it looks like a perfect match.

What to do: Hide the original by clicking the colored circle at the left of its row, and check that a curve is still there. Find that circle once on the practice site.

When the question is about form, like which choice shows the yy-intercept as a number, graphing can't help. All four choices are equivalent, so their graphs all land on top of each other.

How many solutions

Put each side on its own y= row and count the crossings. When one side is 0, the xx-axis is the second graph. Zoom out first, because a crossing off the screen still counts.

What you seeSolutions
Two crossings2
One touch, where the graphs meet without crossing1
No meeting0 real solutions
Two graphs on top of each otherInfinitely many

y=(x-3)^2 touches the xx-axis at x=3x=3 and turns back up, so (x−3)2=0(x-3)^2=0 has one solution. y=x^2+1 never reaches the xx-axis, so x2+1=0x^2+1=0 has no real solutions. Something that looks like one line may be two identical lines, so hide a row to check.

Two crossings very close together can look like a touch. When the answer depends on it, check with the The part under the square root in the quadratic formula, b squared minus 4ac. Positive means two real solutions, zero means one, negative means none.Read the lesson, b2−4acb^2-4ac, which is 0 for a touch. The nonlinear equations lesson has examples.

Finding a constant with a slider

For what value of kk does x2−4x+k=0x^2-4x+k=0 have exactly one real solution?

Type y=x^2-4x+k, and Desmos offers "add slider: k". Click it and drag the slider. With a small kk, the curve crosses the xx-axis twice. As kk grows, the two crossings slide together into one touch near 4, and then the curve lifts off the axis.

So you need the touch. A number read off a slider is only as exact as where you let go, so finish by hand. A touch means the discriminant is 0.

  1. One solution means b2−4ac=0b^2-4ac=0. Here a=1a=1, b=−4b=-4 and c=kc=k.

    (−4)2−4(1)(k)=0(-4)^2-4(1)(k)=0
  2. (−4)2=16(-4)^2=16.

    16−4k=016-4k=0
  3. Add 4k4k to both sides.

    16=4k16=4k
  4. Divide both sides by 4.

    k=4k=4
Worked example

5x2−40x+k=05x^2-40x+k=0

The given equation has exactly one real solution. What is the value of the constant kk?

Show the answer

Accepted answer: 80

Solution

A An expression whose biggest power is a square, like x squared plus 3x minus 4.Read the lesson has exactly one real solution when its The part under the square root in the quadratic formula, b squared minus 4ac. Positive means two real solutions, zero means one, negative means none.Read the lesson, b2−4acb^2-4ac, equals zero. Substituting a=5a=5, b=−40b=-40, and c=kc=k gives (−40)2−4(5)k=0(-40)^2-4(5)k=0, so 1600−20k=01600-20k=0 and k=80k=80.

The wrong answer 400400 comes from omitting the The number multiplying a letter, like the 5 in 5x.Read the lesson 55 and solving 1600−4k=01600-4k=0. The wrong answer −80-80 comes from changing −20k-20k to 20k20k without changing the sign of −1600-1600, producing 20k=−160020k=-1600.

Inequalities

Desmos shades the points that make an A statement that one side is bigger or smaller than the other, such as x being greater than 3.Read the lesson true. Type y<=2x+1 and it shades below the line. With ≤\le or ≥\ge the edge is solid, and points on it count. With <\lt or >\gt the edge is dashed, and points on it don't. For two inequalities, the solutions are where the two shadings overlap.

When the choices are points, it's usually as fast to put each point's numbers into both inequalities by hand. A point where the two sides come out equal sits on the edge, so it counts only with ≤\le or ≥\ge.

Worked example

Bruna is reviewing a parking garage’s hourly fee xx and all-day fee yy. An acceptable fee pair satisfies both inequalities.

y>2x+1y \gt 2x + 1 x+y≤13x + y \leq 13

Which point (x,y)(x, y) is a solution to the given system of inequalities?

  1. A

    (4,8)(4, 8)

  2. B

    (3,8)(3, 8)

  3. C

    (3,7)(3, 7)

  4. D

    (5,9)(5, 9)

Show the answer
  • A

    (4,8)(4, 8)

    Substituting x=4x=4 and y=8y=8 gives 4+8≤134+8\leq13, but 8>2(4)+18\gt 2(4)+1 is false because 88 is not greater than 99. This point satisfies only one A statement that one side is bigger or smaller than the other, such as x being greater than 3.Read the lesson.

  • B

    (3,8)(3, 8)

    Correct answer

    Substituting x=3x=3 and y=8y=8 gives 8>2(3)+18\gt 2(3)+1, or 8>78\gt 7, and 3+8≤133+8\leq13, or 11≤1311\leq13. The point satisfies both A statement that one side is bigger or smaller than the other, such as x being greater than 3.Read the lesson.

  • C

    (3,7)(3, 7)

    Substituting x=3x=3 and y=7y=7 gives 7=2(3)+17=2(3)+1, so the point lies on the boundary y=2x+1y=2x+1. The An inequality that uses less than or greater than without “or equal to,” so the boundary value itself doesn’t count.Read the lesson y>2x+1y\gt 2x+1 excludes points on that boundary.

  • D

    (5,9)(5, 9)

    This point results from reversing both A statement that one side is bigger or smaller than the other, such as x being greater than 3.Read the lesson symbols: 9<2(5)+19\lt 2(5)+1 and 5+9≥135+9\geq13 are true. The given system requires y>2x+1y\gt 2x+1 and x+y≤13x+y\leq13.

Solution

Substitute each point into both A statement that one side is bigger or smaller than the other, such as x being greater than 3.Read the lesson, y>2x+1y\gt 2x+1 and x+y≤13x+y\leq13. A solution must make both statements true.

For (3,8)(3,8), the first inequality becomes 8>2(3)+18\gt 2(3)+1, so 8>78\gt 7. The second becomes 3+8≤133+8\leq13, so 11≤1311\leq13. Both statements are true, so (3,8)(3,8) is a solution to the system.

Practice

Before you type anything, decide whether graphing will save time. After you graph, say which coordinate the question wants before you click.

Try it

5 questions on this skill, with every choice explained.

Start the drill

Next steps