MathCastle
PrecalculusSuperchallengeFunctions and Their Graphs

Functions and Their Graphs · Superchallenge problem

For a constant aa, let f(x)={−x2+2ax,x<13x−a,x≥1.f(x)=\begin{cases}-x^2+2ax, & x<1\\ 3x-a, & x\ge1.\end{cases} The set of all aa for which ff is one-to-one is an interval [p,q][p,q]. Find p+qp+q.