Ask your own question, for FREE!
Mathematics 16 Online
OpenStudy (babynini):

Hewp. Piece wise function as a "so far" function.

OpenStudy (babynini):

OpenStudy (babynini):

@ganeshie8 :)

jimthompson5910 (jim_thompson5910):

this question is similar to a problem done a few days ago http://openstudy.com/users/babynini#/updates/568f4480e4b0b283c160dfc3

OpenStudy (babynini):

ooh hmm..

OpenStudy (babynini):

How..do I go about doing this one?

OpenStudy (babynini):

this time i'm finding f(t) = { for each of the ones by f(x)? if that makes sense

jimthompson5910 (jim_thompson5910):

you are finding g(x) where \[\Large g(x) = \int_{-4}^{x}f(t)dt\]

jimthompson5910 (jim_thompson5910):

break it up into pieces first find \[\Large \int_{-4}^{x}\sqrt{-t}dt\] where x ranges from -4 to 0 (including -4 but not including 0)

OpenStudy (babynini):

so I find each of those points?

jimthompson5910 (jim_thompson5910):

what is that integral equivalent to?

OpenStudy (babynini):

put x in place of t integrating it= -(2/3)x^(3/2)

jimthompson5910 (jim_thompson5910):

forget about the limits of integration for a moment

jimthompson5910 (jim_thompson5910):

what is \[\Large \int \sqrt{-t}dt\] equal to?

OpenStudy (babynini):

(-t)^1/2.. ?

jimthompson5910 (jim_thompson5910):

no

jimthompson5910 (jim_thompson5910):

you are integrating (-t)^(1/2) to get something else

OpenStudy (babynini):

I'm not sure what answer you're looking for o.0

jimthompson5910 (jim_thompson5910):

for now, I'm just looking for the result of \[\Large \int \sqrt{-t}dt\] or \[\Large \int (-t)^{1/2}dt\]

OpenStudy (babynini):

\[= -\frac{ 2 }{ 3 }(-t)^{3/2}\]

jimthompson5910 (jim_thompson5910):

+C correct

jimthompson5910 (jim_thompson5910):

now evaluate it at the limits of integration, x and -4 what is \[\Large \int_{-4}^{x} \sqrt{-t}dt\] equal to?

OpenStudy (babynini):

\[-\frac{ 2 }{ 3 }(-x)^{3/2}+\frac{ 16 }{ 3 }\]

jimthompson5910 (jim_thompson5910):

correct, so that takes care of the first piece of g(x)

jimthompson5910 (jim_thompson5910):

what happens when x = 0 ?

jimthompson5910 (jim_thompson5910):

what is the value of \[-\frac{ 2 }{ 3 }(-x)^{3/2}+\frac{ 16 }{ 3 }\] when x is zero?

OpenStudy (babynini):

It equals just 16/3

jimthompson5910 (jim_thompson5910):

yep

jimthompson5910 (jim_thompson5910):

so for just the first piece alone, the total area under the curve is 16/3 this will be used to form the next piece (because everything adds on cumulatively)

OpenStudy (babynini):

ahh so setting x = 0 is what will give us the actual area under the curve?

jimthompson5910 (jim_thompson5910):

yeah because the first piece of f(x) spans from x = -4 to x = 0 (not including 0 itself)

jimthompson5910 (jim_thompson5910):

so if \[\Large \Large g(x) = \int_{-4}^{x}f(t)dt\] then g(x) is some piecewise function where the first piece is \[-\frac{ 2 }{ 3 }(-x)^{3/2}+\frac{ 16 }{ 3 }\] if -4 <= x < 0

jimthompson5910 (jim_thompson5910):

the second piece of g(x) will be equal to \[\Large \frac{16}{3} + \int_{0}^{x}(t^2-4)dt\] where x is some value from 0 to 3 (not including 3 itself)

OpenStudy (babynini):

so in the second one I would set x equal to 0 again, and..also equal to 3?

jimthompson5910 (jim_thompson5910):

first tell me what the antiderivative of `t^2 - 4` is

OpenStudy (babynini):

\[\frac{ t^3 }{ 3 }-4t\]

OpenStudy (babynini):

+ C

jimthompson5910 (jim_thompson5910):

correct

jimthompson5910 (jim_thompson5910):

now evaluate at the endpoints x and 0

OpenStudy (babynini):

\[\frac{ x^3 }{ 3 }-4x - 0\] like so?

jimthompson5910 (jim_thompson5910):

looks good

jimthompson5910 (jim_thompson5910):

so \[\Large \frac{16}{3} + \int_{0}^{x}(t^2-4)dt\] turns into \[\Large \frac{16}{3} + \frac{x^3}{3}-4x\] this is the second piece of g(x)

