Unit 6, lesson 58

Desmos for Equations and Intersections

How to turn an equation or a system into graphs in the built-in Desmos calculator, read intersections and zeros, and tell when a decimal on screen is only an approximation of the exact answer.

  • Theory part 115
  • Practice part 116
  • Using the Graphing Calculator

Theory, part 115

Practice, part 116

Every equation in one variable is secretly a question about two graphs. The equation 3(x−4)+2=5x−13(x - 4) + 2 = 5x - 1 asks where the line y=3(x−4)+2y = 3(x - 4) + 2 meets the line y=5x−1y = 5x - 1. On the SAT you have a graphing calculator built into the testing app, so you can ask that question visually in a few seconds. The skill is knowing when the picture settles the question, when it only checks your algebra, and when it can mislead you.

See also Curve Intersections and Which Curve Is Higher in Foundations for Calculus.

Key terms

Graphing calculator

Definition A graphing calculator draws the set of points (x,y)(x, y) that satisfy an equation or inequality you type, and computes numerical values of expressions. In the current format of the digital SAT, the Desmos graphing calculator is built into the testing app. You may also bring your own calculator if it is approved. Some calculators are not permitted, so check the current official list well before test day. The version inside the testing app can differ from the classroom or website version, so practice with the calculator in the official practice tests rather than assuming every feature you know from class is there.

In plain words The calculator draws graphs and does arithmetic. It does not do the algebra for you symbolically, and its answers are numbers on a screen.

Example Typing 210−242^{10} - 24 on its own line shows the value 10001000. Typing y=x2−3y = x^2 - 3 draws an upward parabola with vertex (0,−3)(0, -3).

Graphing an equation in Desmos

Definition In Desmos, an expression line of the form y=f(x)y = f(x) draws the graph of ff, and a line such as 2x+3y=122x + 3y = 12 draws every point that satisfies that equation. To solve an equation L(x)=R(x)L(x) = R(x) in one variable, graph

y=L(x)andy=R(x)y = L(x) \quad \text{and} \quad y = R(x)

on two separate lines. A real number aa is a solution exactly when the point (a,L(a))(a, L(a)) lies on both graphs, so the solutions are the xx-coordinates of the points where the graphs meet.

In plain words Make each side of the equation its own graph. Where the graphs cross, the two sides are equal.

Example For 3(x−4)+2=5x−13(x - 4) + 2 = 5x - 1 enter y=3(x−4)+2y = 3(x - 4) + 2 and y=5x−1y = 5x - 1. The lines cross at (−4.5,−23.5)(-4.5, -23.5), so the solution is x=−4.5x = -4.5. The yy-value −23.5-23.5 is the common value of both sides, not the answer to the equation.

Intersection

Definition An intersection point of two graphs is a point (a,b)(a, b) that lies on both of them. For a system of two equations in xx and yy, the real solutions are exactly the intersection points of the two graphs. In Desmos, clicking a graph usually marks points of interest such as intersections, and clicking one of those points shows its coordinates, rounded to a few decimal places.

In plain words An intersection is a point that both equations agree on. Its two coordinates together answer a system, and its xx-coordinate alone answers an equation in xx.

Example Solve the system y=x2−3y = x^2 - 3 and y=2xy = 2x. The graphs meet at (−1,−2)(-1, -2) and (3,6)(3, 6). Algebra agrees. Setting x2−3=2xx^2 - 3 = 2x gives

x2−2x−3=(x−3)(x+1)=0,x^2 - 2x - 3 = (x - 3)(x + 1) = 0,

so x=3x = 3 or x=−1x = -1, and then y=2xy = 2x gives y=6y = 6 or y=−2y = -2. The system has two solutions, and a question asking for “the sum of the xx-coordinates” wants 3+(−1)=23 + (-1) = 2.

Zero

Definition A zero of a function ff is a real number aa in its domain with f(a)=0f(a) = 0. Zeros are the xx-coordinates of the xx-intercepts of the graph of y=f(x)y = f(x). Any equation L(x)=R(x)L(x) = R(x) can be rewritten as L(x)−R(x)=0L(x) - R(x) = 0, so its solutions are the zeros of L−RL - R. In Desmos, xx-intercepts are usually among the points of interest marked when you click a graph.

In plain words A zero is where the graph touches or crosses the xx-axis. Moving everything to one side turns any equation into a zero question.

Example The graph of y=x2−2x−1y = x^2 - 2x - 1 crosses the xx-axis at about −0.414-0.414 and 2.4142.414. By the quadratic formula the exact zeros are

x=1±2,x = 1 \pm \sqrt{2},

and indeed 1−2≈−0.4141 - \sqrt{2} \approx -0.414 and 1+2≈2.4141 + \sqrt{2} \approx 2.414.

Viewport

Definition The viewport is the rectangle of the coordinate plane shown on screen, set by a range of xx-values and a range of yy-values. Points of a graph outside the viewport exist but are not drawn. You can change the viewport by zooming in or out and by dragging the graph. A missing intersection on screen proves nothing until you have checked a larger and a closer view.

In plain words The screen is a window onto an infinite plane. If the graphs seem not to meet, look beyond the edge of the window before deciding they never do.

