Optimization and Differentiation

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Optimizing Simple Systems

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:06 Intro to Optimization
  • 0:44 Optimize the Problem
  • 2:07 Five Steps to Optimization
  • 4:58 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed
Lesson Transcript
Instructor: Heather Higinbotham
In this lesson, you can learn what optimization means from a mathematical standpoint. Using the techniques taught in this lesson, you can use the five steps to optimization to figure out practical things, like how much sleep you need to get before an exam.

Introduction to Optimization

Graph showing relationship between hours of sleep and test scores
Optimization Sleep Graph

Optimization problems are absolutely everywhere. For example, in college I learned that the number of hours I sleep directly related to a score that I would get on a test the next day. Here's kind of what it would look like. If I got no sleep, I was an absolute zombie. My test score was not great. Then, at about four hours, I got enough sleep, or so I thought. Eight hours was a good amount of sleep, and if I slept too long, I just didn't study enough, so my test score dropped off if I slept more than nine hours or so.

Optimize the Problem

My goal was always to optimize this problem; to find the number of hours I needed to sleep to get the highest exam score. If I look at my hours of sleep and my test score, I'm trying to find the number of hours that will give me the highest test score. Well, that's over here at eight. Why? Because at this point, my test score is a maximum, which means that if I could take the derivative of this function, of my test score as a function of sleep, I would find that the derivative at this point is actually equal to zero.

At this maximum point, the derivative of the test score as a function of sleep is equal to zero
Optimizing the Sleep Problem Graph

Okay. What's another optimization problem? Say you have a café, and you're trying to minimize the total cost depending on the number of tables that you put up in your café. So say your graph looks something like this. You want to find the number of tables that I need in my café to minimize the overhead costs. So, again, I'm going to look at this minimum of this graph. If I can take the derivative of total cost as a function of the number of tables in the café, I would find that at this minimum the derivative is zero. That's the number of tables that I need in my café and the total cost.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account