Meet every condition

Lesson progressPractice problems 0/5
Difficulty
GOAT Mode
Estimated time
50 minutes
Techniques
ConstraintsModelingCondition StackWitness ValuesInvarianceVerification

What you’ll learn

  1. Turn a dense prompt into a condition stack of fixed values, free constants, dependent values, and the target.
  2. Choose a legal witness that satisfies every stated condition.
  3. Build function definitions and outputs in dependency order for a readable model.
  4. Use a second witness as an error check, then prove that the target is invariant.
  5. Stop using witness values when the target changes or the prompt requires candidate filtering.

Why this matters on the SAT

Organize the conditions before calculating

Some hard SAT function questions give several constants, inequalities, named outputs, and one complicated target. The constants may not have unique values, but the requested expression can still have one fixed answer.

The key is to make every condition true in one ordered Desmos model.

SAT example

The function qq is defined by

q(x)=ax+b,q(x)=ax+b,

where a>ba>b and b>87b>87. Let

H=q(639)andK=q(621).H=q(639)\qquad\text{and}\qquad K=q(621).

What is the value of

HK18a?H-K-18a?

Fast Desmos solution

The problem does not determine unique values of aa and bb. On separate lines, enter the legal pair b=88 and a=89.

Then enter q(x)=a*x+b, H=q(639), K=q(621), and H-K-18a, with each definition on a new line.

Desmos returns 00. Now change the legal values to b=90b=90 and a=92a=92. The target remains 00.

Try it yourself:

In the opening calculator, test (a,b)=(92,90)(a,b)=(92,90). Check both inequalities before reading the target, then reset the example.

Two examples support the pattern, but they do not prove it. Algebra explains why the target is fixed:

HK18a=(639a+b)(621a+b)18a=18a18a=0.\begin{aligned} H-K-18a &=(639a+b)-(621a+b)-18a\\ &=18a-18a\\ &=0. \end{aligned}

The calculator helps you organize and test the model. The cancellation proves the result for every allowed pair.

Calculator loads as you approach
Dependent definitions appear after their inputs, and the target remains 0 for another legal pair.

When should you use this workflow?

Use a condition stack with witness values when:

  • the prompt defines one or more functions;
  • some constants are constrained only by inequalities or simple relationships;
  • there is not enough information to determine every constant uniquely;
  • the question asks for a combination of outputs and constants; and
  • the combination may simplify to one value regardless of the legal constants.

Do not assign witness values when:

  • the question asks for the constant itself;
  • another exact condition determines the constant;
  • the target changes after a legal value changes;
  • the prompt asks for all solutions, a least or greatest possible value, or an integer count; or
  • the conditions uniquely determine several parameters, in which case custom regression with multiple conditions may be appropriate.
Check your understanding:

A problem gives a>b>10a>b>10, defines f(x)=ax+bf(x)=ax+b, and asks for f(8)f(3)5af(8)-f(3)-5a. The values of aa and bb are not otherwise determined. Is a legal-witness test appropriate, and what result should remain fixed?

1. Build a condition stack

Give every statement one job

A condition stack is an ordered list of everything that must be true before you evaluate the target.

For the opening problem, the stack is:

LayerConditionMeaning
Fixed values639639, 621621, and 1818Copy these values exactly from the prompt.
Free constantsa>ba>b and b>87b>87aa and bb are not unique, but their values must be legal.
Function definitionq(x)=ax+bq(x)=ax+bEvery later function output uses this rule.
Dependent valuesH=q(639)H=q(639) and K=q(621)K=q(621)HH and KK depend on the function and constants.
TargetHK18aH-K-18aEvaluate only after every earlier layer is defined.

The order is not decorative. A lower layer depends on the layers above it.

Before typing, ask:

  1. Which quantities are fixed by the prompt?
  2. Which constants are free but constrained?
  3. Which values depend on a function or earlier definition?
  4. What exact expression must be submitted?
Check your understanding:

In the opening problem, is HH a free constant or a dependent value? What must be defined before HH?

Common mistake:

Skipping a condition that looks unimportant. A sign, order, integer, or domain condition can decide which candidate is valid. Record every condition before calculating, even if it does not appear in the final expression.

