# Differentiation Rules - Finding the Derivative of a Constant Times a Function

In this post I'm going to explain another one of the differentiation rules for working with derivatives.  This time, I will show you how to find the derivative of a constant times a function.

In case you have missed them, I am creating a series of posts that explain some basic concepts in differential calculus.  So far, in my first lesson I explained how to find the derivative of a constant function, and then I followed that with a post about the power rule for derivatives.  So far, these are some of the basic rules for calculating derivatives, and it is a good idea to become very familiar with them so that you can apply them all as required on more elaborate problems later on.

This derivatives rule is a very simple one, but that doesn't make it any less important.  Consider that you have any function f(x), and it is multiplied by a constant.  Assuming that f'(x) in fact exists, f'(x) times a constant is equal to the constant times this derivative.  That may sound a little wordy, so maybe this equation will be a little clearer:

So, all you really need to be concerned with is calculating the derivative f'(x).  Then, multiplying by the constant is a simple calculation that you can add at the end.

If you're curious about what this rule means, here is one way of looking at this.  If you have an equation such as y = f(x), if you consider multiplying this function by a constant, what you are doing is essentially stretching the graph vertically.  So, comparatively, y = 2f(x) is a graph that is twice the height.  Therefore, if you then consider the slope along this function, since you have doubled the rise but not the run (the slope calculation), you have a doubled slope at every point.  And since the derivative of a function represents the slope of the line at a point, you can then see how this rule all comes together.  Basically, if you stretch the function by a constant factor, you can simply multiply the slope (the derivative) by this factor as well.

As I said, there isn't much to remember about this particular derivative rule, but it is very important to know.  It will often need to be considered in addition to other rules that I have/will outline in this series. One example would be to calculate the derivative of something like 4x3.  In this case, you'd need to draw upon this rule, as well as the power rule from my last post.  There are a few other basic differentiation rules like this one that I will cover in my next posts.  Learn all of these rules well, and you'll have no problem differentiating complicated functions!

One final comment - if you thought this post was helpful in any way, then please do me a favour and click on the Like and +1 buttons found on this page!  Thanks for your support and for visiting.  Be sure to come back if you need help with any other maths concepts.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://sk19math.blogspot.com/2013/05/derivative-of-constant-times-function.html", "fetch_time": 1506099613000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2017-39/segments/1505818689028.2/warc/CC-MAIN-20170922164513-20170922184513-00142.warc.gz", "warc_record_offset": 722579751, "warc_record_length": 18808, "token_count": 655, "char_count": 2917, "score": 4.78125, "int_score": 5, "crawl": "CC-MAIN-2017-39", "snapshot_type": "longest", "language": "en", "language_score": 0.9573045969009399, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00001-of-00064.parquet"}