Example The lines y=xy = x and y=0.9x+2y = 0.9x + 2 are both visible in a window from −10-10 to 1010 on both axes, and they look nearly parallel there without crossing. Zooming out shows them meeting at (20,20)(20, 20). The algebra agrees, since x=0.9x+2x = 0.9x + 2 gives 0.1x=20.1x = 2, so x=20x = 20 and y=20y = 20.

The opposite problem happens too. Two curves that meet at two points very close together can look like they touch once, and zooming in on that spot separates them.

Exact answer and approximation

Definition An exact answer is the true value written with integers, fractions, radicals, π\pi or other exact symbols, such as 23\frac{2}{3} or 1+21 + \sqrt{2}. An approximation is a decimal close to that value, such as 0.6670.667 or 2.4142.414. A coordinate that a graphing calculator displays is a rounded decimal. It can suggest an exact value, but it never proves one, since many different numbers round to the same decimal.

In plain words The screen shows a rounded number. If the answer choices are exact, use the decimal to pick out the matching choice, then confirm with algebra when the choices are close.

Example Desmos shows a zero of y=x2+2x−2y = x^2 + 2x - 2 at about 0.7320.732. Typing each answer choice on its own line gives its decimal value, and −1+3≈0.732-1 + \sqrt{3} \approx 0.732 matches while 3≈1.732\sqrt{3} \approx 1.732 does not. The quadratic formula confirms it.

x=−2±4+82=−1±3.x = \frac{-2 \pm \sqrt{4 + 8}}{2} = -1 \pm \sqrt{3}.

When an answer is a rational number whose fraction fits the answer box, you can enter that fraction in a student-produced response, which avoids any question about rounding.

Restrictions and extraneous solutions

Definition Algebraic steps such as squaring both sides or clearing a denominator can produce candidates that do not satisfy the original equation. A candidate is a solution only if it is in the domain of the original equation and makes it true. Graphing the two sides of the original equation shows only true solutions, because each graph uses the original expression and its real domain.

In plain words Algebra can add fake answers, and the graph of the original sides cannot. Use the graph or a direct check to throw the fakes out.

Example Solve x+3=x−3\sqrt{x + 3} = x - 3. Squaring gives

x+3=x2−6x+9,x + 3 = x^2 - 6x + 9,

so x2−7x+6=0x^2 - 7x + 6 = 0 and x=1x = 1 or x=6x = 6. At x=6x = 6 both sides equal 33. At x=1x = 1 the left side is 22 and the right side is −2-2, so x=1x = 1 is extraneous. Graphing y=x+3y = \sqrt{x + 3} and y=x−3y = x - 3 shows a single intersection at (6,3)(6, 3), which matches.

Choosing between algebra and the graph

Definition The graph is most useful for checking a solution, for counting solutions, for nonlinear systems that are slow to solve by hand, and for matching a decimal to an answer choice. Direct algebra is usually quicker and more reliable for short linear equations, for answers that must be exact, for questions with a parameter that has no numerical value, and for questions about an expression such as 2x+12x + 1 rather than xx itself.

In plain words Use the calculator where it saves time or catches mistakes. Skip it when two lines of algebra give the exact answer.

Example For 4x+7=314x + 7 = 31, subtracting 77 and dividing by 44 gives x=6x = 6 faster than typing two graphs. For the system y=x2−4x+1y = x^2 - 4x + 1 and y=x−3y = x - 3, the graph instantly shows two intersections, at (1,−2)(1, -2) and (4,1)(4, 1), and you can check them in the equation

x2−5x+4=(x−1)(x−4)=0.x^2 - 5x + 4 = (x - 1)(x - 4) = 0.

Check yourself

  1. What is the positive solution of x2+2x−2=0x^2 + 2x - 2 = 0? (A) 3\sqrt{3} (B) 1+31 + \sqrt{3} (C) −1+2-1 + \sqrt{2} (D) −1+3-1 + \sqrt{3}
Show the answer

The correct choice is (D). The quadratic formula gives x=−1±3x = -1 \pm \sqrt{3}, and the positive one is −1+3≈0.732-1 + \sqrt{3} \approx 0.732, which is the xx-intercept a graph shows. Choice (A) is about 1.7321.732 and (B) about 2.7322.732, which come from dropping or flipping the −1-1. Choice (C) is about 0.4140.414, close enough to tempt a guess from a rough graph.

  1. The system y=x2−4x+1y = x^2 - 4x + 1 and y=x−3y = x - 3 has two solutions (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2). What is the greater of the values y1y_1 and y2y_2?
Show the answer

The answer is 11. Setting x2−4x+1=x−3x^2 - 4x + 1 = x - 3 gives x2−5x+4=0x^2 - 5x + 4 = 0, so x=1x = 1 or x=4x = 4. The matching yy-values from y=x−3y = x - 3 are −2-2 and 11. Entering 44 gives the greater xx-coordinate, which is not what the question asks.

  1. How many solutions does the equation 3(x+2)=3x+63(x + 2) = 3x + 6 have? (A) Zero (B) Exactly one (C) Exactly two (D) Infinitely many
Show the answer

The correct choice is (D). Expanding the left side gives 3x+6=3x+63x + 6 = 3x + 6, which is true for every real xx. In Desmos the two graphs are the same line, one drawn exactly on top of the other, so you see a single line and no crossing point. Reading that as zero solutions, choice (A), is the trap, and algebra settles it faster than the graph.

How this lesson connects