3. Build in dependency order

Put the name being defined on the left

In Desmos, define an output with the new name on the left. Enter H=q(639) and K=q(621) on separate lines.

This creates reusable values. Entering q(639)=H treats the line as an equation instead of a direct definition and makes the dependency harder to read.

A clear build order is b=88, a=89, q(x)=a*x+b, H=q(639), K=q(621), and finally H-K-18a, with each entry on its own line.

Desmos resolves definitions and updates dependent expressions automatically, even when the expression list is not top to bottom. Use dependency order because it makes the model easier to audit and reduces transcription mistakes. If a name remains undefined, check that its definition exists and is valid.

Try it yourself:

Delete the last three lines, then rebuild H, K, and the target in dependency order. Reset the calculator when you finish.

Check your understanding:

Put these lines in dependency order: T=U+V-32c, U=p(d+4), p(x)=c(x-d)^2+7, c=2, d=51, and V=p(d-4).

Calculator loads as you approach
Each named value appears after the constants or function it depends on.

4. Example: Prove a symmetric quadratic stays fixed

One successful witness is not proof

An expression is invariant when its value does not change across the legal assignments allowed by the prompt.

Use this three-part check:

  1. Evaluate the target with one legal witness.
  2. Change to a clearly different legal witness.
  3. Explain the unchanged result with cancellation, symmetry, or another exact relationship.

If the target changes, stop. Either:

  • the result is not uniquely determined;
  • a condition is missing from the model;
  • the changed witness is not legal; or
  • something was entered incorrectly.

Worked example

The function pp is defined by

p(x)=c(xd)2+7,p(x)=c(x-d)^2+7,

where

c>0c>0 and d>50d>50.

Let

U=p(d+4)andV=p(d4).U=p(d+4)\qquad\text{and}\qquad V=p(d-4).

What is the value of

U+V32c?U+V-32c?
  1. A

    00

  2. B

    77

  3. C

    1414

  4. D

    3232

Step 1

Build the stack

The constants are free but constrained. The function depends on cc and dd, and the outputs depend on the function.

Choose a legal witness such as

c=2andd=51.c=2\qquad\text{and}\qquad d=51.

Step 2

Define the outputs and target

Enter c=2, d=51, p(x)=c*(x-d)^2+7, U=p(d+4), V=p(d-4), and U+V-32c on separate lines in that order.

Desmos returns 1414.

Step 3

Change the witness, then explain

In the same calculator, change to

c=3andd=60.c=3\qquad\text{and}\qquad d=60.

The target remains 1414.

Now verify the structure:

U=c(4)2+7=16c+7,V=c(4)2+7=16c+7.\begin{aligned} U&=c(4)^2+7=16c+7,\\ V&=c(-4)^2+7=16c+7. \end{aligned}

Therefore,

U+V32c=(16c+7)+(16c+7)32c=14.U+V-32c=(16c+7)+(16c+7)-32c=14.

The answer is C.

Calculator loads as you approach
Test c = 2, d = 51, then change to c = 3, d = 60 and compare the target.
Common mistake:

Treating two matching outputs as proof. A second witness is an error check, not a universal proof. Use algebraic cancellation or another exact relationship to explain why every legal witness gives the same result.

5. Stop when witness values are unsafe

A changing target is a warning

Suppose

q(x)=ax+b,a>b>2,q(x)=ax+b,\qquad a>b>2,

and

H=q(5),K=q(1).H=q(5),\qquad K=q(1).

Then

HK=4a.H-K=4a.

The value changes when aa changes. Choosing one legal witness and reporting its output would invent a unique answer that the prompt does not support.

Try it yourself:

Change a=4 to a=6. Then change only bb. Identify which constant controls HKH-K, and reset the calculator.

Check your understanding:

Using (a,b)=(4,3)(a,b)=(4,3) gives HK=16H-K=16. Using (a,b)=(6,3)(a,b)=(6,3) gives HK=24H-K=24. What should you conclude?

Calculator loads as you approach
Change a from 4 to 6. The target changes from 16 to 24, so it is not invariant.

Some prompts require candidate filtering instead

