Integral of a multi-part function

I have two functions

I need to write S(x) without the integral sign.

**My attempt**

I started by trying to find the primitive functions for each part

1.a

2.a

3.a

Now what confuses me a bit is what integrating from 0 to x actually means in this case. Does it just mean that I integrate for the defined interval in each case? Or do I actually calculate things like 1.b here:

1.b

I am also supposed to plot S(x), so I would like to grasp how it works/what it looks like. Right now I just cannot get my head around this.

Any help appreciated.

Re: Integral of a multi-part function

Re: Integral of a multi-part function

Re: Integral of a multi-part function

Quote:

Originally Posted by

**sugarmuffin** So a different way to express f(t) could be like below?

You have a mistake in the first line.

Re: Integral of a multi-part function

Right, I don't know how I missed that.

Then

Pretty sure that part is correct now. But I am still a bit confused. Was the second part of my last post correct? The assumption that the part for 2.a would look like below?

Re: Integral of a multi-part function

**Attempt 3**

I've ended up with this

Is this in any way correct?

I'm not really sure if I am still over simplifying things. And I apologize if these are stupid questions, but I am extremely stressed at the moment and just cannot figure this out.

Again, thanks for the help.

Re: Integral of a multi-part function

Quote:

Originally Posted by

**sugarmuffin** **Attempt 3**
I've ended up with this

Is this in any way correct?

Did you account for the fact

Re: Integral of a multi-part function

Quote:

Originally Posted by

**Plato** Did you account for the fact

No.. I don't think I did. I have to admit that that completely stumps me, how does that come about?

Re: Integral of a multi-part function

Quote:

Originally Posted by

**sugarmuffin** No.. I don't think I did. I have to admit that that completely stumps me, how does that come about?

If then

Re: Integral of a multi-part function

Ahhh okay, I see what you mean now. But in the original post,

So is really a part of this interval? Can I still use it in the way you have suggested?

I just assumed it would be part of the sin(t) interval, and could only be used there.

Re: Integral of a multi-part function

Quote:

Originally Posted by

**sugarmuffin** Ahhh okay, I see what you mean now.

But in the original post,
So is

really a part of this interval? Can I still use it in the way you have suggested?

I just assumed it would be part of the sin(t) interval, and could only be used there.

In integrals that makes absolutely no difference.

The value is the same no matter one point.

If then .

Just do straightforward integration. Change no limits around.

If then

Re: Integral of a multi-part function

Okay, this has begun making sense. You sir, are a saint.

It would make sense to first do the middle one:

.

Then as you said before

And then finally with the same logic as before

Does this look better?

Re: Integral of a multi-part function

Quote:

Originally Posted by

**sugarmuffin** Does this look better?

Yes, much better.

Re: Integral of a multi-part function

I've gone through it a couple of times now. Think I understand what we did fairly well.

Thanks again for your help. Really appreciated.