You are Here: Home >< Maths

# Compositions

1. Let be a function defined by

How would I go about solving ?

Any hints? I'm aware that this means but I just don't know how to go about solving this.

(I made this question up btw, the actual question is different but if I can understand what goes on here I can probably do the actual question)
2. (Original post by edothero)
Let be a function defined by

How would I go about solving ?

Any hints? I'm aware that this means but I just don't know how to go about solving this.

(I made this question up btw, the actual question is different but if I can understand what goes on here I can probably do the actual question)
The question you made up would need adusting since it's not a function (elements from the domain aren't mapped anywhere) and wouldn't be defined for the full domain.

Try this function instead with domain .

We'll start by trying different inputs e.g. a negative number like -10:

Inputting -10 into gives -8. Then input that into again and we get -6.

What's happening is we're getting .

But what happens if we start with an input of -3. Putting that into gives -1 and putting the result into gives -2.

What's happening here is .

Try to think about all the different cases. Post all your ideas/working if you get stuck.
3. (Original post by notnek)
The question you made up would need adusting since it's not a function (elements from the domain aren't mapped anywhere) and...
So I've tried inputting various values and I've ended up with 4 cases:

Though I'm not sure how the domain will be effected in each case;

For example:

The input: but the output:

Quite confused right now (I study Computer Science, not Maths)
4. (Original post by edothero)
...
Essentially, you need to be worrying about the range of as well.

So, looking at the first part of the function (the part) you need to know when that goes into the first part, and when that goes into the second part.

So for your . This is your function. You only put x+2 into x+2 when both and when . So we fill in:

when (since that's when both conditions are fulfilled).

This is because, for the first choice of which part of function to use, we look at what our is, if it's less than , then we put it into . We get an output from this, the output is (but remember that ), we want to put this output into the function again. We need to look at what the output is. If the output is less than -1, then it goes into the first part of the function again. So if (which is the same as ) then it goes into so you get whenever .

Now you repeat this process, when , you get an output that you want to put into the function again. This time, you want to put it into the second part of the function. This means your ouput so (along with x < -1) means that if you start with x satisfying those constraints, you put it into the first part of the function the first time around, get an output that tells you to put it into the second part of the function. So whenever your function is .

Now we look at the second part of your function, we only use it when . When this happens, we get an output . We want to see whether to put this output into the first part of the function or the second.

Whenever happens, we put it into the second part of the function. So we get whenever (along with ) which combined together gives you .

See if you can figure this bit out yourself:
Spoiler:
Show
You want to see when you put the second part of your function into the second part of your function. This means you have an , it's . You get an output . If this output is , you compose it with the second bit of your function again.

So you get when both and which combined together gives .

(sorry for stealing your example notnek)

Putting all of that together, our function is:
Spoiler:
Show

5. (Original post by Zacken)
Essentially, you need to be worrying about the range of as well.

So, looking at the first part...
This is quite a good explanation! Thanks a ton. I was able to answer the original question; whether it's correct or not: time will tell . Or you can be a bae and check it for me (its not assesed material).

How is Cambridge treating you btw?

Also thanks to notnek for the kick-start!
6. (Original post by edothero)
This is quite a good explanation! Thanks a ton. I was able to answer the original question; whether it's correct or not: time will tell . Or you can be a bae and check it for me (its not assesed material).

Also thanks to notnek for the kick-start!
Sure, I'm going to bed at 2:00, so if you get it up quickly, I'll have a look at it.
7. (Original post by Zacken)
Sure, I'm going to bed at 2:00, so if you get it up quickly, I'll have a look at it.
Can't seem to make the Latex work, if I end up posting it you can check it when you're free tomorrow.

Have a good sleep!
8. (Original post by edothero)
Can't seem to make the Latex work, if I end up posting it you can check it when you're free tomorrow.

Have a good sleep!
Just take a picture of it on paper or something or even write it out without latex, doesn't matter

thanks, you too
9. (Original post by Zacken)
Just take a picture of it on paper or something or even write it out without latex, doesn't matter

thanks, you too
Lmaooo well, lets just say I forgot to post it, but if you're still interested:

Question:
Spoiler:
Show
Let be a function defined by:

when
when

Find
Spoiler:
Show
when
when
when
when
10. (Original post by edothero)
Lmaooo well, lets just say I forgot to post it, but if you're still interested:

Question:
Spoiler:
Show
Let be a function defined by:

when
when

Find
Spoiler:
Show
when
when
when
when

1. Remember that you can collect the two middle functions together to get when

2. You can immediately tell that the last part of your function is wrong, since it's mapping to something, but is not even in your domain! The problem is that you're forgetting to put together the conditions on . goes into when TWO things are true. First, you need to hold so that you choose in the first place, you then get an output of (remembering that ) and then you put that back into if the output holds.

So when you have (i) and (ii) which can be cleaned up as .
11. (Original post by Zacken)
Thank you as always, I can imagine you're quite swamped with work at Cambridge so I appreciate taking time out to help
12. (Original post by edothero)
Thank you as always, I can imagine you're quite swamped with work at Cambridge so I appreciate taking time out to help
No problemo! And this is a good way of procrastinating on my four example sheets due in.

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: October 19, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

### Sex before marriage

Do guys stay with girls without sex?

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams