Problem 61164. Comparing to scale all terms versus one term of even-degree polynomial by the same scale factor

Let p be an even-degree polynomial with positive leading coefficient. Consider the scale factor, k, that vertically transforms the polynomial p by scaling (1) the entire function and (2) only the leading coefficient (see figure below). To compare both cases, (1) and (2), find
  • V0, the m0×2 matrix that represents the vertex of the original polynomial p;
  • V1, the m1×2 matrix that represents the scaled vertex for case 1:
  • V2, the m2×2 matrix that represents the scaled vertex for case 2;
where 1 <= m0, m1, m2 < n and n stands for the degree of polynomial (see Hint). Return the first column of each matrix sorted by increasing x-values (in ascending order), while the y-value of the vertex in the second column.
Hint. The vertex of an even-degree polynomial is not necessarily unique, i.e., the global extremum may be reached at m, multiple distinct, x-values.
input: (p, k)
output: [V0, V1, V2]
Comparing scales

Solution Stats

40.0% Correct | 60.0% Incorrect
Last Solution submitted on Jan 20, 2026

Solution Comments

Show comments

Problem Recent Solvers1

Suggested Problems

More from this Author16

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!