ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

A Standard Interview Question: Finding Integral and Derivative of a Graph without Knowing the Functional Form

Updated on March 22, 2012

Whenever you want to get into a research institute, almost in every case you need to appear for an interview. The interview board mainly tries to know how good your basics are and there are always questions to judge your mathematical skill and intuition. Here we will discuss one of such common but standard questions.

Figure 1
Figure 1

Question:

A y vs. x plot is given as shown in the figure 1 and it is said that it is the plot of velocity of a car as a function of time.

The graph is piecewise continuous and consists of three parts
A: linearly incresing
B: constant
C: linearly decreasing

You are asked to find its plot of distance travelled and acceleration as a function of time. Since numerical calculations are not required, numbers along y axis are removed.

This is exactly equivalent to find the integral and derivative of the given graph because distance is the integral of velocity and acceleration is nothing but the derivative of velocity. The same situation can occur in case of a plot between force applied to a system as a function of distance and you are required to find the work done. So here we will discuss the key ideas.

Figure 2
Figure 2

Finding Integral:

In the part A, value of velocity is increasing monotonically and so the distance must increase at a faster rate. Now as we see that it is a linear function of time the distance must increase quadratically or in other words the plot of integral will be parabolic (proportional to x­2), further the curvature will be downward (i.e. of concave type). In the region B velocity is constant, so the distance will be a linear function (proportional to x) of time. Finally in the third region C velocity is constantly decreasing so that distance traveled will still increase but at a smaller rate, further since the plot is decreasing linearly the distance will go quadratically (proportional to –x2) but now with a curvature pointing upward (i.e. of convex type). We also need to keep in mind that at the corner points the distance vs. time plot must have continuous slope. Hence our graph looks like figure 2.

Figure 3
Figure 3

Finding Derivative:

Now to calculate the acceleration, first we notice that in region A velocity is linearly increasing so the acceleration should be constant and positive. In region B velocity is constant so the acceleration is zero and finally in region C it is linearly decreasing, so the acceleration is constant and negative. We should notice that at the junction points of regions A and B, and C and D, the given graph is not smooth, consequently the plot of acceleration will be discontinuous at those junctions. Actually it is a positive Dirac delta function at the junction of A and B, and a negative Dirac delta function at the junction of B and C. The resulting graph is shown in figure 3.

This is how you can work out integral and derivative of a graph without knowing its exact functional form. The given link will give you an idea how to plot derivative of an arbitrary graph.

Comments

    0 of 8192 characters used
    Post Comment

    • roytanay profile imageAUTHOR

      roytanay 

      6 years ago from Mumbai

      Thanks, I am glad to see that it helped you understand.

    • profile image

      F.J.Sonia 

      6 years ago

      This article was very much useful for me. It made me understand clearly how to draw acceleration and distance vs time graph from a velocity vs time graph.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)