So the last question, which is a little bit of an algebraic challenge,
is 2 functions dividing each other but this time there's no numbers, we?re just dealing with letters.
The letters are constant so a and b could be any numbers
and we?re just deriving a general formula or a general result.
So, we have y equals to a plus b sin of x over a minus b sin of x.
Look at your function. What is happening? Two functions are dividing.
When you are to differentiate something that?s dividing, you will use the quotient rule.
So, these things should be coming more naturally to us. This is our u, this is our v.
Our quotient rule is this, dy/dx is vdudx minus udvdx over v squared.
Let?s break it down into its u?s and v?s. So u equals to a plus b sin x, v equals to a minus b sin x.
Differentiate it, u dashed. Now, here?s the thing, a is any constant,
it?s any number so it will just disappear so don?t just keep it there
because it?s a letter, a is a number so it disappears, b is a constant
so you can imagine it?s 5 sin x and you differentiate it. So b stays
and sin x differentiates to cos x. It?s not a function of a function, no chain rule,
just straight forward, differentiate sin x to cos x. Similarly for v dashed,
so let?s just stay with the same notation rather than dv/dx.
The a disappears and then b or the sin x goes to cos x, so this becomes minus b cos of x.
Okay, let?s put these all into our formula for our quotient rule, vdudx minus udvdx.
So we can now say that dy/dx is b cos x a minus b sin x,
doesn?t matter what order I multiply them in, minus I have minus b cos x
multiplied by a plus b sin x. So this is all being divided by v squared,
so our v is a minus b sin of x and it?s all squared. Okay, so the differentiation part is done.
All we have to do is simplify this out. So, I?ll do that by multiplying this through
and then multiplying this through and then seeing if we can put them together
to make it look a bit tidier. So b cos x multiplied by a will give me ab cos x,
b cos x multiplied by minus b sin x will give me minus b squared sin x cos x.
Let me just leave the minus here for a moment and just solve the inside of the brackets.
So that gives me minus ab cos x and then I have minus b squared sin x cos x,
all over a minus b sin x squared. Okay, when we times it through with the minus,
so this and this, you?ll see that the signs will change.
So this will become a plus and that will also become a plus, so let?s just do that.
And then hopefully we can cancel some things and add things,
cos x minus b squared sin x cos x plus ab cos x
and then you have a minus and a minus to give you plus b squared sin x cos x
and this is still all over a minus b sin x all squared.
So we can see that we have a minus b squared sin x cos x and a plus b squared sin x cos x.
We now just have ab cos x here. We now just have ab cos x here, plus another ab cos x.
So, this gives you 2ab cos x and we are dividing it with the same denominator
that stayed with us for a while, a minus b sin x all squared.
So, by using a little bit of algebra, we?ve simplified our derivative
and got 2ab cos x divided by a minus b sin x all squared.