What is the maximum y-value of the following function?

$$y=8t - \frac{t^2}{2} -24 $$

It can be done by using the parabolic equation , setting the equation is equal zero. But is there any other straight forward or shortest method to do this?


You can complete the square:


Since $-\dfrac{1}{2}(t-8)^2\le0$ for every $t$, the maximum occurs of $y$ when this expression is $0$ (which is at $t=8$). This gives the maximum of $y$ as $0+8=8$.

  • $\begingroup$ @mathlove already did that $\endgroup$ – RE60K Aug 7 '14 at 13:05
  • 1
    $\begingroup$ @Aditya This discussion on the math meta may be of interest to you. Additionally mathlove's answer seems to no longer appear. $\endgroup$ – Peter Woolfitt Aug 7 '14 at 13:10

for the form of $y = ax^2 + bx + c$ the min (or max) is :


which in this case is :


  • $\begingroup$ Is there a name for this theorem? Maybe a proof? I've never seen this before. $\endgroup$ – Cruncher Aug 7 '14 at 15:28
  • $\begingroup$ just find the min/max parametrically and substitute in the equation (again parametrically) $\endgroup$ – Shabbeh Aug 7 '14 at 15:34
  • 1
    $\begingroup$ I solved it after asking the question :). Did it using Aditya's answer, but keeping it general. $\endgroup$ – Cruncher Aug 7 '14 at 15:45
  • $\begingroup$ @Cruncher there's no theorem for this, per se. This fact can be derived by completing the square as described by Peter above, or by using calculus. $\endgroup$ – user2910265 Aug 7 '14 at 19:38

Using calculus: $$y'=8-t$$ Using derivative test $8-t=0\implies t=8$ So,$$y_{\text{extremum}}=64-32-24=8$$ Second derivate: $$y''=-1<0$$ So extremum is a maximum.

  • $\begingroup$ why the downvote $\endgroup$ – RE60K Aug 7 '14 at 13:16


$$y'(t)=0 \Rightarrow 8-t=0 \Rightarrow t=8$$

For $t>8:$ $y>0$

For $t<8:$ $y<0$

So, $y$ is decreasing on $(-\infty, 0]$ and increasing on $[0,+\infty)$.

Therefore, $y$ achieves its minimum at $t=8$, which is equal to $y(8)=8$.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.