Jump to content

Integration of Piecewise Functions?

Featured Replies

Not sure what I'm doing wrong, but I can't seem to get the integral for the third and fourth piece.

 

I might be using the wrong values for [a,b]. Anyone know the answers and what intervals should be used?

 

Am I supposed to add the first two parts into the third?

post-45949-0-81260400-1322433771_thumb.jpg

What you are doing wrong (I assume the green hooks and red crosses are supposed to indicate the parts you did correct and wrong, respectively) is that you are giving an antiderivative of f(x) for the respective x. What is asked for, however, is g(x). If you look careful at the definition of g(x) you will realize that g(x) is an arbitrary antiderivative of f(x) (or in fact should in this context not be thought of as the antiderivative at all)

 

EDIT: In an earlier version of this post I said that g(x) is not the antiderivative of f(x). That was wrong (it is an antiderivative, but a very specific one) and has been corrected now.

Edited by timo

  • Author

So for the third piece of g(x), I was missing the constant at the end, C.

 

To find C, I let the third equal the second, at x=1. So...

 

2x - 0.5x^2 + C = 0.5x^2 (at x=1)

 

Then solve for C, which is -1.

 

So the answer to the third is 2x - 0.5x^2 - 1

 

I know I have the right answer, but not sure if my method is correct. Can anyone confirm? Thanks!

Your method is correct but tedious and unnecessarily complicated to justify (as demonstrated by the fact that you are not even sure if it is the correct way). A simpler explanation is to consequently use the definition of g(x): For [math]1\leq x < 2[/math], [math]g(x) = \int_0^x \! f(x) \, dx = \int_0^1 \! f(x) \, dx + \int_1^x \! f(x) \, dx = \dots [/math].

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.