Find constants in equivalent expressions

Lesson progressPractice problems 0/7
Difficulty
Advanced
Estimated time
40 minutes
Techniques
RegressionCustom-regressionIdentitiesInput-listsEquivalent-expressions

What you’ll learn

  1. Recognize a question about constants in an identity, whether it says equivalent for all values of xx or infinitely many solutions.
  2. Tell a constant you have to find from a letter that can stand for any number.
  3. Put a list of inputs in Desmos and fit both sides of the identity on one line.
  4. Pick inputs the expressions allow, so no denominator becomes 00.
  5. Confirm that the fit is exact before you trust it.
  6. Choose between two fits with the condition the question gives, and answer with a product when only the product is fixed.
  7. Spot when matching one coefficient by hand is faster.

Why this matters on the SAT

Let Desmos find the constants in an identity

Some SAT questions say that two expressions are equal for all values of xx and hide one or two unknown constants inside them. Finding those constants by hand means expanding every product and matching the terms one power of xx at a time. It's easy to drop a sign along the way.

Here's a typical question.

SAT example

The expression

(2x+p)(x−3)−(x+q)(x+1)(2x+p)(x-3)-(x+q)(x+1)

is equivalent to x2−10x−11x^2-10x-11 for all values of xx, where pp and qq are constants. What is the value of p+qp+q?

Fast Desmos solution

For all values of xx means the two sides give the same number whatever xx is. So hand Desmos a whole list of xx-values, and ask for the pp and qq that make the sides match at every one of them:

x_1=[1...10]

(2x_1+p)(x_1-3)-(x_1+q)(x_1+1)~x_1^2-10x_1-11

Desmos reports p=2p=2 and q=5q=5, so

p+q=7.p+q=\boxed{7}.

By hand, you'd expand both products and match three pairs of coefficients. Here Desmos does all of that in two short lines.

Calculator loads as you approach
The list gives Desmos ten inputs, and the regression finds p = 2 and q = 5.

When should you use this method?

Reach for a list fit when a question says two expressions are equal for every value of the variable and asks for a constant, or for something built from constants, like p+qp+q or abab.

Then check whether a shorter route settles it first.

Use a list fit when…

  • The question says equivalent, for all values of xx, true for all xx or has infinitely many solutions, and the answer is a constant or a combination of constants.

  • Finding the constants by hand means expanding several products, clearing fractions or matching three or more coefficients.

Try a shorter method when…

  • Matching one coefficient by hand wins when a single product gives the constant away. In (x+6)(3x−4)=3x2+bx−24(x+6)(3x-4)=3x^2+bx-24, the xx terms are 18x−4x18x-4x, so b=14b=14.

  • Graph overlap wins when there's no constant to find and the question asks which expression is equivalent. That's the job of equivalent expressions by graph overlap.

  • Comparing coefficients wins for a system of two lines in xx and yy with infinitely many solutions, as in how many solutions.

The fit itself is the custom regression you already know, with one change. In custom regression with multiple conditions, each fact was one equation. An identity gives you an equation at every input, so you supply the inputs as a list.

Check your understanding:

Which would you fit with a list of inputs? (A) Which choice is equivalent to (x+3)2−(x−1)2(x+3)^2-(x-1)^2? (B) The expression (x+3)2−(x−1)2(x+3)^2-(x-1)^2 is equivalent to ax+bax+b for all xx, where aa and bb are constants. What is a+ba+b?

Spot an identity with unknown constants

An identity is an equation that's true for every value of the variable, not just one or two. SAT questions signal one in a few ways:

  • equivalent to … for all values of xx, or for all xx for which both sides are defined
  • the equation is true for all values of xx
  • can be rewritten in the form … followed by a form with letters in it, like ax2+bx+cax^2+bx+c
  • the equation has infinitely many solutions, for one equation in one variable

The last one is the same idea in disguise. An ordinary equation like 3x+1=73x+1=7 is true for one value of xx. If an equation is true for infinitely many values, its two sides are the same expression, so it's an identity.

Then look at the letters. Some are constants you have to find: the question names them, like where pp and qq are constants, and asks for their value or for something built from them. Others can stand for any number, like the aa in for a nonzero constant aa, which expression is equivalent…, where the answer choices still contain aa. There's no constant to find there, so it isn't a fitting job: compare the algebra, as in the graph overlap lesson.