Witness assignment is also unsafe when the question asks for a least possible integer, every solution, or a uniquely determined constant. In those cases, generate or test candidates and apply every condition.

For example, if kk must be the least positive integer satisfying several relationships, one legal value proves only that the value works. It does not prove that no smaller value works.

Use this decision:

  • Free constants and a fixed target: choose two legal witnesses, then verify the invariant.
  • A requested constant or extremum: solve or test all relevant candidates.
  • Several exact conditions that determine parameters: use a system or custom regression and verify every condition.
Common mistake:

Using one witness for a least-possible question. One legal value establishes possibility, not minimality. Check every smaller candidate allowed by the prompt before claiming a least value.

Finish the solution

The first legal witness and function are ready. Define the outputs, evaluate the target, then verify that another legal witness gives the same result.

Complete the linear condition stack

Finish the solution

The function ff is defined by

f(x)=m(xn)+4,f(x)=m(x-n)+4,

where m>n>10m>n>10. Let

A=f(n+6)andB=f(n2).A=f(n+6)\qquad\text{and}\qquad B=f(n-2).

What is the value of

AB8m?A-B-8m?

First steps

  1. The pair (m,n)=(12,11)(m,n)=(12,11) is legal.
  2. The function f(x)=m*(x-n)+4 is defined.
  3. Define AA and BB from the function.
  4. Evaluate the target only after both outputs exist.

Finish it

Calculator loads as you approach
Add A, B, and the requested expression, then change to another legal pair.

Practice problems

SAT practice problems

For each problem, build the condition stack before calculating. Use two legal witnesses when the target should be fixed, then explain the invariant. If the question asks for a least value, test candidates instead.

Cancel a shifted quadratic

Practice problem

The function gg is defined by

g(x)=r(xs)2+5,g(x)=r(x-s)^2+5,

where r>s>0r>s>0. Let

U=g(s+5)andV=g(s1).U=g(s+5)\qquad\text{and}\qquad V=g(s-1).

What is the value of

UV24r?U-V-24r?
Calculator loads as you approach
Choose a legal pair, define the function and outputs, then test another pair.

Use opposite inputs

Practice problem

The function hh is defined by

h(x)=ax2+bx+6,h(x)=ax^2+bx+6,

where a>b>10a>b>10. Let

P=h(4)andQ=h(4).P=h(4)\qquad\text{and}\qquad Q=h(-4).

What is the value of

P+Q32a?P+Q-32a?
Answer choices
Calculator loads as you approach
Use a legal pair, compare h(4) with h(-4), and evaluate the target.

Match exponential dependencies

Practice problem

The function PP is defined by

P(t)=cat+5,P(t)=ca^t+5,

where c>a>1c>a>1. Let

H=P(5)andK=P(3).H=P(5)\qquad\text{and}\qquad K=P(3).

What is the value of

Ha2K+5a2?H-a^2K+5a^2?
Calculator loads as you approach
Choose c greater than a greater than 1, then define H, K, and the target.

Recognize a changing target

Practice problem

The function ff is defined by

f(x)=a(xb)2+c,f(x)=a(x-b)^2+c,

where a>0a>0, b>10b>10, and c>0c>0. Which expression is equivalent to

f(b+3)+f(b3)?f(b+3)+f(b-3)?
Answer choices
Calculator loads as you approach
Test two legal triples and notice that the target changes before simplifying it.

Finish the lesson

5 practice examples left

Finish the remaining questions correctly to complete this lesson.

Quick recap

  • Record every condition, then separate fixed values, free constants, dependent values, and the target.
  • Choose a legal witness and build definitions in dependency order so the model is easy to audit.
  • Test a clearly different legal witness as an error check, not as proof.
  • Prove invariance with cancellation, symmetry, or another exact relationship.
  • If the target changes, or the prompt asks for a least, greatest, integer, or complete solution set, switch to candidate filtering or exact solving.

Next lesson

Hidden functions inside quotients

Recover useful function information when the prompt hides it inside a rational expression.

Start next lesson

Free Practice

Free question bank practice problems

Desmos Condition Stacks for Hard SAT Function Problems | aniko.ai