← Math — Semester A final exam

appeared in 2/6

Quadratic equation with a parameter inside a log

What it looks like on the exam

The coefficients contain log⁡2m\log_2 m and log⁡m2\log_m 2; the question is about the location of the roots.

📘 The lesson on this topic in the courseLocation of the roots of a quadratic→

How to solve

This question has a quadratic whose coefficients contain log⁡2m\log_2 m and log⁡m2\log_m 2. The trick: log⁡m2=1log⁡2m\log_m 2=\frac{1}{\log_2 m}, so substitute u=log⁡2mu=\log_2 m and every coefficient becomes an expression in uu. From there — an ordinary root-location question in uu, and at the end go back to m=2um=2^u.

u=log⁡2m,log⁡m2=1u,m=2uu=\log_2 m,\qquad \log_m 2=\frac1u,\qquad m=2^u

Domain: m>0m>0 and m≠1m\neq1 (because of the base of log⁡m2\log_m 2), that is u≠0u\neq0. When multiplying an inequality by uu you need its sign — so you usually work with fractions and a sign table.

The method, step by step

  1. Domain: m>0m>0, m≠1m\neq1.

    Why: The log's base.

  2. Substitute u=log⁡2mu=\log_2m and write the coefficients as expressions in uu.

    Why: A new parameter.

  3. Solve the location question in uu (Δ\Delta, xvx_v, af(k)af(k), Vieta).

    Why: The usual tools.

  4. Inequalities with 1u\frac1u — a common denominator and a sign table.

    Why: Do not multiply by uu.

  5. Go back: u>c  ⟺  m>2cu>c\iff m>2^c.

    Why: 2u2^u increases.

Cases you will meet

Roots of opposite sign

ca<0\frac ca<0 — a rational inequality in uu.

Double root

Δ=0\Delta=0 — an equation in uu, then m=2um=2^u.

A constant product of roots

log⁡2m⋅log⁡m2=1\log_2m\cdot\log_m2=1 — sometimes the product does not depend on mm at all.

Full topic in the course →
1

Fully worked example

Worked example

For which mm does x2−2xlog⁡2m+log⁡m2=0x^2-2x\log_2m+\log_m2=0 have two distinct roots?

Solution

Ideau=log⁡2mu=\log_2m: x2−2ux+1u=0x^2-2ux+\frac1u=0, and require Δ>0\Delta>0.
  1. Δ4=u2−1u>0⇒u3−1u>0\frac\Delta4=u^2-\frac1u>0\Rightarrow\frac{u^3-1}{u}>0.

    Why: A common denominator.

  2. (u−1)(u2+u+1)u>0\frac{(u-1)(u^2+u+1)}{u}>0; u2+u+1>0u^2+u+1>0 always.

    Why: Factoring a difference of cubes.

  3. u<0u<0 or u>1u>1.

    Why: A sign table.

  4. 0<m<10<m<1 or m>2m>2.

    Why: m=2um=2^u.

Checkm=4m=4: u=2u=2, x2−4x+0.5=0x^2-4x+0.5=0, Δ=14>0\Delta=14>0 ✓.
Common mistakeMultiplying by uu and getting only u>1u>1.

Practice