The variable doesn't have to be xx. If the question uses tt, you'll still type x_1 in Desmos, the same way you renamed variables in the graph overlap lesson.

Check your understanding:

In the equation 3(2x−k)+4=6x+k−83(2x-k)+4=6x+k-8, kk is a constant, and the equation has infinitely many solutions. Is this an identity question? Which letter do you have to find?

Fit both sides over a list of inputs

The fit takes two lines.

  1. Make a list of inputs. Type x_1=[1...10]. Square brackets make a list, and the three dots fill in every whole number from 11 to 1010.
  2. Fit the two sides. Type the left side with x_1 wherever the question has xx, then the tilde, ~, where the equals sign would go, then the right side. The tilde tells Desmos to find the constants that make the two sides match.

Desmos then shows the constants it found under the regression line.

Why the list matters. An identity has to hold at every input, and each input gives Desmos one more equation the constants must satisfy. With ten inputs, the constants have to make all ten equations work, and that pins them down in almost every SAT question. You want more inputs than the highest power of xx, and ten covers any SAT identity you're likely to meet.

Without the list, Desmos has nothing telling it that x_1 is a set of inputs. It treats x_1 as one more unknown, finds values that make the two sides match at a single point, and reports constants that don't work for every xx.

Try it yourself:

Delete the first line, x_1=[1...10]. Before you look, predict: will pp and qq stay at 22 and 55? Then compare, and reset the calculator.

Common mistake:

Leaving the list out, or setting x_1=0, lets the constants match at one point only. Without the list, Desmos reports p=6p=6 and q=1q=1; with x_1=0, it reports p≈3.67p\approx3.67 and q=0q=0. Neither pair works for every xx. Give it a list.

As in the last lesson, check that no earlier line gives pp or qq a value. If one does, Desmos treats that letter as fixed and won't fit it.

Calculator loads as you approach
Delete the list and watch the fitted values change.

Confirm the fit is exact

A regression always reports numbers, even when no constants can make the two sides match. It gives the closest fit it can find. So before you answer, check that the fit is exact.

Type the left side minus the right side on a new line, still with x_1. Desmos shows the difference at every input. If every entry is 00, the two sides really are equal for all ten inputs, and the constants are right. A tiny entry like 1.8×10−151.8\times10^{-15} counts as 00 too: it's the calculator rounding in its last digits, not a real gap. For the opening question, the line

(2x_1+p)(x_1-3)-(x_1+q)(x_1+1)-(x_1^2-10x_1-11)

shows ten zeros.

Here's a case where the check catches a problem. In the equation 2(kx+3)=4x+72(kx+3)=4x+7, kk is a constant. Is there a value of kk that gives infinitely many solutions?

The fit 2(kx_1+3)~4x_1+7 reports k≈2.07k\approx2.07. That alone looks like an answer. But the check line shows entries like −0.86-0.86 and 0.430.43, not zeros. No value of kk works, and you can see why: matching the xx terms needs 2k=42k=4, so k=2k=2, but then the numbers without xx are 66 and 77, and they never match. Some SAT questions offer there is no such value as a choice for exactly this reason.

The check also settles decimals. A value like 2.99999992.9999999 is Desmos rounding, so type 33 in place of the letter in the check line. If it still shows zeros, 33 is exact.

One limit: this "no such value" reading is safe when the constants are only multiplied by numbers, as kk is here. When a constant is squared or multiplied by another one, a nonzero check can also mean Desmos settled on the wrong fit, so match one coefficient by hand before you answer no such value.

Calculator loads as you approach
Desmos still reports a value of k, but the check line shows the two sides never match.
Check your understanding:

You fit an identity and Desmos reports a=4.5a=4.5. The check line shows [0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0]. What can you conclude? What if it showed [1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1]?

Choose inputs the expressions allow

Every input in your list has to be one the expressions accept. A fraction has no value where its denominator is 00. So if a side contains 1x−1\frac{1}{x-1}, an input of 11 breaks it.

When that happens, Desmos shows an error instead of fitted values. The fix is to start the list past the problem input. For denominators x−1x-1 and x+3x+3, the list x_1=[2...11] avoids both 11 and −3-3.

