### Video Transcript

Set π superscript two equal to π of π, π superscript three equal to π of π of π, and so on such that π superscript two of π₯ equals π of π of π₯ and π superscript three of π₯ equals π of π of π of π₯, and so on. Suppose π of π₯ equals four π₯ minus five. Find π superscript four of three.

Letβs just get to grips with what the notation in this question is telling us. These superscripts denote the number of times that weβre applying a given function. π superscript two of π₯ means π of π of π₯. So we take an input value π₯, apply the function π, and then apply the function π a second time. Weβre asked to find π superscript four of three, so this means we take an input value of three and apply the function π four times, each time to the result of the previous iteration.

Letβs see what this looks like then. π of π₯ is the function four π₯ minus five. We take an input value, multiply it by four, and then subtract five. So π of three is four times three minus five. Thatβs 12 minus five, which is equal to seven. Next, We need to find π superscript two of three, which means π of π of three. Weβre applying the function π to the value of π of three. Now weβve just worked out that π of three is equal to seven. So weβre taking the value seven as the input value to the function π.

We take this input, multiply it by four, and subtract five. Thatβs the 28 minus five, which is equal to 23. Weβve now applied the function π twice. We need to apply it two more times. π superscript three of three is π of π of π of three. Weβve just worked out that π of π of three, or π superscript two of three, is equal to 23. So replacing π of π of three with 23, we have π of 23. And we see again that we are applying the function π to the previous output. We multiply 23 by four and subtract five, giving 87.

Weβve now applied the function π three times. We need to apply it once more. π superscript four of three is π of π of π of π of three. Weβve just worked out that π of π of π of three or π superscript three of three is 87. And so we can replace this part of the function, giving just π of 87. Once again, weβre taking the previous output value as the input to the function π. We multiply this value by four and subtract five to give 343. So we found then that π superscript four of three, thatβs the function π applied four times to the input value of three, is 343.

Notice that the superscript has been written in brackets and thatβs important because it distinguishes it from powers of π. π and then a superscript four without brackets could mean that the function π multiplied together four times or the function π to the power of four, so four π₯ minus five to the power of four, which is not the same as applying the function π four times each time to the output of the previous situation.

Our answer π superscript four of three is 343.