120Mathematics · More about equations

Quadratic Substitution and Valid Roots

Quadratic Substitution and Valid Roots

Solve equations reduced to a quadratic by square, exponential or logarithmic substitution. Restore the original variable, reject invalid substitution roots and count distinct solutions.

  • 307 bytes
  • COMP mode
01

Worked examples

Example 1

Original practice. Solve the following and show the algebra. x⁴−5x²+4=0.

Answer
x∈{−2,−1,1,2}
Standard solution (without a calculator)
  1. t=x²≥0; (t−1)(t−4)=0
  2. t=1 ⇒ x=−1,1; t=4 ⇒ x=−2,2
  3. x∈{−2,−1,1,2}
  4. Expand or substitute to verify each equality above.
Do it on the calculator

Example 2

Original practice. Solve the following and show the algebra. (3^x)²−3^x=0.

Answer
x=0
Standard solution (without a calculator)
  1. t=3^x>0; t(t−1)=0
  2. t=0: ∅; t=1: x=0
  3. 3⁰=1; 1²−1=0
  4. Expand or substitute to verify each equality above.
Do it on the calculator

Example 3

Original practice. Solve the following and show the algebra. (log₂x)²−3log₂x+2=0.

Answer
x=2 ∨ x=4
Standard solution (without a calculator)
  1. t=log₂x; x>0; (t−1)(t−2)=0
  2. t=1 ⇒ x=2; t=2 ⇒ x=4
  3. log₂2=1; log₂4=2
  4. Expand or substitute to verify each equality above.
Do it on the calculator
02

When to use it

Solve equations reduced to a quadratic by square, exponential or logarithmic substitution. Restore the original variable, reject invalid substitution roots and count distinct solutions.

Input order

  • D,A,B,C; b (D=2,3)
  • D=1:t=x²; 2:t=b^x; 3:t=log_b(x); A=A→i; B=B→b; C=C→t; X=t₁; Y=t₂; M=N
  • Enter every value afresh; blank EXE retains old memory and is not zero. All working variables and Ans may be overwritten.

Output order

  • x₁,…,xₙ; N
  • Require D=1,2 or 3 and A≠0. For D=2 or 3, enter base b only after real t roots exist; require b>0 and b≠1. D=1 keeps t≥0 and gives ±√t, with zero once. D=2 keeps t>0; D=3 accepts every real t. Results are not sorted. Every paused result is x; the final value is the number of valid x values. Final 0 means none, final −1 means invalid data. Additional original domain restrictions require manual substitution. Extreme exponentials, tiny positive numbers and near-double roots can exceed precision or range.

Conditions and limits

  • Use COMP and Norm 1; the images use Deg, which does not change this algebra.
  • D∈{1,2,3}; A≠0; b>0; b≠1; D=1:t≥0; D=2:t>0; D=3:t∈ℝ
  • Require D=1,2 or 3 and A≠0. For D=2 or 3, enter base b only after real t roots exist; require b>0 and b≠1. D=1 keeps t≥0 and gives ±√t, with zero once. D=2 keeps t>0; D=3 accepts every real t. Results are not sorted. Every paused result is x; the final value is the number of valid x values. Final 0 means none, final −1 means invalid data. Additional original domain restrictions require manual substitution. Extreme exponentials, tiny positive numbers and near-double roots can exceed precision or range.
  • Use the original equation to check signs, excluded values and endpoint inclusion. Decimal screens are numerical approximations; preserve exact fractions or radicals in written answers.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.