Two more cases to watch:

  • Square roots need what's inside to be 00 or more. For x\sqrt{x}, x_1=[1...10] works; for x−12\sqrt{x-12}, start the list at 1212.
  • A restriction in the question, like for all x>5x>5, tells you which inputs to use. Take a list inside it, such as x_1=[6...15].

Example: Constants in a sum of fractions

Worked example

For all x≠1x\ne1 and x≠−3x\ne-3, the expression 7x+5(x−1)(x+3)\dfrac{7x+5}{(x-1)(x+3)} is equivalent to ax−1+bx+3\dfrac{a}{x-1}+\dfrac{b}{x+3}, where aa and bb are constants. What is the value of a−ba-b?

  1. A

    −1-1

  2. B

    11

  3. C

    77

  4. D

    1212

Step 1

Spot the identity and its restrictions

Is equivalent to with for all xx makes this an identity, and aa and bb are the constants to find. The opening phrase also tells you which inputs are off limits: 11 and −3-3, where a denominator would be 00.

Step 2

Pick a list that avoids 1 and -3

The usual list, x_1=[1...10], includes 11, and Desmos would show an error. Start at 22 instead:

x_1=[2...11]

None of these inputs is 11 or −3-3, and ten inputs are plenty for two constants.

Step 3

Fit both sides

Type each fraction with parentheses around every top and bottom:

(7x_1+5)/((x_1-1)(x_1+3))~a/(x_1-1)+b/(x_1+3)

Desmos reports a=3a=3 and b=4b=4.

Calculator loads as you approach
The list starts at 2, so every input is one both sides allow.

Step 4

Check, then answer what the question asks

You can confirm the fit by hand at one input. At x=0x=0, the left side is 5−3\frac{5}{-3}, and the right side is 3−1+43=−3+43=−53\frac{3}{-1}+\frac{4}{3}=-3+\frac43=-\frac53. They match.

The question asks for a−ba-b, not aa or bb:

a−b=3−4=−1.a-b=3-4=-1.

The answer is A.

Common mistake:

Picking 77, which is a+ba+b. The question asks for the difference, a−ba-b, so watch the sign.

Watch for two fits, and for constants you can't separate

When the identity has two fits

Squares hide a sign. Suppose (ax+3)2(ax+3)^2 is equivalent to 16x2+bx+916x^2+bx+9 for all xx, where aa and bb are constants and b<0b<0. Expanding gives a2x2+6ax+9a^2x^2+6ax+9, so a2=16a^2=16, and aa can be 44 or −4-4. Both make an identity: a=4a=4 with b=24b=24, and a=−4a=-4 with b=−24b=-24.

Desmos reports only one of them, and here it reports a=4a=4 and b=24b=24. That breaks the condition b<0b<0. Add the condition to the end of the regression line in curly braces:

(ax_1+3)^2~16x_1^2+bx_1+9{b<0}

Now Desmos reports a=−4a=-4 and b=−24b=-24. So when a question adds a condition like b<0b<0, a>0a>0 or p<qp<q, check the fit against it, and put it in braces if Desmos lands on the other fit.

When only a product is fixed

Sometimes two constants only ever appear multiplied together. Say f(x)=ax+3f(x)=ax+3 and g(x)=bxg(x)=bx, and f(g(x))=12x+3f(g(x))=12x+3 for all xx. Then f(g(x))=a(bx)+3=abx+3f(g(x))=a(bx)+3=abx+3, so the identity says ab=12ab=12 and nothing more. The pairs a=6, b=2a=6,\ b=2 and a=12, b=1a=12,\ b=1 both work.

The fit a(bx_1)+3~12x_1+3 reports a=12a=12 and b=1b=1, one pair out of many. If the question asks for abab, type a*b and you get 1212, which is right for every pair. Don't answer with aa or bb alone. If a question does ask for aa alone, it has to give you another fact about aa or bb. Put that fact in too: for b=2b=2, type b=2 on a line above, and Desmos fits only aa, here 66.

Calculator loads as you approach
Delete the braces and Desmos switches to the other fit, a = 4 and b = 24.
Check your understanding:

In (px)(qx)+5x=6x2+5x(px)(qx)+5x=6x^2+5x, for all xx, pp and qq are constants. Desmos reports p=6p=6 and q=1q=1. Can you answer What is pp? What about What is pqpq?

