Area in between graphs, one graph partially below y=0

In summary, the conversation discusses two methods for calculating the area in between two functions, f(x) and g(x). One method involves splitting the integral and calculating the area separately, while the other method involves subtracting the functions and integrating over the entire interval. After some confusion, it is determined that both methods are valid and the decision to use one over the other depends on personal preference.
  • #1
Keipi
7
2

Homework Statement


[/B]
The problem is stated in dutch and dutch is my first language. I will try to translate it all as accurately as possible.

Imagine the following two functions: [itex]f(x)=x^3-4x^2[/itex] and [itex]g(x)=2x^2[/itex].
Algebraically calculate the area in between the two graphs.

Homework Equations



Integration:
[itex]f(x)=x^a[/itex] then [itex]\int f(x)dx=\frac{1}{a+1} x^{a+1}+c[/itex]

Area underneath a graph where it's under y=0 in between x=a and x=b
[itex]Area = -\int_a^b f(x) dx[/itex]

The Attempt at a Solution


[/B]
I began by finding the two intersecting points of the graphs to determine for which x-values I needed to integrate.

[itex]f(x)=g(x)[/itex] so [itex]x^3-4x^2=2x^2 \rightarrow x^3-6x^2=0 \rightarrow x^2(x-6)=0 \rightarrow x^2 = 0 or x-6 = 0[/itex] thus x=0 and x=6 are the two points of intersection.

Afterwards I determined where [itex]f(x)[/itex] intersects with [itex]y=0[/itex], to see which part I needed to calculate separately.

[itex]x^3-4x^2=0 \rightarrow x^3=4x^2 \rightarrow x=4[/itex]

The part of f(x) that is underneath the x-axis needs to be added to the area below g(x) since it's part of the enclosed area. The calculation for the area will then be:

[itex]\int_0^6 g(x) dx +(-\int_0^4 f(x)dx) - \int_4^6 f(x) dx[/itex]
[itex][\frac{2}{3}x^3]_0^6 +(-[\frac{1}{4}x^4-\frac{4}{3}x^3]_0^4) - [\frac{1}{4}x^4-\frac{4}{3}x^3]_0^4[/itex]
[itex]144+21\frac{1}{3}-58\frac{1}{3}=108[/itex]

The answer 108 corresponds with the book, so it either is a coincidence or I used a method that was right but different from the book. The book calculates it like this:

[itex]\int_0^6 g(x)-f(x) dx \rightarrow \int_0^6 2x^2 - (x^3 - 4x^2) dx = \int_0^6 6x^2-x^3[/itex]
Integrating the above also results in the answer of 108.

The part I don't understand is how their method is correct. f(x) in the domain of x=0 to x=4 is below the x-axis, as far as I know this would mean having to split it up and calculating it separately. The part between the x-axis and f(x) in the domain of x=0 to x=4 would be left out using their method. Or so I think.

The question then comes down to this: If the method used by the book is correct, why? Shouldn't the part below the x-axis be integrated seperately?

Not to be pessimistic or negative about the community on this forum (I don't know the community here, this is just a generalization of the average forum poster. Sorry in advance if I am horribly wrong.), I expect the answer to be 'ask your teacher for an explanation, that would be best.'. To avoid this, I felt I should explain the situation so I can get a proper answer quicker:

I do not have a teacher. I am doing this by myself, the only book I have is a summary book and the problem I listed above is from an exam given in previous years. The book I have, being a summary book, does not give any proper explanation for the statements it does so I mostly learn by trial and error and trying to understand what is going on. The reason I need the knowledge is because I have to take the exam myself so I can start my bachelor study in physics next college year.

I hope someone can explain this to me. If anything is unclear, please do ask. I have proof-read it but I can't guarantee that I got everything.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Both methods are good. You can just subtract the functions since as long as f is below g, the function h=g-f is positive. So, you do not need to split up h over the interval.
 
  • #3
To add to what RUber said, the formula for the area between two graphs between ##a## and ##b## is$$
A = \int_a^b y_{upper}-y_{lower}~dx$$If the curves don't cross, there is no problem. Where the trouble usually comes for students is where they are calculating the area between a function ##f(x)## and the ##x## axis. If ##f(x)## goes negative on the interval the upper and lower curves (##f(x)## and the ##x## axis) change. That's when you have to break the interval up.
 
  • #4
Sorry for the extremely late answer. Thanks for the help, after the answers I went to check again to see what I was missing, why I couldn't really see that it was both true.

After working through it again I noticed that taking the negative integral of the part underneath the x-axis will turn out positive, and then be added to the rest. Knowing that, it seemed logical to me that you could also just add it to the other integrals at the start to save time.

Thanks again. :)
 

FAQ: Area in between graphs, one graph partially below y=0

What is the area in between two graphs?

The area in between two graphs refers to the space enclosed by the two curves on a graph. This can be found by calculating the definite integral of the difference between the two functions.

How do you find the area in between two graphs?

To find the area in between two graphs, you can use the definite integral formula: ∫(f(x) - g(x)) dx, where f(x) and g(x) are the two functions and dx represents the width of each rectangle under the curves. This integral represents the summation of all the areas of the rectangles between the two curves.

What does it mean when one graph is partially below y=0?

When one graph is partially below y=0, it means that a part of the graph is located in the negative y-axis. This can also be interpreted as the function having negative values for certain x-values.

How do you calculate the area when one graph is partially below y=0?

The area between two graphs when one is partially below y=0 can be calculated by breaking the integral into two parts: one for the area above y=0 and one for the area below y=0. The area below y=0 can be found by calculating the absolute value of the integral.

Why is it important to find the area in between two graphs?

Finding the area in between two graphs is important in many applications, such as calculating the work done by a variable force, finding the displacement of an object, or determining the total revenue or cost in economics. It also helps in visualizing and understanding the relationship between two functions.

Similar threads

Replies
10
Views
1K
Replies
15
Views
2K
Replies
2
Views
938
Replies
2
Views
795
Replies
4
Views
620
Replies
1
Views
1K
Back
Top