OpenStudy (babynini):

why don't we evaluate that second one at 3? even though it's not included there is still the space between say x being 2 and x being 3

jimthompson5910 (jim_thompson5910):

we're getting there

jimthompson5910 (jim_thompson5910):

we'll evaluate at x = 3 when we want to find the area from x = 0 to x = 3 to help set up the third and final piece

jimthompson5910 (jim_thompson5910):

so what does \[\Large \frac{16}{3} + \frac{x^3}{3}-4x\] evaluate to when x = 3?

OpenStudy (babynini):

7/3

jimthompson5910 (jim_thompson5910):

correct

jimthompson5910 (jim_thompson5910):

this is the total area so far from x = -4 to x = 3

jimthompson5910 (jim_thompson5910):

so the third piece of g(x) will look like \[\Large \frac{7}{3} + \int_{3}^{x}(2t+4)dt \] where x is now 3 or larger

OpenStudy (babynini):

t^2+4t +C

jimthompson5910 (jim_thompson5910):

evaluate that at the endpoints (3 and x)

OpenStudy (babynini):

x^2+4x-21

jimthompson5910 (jim_thompson5910):

good

jimthompson5910 (jim_thompson5910):

so overall, this is g(x) \[\Large g(x) = \int_{-4}^{x}f(t)dt\] becomes \[\Large g(x) = \begin{cases} \Large -\frac{ 2 }{ 3 }(-x)^{3/2}+\frac{ 16 }{ 3 } \ \ \text{if } -4 \le x < 0\\ \Large \frac{16}{3} + \frac{x^3}{3}-4x\ \ \text{if } 0 \le x < 3\\ \Large \frac{7}{3}+x^2+4x-21\ \ \text{if } x \ge 3 \Large \end{cases}\]

jimthompson5910 (jim_thompson5910):

after this point, you would graph g(x) as accurately as possible

OpenStudy (babynini):

so for that last point, to get a result without x's in it, would I evaluate at 3 again? for the 7/3 + x^2+4x-21

OpenStudy (babynini):

Though I guess they're not really asking for the area under the curve, so I don't "technically" have to find it.

jimthompson5910 (jim_thompson5910):

there is no upper bound though

jimthompson5910 (jim_thompson5910):

g(x) is the area so far function whatever x you plug in, it's the area from x = -4 to that inputted x value

OpenStudy (babynini):

Right, right, gotcha. It just goes off into infinity somewhere (or stops/meets again at some unknown point)

jimthompson5910 (jim_thompson5910):

it will go off to infinity because `7/3 + x^2+4x-21` has the leading term of `x^2` as x --> infinity, x^2 --> infinity

OpenStudy (babynini):

Yeah. em, when trying to calculate points for this, I keep coming up with imaginary numbers..? haha

jimthompson5910 (jim_thompson5910):

keep in mind that the piecewise function is set up where the first piece is from -4 to 0 (3 is not in this interval)

OpenStudy (babynini):

right, but I put -3 in there. it does the same with -4 and -2

jimthompson5910 (jim_thompson5910):

if you did x = -3, then the -x would be equal to +3

OpenStudy (babynini):

....riight xD

OpenStudy (babynini):

ok, well, I guess you can stick around to see the graph haha but if not, thank you so much!! absolutely saved me lol

jimthompson5910 (jim_thompson5910):

sure I can check that too. I graphed mine with geogebra if you wanted to see it

OpenStudy (babynini):

woah that would be awesome.

OpenStudy (babynini):

I'm drawing it by hand :| sigh

jimthompson5910 (jim_thompson5910):

definitely better to use technology when you can the first piece of g(x) is marked in blue, the second in red, and the third in green

jimthompson5910 (jim_thompson5910):

all I did was graph the three functions (each piece as a full function) then restrict the domain of each function so that things line up

OpenStudy (babynini):

That's so cool. I haven't heard of that geogebra before.

OpenStudy (babynini):

Right, the homework calls for "draw an accurate sketch" so...idk if it's required to be by hand or not. It would be so much better with the tech. but idk o.o

jimthompson5910 (jim_thompson5910):

you should check it out http://www.geogebra.org/

jimthompson5910 (jim_thompson5910):

it's hard to say for sure, but the teacher may accept hand drawn graphs

OpenStudy (babynini):

Thanks! haha maybe I should turn in both xD

jimthompson5910 (jim_thompson5910):

definitely not a bad idea

OpenStudy (babynini):

Yeah, i'll do that then. Thanks man :)

jimthompson5910 (jim_thompson5910):

no problem

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!