When matching coefficients by hand is faster

The list fit is quick, but it still takes two lines and a check. Sometimes one look at the expressions gives the constant faster.

Take (x+6)(3x−4)(x+6)(3x-4), which is equivalent to 3x2+bx−243x^2+bx-24 for some constant bb. The constant bb sits in front of xx, and only two products make an xx term: x⋅(−4)=−4xx\cdot(-4)=-4x and 6⋅3x=18x6\cdot3x=18x. So b=−4+18=14b=-4+18=14. That's one step.

A good habit before you open Desmos: find the term that holds the constant you want. If one or two products build it, match it by hand. If the constant hides in several products, fractions or squares, or there are two or more constants tangled together, let the list fit do the algebra.

The same goes for infinitely many solutions. In 4(x+2)+n=4x+154(x+2)+n=4x+15, the xx terms already match, so the numbers must match too: 8+n=158+n=15, and n=7n=7.

Finish the solution

The list and the regression line are already in the calculator, and Desmos has found pp and qq. Use them to answer the question.

Finish the solution

The expression

(x+p)2−(x−4)2(x+p)^2-(x-4)^2

is equivalent to 12x+q12x+q for all values of xx, where pp and qq are constants. What is the value of p+qp+q?

First steps

  1. Make a list of inputs with x_1=[1...10].
  2. Fit both sides with (x_1+p)^2-(x_1-4)^2~12x_1+q.

Finish it

Calculator loads as you approach
Desmos has fitted p and q. Add p+q on a new line.

Practice problems

For each one, decide first: is it an identity, which letters are the constants to find, and does one coefficient settle it by hand? Not every problem needs Desmos.

Practice problem

In the equation a(3x−2)+b=12x+1a(3x-2)+b=12x+1, aa and bb are constants. If the equation has infinitely many solutions, what is the value of a+ba+b?

Calculator loads as you approach
One list, one regression line, then check.

Practice problem

For all x≠4x\ne4, the expression x2+kx−12x−4\dfrac{x^2+kx-12}{x-4} is equivalent to x+3x+3, where kk is a constant. What is the value of kk?

Calculator loads as you approach
Pick inputs that skip 4.

Practice problem

The expression (px−5)2(px-5)^2 is equivalent to 9x2+qx+259x^2+qx+25 for all values of xx, where pp and qq are constants and p<0p<0. What is the value of qq?

Answer choices
Calculator loads as you approach
Check the fit against the condition p < 0.

Practice problem

In the equation 3(kx−2)+5=12x+13(kx-2)+5=12x+1, kk is a constant. For which value of kk does the equation have infinitely many solutions?

Answer choices
Calculator loads as you approach
Fit it, then check that the fit is exact.

Practice problem

The expression (2x−5)(x+7)(2x-5)(x+7) is equivalent to 2x2+bx−352x^2+bx-35 for some constant bb. What is the value of bb?

Calculator loads as you approach
Try it by hand first, then use Desmos to check.

Practice problem

The expression (x2+ax−4)(x+3)(x^2+ax-4)(x+3) is equivalent to x3+bx2+2x−12x^3+bx^2+2x-12 for all values of xx, where aa and bb are constants. What is the value of abab?

Calculator loads as you approach
Two constants, one list, one regression line.

Finish the lesson

7 practice examples left

Finish the remaining questions correctly to complete this lesson.

Quick recap

  • Recognize: Equivalent for all values of xx, true for all xx and infinitely many solutions all describe an identity. Find the constants the question names.
  • Fit: Type x_1=[1...10], then both sides with x_1 and a tilde between them. Skip any input that makes a denominator 00.
  • Confirm: Type the left side minus the right side. Zeros, or tiny rounding values, mean the fit is exact. Anything else means these constants don't work; when they're only multiplied by numbers, none do.
  • Watch the traps: Use the question's condition, in braces if needed, to pick between two fits, and answer with the product when only the product is fixed.
  • Choose: If one or two products give the constant, match it by hand.

Next lesson

Parameterized points and answer choices

Graph how a point moves as its parameter changes and test which answer choice satisfies a linear system.

Start next lesson

Practice

Practice this lesson

341 SAT questions use what this lesson teaches. Practice a few in a study session at the difficulty you choose.

Start practice