{ localUrl: '../page/derivative_calculus.html', arbitalUrl: 'https://arbital.com/p/derivative_calculus', rawJsonUrl: '../raw/47d.json', likeableId: '2674', likeableType: 'page', myLikeValue: '0', likeCount: '6', dislikeCount: '0', likeScore: '6', individualLikes: [ 'AlexeiAndreev', 'EricBruylant', 'EricRogstad', 'SzymonSlawinski', 'StephanieZolayvar', 'ravil' ], pageId: 'derivative_calculus', edit: '11', editSummary: 'moved some words that sounded awkward, feel free to re-add if you see a better way to arrange them', prevEdit: '10', currentEdit: '11', wasPublished: 'true', type: 'wiki', title: 'Derivative', clickbait: 'How things change', textLength: '8429', alias: 'derivative_calculus', externalUrl: '', sortChildrenBy: 'likes', hasVote: 'false', voteType: '', votesAnonymous: 'false', editCreatorId: 'EricBruylant', editCreatedAt: '2016-10-24 19:47:09', pageCreatorId: 'MichaelCohen', pageCreatedAt: '2016-06-13 22:40:31', seeDomainId: '0', editDomainId: 'AlexeiAndreev', submitToDomainId: '0', isAutosave: 'false', isSnapshot: 'false', isLiveEdit: 'true', isMinorEdit: 'false', indirectTeacher: 'false', todoCount: '0', isEditorComment: 'false', isApprovedComment: 'true', isResolved: 'false', snapshotText: '', anchorContext: '', anchorText: '', anchorOffset: '0', mergedInto: '', isDeleted: 'false', viewCount: '126', text: 'The derivative of $y$ with respect to $x$ describes the [-rate] at which $y$ changes, given a change in $x$. In particular, we consider how tiny changes in one variable affect another variable. To take the derivative of a [-3jy], we can draw a line that is [-tangent] to a graph of the function. The slope of the tangent line is the value of the derivative at that point. The derivative of a function $f(x)$ is itself a function: it returns, for any $x$, the slope of the line that is tangent to $f(x)$ at the point $(x, f(x))$.\n\n[toc:]\n\n## Examples ##\n\n - The time-derivative of your car's mileage is your car's speed (because your car's speed is how quickly your car's mileage changes *over time*)\n\n - The time-derivative of your car's speed is your acceleration (because acceleration means how quickly your *speed* is changing over time)\n\n - The time-derivative of human population size is the birth rate minus the death rate (because if we take the birth rate minus the death rate, that tells how quickly the population is changing over time)\n\n - The time-derivative of wealth is income minus spending (because if we take income minus spending, that tells us how your wealth is changing over time)\n\n - The time-derivative of blood pumped through your heart is the flow rate through the aortic valve (rates in general describe how something changes over time)\n\n - The time-derivative of charge on a capacitor is the current flowing to it (currents in general are time-derivatives of how much total stuff has flowed)\n\n - The time-derivative of how good of a life you'll have lived is how happy you are right now (according to [hedonic utilitarians](https://foundational-research.org/hedonistic-vs-preference-utilitarianism/))\n\nOkay, let's take another stab at this. Time-derivatives, or derivatives "with respect to time," describe how things change over time. We can take derivatives with respect to other things too.\n\n - The derivative of your car's mileage with respect to how much fuel you've burned is your miles per gallon (because your mpg describes how your mileage changes per unit of fuel you burn)\n\n - The derivative of the temperature of a pot of water with respect to how much heat you blast it with is called the heat capacity of water\n\n - The derivative of [potential energy](https://en.wikipedia.org/wiki/Potential_energy) with respect to altitude is gravitational force (a higher up object has some stored energy that it would release if it fell; a lower down object has less "potential energy." The change in potential energy as you change the altitude is why there's a force in the first place.)\n\nThere were two goals with all those examples, one explicit, and one covert. The explicit one was to give you a sense for what derivatives are. The covert one was to quietly suggest that you will never understand the the way the world works unless you understand derivatives. But hey, look at you! You kind of understand derivatives already! Let's get to the math now, shall we?\n\n## Setting Up The Math ##\n\nYou just got your new car.\n\n![](http://o.aolcdn.com/commerce/autodata/images/USC30TSC021B021001.jpg)\nIt's a [Tesla](http://waitbutwhy.com/2015/06/how-tesla-will-change-your-life.html) because you care about the environment almost as much as you care about looking awesome. Your mileage is sitting at 0. The world is your oyster. At time $t = 0$, you put your foot on the accelerator. For the next few seconds, your mileage will be $4.7 t^2$, where your mileage is in meters, and $t$ is in seconds since you pressed your foot on the accelerator. Now the first question is this: if that equation tells us how many meters we've traveled after how many seconds, how fast are we going at any given point in time?\n\nThe astute reader will have noticed that this was the first example of a time-derivative that we gave: the time-derivative of your car's mileage is your car's speed. Let's think about this *sans* math for a second. If we know where we are at any time, we should be able to figure out how fast we're going. There isn't any extra information we need. The only question is how. Well, we take the derivative of the mileage with respect to time to get our speed. In other words:\n\n$$\\frac{\\mathrm{d}}{\\mathrm{d} t} mileage = speed$$\n\nThat means the derivative with respect to $t$, where $t$ is the time in seconds. But we know what the mileage is, *in terms of $t$*. Our mileage is just $4.7 t^2$. So we can write:\n\n$$\\frac{\\mathrm{d}}{\\mathrm{d} t} 4.7 t^2 = speed$$\n\n## Solving The Math ##\n\nSorry to leave you hanging for a sec, but we're going to start with something a little simpler.\n\n![](http://i66.tinypic.com/1p87pl.png)\n$$distance\\ traveled = 2t$$\n\nIf this is the graph of how far someone has traveled after how many seconds, we can see that every second they go 2 more meters. In other words, they are traveling 2 meters per second, which you might notice is the slope of this line. In general, the derivative of a function is like the slope of the function when you graph it out. \n\nThis works fine if our function is something like $distance\\ traveled = 2t$. What if our function isn't a line though. What if it's $distance\\ traveled = t^2$?\n\n![](http://i64.tinypic.com/htu0pv.png)\n\nThings that aren't lines don't have slopes. So if this is a graph of our distance traveled over time, it's not as easy to see how fast we were going. But let's say we want to see how fast we were going at $t=1$. If we zoom in enough on that curve, it will start to flatten out into a straight line until we can't tell the difference. The slope of *that* line is what gives us our speed. The process of taking a curve like this one, and getting the "slope" at any given point is called "taking the derivative."\n\nLet's take the derivative of $d = t^2$, where $d$ is the distance and $t$ is the time. (We'll take the derivative with respect to $t$). Prepare yourself, now take a look at the graph down there.\n\n![](http://i67.tinypic.com/mcxloj.png)\n\nWe know how to find the slope of a line if we're given two points, so we're going to do that, and then slowly move the points together until they're on top of each other. The coordinates of the points are shown above, and we can calculate the slope pretty easily by doing $\\frac{\\Delta d}{\\Delta t}$. This gives us a slope of 2.\n\nNow let's say that our first point is at $(t,t^2)$, that our second point is $h$ units to the right, so it's coordinates are $((t+h),(t+h)^2)$. Now we have:\n$$∆d=(t+h)^2-t^2$$\n$$∆t=(t+h) - t$$\nAlgebradabra:\n$$∆d=2ht + h^2$$\n$$∆t=h$$\n$$\\frac{\\Delta d}{\\Delta t}=\\frac{2ht + h^2}{h}=2t+h$$\n\nNow as we make $h$ really small, the points get closer and closer together, and the slope of the line becomes $2t$. So when $t$ is $1$, the slope is $2$. And when $t$ is $5$, the slope is $10$.\n\nWe say the derivative of $t^2$ is $2t$. With similar logic, you can show that the derivative of $4.7t^2$ is $9.4t$. And *that* means that if you put your foot on the accelerator of your new Tesla at time $t=0$, your speed after $t$ seconds will be $9.4t$. After 1 second, you'll be traveling 9.4 meters per second. After 3 seconds, you'll be going 28.2 meters per second (or 64 mph).\n\n## Concluding ##\n\nThat's what derivatives are. The Tesla case was just one example of actually finding the derivative of something. Obviously, if our distance traveled had been some totally different function of time, the derivative would have been different. We found that the derivative of $t^2$ is $2t$. Below is a list of other derivatives. You can imagine that if the function on the left was our distance traveled after a time $t$, the function on the right would be our speed at a time $t$. (All of the $c$'s and $n$'s are constants.)\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}c=0$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}ct=c$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}ct^2=2ct$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}ct^2=3ct^2$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}ct^n=nct^{n-1}$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}e^t=e^t$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}sin(t)=cos(t)$$\n$$\\frac{\\mathrm{d} }{\\mathrm{d} t}cos(t)=-sin(t)$$\n\nIf you're up for it, try to use the method we showed for solving derivatives to verify some of these. Good luck!\n\n## See also\n\nIf you enjoyed this explanation, consider exploring some of [3d Arbital's] other [6gg featured content]!\n\nArbital is made by people like you, if you think you can explain a mathematical concept then consider [-4d6]!', metaText: '', isTextLoaded: 'true', isSubscribedToDiscussion: 'false', isSubscribedToUser: 'false', isSubscribedAsMaintainer: 'false', discussionSubscriberCount: '2', maintainerCount: '2', userSubscriberCount: '0', lastVisit: '', hasDraft: 'false', votes: [], voteSummary: [ '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' ], muVoteSummary: '0', voteScaling: '0', currentUserVote: '-2', voteCount: '0', lockedVoteType: '', maxEditEver: '0', redLinkCount: '0', lockedBy: '', lockedUntil: '', nextPageId: '', prevPageId: '', usedAsMastery: 'true', proposalEditNum: '0', permissions: { edit: { has: 'false', reason: 'You don't have domain permission to edit this page' }, proposeEdit: { has: 'true', reason: '' }, delete: { has: 'false', reason: 'You don't have domain permission to delete this page' }, comment: { has: 'false', reason: 'You can't comment in this domain because you are not a member' }, proposeComment: { has: 'true', reason: '' } }, summaries: { Summary: 'The derivative of $y$ with respect to $x$ describes the [-rate] at which $y$ changes, given a change in $x$. In particular, we consider how tiny changes in one variable affect another variable. To take the derivative of a [-3jy], we can draw a line that is [-tangent] to a graph of the function. The slope of the tangent line is the value of the derivative at that point. The derivative of a function $f(x)$ is itself a function: it returns, for any $x$, the slope of the line that is tangent to $f(x)$ at the point $(x, f(x))$.' }, creatorIds: [ 'MichaelCohen', 'EricBruylant' ], childIds: [], parentIds: [ 'math' ], commentIds: [ '4jk', '629' ], questionIds: [], tagIds: [ 'math1', 'b_class_meta_tag' ], relatedIds: [], markIds: [], explanations: [ { id: '6620', parentId: 'derivative_calculus', childId: 'derivative_calculus', type: 'subject', creatorId: 'EricBruylant', createdAt: '2016-10-24 17:40:59', level: '2', isStrong: 'true', everPublished: 'true' } ], learnMore: [], requirements: [ { id: '6619', parentId: 'function', childId: 'derivative_calculus', type: 'requirement', creatorId: 'EricBruylant', createdAt: '2016-10-24 17:40:53', level: '2', isStrong: 'false', everPublished: 'true' }, { id: '6625', parentId: 'elementary_algebra', childId: 'derivative_calculus', type: 'requirement', creatorId: 'EricBruylant', createdAt: '2016-10-24 19:48:42', level: '2', isStrong: 'true', everPublished: 'true' } ], subjects: [ { id: '6620', parentId: 'derivative_calculus', childId: 'derivative_calculus', type: 'subject', creatorId: 'EricBruylant', createdAt: '2016-10-24 17:40:59', level: '2', isStrong: 'true', everPublished: 'true' } ], lenses: [], lensParentId: '', pathPages: [], learnMoreTaughtMap: {}, learnMoreCoveredMap: {}, learnMoreRequiredMap: { '47d': [ '78l' ] }, editHistory: {}, domainSubmissions: {}, answers: [], answerCount: '0', commentCount: '0', newCommentCount: '0', linkedMarkCount: '0', changeLogs: [ { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20293', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'deleteRequirement', createdAt: '2016-10-24 19:49:10', auxPageId: 'reads_algebra', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20291', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newRequirement', createdAt: '2016-10-24 19:48:43', auxPageId: 'elementary_algebra', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20290', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newRequirement', createdAt: '2016-10-24 19:48:15', auxPageId: 'reads_algebra', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20289', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '11', type: 'newEdit', createdAt: '2016-10-24 19:47:09', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'moved some words that sounded awkward, feel free to re-add if you see a better way to arrange them' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20288', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '10', type: 'newEdit', createdAt: '2016-10-24 19:39:28', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'added see also to end, in preparation for reddit post' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20279', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '9', type: 'newEdit', createdAt: '2016-10-24 17:43:41', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'added some links, added toc, minor changes' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20277', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newTeacher', createdAt: '2016-10-24 17:40:59', auxPageId: 'derivative_calculus', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20278', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newSubject', createdAt: '2016-10-24 17:40:59', auxPageId: 'derivative_calculus', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20276', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newRequirement', createdAt: '2016-10-24 17:40:54', auxPageId: 'function', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '19447', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newTag', createdAt: '2016-09-02 00:13:56', auxPageId: 'math1', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '19446', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '0', type: 'newTag', createdAt: '2016-09-02 00:13:49', auxPageId: 'b_class_meta_tag', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '14393', pageId: 'derivative_calculus', userId: 'AlexeiAndreev', edit: '0', type: 'newParent', createdAt: '2016-06-22 17:49:06', auxPageId: 'math', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '2770', likeableType: 'changeLog', myLikeValue: '0', likeCount: '1', dislikeCount: '0', likeScore: '1', individualLikes: [], id: '13969', pageId: 'derivative_calculus', userId: 'PatrickStevens', edit: '0', type: 'newAlias', createdAt: '2016-06-18 23:26:32', auxPageId: '', oldSettingsValue: '47d', newSettingsValue: 'derivative_calculus' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '13614', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '7', type: 'newParent', createdAt: '2016-06-17 17:54:20', auxPageId: 'math', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '2798', likeableType: 'changeLog', myLikeValue: '0', likeCount: '1', dislikeCount: '0', likeScore: '1', individualLikes: [], id: '13612', pageId: 'derivative_calculus', userId: 'EricBruylant', edit: '7', type: 'newEdit', createdAt: '2016-06-17 17:54:14', auxPageId: '', oldSettingsValue: '', newSettingsValue: 'Grammar tweaks, slight rewording, $s around variables' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '13220', pageId: 'derivative_calculus', userId: 'MichaelCohen', edit: '6', type: 'newEdit', createdAt: '2016-06-16 03:43:54', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '13176', pageId: 'derivative_calculus', userId: 'MichaelCohen', edit: '5', type: 'newEdit', createdAt: '2016-06-15 22:57:26', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '12789', pageId: 'derivative_calculus', userId: 'MichaelCohen', edit: '4', type: 'newEdit', createdAt: '2016-06-14 20:26:51', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '12587', pageId: 'derivative_calculus', userId: 'MichaelCohen', edit: '3', type: 'newEdit', createdAt: '2016-06-13 22:46:54', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '12586', pageId: 'derivative_calculus', userId: 'MichaelCohen', edit: '2', type: 'newEdit', createdAt: '2016-06-13 22:45:01', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '12585', pageId: 'derivative_calculus', userId: 'MichaelCohen', edit: '1', type: 'newEdit', createdAt: '2016-06-13 22:40:31', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' } ], feedSubmissions: [], searchStrings: {}, hasChildren: 'false', hasParents: 'true', redAliases: {}, improvementTagIds: [], nonMetaTagIds: [], todos: [], slowDownMap: 'null', speedUpMap: 'null', arcPageIds: 'null', contentRequests: {} }