1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Area under a graph

  1. Oct 13, 2013 #1
    1. The problem statement, all variables and given/known data

    Please refer to the image attached. Part (ii)

    2. Relevant equations

    3. The attempt at a solution

    My workings are in the second image. I don't understand why is it wrong.

    Since the graph is well below the x-axis, if I integrate it do I get infinity?

    (The x-coordinates of P and Q are -2 and 4)

    Attached Files:

  2. jcsd
  3. Oct 13, 2013 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    Not if you set it up right.
    Areas below the x axis normally come out negative. You need to decide how to divide the region up so you can integrate in several stages.
  4. Oct 14, 2013 #3
    Alternatively, think of a way you could translate each of the graphs such that the bounded area is then totally above the x-axis, thus eliminating the confusion of having to deal with "negative areas".
  5. Oct 14, 2013 #4
    If you just look at your picture you can see the area involved is not infinite. To get an integral to be ##\infty## you need a function which becomes either very large or very small (negative numbers). That isn't happening in the area of your interest.
  6. Oct 14, 2013 #5


    Staff: Mentor

    Your integral is not set up correctly. In the first line of your work you have three integrals, and one of them is incorrect. Using vertical strips, which you did, all you need is one integral. Throughout the interval [-2, 4], the line is always above the parabola, and the height of a typical area element is (2x + 4) - (x2 - 4). Just integrate this expression and you should get the right answer.
  7. Oct 14, 2013 #6


    Staff: Mentor

    An area, wherever it is, should not come out negative. If it does, you haven't set up the integral correctly. If you are integrating with respect to x (using vertical strips), the height of each strip should be <yupper - ylower>. If you are integrating with respect to y (using horizontal strips), the width of each strip should be <xright - xleft>.
  8. Oct 14, 2013 #7

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    I think we are using different ideas about what an area is: the area under a velocity-time graph is the displacement and displacements can be negative.

    Reversing the order of the integral limits just to make that instance positive will make other instances negative - or introduce inconsistencies into the model.
  9. Oct 15, 2013 #8
    When you are looking for an area, as opposed to an integral, you have to do your computation in at least two steps. The first is to compute the integral for those values of f that are positive. Then you compute separately an integral for those values of f that are negative. Each of these computations could involve splitting up the integral still further.

    Once you have the positive and negative values, say A and B respectively, your area is A - B.
  10. Oct 15, 2013 #9


    Staff: Mentor

    In that case you're not really talking about "area" as the dimensions would be distance/time * time, and distance can be signed. If we're talking about area in the usual geometric sense, area can't be negative.

    Also, "under a graph" doesn't make sense for the intervals where the graph goes negative. Here the region under the graph would be infinite in size. A more precise description would describe the region as between the graph and the horizontal axis.

    Here's an example: f(x) = sin(x) on [0, ##2\pi##].
    If we want the area of the region bounded by f and the x axis, the integral would be
    $$\int_0^{\pi} [sin(x) - 0]dx + \int_{\pi}^{2\pi} [0 - sin(x)]dx = 2 + 2 = 4$$

    OTOH, if f represents the velocity, then integrating the velocity gives us the displacement.
    $$\int_0^{2\pi} sin(x)dx = 0$$
    Getting back to the context of this thread (area), I don't at all suggest that we change from the usual order of integration (i.e., left to right or from bottom to top).
  11. Oct 15, 2013 #10

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    Yes I figured we were not talking about the same concept of "area".
    You are restricting the term to refer to the amount of a geometric surface.
    You'd probably say that "yeah, of course, that's what area means."

    See also, discussions:

    And this is fairly representative of calc classes:

    For the area between two curves where f(x)>g(x) in the regeon a<x<b we have:

    $$A=\int_a^bf(x)dx-\int_a^bg(x)dx = A_f-A_g$$ ... notice that this returns a positive area even if both functions are completely negative and their integrals (areas) are negative.

    Technically all integration is finding the area between two curves - it's just that we teach g(x)=0 without stating that when you are just starting out. To make this work, some parts of the designated area must be given a negative sign.
    Last edited: Oct 15, 2013
  12. Oct 15, 2013 #11


    Staff: Mentor

    Since f(x) > g(x) on the interval, then f(x) - g(x) > 0. So you can write the integral that represents the area between the two curves as
    $$A=\int_a^b [f(x) - g(x)]dx$$
    Then you don't have to resort to talking about negative areas.

    Not if you pay attention to which bounding function is larger on a given interval.
  13. Oct 15, 2013 #12

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    I didn't expect to convince you. (Did you also check the links?)

    But now, at least, I know you are aware of other ways of looking at the concept of area than what you have expounded.
    You may disagree with them - that does not make them incorrect.

    The area under the x-axis being negative is the standard approach taken in text books. It doesn't stop there of course - any simple definitive statement would be misleading.
    Maybe you'd say the standard approach is incorrect in some way, you can take it up with the authors, but the student still has to deal with it.
    Last edited: Oct 15, 2013
  14. Oct 15, 2013 #13


    Staff: Mentor

    I looked at a couple of the links in post #10. I agree with HallsOfIvy, that "area" is just one application of the definite integral, and that "area" is nonnegative. It's been a while since I taught calculus (about 15 years), but I don't remember the text we used (Thomas-Finney) or others that talked about area being negative or describing regions below the x-axis as having "negative area." Can you cite any textbooks that use what you describe (negative area) as their standard approach?

    As I said before, the whole thing becomes moot if you just keep track of which function is larger on any given interval.
  15. Oct 15, 2013 #14


    Staff: Mentor

    We're off-topic here and haven't heard from the OP since post #1. Let's agree to disagree on this negative area thing.
  16. Oct 15, 2013 #15
    It's all terminology anyway. If all of us (possibly excepting the OP) worked this problem, I'm sure we would all get the same answer.
  17. Oct 15, 2013 #16

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    Sure: Calculus by Gilbert Strang (2005) uses the concept repeatedly. Noteably in ch7. (MIT have an online study guide and an instructors manual for it.)

    Edwards and Penny (1986), Calculus and Analytic Geometry 2nd Ed - takes trouble to distinguish between "negative area" and "the negative of the area" for different contexts (i.e. p279)...

    Both those are college level - HS texts are more likely to get sloppy with terminology.

    I know where you are coming from - the geometric area has dimensions of L^2 and can only be negative in the sense of removing part of the surface. (i.e. "negative space" in art) A negative integral for geometric area is an artifact of the coordinate system.

    I believe we agree there:)

    When doing integrations, you have to bear in mind what it is that you are trying to find.
    If you do an integration and get a negative value out the end - it is not necessarily invalid. A negative outcome may make sense for the problem. I don't think you disagree about this.

    Yeah - the disagreement is over nomenclature.

    In this case, the final area should be positive ... as in, how much carpet would cover a floor with that shape.

    That's my thought - neither approach does any harm.

    We do need to hear from OP ... I was gonna mention it but I noticed that post #1 was not that long ago.

    Whatever - one of our approaches is bound to resonate with OPs prior learning.
  18. Oct 15, 2013 #17


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    The real tragedy is that his confusion might have been that if the graph passes below the x-axis, then the area "under the graph" is all the area literally below the graph. Since there's no x-axis bounding the graph from below, that area appears to be infinite. And then you guys scared him off with your technobabble about negative areas :tongue:
  19. Oct 15, 2013 #18

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    The problem is to find the area bounded by the curves ##f(x)=2x+4## and ##g(x)=x^2-4##

    OP did the following:
    $$\text{Area}=\int_{-2}^4 (2x+4)dx - \int_2^4 (x^2-4)dx + \int_{-2}^2(x^2-4)dx$$

    ... the error was that the last integral should have been subtracted, not added.
    I had hoped that the "negative area" comment would have caused a re-evaluation of the last term... or, at least, a query about what it means. In this case: "negative of the area".

    Since g(x) < f(x), OP could have proceeded just by integrating the difference of the functions, and it would have come out automatically... as Mark44 suggested (described by summing the strips).

    It may have been more direct just to ask if the contribution from the last integral should be to increase or decrease the overall area ... and follow up with whether the calculation does this.
  20. Oct 16, 2013 #19
    I already got the answer right after I read #2 that day.
    Didn't expect so many subsequent replies, thanks everyone.

    However, despite my answer being correct, I am confused with the marking scheme's version which did it like this:

    ∫(-2 to 4) (2x+4) - (xsquare -4) dx

    36 unitsquare.

    Very elegant, but I can't understand what does it mean.
  21. Oct 16, 2013 #20


    Staff: Mentor

    What they are doing here is exactly what I described in post #5. Across the interval [-2, 4], the line y = 2x + 4 is above the parabola y = x2 - 4. If you divide up the interval into subintervals of width Δx, your typical area element will be [(2xi + 4) - (xi2 - 4)]Δx, with xi being some number in the i-th subinterval. If you add up the areas of these typical area elements, you'll get a number close to the actual area.

    Better yet, you can write the integral, which will give you the exact area.
    $$\int_{-2}^4 2x + 4 - (x^2 - 4)dx$$

    The similarity between the formula for the typical area element and the integrand above is not a coincidence.

    I wrote the integral using LaTeX. To see what I did, right-click anywhere in the integral.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted