Download ArticleDownload Article

Linear interpolation, also called simply interpolation or “lerping,”[1] is the ability to deduce a value between two values explicitly stated in a table or on a line graph. While many people can interpolate on an intuitive basis, the article below shows the formalized mathematical approach behind the intuition.

  1. How.com.vn English: Step 1 Identify the value for which you want to find a corresponding value.
    Interpolation can be used for such things as finding a logarithm or trigonometric function value or for the corresponding gas pressure or volume for a given temperature in chemistry.[2] Because scientific calculators have largely replaced logarithmic and trigonometric tables, we’ll use as our example for finding an interpolated value that of finding the pressure of a gas for a temperature whose value isn’t listed in the reference table or as a graph point.
    • For the equation we’ll derive, we’ll represent the value that we want to find a corresponding value for as ‘’x’’ and the interpolated value we want to find as ‘’y’’. (We’ll use these labels, because on a graph, the value we know would be plotted on the horizontal, or x-axis, and the value we’re trying to find would be plotted on the vertical, or y-axis.)
    • Our ‘’x’’ value will be the temperature of the gas, which for this example will be 37 °C (99 °F).
  2. How.com.vn English: Step 2 Find the closest values below and above the value of x in the table or on the graph.
    Our reference table doesn’t give a gas pressure for 37 °C (99 °F), but it does list values for 30 °C (86 °F) and 40 °C (104 °F). The gas pressure at 30 °C (86 °F) is 3 kilopascals (kPa) and the pressure at 40 °C (104 °F) is 5 kPa.
    • Because we’re representing the temperature of 37 °C (99 °F) with ‘’x’’, we’ll represent the temperature of 30 degrees as ‘’x1’’ and the value of 40 degrees as ‘’x2’’.
      How.com.vn English: Step 2 Find the closest values below and above the value of x in the table or on the graph.
    • Because we’re representing the pressure were trying to find with ‘’y’’, we’ll represent the pressure of 3 kPa at 30 °C (86 °F) as ‘’y1’’ and the pressure of 5 kPa at 40 °C (104 °F) as ‘’y2’’.
      How.com.vn English: Step 2 Find the closest values below and above the value of x in the table or on the graph.
    Advertisement
  3. How.com.vn English: Step 3 Find the interpolated value mathematically.
    The equation for finding the interpolated value can be written as y = y1 + ((x – x1)/(x2 - x1) * (y2 - y1))[3]
    • Plugging in the values for x, x1, and x/2 in their places gives (37 – 30)/(40 -30), which reduces to 7/10 or 0.7.
      How.com.vn English: Step 3 Find the interpolated value mathematically.
    • Plugging in the values for y1 and y2 at the end of the equation gives (5 – 3) or 2.
      How.com.vn English: Step 3 Find the interpolated value mathematically.
    • Multiplying 0.7 by 2 gives a product of 1.4. Adding 1.4 to the value of y1, or 3, gives a value of 4.4 kPa. Checking this against our original values, 4.4 falls between 3 kPa at 30 °C (86 °F) and 5 kPa at 40 °C (104 °F), and because 37 is closer to 40 than it is to 30, the result should be closer to 5 kPa than it is to 3 kPa.
      How.com.vn English: Step 3 Find the interpolated value mathematically.
  4. Advertisement


Community Q&A

Search
Add New Question
  • Question
    What is the interpolation of 27.5?
    How.com.vn English: Hibou8
    Hibou8
    Community Answer
    When you are doing a linear interpolation, you are approximating the function between points as a line. From there, you can find the estimated value at any point between them. Therefore, you cannot ask the interpolation of a single number - rather, you need multiple numbers to determine your line, and from there you can ask what value you would expect at a point.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • If you’re good at estimating distances on graphs, you can do a rough interpolation by eyeballing the position of a point against the x-axis to determine the corresponding y-value.[4] If the example above had been plotted on a graph where the x-axis was marked in units of 10 °C (50 °F) and the y-axis in units of 1 kPa, you could approximate the position of 37 °C (99 °F) and then look at the y-axis to find a point not quite halfway between 4 and 5 kPa. The equation above simply formalizes the thinking process and provides a more precise value.
      • Related to interpolation is extrapolation, which is finding a corresponding value for a given value outside of the range of values listed in a table or concretely plotted on a graph.[5]
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Joseph Meyer
      Reviewed by:
      Math Teacher
      This article was reviewed by Joseph Meyer. Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University. This article has been viewed 364,540 times.
      117 votes - 83%
      Co-authors: 8
      Updated: March 28, 2023
      Views: 364,540
      Categories: Mathematics
      Thanks to all authors for creating a page that has been read 364,540 times.

      Reader Success Stories

      • How.com.vn English: Ellaine Gonzales

        Ellaine Gonzales

        Dec 12, 2018

        "My boss provided incomplete data for our report and told me to just interpolate it. Last time I encountered..." more
        Rated this article:
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement