WEBVTT
00:00:03.090 --> 00:00:04.690
Piecewise Functions
00:00:05.890 --> 00:00:17.690
But first, we need to remember that the domain, to make in, are always the 𝑥-axis and the input values, and the range is always the 𝑦-axis and the output values.
00:00:19.100 --> 00:00:27.250
We also have to remember that a function is where every element in the domain is mapped to exactly one element in the range.
00:00:28.870 --> 00:00:32.220
So this is what a piecewise function actually looks like.
00:00:33.440 --> 00:00:43.180
And a piecewise function can be defined as a function which more than one formula is used to define the range over different pieces of the domain.
00:00:43.700 --> 00:00:49.030
So what that means is, this formula one is only part of the range.
00:00:49.030 --> 00:00:57.240
It’s only part of the function if 𝑥 is in that part of the domain, and same with formula two and formula three.
00:00:57.650 --> 00:01:04.690
Now there can be as many formulas within a piecewise function as we need to be part of the function.
00:01:05.180 --> 00:01:09.900
There’s obviously no maximum, but the minimum is of course two.
00:01:10.100 --> 00:01:11.710
Because otherwise, it’ll just be a function.
00:01:12.380 --> 00:01:19.070
Now another important thing to note, is that only one formula can be applied to one domain.
00:01:19.570 --> 00:01:22.890
And that’ll make more sense as we have a look at this next example.
00:01:24.480 --> 00:01:38.590
The function 𝑓 of 𝑥 is defined by 𝑓 of 𝑥 is equal to five minus two 𝑥, if 𝑥 is less than one, and 𝑥 squared plus three, if 𝑥 is greater than or equal to one.
00:01:38.900 --> 00:01:40.680
Find the domain and range.
00:01:41.310 --> 00:01:54.430
So looking at these inequalities, we can see what I said just before, that only one function can be applied to one part of the domain.
00:01:54.650 --> 00:02:02.050
So we can see for the first function it’s everything less than one, and then for the second function it’s everything greater than or equal to one.
00:02:02.400 --> 00:02:04.590
They can’t both be also equal.
00:02:05.610 --> 00:02:06.070
Okay.
00:02:06.130 --> 00:02:08.460
So let’s start finding the domain and range.
00:02:08.820 --> 00:02:15.690
First thing we should do, is sketch both of the graphs individually and then combine them to one axis.
00:02:15.970 --> 00:02:19.260
I’m gonna go ahead and just combine them to one axis straightaway.
00:02:20.840 --> 00:02:24.440
So this is the graph 𝑓 of 𝑥 equals five minus two 𝑥.
00:02:25.570 --> 00:02:29.400
And this is the graph 𝑓 of 𝑥 equals 𝑥 squared plus three.
00:02:29.680 --> 00:02:32.350
Now you’ll notice these circles.
00:02:32.940 --> 00:02:50.750
We’ve done this because we’ve said in this circle that’s coloured in, that means that function is also included in this coordinate, whereas this circle is not coloured in so therefore it’s not also included.
00:02:50.750 --> 00:02:54.070
And that’s going back to how we act on number lines.
00:02:56.140 --> 00:02:56.610
Okay.
00:02:56.710 --> 00:02:58.530
So let’s find the domain and range.
00:02:59.070 --> 00:03:04.270
Well we know that the domain is every possible input value in the 𝑥-axis.
00:03:04.420 --> 00:03:20.360
So whatever 𝑥 could be, well we know that 𝑥 could be any real number, as 𝑥 can be any negative number from the five minus two 𝑥 function, and the 𝑥 can be any positive number from 𝑥 squared plus three.
00:03:20.850 --> 00:03:30.010
We’re also given this in the question, because we’re told that 𝑥 is going to be everything less than one and also everything greater than one.
00:03:30.600 --> 00:03:34.910
So therefore, the domain is just 𝑥 in the real set of numbers.
00:03:35.170 --> 00:03:42.850
Or we could say, every 𝑥 value from negative infinity to positive infinity, if you prefer set notation.
00:03:44.340 --> 00:03:50.200
Now looking at the range, we know that the range are all of our output values or the 𝑦-axis.
00:03:50.350 --> 00:03:56.060
And we can see that we’re going to receive every 𝑦 value greater than three.
00:03:56.430 --> 00:03:57.790
Now that’s important to note.
00:03:57.820 --> 00:04:04.970
It’s greater than three because this coordinate here is not actually included within the function.
00:04:05.650 --> 00:04:08.480
So 𝑓 of 𝑥 is greater than three.
00:04:09.660 --> 00:04:10.100
Okay.
00:04:10.460 --> 00:04:23.740
So just to recap, a piecewise function, after we have here, is a function which has multiple formulas to define the range over different pieces of the given domain.
00:04:24.600 --> 00:04:28.890
And we know that the domain is the 𝑥-axis, all of our input values.
00:04:28.890 --> 00:04:32.840
And the range is the 𝑦-axis, all of our output values.
00:04:33.050 --> 00:04:38.090
And what we should do when we’re given a piecewise function, is sketch it and find them.